As you can see here I'm about to start work on a 3d project for class.
Do you have any useful resources/websites/tips/etc. on someone getting started with OpenGL for the first time? The project will be in C++ and accessing OpenGL via GLUT. Thanks!
As you can see here I'm about to start work on a 3d project for class.
Do you have any useful resources/websites/tips/etc. on someone getting started with OpenGL for the first time? The project will be in C++ and accessing OpenGL via GLUT. Thanks!
The OpenGL "Red Book" is the best place to start learning. The OpenGL "Blue Book" is documentation for the OpenGL API.
There are many online resources for opengl, and glprogramming.com is one of them. Check out the links section.
The NeHe tutorials will get you going but as luke points out they don't really cover much background of why.
Although it is WPF rather than opengl (do you have to use opengl?) Petzolds book on 3d graphics with wpf does a very good job of introducing 3d graphics and some of the maths behind it.
This is the best web page(for me) to learn OpenGL http://nehe.gamedev.net/.
And this is the official book http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321335732
Beginning OpenGL Game Programming is a very good introduction, even if you don't care about games. The official Programming Guide and Reference Manual are a must too. Might as well pick up a general book on computer graphics.
There are plenty of online resources, but I really think you should go for books, even if it was the freely available old versions of the official books. NeHe's site has some interesting code samples but I don't think it's a good resource to start learning, as it glosses over many details and follows a quick and dirty approach to get things running.
check glut: http://en.wikipedia.org/wiki/OpenGL_Utility_Toolkit http://www.lighthouse3d.com/opengl/glut/index.php?1
Processing has also open gl support, it's an easy way to get started.. If you don't like the editor, which comes with processing, you can also use it with a Java IDE, such as Eclipse or Intellij.
If you are serious about learning OpenGL you should check out the OpenGL Bootcamp at Big Nerd Ranch. The instructor has written several award winning games, including the "Big Bang Board Games" published by Freeverse software.
OpenGL is extremely easy to start with, especially if you're using a toolkit like GLUT or SDL. Starting from man glVertex
and man glDrawElements
will get you started (look at the references at the bottom for other functions). If you're on a windows system typing those commands into google yields the same results.
Further down the road, it's probably a good idea to check out the extensions repository. I would advise against books in this case because the (more exact) specifications are published online making that the most accurate and up-to-date resource.
I agree with jwfearn above. OpenGL SuperBible is the most readable, interesting, and understandable book for OpenGL to me. Give it a try.