xCode OpenGL/Rendering

Discussion in 'Mac Programming' started by TJMC, Jul 20, 2010.

  1. TJMC macrumors newbie

    Joined:
    Jul 19, 2010
    #1
    I'm new to Xcode but I'm trying to learn it as fast as I can. I'm attempting to render in OpenGL but I have no clue how to render or link anything. Where are some good tutorials to get going Fast?

    This is a attempt of a offline SecondLife object editor. No copyright infringement intended. They just don't exactly have one yet.

    Thanks in advance.
     
  2. holmesf macrumors 6502a

    Joined:
    Sep 30, 2001
    #3
    That's a pretty ambitious project -- I hope that you have prior OpenGL experience and are just new to XCode for this.

    That said, you (probably) want to use NSOpenGLView. There is Apple sample code that shows how this. Like a lot of Apple's example code, however, it is more complicated than it needs to be.

    http://developer.apple.com/mac/library/samplecode/CocoaGL/Introduction/Intro.html

    Note, to get this to compile you'll probably have to set the base SDK to something higher than 10.4 in the build settings.
     
  3. Gepper macrumors member

    Joined:
    Dec 7, 2009
    #5
    Try Nehe.
    Check the links on the left side, theres some "base code" for different systems you might want to check out (like cocoa)
     

Share This Page