POV-Ray : Newsgroups : povray.general : A quick rand() question... : Re: A quick rand() question... Server Time
31 Jul 2024 04:24:49 EDT (-0400)
  Re: A quick rand() question...  
From: Trevor G Quayle
Date: 22 Oct 2007 16:10:00
Message: <web.471d0335ce8620b7c150d4c10@news.povray.org>
Jan Dvorak <jan### [at] centrumcz> wrote:
> What I'd like to see is a stream that generates new values for each new
> render. I have not succeeded using start_chrono as the seed.

Perhaps the easiest way to do this is via a text file that is read and
written to with each scene parse.

Just read in the current value from the text file and increment it, use it
and write the new one back to the text file, ready for the next run.

-tgq


Post a reply to this message

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