Page 1 of 1

Sequence on top of a variable "background color"

Posted: Sun Jan 19, 2020 10:27 pm
by Leo
Dear QLC users,

I'd like to run a sequence on an array of simple RGB LED Pars, e.g. just a light jumping from one to the next one in, let's say, 100% red color. That's easy in QLC by just creating that sequence.
However, I'd like to be able to add a background color that is defined by a another Scene, maybe even another chaser. This could be, for example, 50% green. All LED Pars should show that 50% green. Only when they get "hit" by the red chaser, they should change to red (and only red) color.
My problem is that the green channel will always stay on 50% and the red channel will be set to 100% red by the chaser function. Obviously this is because the channels are in HTP mode.

Of course I could just put the 50% green into the sequence function but then I couldn't change it later and I'd need to create a new sequence for every background color.
Do you have any hint on how to "force" a function to override values set by another function? Do I need to move to LTP mode or is there a better option?

Thank you very much for your help,

Leo

Re: Sequence on top of a variable "background color"

Posted: Mon Jan 20, 2020 3:28 pm
by GGGss
The problem will be following:
you want a 100% red scene and on top a 50% green scene -> excluding the red values?
R 255 + G 127 : resulting in an orange like color...

So you are asking to mask the R: 255 scene with the contents of the G: 127 scene?
LTP will be your friend ... but
You will have to remember to reset to the R: 255 scene after the G: 127 scene has run ... and this is completely an other way of thinking / workload
(the G: 127 scene will have to include '0' values for the channels which will be set to a new G: 127 value f.i.)

Thing is ... do you really have to make it this complex?

What would you like as an outcome?
Did you had a look at a RGB panel possibility?

Re: Sequence on top of a variable "background color"

Posted: Mon Jan 20, 2020 4:53 pm
by OddSocks
This can be done using the RGB matrix and the blend mode.

I have attached a file with three RGB sequences. One is the solid background colour, the second is the stepped colour and the third is a mask.

The three sequences are placed in a collection so that the blend mode works in the right order.

The VC has a button to start the sequence and two animation controls to set the background and stepped colours.

Re: Sequence on top of a variable "background color"

Posted: Mon Jan 20, 2020 8:55 pm
by Leo
Many thanks to both of you for your helpful thoughts!
Gosh, I never thought of using collections this way. Suddenly they're so much more powerful! This is just what I was looking for.
I had played around with the "mask" option in RGB matrices but without the containing collection this didn't allow having such a "background".

My intention is to somehow split up the choice of a "colour scheme" and the desired "effect pattern" and I think this is a big step forward...

Thanks a lot for your help!