POV-Ray : Newsgroups : povray.general : rand question : Re: rand question Server Time
5 Aug 2024 04:19:32 EDT (-0400)
  Re: rand question  
From: Christopher James Huff
Date: 12 Feb 2003 14:34:43
Message: <cjameshuff-598297.14343212022003@netplex.aussie.org>
In article <3e4a7ee8$1@news.povray.org>,
 "Vadim Sytnikov" <syt### [at] rucom> wrote:

> I think the notion of "any moment" is not particularly applicable here...

That was a bit vague, I was in a hurry. I meant that if you took two 
streams with different seeds (which internally are different positions 
on one stream), and keep taking random numbers from both, you will never 
reach a point where both produce the same sequence.

The random number generator POV uses is not that great, for example: a 
given number can only occur once in the sequence. It is sufficient for 
most uses, though, and fast and simple.


> To be even more specific: think about blocks with scattered trees. If your
> streams' sub-sequences overlap, you may end up with many *equally* (not even
> "similarly") shaped and located trees in different blocks. Hope you got the
> idea...

Actually, because of the way tree algorithms work, a little difference 
can produce an entirely different tree, even if the random stream is 
almost the same. They are often quite chaotic. But I get what you 
mean...it is possible, but the period is large enough to make it 
unlikely.

-- 
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.