POV-Ray : Newsgroups : povray.general : What have I done? : Re: What have I done? Server Time
13 Aug 2024 15:31:25 EDT (-0400)
  Re: What have I done?  
From: K  Tyler
Date: 6 Aug 1998 14:00:41
Message: <35C9D2F6.AA3351EE@pacbell.net>
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

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