PDA

View Full Version : chase RGB color bug



BrianJ
11-28-2012, 04:23 PM
IF I draw a selection box 1 channel different lengths the color morph only completes if the time selection is 256 time tics long.

for my example I am using a Red to Green color morph and selecting the `make red; or make green buttons
`
If the time selection is shorter the morph does not finish
ie. if the box is 155 time tics long the morph gives me a color start of R255 G0 B0 and a finish color of R101 G154 B0
if the box is 255 time tics long the morph gives me a color start of R255 G0 B0 and a finish color of R1 G254 B0

If the time selection is longer than 256 time tics I just get a color blend of the two colors chosen
ie. if the box is 260 time tics long I get a color start of R255 G255 B0 and a finish color of R255 G255 B0 which makes yellow.

Running 8F, but have noticed on older versions

all 5 horizontal color chases in the image were made the exact same way, the only difference is length (time tics)

16674

angus40
11-28-2012, 04:44 PM
IF I draw a selection box 1 channel different lengths the color morph only completes if the time selection is 256 time tics long.

for my example I am using a Red to Green color morph and selecting the `make red; or make green buttons
`
If the time selection is shorter the morph does not finish
ie. if the box is 155 time tics long the morph gives me a color start of R255 G0 B0 and a finish color of R101 G154 B0
if the box is 255 time tics long the morph gives me a color start of R255 G0 B0 and a finish color of R1 G254 B0

If the time selection is longer than 256 time tics I just get a color blend of the two colors chosen
ie. if the box is 260 time tics long I get a color start of R255 G255 B0 and a finish color of R255 G255 B0 which makes yellow.

Running 8F, but have noticed on older versions

all 5 horizontal color chases in the image were made the exact same way, the only difference is length (time tics)

16674

Brian

try setting the level effect to green , then select overcontrol and chose green to red shift for 1/2 the duration .

you will like the results .:)

BrianJ
11-28-2012, 04:55 PM
I can build the exact effect I want in nutcracker as well, but if the morph worked right then I wouldn`t need to. Just reporting the bug and hoping it gets fixed :)

JHinkle
11-28-2012, 05:00 PM
I had a hard time understanding what your were saying.

I knew it had to do with a long effect - longer than what I tested with.

I ran a test on a 159 tic effect and discovered what I think you are saying.

Turns out to be an int to double conversion ... but not converted to double soon enough in the equation so Int math was resulting.

I have resolved what issue I SEE.

Please try 8G and see if it also addresses your issue.

Thanks.

Joe

BrianJ
11-28-2012, 05:09 PM
While I am waiting for 8g I will explain a bit more, I t seems to me that the math for the morph only allows each color to change by a dmx color value of 1 per time tic, The start color is always correct but the end color does not complete unless the time selection is 256 time tics (255 + 1 for the zero) and if the time is longer it seemed to get confused and just mix the start and finish color.

JHinkle
11-28-2012, 05:12 PM
That is correct because my delta change was an INT ... it did not get converted to double until later in use --- which meant my delta was always a whole number.

8G --- now delta is a double from start ...

Joe

BrianJ
11-28-2012, 05:15 PM
Perfect, 8G has fixed this issue. horizontal color chases of all lengths now start and finish correctly :) :) :)
Joe,as always you sir are a genius. Thanks