|
|
Hi,
Inside a loop, i compute a color with this basic code :
#declare thisHSL = rgb <360*i/N, 1, 0.40>;
#declare thisRGB = CHSL2RGB(thisHSL);
Always in the same loop, if i use the color like that :
pigment {rgb thisRGB }
POVRay say : Parse warning : Suspicious expression after rgb.
And after progress in loop, crash !!!
On the other hand, if i use the color like that :
pigment {rgb <thisRGB.red, thisRGB.green, thisRGB.blue> }
all is OK !
Where is a problem ?
I use POV-Ray 3.8.0-alpha10013324.unofficial on Mac.
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|