   [solved]OpenGL vertex arrays: different indices for vertices/texture coords possible?
  Hi,I just started working with OpenGL again after a really long time, and I was trying to display some md2 files: spec here.My question is: is it possible to use different indices for the vertex and texCoord arrays, or do they use the same indices? (I know that the indices are specified in the glDrawElements command and you seem to specify them all at once).The MD2 file has separate indices for vertices and texCoords in the Triangle structure, and it would be really easy to use vertex arrays if you could specify different index arrays. That's why I was wondering.Thanks![Edited by - deavik on May 10, 2009 11:24:49 AM]
  Not possible. You have to rearrange the arrays so the indices for all arrays are the same.   ;  Thanks for the info... I think I'll just loop through the indices and make new arrays, so that effectively my index array will be 0, 1, ..., n-1