Yes, this is indeed a great disadvantage of TransformationMatrix.jsmorley wrote: ↑July 7th, 2020, 4:11 pm my biggest concern with TransformationMatrix is that it is very hard to get it right with any mouse actions, since the transformation of the objects in the meter don't change the meter itself, which mouse actions are dependent on (aside from the Shape meter that is).
It is currently March 28th, 2024, 11:11 am
Quantization value for histograms
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Quantization value for histograms
- Yincognito
- Rainmeter Sage
- Posts: 7017
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Quantization value for histograms
Ah, yes. Both valid points, that's true. I wonder, couldn't this mouse action issue be somewhat alleviated by placing the transformed meter in a container or something? Just exploring the possibilities here...jsmorley wrote: ↑July 7th, 2020, 4:11 pm Aside from the relative complexity, which is really neither here nor there, my biggest concern with TransformationMatrix is that it is very hard to get it right with any mouse actions, since the transformation of the objects in the meter don't change the meter itself, which mouse actions are dependent on (aside from the Shape meter that is).
EDIT: I realized that a container wouldn't be of much help, at least not for all the possible scenarios.
- eclectic-tech
- Rainmeter Sage
- Posts: 5380
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
- Contact:
Re: Quantization value for histograms
The "Rube Goldberg" fix is to add an image meter with the same location and dimensions as the normal meter, and use SolidColor=0,0,0,1 for mouse detection and action bangs.Yincognito wrote: ↑July 7th, 2020, 4:19 pm Ah, yes. Both valid points, that's true. I wonder, couldn't this mouse action issue be somewhat alleviated by placing the transformed meter in a container or something? Just exploring the possibilities here...
EDIT: I realized that a container wouldn't be of much help, at least not for all the possible scenarios.
No other way to overcome the reduced mouse detection of transformed meters that I am aware of.
- Yincognito
- Rainmeter Sage
- Posts: 7017
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Quantization value for histograms
What if the opaque shape of the transformed meter is irregular (i.e. not the usual rectangle)? Then the image meter workaround would fail, since the image would have to be "updated" so the opaque pixels of the transformed meter match those of the image meter, right? That's what I was thinking when I mentioned "all the possible scenarios" when editing my initial reply regarding the container being a possible fix...eclectic-tech wrote: ↑July 7th, 2020, 5:23 pm The "Rube Goldberg" fix is to add an image meter with the same location and dimensions as the normal meter, and use SolidColor=0,0,0,1 for mouse detection and action bangs.
No other way to overcome the reduced mouse detection of transformed meters that I am aware of.
- eclectic-tech
- Rainmeter Sage
- Posts: 5380
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
- Contact:
Re: Quantization value for histograms
It's too hot here... Ignore that reply aboveYincognito wrote: ↑July 7th, 2020, 5:35 pm What if the opaque shape of the transformed meter is irregular (i.e. not the usual rectangle)? Then the image meter workaround would fail, since the image would have to be "updated" so the opaque pixels of the transformed meter match those of the image meter, right? That's what I was thinking when I mentioned "all the possible scenarios" when editing my initial reply regarding the container being a possible fix...
A separate meter that matches the transformed image is needed; whether scaled larger or smaller.
Gonna go get a cold one now!
- Yincognito
- Rainmeter Sage
- Posts: 7017
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Quantization value for histograms
Oh, don't mind my replies - I also write things that look correct when written only to realize I missed something on a second thought...eclectic-tech wrote: ↑July 7th, 2020, 6:03 pm It's too hot here... Ignore that reply above
A separate meter that matches the transformed image is needed; whether scaled larger or smaller.
Gonna go get a cold one now!
I also suggest to sweeten yourself by eating a cookie or something (like I do now) and forget about the heat and all.