PDA

View Full Version : Polygonal mesh for sphere



kosta_m
04-28-2003, 05:14 AM
Does anybody has a polygonal mesh used for sphere rendering.
Thanx

shinpaughp
04-28-2003, 08:35 AM
If you have the red book, look on pages 86 - 91. Gives you a simple 12 sided polyhedron, as well as recursive subdividion so you can increase the number of vertices thereby improving the approximation to a sphere. If you don't have the red book, you may be able to find it online, not sure where. Try google... name of the book is OpenGL Programming Guide... should be pdf format out there somewhere.