|
![](/i/fill.gif) |
iz2517 nous apporta ses lumieres en ce 28/08/2006 20:32:
> "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.
>
>
What is the error?
If it's about undeclared identifier, did you #include "colors.inc"?
--
Alain
-------------------------------------------------
If That Phone Was Up Your Butt, Maybe You Could Drive A Little Better!
Post a reply to this message
|
![](/i/fill.gif) |