OpenGL and Drawing

Discussion in 'Mac Programming' started by tesseract36, Jan 12, 2009.

  1. tesseract36 macrumors newbie

    Joined:
    Jan 12, 2009
    #1
    I have a few questions, i someone could help me out or at least show me a good place to start.

    1) Im tring to use OpenGL to draw an image (sprite) and have no idea how or were to find how. If this can be done please help otherwise let me know how I should be doing this.

    2) I want to draw a little icon on the desktop, and i want it to be animated. basicly a swerly little icon to show my program is thinking in the background. Ill make the image and animate it but i dont know what to do form their. Im so confused with ruby openGL quartz and carbon C I have no idea what most of these are.
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
  3. BravoBug macrumors newbie

    Joined:
    Dec 8, 2008
    Location:
    Oregon, USA
    #3
    If you're just starting out learning some of these things, and you're writing a Cocoa app in Obj-C, you may want to stick with something simple like NSImage (drawInRect, drawAtPoint, etc.) for the time being. For many basic drawing tasks it's plenty fast.

    If you really want to learn OpenGL you might want to take a look at the NeHe tutorials.
     
  4. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #4
    I wouldn't if I was learning. I'd stick to (and in fact did) the red and orange books.
     

Share This Page