I currently trying to rewrite my drawing routines to make them faster and resemble my data structures more accurately. (I don’t mind changing my data structures to achieve this)
I’m currently using immediate mode to draw anything that hasn’t been compiled into a display list. But immediate mode has become too clunky and I want to use vertex arrays instead.
One thing that’s been bothering me has been the issue of indexed vertex arrays. When using indecies, is it only the “vertex” portion of the data that gets indexed or ALL data (tex coords, normals etc). I ask because while I currently store my data using indecies, most vertecies have multiple normal vectors depending on the polygon they’re currently assocated with. So if normals are indexed, it’s going to screw everything up…
And while on that point. Is there a significant advantage to using indexed arrays over non-indexed arrays? Other than the obvious memory savings.