I currently store all my vertices in an array[vertices*3].
I then store a normal for each vertex in an array[vertices*3].

Finally, I have a given list of indexs cooresponding to the vertex. I am trying to use the index in a VBO in order to render.

My problem is, I believe, in the indices. Initially I am given a list of 10,000 vertices, each structure has an XYZ coordinate.

When I add this to the array[vertices*3], I insert array[0]=vertex0.x, array[1]=vertex0.y, array[2]=vertex0.z, etc…

Now my initial indices don’t index directly to the vertices? An example is instead of the index 1 referencing the 2nd vertex it will reference the y coordinate of vertex0…

Why is this confusing me? Any help would be greatly appreciated!