|
![](/i/fill.gif) |
In article <web.3e00a576fc9687d9f765b2b40@news.povray.org>,
"BlackRose" <nomail@nomail> wrote:
> (yeah I know it's not real pov code, but...)
Without real POV code, there is little anyone can do. What do you expect
this to be useful for?
> Anyways, it seemed that no matter what bounds I used, I was getting square
> grids of objects (instead of the randomly placed ones I wanted). Upon
> debugging, I found that (atleast to 5 decimal places) the values popped out
> by a particular rand stream repeated (which is not what I had expected.
> BTW, I'm doing this on a winXP machine, with pov version 3.5...
Pseudorandom numbers do repeat, but the period is very large. If you are
seeing repetition, you are probably using the rand() function wrong.
Give the real code, trimmed down to the minimum required to demonstrate
the problem, but check the documentation first.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |