Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
2  
Welcome, Norbert. –  Nick Wiggill Nov 5 '12 at 11:33
5  
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
    
add comment

marked as duplicate by Maik Semder, Jimmy Shelter, 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.

2 Answers

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

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

Basics Examples (from http://en.wikibooks.org/wiki/OpenGL_Programming)

Intermediate Examples (from http://en.wikibooks.org/wiki/OpenGL_Programming)

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. :) –  Mahbubur R Aaman Nov 5 '12 at 11:42
    
opengl.org 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 opengl.org? –  Mahbubur R Aaman Nov 6 '12 at 5:07
    
@MahbuburRAaman null and void –  dreta Nov 6 '12 at 20:06
add comment

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 http://www.arcsynthesis.org/gltut/index.html 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
add comment

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