|
![](/i/fill.gif) |
But <0,0,0> * 1 = <0,0,0> !!!
And if you run this POV file you'll see that it displays a white
transparent circle (not even a sphere). I still don't understand. Plus
you see that in my source, I an NOT multipling anything!
Did you run this file?
Thanks, but I still don't understand...
K. Tyler wrote:
>
> Doug Finch wrote:
>
> > Here it is paired down to a minimum. In the Sphere pigment, what does
> > the stand-alone "1" do? I can't figure it out in the Manuals.
> >
> > This is strange!
> > sphere { 0, .5 pigment { rgb <0,0,0> 1} }
>
> From the POV-Ray 3.01 docs.
>
> 7.1.5.4 Color Operators
>
> Color vectors may be combined in expressions the same as float or vector values.
> Operations are performed on a component-by-component basis.
> For example rgb<1, .5, .2> * 0.9 evaluates the same as rgb <1,.5,.2>*<.9,.9,.9>
> or rgb<.9,.45,.18>. Other operations are done on a similar
> component-by-component basis.
>
> They say it better than I could.
>
> K.Tyler
Post a reply to this message
|
![](/i/fill.gif) |