Quote:
Originally Posted by demione
I have a series of low poly models (~20 triangles each, 100 of them on the screen at a time). They are not interconnected, so drawing them all at one time with GL_TRIANGLE_STRIP is not an option.
My two options as I see it are to either put all 100 models' vertex, normal, and color data into a big interleaved array and draw them using one DrawElements() call using GL_TRIANGLES. Alternatively, I can construct a strip-ordered interleaved array to contain the data for one model, and use this array to draw each model over and over again in a for loop by calling DrawElements() 100 times using GL_TRIANGLE_STRIP.
Which one is faster on the iPhone?
|
Yeah, the only sane way of handling this setup is to transform vertices on the CPU and submit them with a single interleaved array.