Greg M. Johnson wrote:
> There's an algorithm for uniformly placing objects on a sphere. I've
> pasted
> it below with apologies as I don't know from whom I originally got it.
> The question is:
nice
>
> Does anyone know of an algorithmic way to determine which are the nearest
> neighbors to any particular point?
> Does anyone know of another, close-enough algorithm that would have a more
> straightforward way of determining this?
Maybe building Voronoi cells or a nearest-neighbour tree with the points.
--
POV-Ray Objects Collection: http://objects.povworld.org
Post a reply to this message
|