Jump to content
  • Advertisement
Sign in to follow this  
Velvet Leopard

OpenGL How to start learning OpenGL

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

Hello. I am new to OpenGL and wish to learn how to use it. Where do I download it? I am not sure what all I need in order to start programming with OpenGL. I am planning on using C++, Ada, or Java for my programming needs. Any help will be greatly appreciated. Thanks a lot.

Share this post


Link to post
Share on other sites
Advertisement
i suggest picking up the opengl super bible 4th edition. Very good book. Its well writtin and the samples realy help you get a grap of opengl from basic rendering to shaders.

Share this post


Link to post
Share on other sites
I've heard mixed reviews of Ne-He, some people think it's not a good starting point as the guy was apparently learning as he went along. I thought they were ok though.

I recommend:

The Red Book.
Beginning OpenGL Games Programming (by the guys who started Gamedev.net).

Share this post


Link to post
Share on other sites
Quote:
Original post by Velvet Leopard
planning on using C++, Ada, or Java for my programming needs.


Isn't ADA a military language? I found OpenGL a bit of a nightmare in Java. Stick with C/C++ if I was you.

Share this post


Link to post
Share on other sites
Hey there. Thanks for the replies. Yes Ada was originally contracted as a sort of contest by the military to see who could create a real-time programming language that can be run on any equipment and be very accurate and fast. It is a easy language to learn and has many capabilities. It isn't the greatest language for stuff like games, but it can be used and I do know how to code it. I do have access to C++ though and have coded with it some.

My real question is what actual things do I need to put on my PC in order to program with OpenGL? As in are there any base libraries, source code, or programs that I have to download and use? As of yet, I haven't found a single download of OpenGL. Like I said I am new and never used it, so I don't know what I need code -wise, not literature wise. I will look into buying several books on it though.

Thanks for your time.

Share this post


Link to post
Share on other sites
OpenGL is implemented in the video driver. So you need an up to date driver.
Since it is a standard library, most C++ compiler comes with OpenGL header files & libs.
On Windows, it is included in Microsoft Platform SDK, freely downloadable on Microsoft website. On Linux, libs & headers are usually available by default.
However this will give you only access to OpenGL 1.1.
To access latest versions of OpenGL, you need to ask the driver for extensions.
Helpful people have made libraries that does this for you, check out GLEE or GLEW.

There are a few interesting links here: http://www.opengl.org/sdk/

Share this post


Link to post
Share on other sites
Quote:
Original post by theZapper
Quote:
Original post by Velvet Leopard
planning on using C++, Ada, or Java for my programming needs.


Isn't ADA a military language? I found OpenGL a bit of a nightmare in Java. Stick with C/C++ if I was you.


opengl in java a nightmare?? IMHO i guess its easier than c/c++ ever heard of lwjgl? jogl? ,when i started to learn opengl i first picked c++ , after a couple of months i found java and lwjgl , never come back to c++, for me it was more simple n_n

Share this post


Link to post
Share on other sites
Hmm. Does that mean I can only develop programs using OpenGL for my graphics card?

I do have a Java book and compiler I got from the local college. I may use that instead.

Share this post


Link to post
Share on other sites
Rather than being a full set of libraries, as with DirectX, OpenGL is part of the video driver*. All drivers are expected to implement the same set of core functionality, and beyond that tend to provide vendor-specific extensions.



*It doesn't have to be part of the driver, but usually it is.

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!