POV-Ray : Newsgroups : povray.general : mesh for icosahedron : Re: mesh for icosahedron Server Time
8 Aug 2024 12:25:28 EDT (-0400)
  Re: mesh for icosahedron  
From: David Fontaine
Date: 30 Dec 2000 23:31:13
Message: <3A4EB4AA.E0F9E334@faricy.net>
"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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.