OpenGL where to start?

Discussion in 'Mac Programming' started by seriypshick, Aug 31, 2005.

  1. seriypshick macrumors member


    Apr 4, 2005
    I want to learn OpenGL. Where should I start? What books should I buy? Tutorials?

    Thanks, Serg.
  2. HiRez macrumors 603


    Jan 6, 2004
    Western US
    I found the book OpenGL: A Primer to be a good introduction to the subject. I starts off with the most simple thing (drawing a white square on the screen) and progresses slowly from there, introducing new OpenGL calls and techniques as they are used. This is not a comprehensive OpenGL book, but it actually covers quite a bit, enough to keep you busy for a while. The code is also all non-platform-specific. There are a few quirks your need to discover when using OpenGL with Cocoa, but I didn't have a problem using it on a Mac.
  3. isgoed macrumors 6502

    Jun 5, 2003
    you specifically want to read the red book and blue book at

    A lot of developers (including me) learned OpenGL from the NeHe tutorials (but read the books anyway)

    Depending on your needs you may also decide to spare yourself the trouble of learning OpenGL and use a 3D engine which may simplify development. A lot are free but quality varies. I can't really recomend which engine would best suit you.
  4. caveman_uk Guest


    Feb 17, 2003
    Hitchin, Herts, UK
    There are also some third party 3-d engines listed on Apple's software site here

    For example Unity which looks really interesting ($249 but there is a demo) as a game IDE.

    and Torque which is cheaper ($100) but the licensing seems more restrictive for that price and it seems more of an SDK than a development environment.
  5. superbovine macrumors 68030


    Nov 7, 2003
    i agree, red book and blue are important. once you read a bit of the books, your see a lot of people on have read that same books as well.
  6. BigDogUK macrumors newbie

    Apr 4, 2005
    GLUT can help you out.

    GLUT Tutorial

    That tutorial will guide you through all the basics. Sticking shapes on the screen, text, input from keyboard. You can build on from there. You should be able to write a simple game like Pong using just what you learnt in that tutorial.

Share This Page