PDA

View Full Version : client state vertex



wow
01-10-2004, 06:06 AM
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

jwatte
01-10-2004, 08:59 AM
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.