Page 1 of 1

2 color Even/Odd RGBMatrix

Posted: Mon Dec 05, 2016 6:31 pm
by fastfate
Since the update 4.10.5 (thank you for the effort that goes into this project) Even/Odd 2 color RGBMatrix have gone a bit odd for me.
The first color is correct
BUT the second seems a bit random with the RGB values.

At first I thought that 50% of the 1st color was being blended with the second color, but that is not the pattern, not sure what it is.

For example a red and blue ( both 255 on the color selection)
The red ODD cycle and displays perfectly and shows on the Simple Desk as 255 Red intensity - perfect.
255 Red.png
BUT
the Blue EVEN cycle appears purple
Blue 255 Selected.png
and shows as 128 red and 127 Blue
Blue Blended.png
Is is just me or has there been a change ?
and is there an easy fix ? or a hard one as the least preferred option :)

Currently I have about 200 of these Even/Odd Matrix's saved, and all do a similar thing.
Another example: with Green as 1st color and White as 2nd color...
Green is normal BUT white has intensity values of Green 255, Red 127 and Blue 127, when it should be 255 for each channel.
Something's amiss.
I tried changing the width and length of the fixture groups but has the same result.

I am quite new with, so if I done something wrong, please be gentle.

Re: 2 color Even/Odd RGBMatrix

Posted: Mon Dec 05, 2016 6:35 pm
by fastfate
I just found the fix to my problem.
When I changed the "Matrix Direction" to "Backward", things are as expected with intensity.
Why this is I have no idea, but it works :D

Re: 2 color Even/Odd RGBMatrix

Posted: Mon Dec 05, 2016 11:32 pm
by janosvitok
I think you've found genuine problem.

The code in question is either https://github.com/mcallegari/qlcplus/b ... x.cpp#L867 which should divide the range to one less intervals
or https://github.com/mcallegari/qlcplus/b ... x.cpp#L899 which in the final case should not call the previous function at all.

It's too late now to figure out how exactly it should be.

Jano