POV-Ray : Newsgroups : povray.binaries.images : Antony Gormley simulation : Re: Antony Gormley simulation Server Time
17 Jul 2025 00:27:53 EDT (-0400)
  Re: Antony Gormley simulation  
From: Bald Eagle
Date: 29 Nov 2017 20:40:01
Message: <web.5a1f60f72471086b5cafe28e0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:


> Along those lines, you could build an array to store coordinates, "scan" the
> bounding box of the figure with an x-y-z nested loop and inside(object, vector)
> tests, and then use the pseudorandom selection process to pick known inside()
> points.
> The advantage there is that you could save the array to disk, and not have to
> test the same figure every single time you wanted to place objects.  You
> wouldn't even need to load the mesh for the figure either.

So, I managed to get this to work, and it seems like it gives fairly decent
coverage.
I think if I find the time, (and I'm reminded of this to-do item) I might try to
figure out a way to use a spline to give greater probability of selecting the
smaller volumes and less probability of selecting the larger volumes, resulting
in a more even distribution.

Meet ... Jack.  :D


Post a reply to this message


Attachments:
Download '_jack.png' (592 KB)

Preview of image '_jack.png'
_jack.png


 

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