Originally Posted by
Matty_Alan
I tryed to compile the VBO tutorial Posted above and got these errors
Does this mean my version of OpenGL does not support this? or am I missing something?
Im using DevC++ with the OpenGL Headers that come with it.
Those are definitely things to do with this, I believe:
Code:
#define GL_GLEXT_PROTOTYPES 1 /* include prototypes to save us some compiler warnings, etc */
Which this could be platform and even driver specific. Thanks for letting me know, mebbe I will do some digging and do that update.
The reason for those switches is because the VBO functions used to have _ARB suffixes, which means they were for testing by the "Architecture Review Board" and associated parties. But they have depreciated stuff at the same time as they have failed to provide support for what comes after what is now "legacy", methinks.
Probably if you ask at the OGL forum and refer directly to that tutorial code someone will have an answer. In any case, post your OS and GL driver (nvidia or ATI). I'm guessing it's most likely a windows issue with the headers/define switches.
My tutorial aside, VBOs are the way to go (google: there are other tutorials for different platforms around, windows to iphone -- openEL uses VBOs, there is no immediate mode -- but they are somewhat piecemeal. Start reading and combine them ). Once you have that, you can start using shaders/glsl (these are short precompiled programs you can keep in video memory, along with the vertex data, to complete all of the rendering within the GPU -- you issue parameters to shaders like functions or objects. Contemporary high performance 3D stuff, with both DX and OGL, is all shaders).
Vis, learning curve, 3D graphics reminds me of web-dev in the sense that you are often dealing with different "technologies" on different levels that have different dimensions of cross-platform compatibility, but the end result is supposed to take place in someone's desktop environment. Many discrete pieces to fit together that are generally presented abstracted enough from one another to cover all cases in a relationship, but in real terms require intuitive leaps.