Cocoa OpenGL

Post: #1
Does anyone know a really good cocoa opengl tutorial. Not Nehe because they don't work on newer models, don't work fullscreen, and don't explain the Cocoa part. So does anyone know a good Cocoa OpenGL tutorial that tells you how to go fullscreen, draw(obviously), and have 3d meshes used. Also something that works on the newer Macs and on XCode not Project Builder. Thanks I would really appreciate if somone gave me one because I have been searching all over the internet for one.
Quote this message in a reply
Posts: 1,563
Joined: 2003.10
Post: #2
Quote this message in a reply
Posts: 1,403
Joined: 2005.07
Post: #3
Cocoa OpenGL template for xcode:

for the basics of GL, loading meshes, texturing and so on NeHe is actually a really good resource, also just searching around and looking at examples (GLUT examples in particular) can be very useful for learning.

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Posts: 104
Joined: 2007.01
Post: #4
I used SDL and OpenGL, rather than programming Cocoa directly. That made the code cross-platform so I could release the game on Windows and Linux too. When you install SDL, it adds an SDL project template to XCode that you can select, and the template is based on Cocoa.

You can download SDL from here:
Main download page:
Mac OS X Runtime:

Here's a good tutorial for using SDL on Mac OS X with XCode (a bit dated, but still mostly good - helped me a lot):

As far as OpenGL drawing goes, any good tutorial will do. OpenGL programming is the same, regardless of which OS you're using. I learned from two good books: "OpenGL Super Bible" by White Group Press, and "OpenGL Game Programming" by LaMothe.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Texture Loading Cocoa/OpenGL ultitech 1 9,753 Jan 31, 2011 12:51 PM
Last Post: mk12
  Cocoa/OpenGL drawing full-screen problem ultitech 5 11,559 Jan 13, 2011 01:11 PM
Last Post: SethWillits
  Cocoa OpenGL clapton541 3 6,573 Aug 5, 2007 09:22 PM
Last Post: BenRose3d
  setting up opengl w/cocoa Leroy 5 6,653 Jun 18, 2007 06:00 PM
Last Post: kelvin
  Cocoa OpenGL clapton541 3 6,130 Mar 26, 2007 03:55 AM
Last Post: MattDiamond