|
 |
Thomas de Groot <tho### [at] degroot org> wrote:
> Finally, as first approximation, I found it more expedient to randomise
> the points in the array when reading them.
Hmmm.
Without seeing how you're going about that, I'm not sure I understand the
advantage of that over selecting a (pseudo)random point in an ordered array.
I do think that one thing that could be done is add a bit of randomization to
the point itself - since they are all regularly spaced in a cubic grid.
("cubic" is just easier to say/write than "rectangular solid")
So, perhaps define half the grid spacing as a multiplier (M), and randomly
translate along x, y, and z by rand_between (-M and M).
Add a rotation if you're using an asymmetric filler.
Or draw a cylinder between the original point and a randomly translated or
chosen outside point.
It's certainly looking more evenly filled - which I think is what you wanted.
Post a reply to this message
|
 |