POV-Ray : Newsgroups : povray.newusers : Stacking stones without overlapping : Re: Stacking stones without overlapping Server Time
5 Mar 2024 04:37:07 EST (-0500)
  Re: Stacking stones without overlapping  
From: Ari
Date: 16 Jun 2017 03:00:00
Message: <web.5943814dd8d105e99d2528170@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> Welcome, Ari   :)
> I'd suggest having a look at Jonathan Hunt's excellent pebbles.pov file:
> If you're interested in experimenting with some simple self-written scenes first
> / along the way, I'd suggest learning some of the random functions:
> http://www.f-lohmueller.de/pov_tut/random/random6e.htm
> The easiest way to place your grains so that they don't intersect is to treat
> them as perfect spheres, and make sure that the distance between the centers is
> no less than the sum of the radii.
> You can look into structuring your placement algorithm so that it's as fast as
> possible.   There are "naive" ways, and then there are ways that make use of
> subdividing the space to make the search for a valid place to place a new grain
> a lot faster.
> https://www.google.com/search?q=algorithm+o
> [As an aside, is there an easy mechanism by which I can access the thread for
> the given image from the image's URL?]
Thank you for the useful information, Eagle!
I would try to read them and see if I could be equipped with such important
By the way, the thread URL is

Post a reply to this message

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