"Bald Eagle" <cre### [at] netscapenet> wrote:
> yesbird <sya### [at] gmailcom> wrote:
> > I can imagine following application: we have volume, constrained by low-
> > poly mesh and want to fill it with spheres with radiuses from Rmin to
> > Rmax, achieving randomized, natural-like form.
> Well, that of course suggests that there's an analogous spherical method. I'll
> have to look and see...
I have no idea where the crazy "sphere parametrization" equations come from, but
I used _normal_ equations, and fixed a typo in the last line of code (needs
-'s), and got that to work.
Render is the test data in the table of the paper.
Post a reply to this message
Download 'leastsquaressphere1.png' (59 KB)
Preview of image 'leastsquaressphere1.png'