[quote="Ashley":2t5gcgpu]Here's how you draw a quad in OpenGL:[code:2t5gcgpu]glBegin(GL_QUADS);glVertex3f(0,0,0); // top left cornerglVertex3f(1,0,0); // top right cornerglVertex3f(1,1,0); // bottom right cornerglVertex3f(0,1,0); // bottom left cornerglEnd();[/code:2t5gcgpu]

You might also notice this essentially naturally is a batching system.[/quote:2t5gcgpu]

You'll find out that this is called Immediate Mode in OpenGL and is currently deprecated, as it is horribly slow. The fast form is pretty much the same as Microsoft. It's optimal for drawing bunches of things. Meshes shouldn't change most of the time anyway, only transforms.

Edit: why is it slow? because you send all the data to the video card for each frame. The other mode (batched?) is in DirectX's fashion, as you get everything buffered in the video card, indexing avoids duplicate vertexes thus saving precious VRAM and then you just instance those buffers, which frees up a WHOLE BUNCH of bandwidth. Going with immediate mode would make the OpenGL version slower than the DirectX version.

List of OpenGL ways of drawing (some are named as extensions and now may be core to OGL4)[url:2t5gcgpu]http://www.allegro.cc/forums/thread/603880/862408#target[/url:2t5gcgpu]