|
|
"Greg M. Johnson" wrote:
> 1) Does anyone have code for making a mesh which is an icosahedron?
That reminds me, I was gonna unzip most of the source at my website...
http://davidf.faricy.net/source/meshpoly.inc
> 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.
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
|