POV-Ray : Newsgroups : povray.general : problem: repeating rand patterns using seed in animation : Re: problem: repeating rand patterns using seed in animation Server Time
30 Jul 2024 18:19:54 EDT (-0400)
  Re: problem: repeating rand patterns using seed in animation  
From: Kenneth
Date: 26 Jan 2009 13:10:00
Message: <web.497dfbc6b528db0df50167bc0@news.povray.org>
Larry Hudson <org### [at] yahoocom> wrote:

>
> Your original approach continually re-seeded the rand() function which
> would effectively override the normal random sequence.  The patterns you
> were seeing were due to the non-random selection of the seed values.
> The techniques suggested to overcome this are ways of being able to
> continue using the sequence produced by the rand() function from it's
> one and only seed.
>
> Make sense?
>
Yes (and thanks.)  In my trial_and-error phase, I very quickly 'zero-ed in' on
seed as being the culprit, but spent most of my efforts on simply trying to
vary IT from frame to frame...when that wasn't the proper approach, as I've
come to realize (thanks to the great contributions here.)

KW


Post a reply to this message

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