PDA

View Full Version : OpenGL book




Buschmaster
Dec 9, 2008, 01:44 PM
Well, I've started learning some OpenGL and it seems to be going ok, but I might be better guided by a book. Unless someone knows of a better tutorial than the ones I've been reading.

Here's what I've been doing:
-Find a OpenGL 2.0 tutorial
-Try and get an understanding of it
-Try and translate it so it works on the iPhone

This seems to be a bit of a pain, but luckily it also kinda means I'm learning OpenGL well for both Mac and iPhone purposes.

Anyone who has learned OpenGL and has some pointers on how the best way to start out is would be good. Primarily this will initially be for iPhone, but eventually for Mac, as well. (That's why it's in iPhone programming)



xsmasher
Dec 9, 2008, 07:02 PM
I learned openGL by tearing apart the GLSprite example, with help from a five-year-old copy of the openGL programming guide from the library and the function reference here:

http://www.khronos.org/opengles/sdk/1.1/docs/man/

Pretty much any openGL book that explains the camera, transforms, etc. will get you started - most differences between the versions won't matter as a beginner.

Buschmaster
Dec 9, 2008, 08:18 PM
I learned openGL by tearing apart the GLSprite example, with help from a five-year-old copy of the openGL programming guide from the library and the function reference here:

http://www.khronos.org/opengles/sdk/1.1/docs/man/

Pretty much any openGL book that explains the camera, transforms, etc. will get you started - most differences between the versions won't matter as a beginner.
I've been able to draw 2d and 3d objects and rotate and move them around freely. I also understand textures on the objects. I was hoping I'd be able to take my cube and apply gravity to it easily (like making it fall to the ground and bounce), but it would seem from what I've found so far that gravity needs to all be coded...

I'll continue to look through everything and see if there are any books on campus anywhere.