POV-Ray : Newsgroups : povray.general : mesh for icosahedron : Re: mesh for icosahedron Server Time
8 Aug 2024 12:19:53 EDT (-0400)
  Re: mesh for icosahedron  
From: David Fontaine
Date: 30 Dec 2000 23:32:51
Message: <3A4EB50D.EE393FD4@faricy.net>
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

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