|
|
David Fontaine wrote:
> > 2) Does anyone have code for making a N-triangle approximation of a
> > sphere (please don't code this just for me--does it already exist)?
>
> I did this once, start with a regular polyhedron (tetra, octa or icosa will
> work), subdivide each face into four triangles and normalize the vertices.
> Recursive macro of course.
BTW I just thought of something, to use fewer triangles you could make the last
iteration subdivide into 2 or 3 instead.
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
|