POV-Ray : Newsgroups : povray.general : Feature suggestion: random streams : Re: Feature suggestion: random streams Server Time
31 Jul 2024 22:16:02 EDT (-0400)
  Re: Feature suggestion: random streams  
From: Dave Matthews
Date: 19 Jul 2006 10:05:00
Message: <web.44be3b04aeda86218c7259570@news.povray.org>
"Charles C" <nomail@nomail> wrote:
> If you just want it to be different each time you could write a macro to
> write and next time read-back a single random float in a file.    That
> number is your new seed which'll be different each time...
>

So you read in a seed, and the first thing you do with that seed is use it
to generate a random number to seed the next run.  I like that.  I hadn't
thought of that one.  In the case that I want to do an automated series of
runs, I link "seed" to the frame value.


Post a reply to this message

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