Whittick
06-28-2000, 08:16 AM
I am having a bit of trouble getting my head around vertex arrays. Basically i have this problem, I have an array of vertex information, so I Enable GL_VERTEX_ARRAY, then make my call to glVertexPointer().
What I dont understand is where to go from there. This is because im loading data in from a file (about 4500 verts). I am unsure how to specify the Indices for each triangle from this data I have loaded.
Thanks for any help
Chris
[This message has been edited by Whittick (edited 06-28-2000).]
What I dont understand is where to go from there. This is because im loading data in from a file (about 4500 verts). I am unsure how to specify the Indices for each triangle from this data I have loaded.
Thanks for any help
Chris
[This message has been edited by Whittick (edited 06-28-2000).]