Novel approach.
> Then add this at the end of your .pov file:
>
> #fopen ofile "seed.dat" write
> #write(ofile,int(rand(Seed)*1000000))
> #fclose ofile
>
Still think you should make stowing the next run's seed the first
thing you do once the stream is instantiated as opposed to putting
it at the end of the file. That way the whole process could be
coded as a #macro, which could be used to instantiate multiple
true random number streams on demand, making it more flexible
in the long run.
Post a reply to this message
|