PDA

View Full Version : Blending Light Colors


Cf!
07-31-2009, 02:30 PM
If I have three lights, is there a way to have one light blend between the colors of the other two? I've tried adding the RBG values of the two driver lights and dividing by two to get the values for the driven, but then realized that that was not what I wanted. I ideally need to add the HSV and divide by two.

Does anyone know how to access the HSV in expresso or have any other solutions to offer?

Srek
07-31-2009, 04:46 PM
Use the color space node in Xpresso to convert between different spaces
Cheers
Björn

Cf!
07-31-2009, 05:03 PM
Perfect! Thanks!

Srek
07-31-2009, 05:49 PM
One more thing, you can use the mix node in vector mode for this as well

Cf!
07-31-2009, 09:11 PM
That mix node certainly makes things more simple.

Now I have a problem trying to make the blend hue appear as a subtractive color mix and not an additive color mix. I tried to calculate the hue I wanted in RGB, convert to HSV and then plug that into the part of my flow that calculated the SV that I wanted, but for some reason it doesn't give the results I was expecting. There's probably a better way to do this.

CGTalk Moderation
07-31-2009, 09:11 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.