Learning OpenGL ES

Discussion in 'iOS Programming' started by henrysoup, Apr 22, 2009.

  1. macrumors newbie

    henrysoup

    Joined:
    Apr 22, 2009
    #1
    Does anyone know of any learning materials for those who want to learn how to use OpenGL ES from scratch?
     
  2. macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #2
    Hi

    The red book, in conjunction with the OpenGL ES documentation is a good place to start. Note, since you are using ES skip the stuff on immediate mode and read up about vertex arrays etc.

    b e n
     
  3. thread starter macrumors newbie

    henrysoup

    Joined:
    Apr 22, 2009
    #3
    I have never used OpenGL either. Would it be worth following tutorials on that or is most of it made redundant in ES?
     
  4. macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #4
    Yes, it is definitely worth going over OpenGL tutorials! ES is basically a subset of OpenGL v1.something_or_another. With the exception of a few small differences, you can run the same OpenGL ES code on the Mac as the iPhone. So it might be worth you hunting down some GLUT demos that you can run on the Mac. Even if they use immediate mode rendering, ie code that uses glBegin() ... glEnd(), there will still be a lot of code that is relevant for ES, eg transformations, blend modes, fog, vertex arrays and so on.

    b e n
     
  5. macrumors regular

    xsmasher

    Joined:
    Jul 18, 2008
    #5
    Agreed- you can get a copy of the red book for under $10, and the first few chapters cover everything you need to know about viewports, transforms, drawing, vertex order, and tons of other stuff you need to know.

    http://tinyurl.com/cpwuua
     
  6. macrumors newbie

    Joined:
    Mar 1, 2009

Share This Page