3 ms·
OpenGL is OK, but not the immediate mode, it's "at least one function call per vertex" and that just doesn't make sense with modern hardware. Basicaly it's only
by ajuc 11y ago
OpenGL is OK, but not the immediate mode, it's "at least one function call per vertex" and that just doesn't make sense with modern hardware. Basicaly it's only there for backward compatibility and because it's simple to learn basic 3d graphic concepts experimenting with it.
OpenES and WebGL (both based on OpenGL) removed immediate mode altogether because of that.
In modern OpenGL you should use you own shaders (and not the fixed pipeline), and push geometry to GPU using Vertex Buffer Objects (VBOs).