|
|
In article <3c41dde0@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Although it is a genuine feature request, it can be implemented in about
> one line of C code. Just reserve a special value (eg. -1) and if this value
> is used, then the seed is read from the C time() function (ie. if you do
> #declare S=seed(-1); then you get a seed from that function).
A separate date() or time() function would be more flexible, though.
It's been done for MegaPOV, I actually thought POV 3.5 included them...
A related patch I've been thinking of writing would allow you to use
"rand()" to get random numbers from an internal time-seeded stream.
You could just use one of the usual workarounds for now...for example,
write a new seed to a file and read it in for the next render.
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|