"Kenneth" <kdw### [at] earthlinknet> wrote in message
news:web.4b48e504cc0023fa65f302820@news.povray.org...
> I remember that the concept of using seed() and rand() was a bit difficult
> to
> grasp when I started out with POV-Ray (there is no real 'how-to' in the
> documentation.)
>
> Here's a simple example:
>
> #declare R1 = seed(27);
>
> pigment{color rgb <rand(R1),rand(R1),rand(R1)>}
>
> Each rand is a different value--but those three different values will
> always be
> the 'same', since they use the same seed() value. Change seed() and you
> get
> three *new* and different rand() values.
After reading carefully this example in seems to be saying the same thing:
http://wiki.povray.org/content/Documentation:Reference_Section_2#Functions
I also started a talk page:
http://wiki.povray.org/content/Documentation_Talk:Reference_Section_2
Just in case you might think it could be better worded!
Jim
Post a reply to this message
|