|
![](/i/fill.gif) |
> I would like to request that POV-Ray natively support color spaces other
> than RGB (namely HSL) without having to use conversion formulas and all
> that.
There's macros in colors.inc for that...
CHSL2RGB( )
I'm not sure what syntax you would sugest, you'd need a
hsl keyword similar to rgb?
pigment {color hsl <1,1,1>} // like this?
I don't care for the look of CHSL2RGB() but it can
be redefined
#macro hsl(A) CHSL2RGB(A) #end
Then you'd end up with
pigment {color hsl(<1,1,1>)}
which isn't much different.
Post a reply to this message
|
![](/i/fill.gif) |