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

Janglo

macrumors member
Original poster
May 7, 2008
47
0
Hi,

I know a fair bit of OpenGL in windows, but only have experience with GLUT. When I get my Mac this christmas, I want to buy a book to help me adapt to programming opengl on the iPhone (and Mac).

I've been told that writing code in C is good for portability, and Objective-C is only required for interface elements and interaction. Stephen Kochan's book on Objective-C is reccommended alot, but does it have anything on integrating opengl with mac/iphone apps?

And what about Aaron Hillegass' book on Cocoa, does it include much on opengl?

I'm not looking for how to program opengl itself, more how to use the tools to get an opengl game working in cocoa/cocoa touch.
 
Kohan's book is not about Open GL at all. It's an awesome book to learn objective-c and the bits of C you need to get going.

I have no books to suggest for Open GL, but I'd like to know too. I develop games for the iPhone and learn all my open gl from the internet, but I'd like a good book to search for stuff easily and clearly.
 
You should probably be warned that the iPhone doesn't use the full OpenGL, just OpenGL ES.

And what's wrong with the official OpenGL reference books for it?

I have...

OpenGL Programming Guide
OpenGL Reference Manual
OpenGL ES 2.0 Programming Guide

Granted, I haven't written a single line of OpenGL code yet xD
(I've been too busy learning about UIKit.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.