11

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.

NERDcustard
  • 135
  • 1
  • 2
  • 4

2 Answers2

21

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

Md Mahbubur Rahman
  • 2,867
  • 20
  • 30
4

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 https://learnopengl.com/arcsynthesis.pdf 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.

Roy T.
  • 10,208
  • 34
  • 56