Jump to content
  • Advertisement
Sign in to follow this  
playa_151

OpenGL OpenGL 2.0 Nvidia

This topic is 4749 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The new drivers released yesterday has full support for OpenGL 2.0. WTF I can't find the new updated headers (glu.h and glext.h) for 2.0 with the declarations. In the 2.0 support paper that was also released said that you can get those new headers from Nvidia's developer site but they can't be found. Does anyone out there already have these headers or know were I can get them?

Share this post


Link to post
Share on other sites
Advertisement
No there are suppose to be new versions of gl.h and glext (I meant to say gl.h not glu.h from my first post) that have OpenGL 2.0 API declarations in them. That link only takes me to a page where I can get the old glext.h, wglext.h, etc.

Unless I am missing something those are not 2.0 headers.

Share this post


Link to post
Share on other sites
Definitions for all version of opengl extensions are in there. Scroll down the list in "glext.h". See 1.3, 1.4, 2.0? It's all there as far as I can see.

gl.h hasn't changed in a very long time to the best of my knowledge, especially on Windows. Everything since 1.1 or 1.2 (correct me if I am wrong) has been implemented in extension form in glext.h.

This file's date is 6/20/2005, so Im sure this is the latest.


J

Share this post


Link to post
Share on other sites
Ok I see what you mean. I didn't look in the file before. I thought you could use the 2.0 functions without having to use extensions? So we still have to get pointers to the functions in order to use them?

According to the Nvidia support paper there is suppose to be a new 2.0 gl.h as well.

Share this post


Link to post
Share on other sites
Quote:

Ok I see what you mean. I didn't look in the file. I thought you could use the 2.0 functions without having to use extensions? So we still have to get pointers to the functions in order to use them?


Yes, I beleive they are used like all the other extensions. For ease of use, use GLEE it sets up extensions automatically. You don't even have to initialize it. It has full OGL 2.0 support.

Good coding

J

Share this post


Link to post
Share on other sites
So the only difference between 2.0 and 1.5 (from the point of view we are talking about) is that we drop the ARB on the extension function names? If we still have to get the functions our selves what is the point?

Thanks for the replies.

Share this post


Link to post
Share on other sites
All functionality not considered part of the "core" opengl or vendor specific extensions are implemented as before. OGL 2.0 doesn't change that. You still have to set them up like you did before. The author of "The OpenGL Shading Language" book (and one of the key people driving OpenGL's specs and extensions) explains the reasoning behind the "extension" mindset for the evolution of OpenGL, but I am at work and don't have it in front of me. Pick it up, its a great read.

Share this post


Link to post
Share on other sites
I get what you mean but it says in the paper that GLSL has been added to the OpenGL core. Even though I have 2.0 support now I can't use GLSL without extensions even though it says it is now part of the core.

Share this post


Link to post
Share on other sites
"Core" is sort of a misnomer. Implying to you I guess that it should be part of "opengl32.lib" and "gl.h" and just called like the good old immediate mode functions like glVertex3f(...) without having to set anything up.

Multi-texturing, height baed fog effects, VBOs, CVAs, etc. are part of the "core", but are still only available through extension handles existing in "glext.h" and implemented in your video card's drivers.

Seriously though, I recommend that you take a look at GLEE. It makes life a lot easier. You still have a little setup, but a lot less. Also you might look at GLEW another opengl extension wrangler.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!