"Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
news:386d0131@news.povray.org...
> I had a similar type of problem with a tray of glass marbles. When pov 3.1
and arrays
> arrived I solved the problem with a pair of nested #while loops. The outer
loop generated
> a random position in the current element of the array, and the 2nd loop
checked that
> previous entries were more than one diameter away. An OK entry allowed the
outer loop to
> increment.
> Can't find my old source right now but will have another look if you don't
get a response.
>
I played with this and although my debug statements seem to say that it
was working, I still got some coincident placements. I would like to see how
you did it, I must be overlooking something obvious. It seems like a simple
thing.
Post a reply to this message
|