Sarepean Member
Joined: 19 Feb 2006 Posts: 4
|
Posted: Sun Feb 19, 2006 9:13 pm Post subject: DMF + Vertex Arrays |
|
|
I may have had this same problem with the BSP file format, but never realized it. I was looking at the values into the indice of a simple map (actually, it was just a cube, 6 polygons, 12 after triangulation--- you know the drill) and I noticed that each vertex for a polygon fell into a different part of the vertex index.
So, my question and trouble so far has been how to pass a glDrawArray statement to one particular part of the Vertex Array if the vertexes aren't in the array contigously, but somewhat chaoticly. I've been trying things like making a new vertex array from the vector3_t struct, but, to be honest, that structure is going to end up being a lot bigger then the original one was (36 vertexes compared to the original .
Help? |
|