Hi, I hear from other people saying that client state array, is the fastest way to draw triangles. but it requires you data be organized in a special way.
I would like to ask how do the data need to be organized in a special way?
Thx
Hi, I hear from other people saying that client state array, is the fastest way to draw triangles. but it requires you data be organized in a special way.
I would like to ask how do the data need to be organized in a special way?
Thx
Could someone move this to the beginner’s board?
Also, look up DrawRangeElements() in the spec; that’s what you’re after.
Last, there’s a link at http://www.mindcontrol.org/~hplus/graphics/vertex-arrays.html which explains how to prepare the data.