PDA

View Full Version : OpenGL equivalent of Vertex Buffers



marcdp
08-06-2002, 02:22 PM
What's the best way to simulate a Direct3D vertex buffer in OpenGL? Should I be using vertex arrays (compiled?) or display lists? I'm trying to write OpenGL code for a game we're working on, but the speed isn't quite where it should be.

Thanks,
marcdepeo@hotmail.com

owcs
08-06-2002, 03:44 PM
i think you should look at compiled vertex arrays. (disclaimer: i am still rather new at this so i might be wrong :P)

[This message has been edited by owcs (edited 08-06-2002).]

chowe6685
08-06-2002, 04:29 PM
Probably your best bet is to look at VAR(nVidia) and VAO (ATI), I believe these two extensions offer the greatest speed.

blizzy
08-07-2002, 03:44 PM
check out glInterleavedArrays and glDrawElements