POV-Ray : Newsgroups : povray.binaries.images : nonintersecting spheres test : Re: nonintersecting spheres test Server Time
2 Nov 2024 06:14:41 EDT (-0400)
  Re: nonintersecting spheres test  
From: stbenge
Date: 7 Apr 2011 16:08:09
Message: <4d9e19a9@news.povray.org>
On 4/7/2011 5:18 AM, Robert McGregor wrote:
> "Samuel Benge"<stb### [at] hotmailcom>  wrote:
>> Hi,
>>
>> Nothing really huge here, or even artistically noteworthy. Just a largish render
>> of 1024 non-intersecting spheres. The calculations were sped up thanks to
>> neighborhood evaluation via voro++.
>
> Looks great Sam; I keep thinking about how really useful this technique is...
> Does this method handle spheres of various sizes as well?

Hey Robert. Yeah, It can deal with varying sphere sizes. At first I 
thought voro++ was mangling the order of my points, but this does not 
appear to be the case. This means I can maintain a list of sphere sizes 
(or just use the same random seed) in-POV without having to export the 
radii to voro++. Other particle-specific data can be maintained as well.

> What about a pile of
> objects, say inner tubes? I guess it would be quite a bit tricker for
> non-uniformly shaped objects.

The placement of non-spherical objects is beyond the scope of the 
current setup, though some interesting things will be possible. For 
instance, after a mass of evenly distributed cells is produced, an 
algorithm can be built to "walk" through the point/neighbor lists, with 
entries destroyed each time a cell is used. This should allow one to 
place non-intersecting cylindrical objects or sphere_sweeps within the 
cell mass.

~Sam


Post a reply to this message

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