POV-Ray : Newsgroups : povray.general : color syntax - request for bug comment : color syntax - request for bug comment Server Time
3 Aug 2024 16:20:28 EDT (-0400)
  color syntax - request for bug comment  
From: Tom Melly
Date: 21 Dec 2003 17:30:38
Message: <3fe61f0e@news.povray.org>
According to the docs (6.1.5.5)

"For example...
color My_Color red 0.5
this substitutes whatever was the red component of My_Color with a red
component of 0.5 however...
color My_Color + red 0.5
adds 0.5 to the red component of My_Color"

But the following scene seems to contradict this:

#version 3.5;

#declare MyCol1=  <1,1,0>;
#declare MyCol2=  <0,0,1>;

//Legal
#declare MyCol1a= MyCol1 * MyCol2;

// All non-legal
//#declare MyCol1b= MyCol1 * blue 0.5;
//#declare MyCol1c= MyCol1 blue 0.5;
//#declare MyCol1d= MyCol1 MyCol2;

... so, is this a bug in pov, the docs, or my understanding of them?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.