|
|
Le 29/08/2013 17:06, scott nous fit lire :
>> I guess what I need is a _different_, if not truly random value to
>> pass to the
>> seed() generation command.
>
> It's typical to seed the random number generator based on the system
> time. I'm not sure if POV offers this option, but if not you can hack
> something together using the "datetime" command:
>
> #declare mySeed = seed(val(datetime(now,"%H%M%S")));
>
>
You are doing it the long way.
#declare mySeed = seed(now); /* only in 3.7 */
You might want to multiply now by some constant, as the unit(1) is the day.
Post a reply to this message
|
|