POV-Ray : Newsgroups : povray.advanced-users : Random placement of objects : Re: Random placement of objects Server Time
26 Jun 2024 05:34:35 EDT (-0400)
  Re: Random placement of objects  
From: scott
Date: 29 Aug 2013 11:06:16
Message: <521f6368$1@news.povray.org>
> 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")));


Post a reply to this message

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