OpenGL - Which book to learn cocoa opengl?

Discussion in 'iOS Programming' started by Janglo, Dec 18, 2009.

  1. Janglo macrumors member

    Joined:
    May 7, 2008
    #1
    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.
     
  2. TodVader macrumors 6502a

    TodVader

    Joined:
    Sep 27, 2005
    Location:
    Quebec, Canada
    #2
    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.
     
  3. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #3
    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.)
     

Share This Page