|
![](/i/fill.gif) |
"Roman Reiner" <lim### [at] gmx de> wrote:
> I just checked. It seems like the HSL colors are in the range <0,0,0> to
> <360,1,1>. Also i forgot the brackets at the function. It should be
>
> pigment { color rgb CHSL2RGB(<E,1,0.5>) }
>
> with E in the range 240 (blue) to 0 (red).
>
> Regards Roman
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
OK.
I was able to read in the format <x,y,z>,E
Now the following lines are not accepted - shows error
#declare a = (11 - E)/11*240;
sphere {MyVect, 1 texture {pigment {color rgb CHSL2RGB(<a,1,0.5>) }}}
what is wrong in the above lines?
Thanks.
Post a reply to this message
|
![](/i/fill.gif) |