POV-Ray : Newsgroups : povray.general : rand question : Re: rand question Server Time
5 Aug 2024 02:23:22 EDT (-0400)
  Re: rand question  
From: Christopher James Huff
Date: 12 Feb 2003 11:46:24
Message: <cjameshuff-638296.11461512022003@netplex.aussie.org>
In article <3e4a67f6@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   If this is so, then it means that there's actually just one single
> fixed stream of pseudo-random numbers in POV-Ray, and with seed() you
> just tell where to start taking numbers from this stream.

Correct.


>   (On implication of this is that if you have two streams generated
> with different seed() values, they will both eventually start to give
> the same numbers as the other.)

Not correct. They will both repeat, and repeat the same sequence, but if 
they are initialized with different seeds, they will always have 
different numbers at any moment. Assuming you pull random numbers from 
each at an equal rate, anyway.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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