Teapot GLSprite - How do I convert data to this format
I was trying to use GLSprite code to start learning some opengl stuff. looking at glsprite i see the arrays of vertices and normals, which makes sense, but I don't understand the purpose of the indices table (drawing order i assume?) but if I wanted to use a 3d program like blender to import some 3d graphics for use in an iphone program, how to do convert data to the teapot.h format with arrays for vertices, normals and indices.
|