These days I worked a lot with the TransformationMatrix option on some image meters and i consulted many times the guide. I think there is a small mistake, which should be fixed.
On the "What the heck is Rainmeter doing?!" section, the formulas of x' and tx are wrong. They should be:
x' = x*a + y*c + 1*tx
tx = x' - x*a - y*c
instead of
x' = x*a + y*b + 1*tx
tx = x' - x*a - y*b
Please check and fix it, if I'm right. Thanks.
It is currently April 28th, 2024, 2:48 am
Problems with Transformation Matrix Guide
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with Transformation Matrix Guide
I'm glad to fix it, but I refuse to dig into TransformationMatirx to check it. If you are quite sure it should be changed, I can take your word for it.balala wrote:These days I worked a lot with the TransformationMatrix option on some image meters and i consulted many times the guide. I think there is a small mistake, which should be fixed.
On the "What the heck is Rainmeter doing?!" section, the formulas of x' and tx are wrong. They should be:
x' = x*a + y*c + 1*tx
tx = x' - x*a - y*c
instead of
x' = x*a + y*b + 1*tx
tx = x' - x*a - y*b
Please check and fix it, if I'm right. Thanks.
No need to explain, I won't get it anyway... Just "yeah, fix it as I said" if you are sure.
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Problems with Transformation Matrix Guide
Yeah, fix it as I said, I'm quite sure. Thanks.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with Transformation Matrix Guide
LOL... Will do. Thanks.balala wrote:Yeah, fix it as I said, I'm quite sure. Thanks.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with Transformation Matrix Guide
Ok, done. Be sure it is correct now. You might have to Shift-refresh.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Problems with Transformation Matrix Guide
It is. Obviously the same fix also should be applied on the link you've posted (https://github.com/rainmeter/rainmeter-docs/commit/abb65ef28173c75989b01ffd290938ddfb447e88)jsmorley wrote:Be sure it is correct now.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with Transformation Matrix Guide
The link I posted IS the fix.balala wrote:It is. Obviously the same fix also should be applied on the link you've posted (https://github.com/rainmeter/rainmeter-docs/commit/abb65ef28173c75989b01ffd290938ddfb447e88)
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Problems with Transformation Matrix Guide
When I open it I see both lines: the initial (with red background) and the fixed one (with green). Sorry if i misunderstood something.jsmorley wrote:The link I posted IS the fix.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with Transformation Matrix Guide
That is the commit of the change to our repository on GitHub where the documentation is stored. What you are seeing is a "diff", showing the old (red) and new (green) changes.balala wrote:When I open it I see both lines: the initial (with red background) and the fixed one (with green). Sorry if i misunderstood something.