Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TJMC

macrumors newbie
Original poster
Jul 19, 2010
2
0
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.
 
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.

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.
 
Try Nehe.
Check the links on the left side, theres some "base code" for different systems you might want to check out (like cocoa)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.