POV-Ray : Newsgroups : povray.general : seed/rand not so random? : Re: seed/rand not so random? Server Time
29 Jul 2024 22:20:42 EDT (-0400)
  Re: seed/rand not so random?  
From: Thorsten Froehlich
Date: 12 May 2010 13:02:20
Message: <4beadf1c$1@news.povray.org>
On 12.05.10 18:00, stevenvh wrote:
> This is a rather unpleasant surprise. Shouldn't we expect random numbers to have
> no direct relation with the previous number (or seed)?

No, not if you want your scenes to look the same very time you render them ;-)

> Without having done a statistical analysis consecutive random values seem to
> behave better. So it looks like there's just the relationship with the seed
> value.
> Time for a new seed function (seed2?) ?

No, because this is a perfectly normal, expected, and designed functionality 
in POV-Ray. In fact, it is a property of all pseudo random number 
generators. This property is shared by all software random number generators 
that have no hardware source of randomness.

	Thorsten


Post a reply to this message

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