POV-Ray : Newsgroups : povray.binaries.images : Antony Gormley simulation : Re: Antony Gormley simulation Server Time
14 Jul 2025 00:56:31 EDT (-0400)
  Re: Antony Gormley simulation  
From: Bald Eagle
Date: 4 Dec 2017 08:25:01
Message: <web.5a254b812471086bc437ac910@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> 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

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