HSV colour

Started by mogn, February 25, 2014, 07:46:48 AM

Previous topic - Next topic

mogn

Thanks for the new version.
And thanks for the new colour node.

mhaze

Thanks for that - looks useful

gregtee

Alright I have a question:

How would use those colors as masks for shaders or geo placements?  I still haven't figured out how to restrict a shader to a specific color. 

Thanks

Greg
Supervisor, Computer Graphics
D I G I T A L  D O M A I N

mogn

#3
Quote from: gregtee on February 25, 2014, 01:46:38 PM
Alright I have a question:

How would use those colors as masks for shaders or geo placements?  I still haven't figured out how to restrict a shader to a specific color. 

Thanks

Greg

The hue (0..1) is seperated in 6 ranges. Each range contains a primary colour and a secondary colour.
The primary colour is constant, the secondar colour is either increasing or decreasing.
E.g the range from hue=0 to hue = 1/6, the Red is constant and green is incresing giving a band of colours from red to yellow.

To extract a range use  multiply two hard step nodes with the two constants and the hue as inputs.

bobbystahr

good one mogn...bac to TG school for me today it seems.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Dune

You can do a similar thing with an x to scalar, a rotate, add, and (quite) extreme warp.