Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
What are some good learning resources for OpenGL?

I have learnt C++ and made some cool text based games and such but I would love to start graphical programming. I'm a decent artist (I will have some of my work below) I know the basics of C++ but I really would like to get into OpenGL.

I need someone to show me some good tutorials for OpenGL with C++ so I can really get into game development. My goal is to be able to program a simple 2D game by the end of the year and I have lots of time to do so. I'm en-rolled in a game development course next year and really need some help with starting off.

share|improve this question

marked as duplicate by Maik Semder, Le Comte du Merde-fou, Laurent Couvidou, Josh Petrie, Tetrad Nov 5 '12 at 18:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome, Norbert. – Arcane Engineer Nov 5 '12 at 11:33
Learning how to properly use Google will definitely help you on your way becoming a programmer, in fact it's essential! Or the search button on this site for that matter: Good resources for learning modern OpenGL (3.0 or later)? – Maik Semder Nov 5 '12 at 12:08

Pure Basics (for Latest/Modern OpenGL/OpenGL 3D Graphics Programming)

Online Resources (for Latest/Modern OpenGL/OpenGL 3D Graphics Programming)

Basics Examples (from

Intermediate Examples (from

Other samples

Community Resources

share|improve this answer
I totally agree with your answer except for the 'Beginning OpenGL Game Programming' book, which seems outdated. (It was long before OpenGL3 was released). – Roy T. Nov 5 '12 at 11:36
@RoyT. Yes, I agree with you. I have edited my answer. Thanks for comment. :) – Md. Mahbubur R. Aaman Nov 5 '12 at 11:42 does more harm than good, i'd avoide it like the plague unless somebody wants the pure specification, it's not good for anything else – dreta Nov 6 '12 at 4:59
@dreta, What would be better in lieu of – Md. Mahbubur R. Aaman Nov 6 '12 at 5:07
@MahbuburRAaman null and void – dreta Nov 6 '12 at 20:06

There is a free book, released this year, called "Learning Modern 3D Graphics Programming" which I saw John Carmack (from ID/DOOM fame) recommend. You can browse it here I've been going through it myself to learn more about the 'proper' way to do things in OpenGL. Now I realize this is in C, not C++. But since OpenGL is mostly a C API its best to learn it this way and then later encapsulate it in objects later if you want to and of course all the C code works perfectly fine in C++.

As for other tutorials and books. There are a lot of old ones out there which learn you a lot of bad practices (that used to be good practices). Shun away from anything that is using the fixed pipeline functions like glVertex, glColor, the matrix stack, the gluPerspective and gluLookAT functions. These are all depricated and outdated. Try to write as clean as possible OpenGL 3.

share|improve this answer
Happen to remember where you saw John Carmack recommending that book? – Byte56 Jul 19 '13 at 20:58
He said something like "A very decent looking book on modern OpenGL" on twitter. Must've been not more than a month before I answered this question. – Roy T. Jul 22 '13 at 9:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.