POV-Ray : Newsgroups : povray.general : how to prevent overlapping random objects? : Re: how to prevent overlapping random objects? Server Time
30 Jul 2024 04:11:04 EDT (-0400)
  Re: how to prevent overlapping random objects?  
From: Thomas de Groot
Date: 19 Aug 2010 03:19:33
Message: <4c6cdb05$1@news.povray.org>
"stbenge" <myu### [at] hotmailcom> schreef in bericht 
news:4c6c1d8d@news.povray.org...
> I think that gaining some speed isn't worth the result. Like the other 
> Halton sequences I have seen, the one you rendered shows a lot of 
> repetition. And there are numerous instances in which the particles line 
> up unnaturally. In fact, they are so numerous that they cannot be 
> misconstrued as mere coincidences.

OK, yes, there are indeed repetitions, alignments and oriented gaps. I agree 
with you that this is not perfectly random.

> Have you tried placing ten times the number of particles that you used for 
> that example? With smaller particle sizes? Is so, do the particles ever 
> overlap? I suppose that if you can use more particles, then the 
> periodicity may not be much of an issue, but the diagonal alignment 
> problem will still be present.

See my third example in p.b.i. (red) compared to rand() in green.
>
> I've been thinking about just making some scripts to generate spaced point 
> sets with min/max particle sizes, pigment-based distribution, and maybe 
> even some macros for accessing the points.

That would be perfect, Sam :-)

We are putting you to work! ;-)

Thomas


Post a reply to this message

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