Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Buschmaster

macrumors 65816
Original poster
Feb 12, 2006
1,306
27
Minnesota
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

macrumors regular
Jul 18, 2008
140
0
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

macrumors 65816
Original poster
Feb 12, 2006
1,306
27
Minnesota
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.