Jump to content
Posted 16 July 2012 - 01:49 PM
Posted 16 July 2012 - 05:52 PM
Not sure if you nean simple geometry that you manually type the numbers for or imported geometry from a 3D program but if it's the latter then it'll already be exported with indices.
how do i create an index buffer for a large mesh? i mean specifically how to i set up the array of int's from the vertex data? like what is the logic behind this? i understand what the index buffer is for and how to use it but i dont know how to set up the initial array you will pass to the gl element array buffer.