Jump to content
  • Advertisement
Sign in to follow this  
alexgeek

OpenGL Which Library?

This topic is 3329 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

I went to the OpenGL site expecting to find download page with "heres the SDK download it, install it, away you go", instead it seems to be like the equivalent of linux and its many distrobutions. I'm downloading GLUT, is that the best one for windows? And how well does OpenGL measure upto DX? Thanks, Alex.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by alexgeek
I went to the OpenGL site expecting to find download page with "heres the SDK download it, install it, away you go", instead it seems to be like the equivalent of linux and its many distrobutions.
I'm downloading GLUT, is that the best one for windows?
And how well does OpenGL measure upto DX?
Thanks, Alex.


For OpenGL you don't have to download anything, if you're on Windows its part of the Platform SDK (From Microsoft).

As for how well OpenGL measures up to DX it depends on your hardware and drivers really, for nvidia hardware it measures up rather well to D3D10 in terms of exposed hardware features, for AMD/ATI its at the D3D9 level and for Intel its crap.

My biggest problem with OpenGL when writing anything thats reasonably advanced is that you need to deal with extensions which can be a bit painful sometimes (Especially since AMD has horrible support for newer extensions and Intel seems stuck at the base functionality required by OpenGL 2.0).

Share this post


Link to post
Share on other sites
There is no sdk for OpenGL. Compilers such as visual studio and Linux distributions come with the appropriate headers and libraries. However if you are using windows, the OpenGL libraries are version 1.1 which means for any features beyond that, you must use extensions. You can read about the extensions here. There are several extension loading libraries such as GLEW which will help avoid the hassle of loading extensions. I prefer D3D to OpenGL however. D3D is more object oriented, you don't have to go through the extension crap, and I just find it easier to use. However, OpenGL is really your only option if you want to be cross platform. I've been out of the OpenGL game for a while now but I believe the features of OpenGL and Direct3D are still equivalent.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!