Sunday, December 14, 2008
Just for Fun: OpenGL Icosahedron
Just to show that the complexity of the model doesn't necessarily increase the complexity of the code, here is an example iPhone project that shows how to display and rotate an icosahedron aka a twenty-sided platonic solid aka a virtual twenty-sided die. If you look at the project, you'll see that the code is virtually identical to the code for displaying and spinning the cube from the ported NeHe lesson 5, there's just more vertices.
Labels:
iPhone SDK,
NeHe,
OpenGL ES
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment