Want to learn openGL. How to start?

Discussion in 'iOS Programming' started by csnplt, Sep 4, 2009.

  1. csnplt macrumors 6502

    csnplt

    Joined:
    Aug 29, 2008
    Location:
    Chicago Area
    #1
    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.
     
  2. Kingbombs macrumors member

    Joined:
    Jun 24, 2009
    #2
  3. jalagl macrumors 6502a

    jalagl

    Joined:
    Jun 5, 2003
    Location:
    Costa Rica
    #3
    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.
     
  4. xsmasher macrumors regular

    xsmasher

    Joined:
    Jul 18, 2008
    #4
    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
     
  5. csnplt thread starter macrumors 6502

    csnplt

    Joined:
    Aug 29, 2008
    Location:
    Chicago Area
    #5
    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?
     
  6. Kingbombs macrumors member

    Joined:
    Jun 24, 2009
    #6
    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)
     

Share This Page