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

csnplt

macrumors 6502
Original poster
Aug 29, 2008
320
1
Chicago Area
I want to learn openGL, so I could make some iPhone games. I'm already comfortable with objective-c and cocoa touch, so I don't need any help there.

What I'm wondering is if any of you could recommend a good book to start with, or some other good resource. Should I get an openGL ES 2.0 book? I'm not really interested in programming for older devices besides the iPhone 3GS and up, so would that be good? Or should I get an older openGL ES 1 book? Should I get a regular openGL book instead?

I want the most up to date book that is good, and one that would be easy to apply to iPhone development. In other words, I don't want to learn one thing, than relearn it in another way.

Thanks for your help.
 
The Red Book for OpenGL, hands down.
As for iPhone development, I have to say that I have no experience, but normally O'Reilly's books are good enough to get you started. They have a few on Objective-C and on iPhone development.
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
The Red Book for OpenGL, hands down.

Seconded. It doesn't specifically cover openGL ES, but it it's easy to ignore what isn't supported, and it does cover viewports, transforms, vertex ordering, texturing... all the fundamentals. You can get a 4th edition for under $5.

http://www.amazon.com/gp/product/01...=1789&creative=390957&creativeASIN=0131103628

If you haven't done C for a while, you'll probably need the K&R C book to brush up on structs, C arrays, etc.

http://www.amazon.com/gp/product/01...=1789&creative=390957&creativeASIN=0131103628
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
Seconded. It doesn't specifically cover openGL ES, but it it's easy to ignore what isn't supported, and it does cover viewports, transforms, vertex ordering, texturing... all the fundamentals. You can get a 4th edition for under $5.

http://www.amazon.com/gp/product/01...=1789&creative=390957&creativeASIN=0131103628

If you haven't done C for a while, you'll probably need the K&R C book to brush up on structs, C arrays, etc.

http://www.amazon.com/gp/product/01...=1789&creative=390957&creativeASIN=0131103628

I read some reviews that said that it was using deprecated API's. Is that applicable to openGL ES, or does ES use older desktop API's?

Thanks for the recommendations. What about a book specific to openGL ES 2.0? Would that be good?
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
I read some reviews that said that it was using deprecated API's. Is that applicable to openGL ES, or does ES use older desktop API's?

Thanks for the recommendations. What about a book specific to openGL ES 2.0? Would that be good?

OpenGL ES, the ES stands for embedded systems, so mobile systems etc
If OpenGL works on the platform is depending on if your chips and the OS allow it

No matter what iphone OS you are developing for, OpenGL ES 1.0 or 1.1 will work

It doesn't really matter if you are using deprecated API's because you are just using ObjC as a kind of interface to implement your OpenGL code
(Although you shouldn't use them, find a book thats up to date)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.