Bump...
I have a similar question. Can anyone give an explanation of the "normals" data as implemented in the GLGravity sample?
How would I calculate the normals for a given array of vertices and indices in order to render properly (effectively changing the teapot.h model data into a simple cube)??
I guess whats really throwing me off is the RunLengthEncoded Array: short new_teapot_indicies[]
Can anyone clarify how the data is being used?
Last edited by HoofSC; 09-18-2008 at 12:44 AM.
|