|
|
Peter Popov wrote:
>
> On Tue, 01 Jun 1999 05:50:13 +0200, Peter Santo
> <san### [at] poolinformatikrwth-aachende> wrote:
>
> >Hello!
> >
> >I would like to render a sphere with an arbitrary number of points (or
> >smaller spheres) on its surface that I want to distribute equally (so
> >the distance to the neighbouring points is nearly equal for every
> >point). I suppose there is no perfect solution for that problem, but I
> >would like to approximate it as good as possible.
> >
> >/PETER/
>
> Let the points repel each other. Restrict their movement to the
> surface of the sphere. Place them randomly (for ex. x=rand(),
> y=rand(), z = sqrt(1-x*x-y*y) ). Start to calculate theit movement due
> to repulsive forces. Stop when the velocity of the currently fastest
> point does not exceed 4*pi*r/NumberOfPoints [in SpaceUnits per
> TimeUnits] or some other preset value. return();
>
> Hope this helps.
> ---------
> Peter Popov
> ICQ: 15002700
I have been wondering about a solution for this some time ago.
I think your strategy is brilliant (in the way that it makes me say: why didn't
_I_ thin of that? ;-)) but I think POV will parse on this forever. You'll
probably need an external program to do the calculations.
Anybody?
Remco
Post a reply to this message
|
|