View Full Version : Quick Vertex Array Question

04-18-2004, 11:35 AM
Hi there,

Been looking around the web for information on using vertex arrays and while I've found enough information to give me a general idea of how they work, most of the stuff I've found has been unclear and poorly written. Could someone please either just cleanly layout the usage of vertex arrays for vertex, normal and texture coord information, or perhaps point me somewhere that explains it decently? Thanks much!

04-18-2004, 01:12 PM
Skip vertex arrays. Use VBO's. You can find NEHE VBO example.


04-18-2004, 03:11 PM
alrighty, will look into those, then. thanks

04-20-2004, 02:30 AM
Originally posted by yooyo:
Skip vertex arrays. Use VBO's. You can find NEHE VBO example.
yooyoWonderful. Using VBO without knowing about vertex arrays... I don't know if this is possible at all.

I suggest to do
Vertex Arrays -> Generic Vertex Attribute Arrays (data interpretation) then
Vertex Arrays -> MultiDraw (not really important anyway, I must still get a nice speedup from that) (how data is sent to GPU)
Vertex Arrays -> VBO (how data is tranferred between memory).

VBO really builds on Vertex Arrays, if you don't understand them, you're in bad trouble.