Cocoa OpenGL
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.
This may help: http://www.onesadcookie.com/CreatingMacG...ames.xhtml
Cocoa OpenGL template for xcode: http://fax.twilightcoders.net/files/Coco...cation.zip
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.
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!
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: http://www.libsdl.org/download-1.2.php
Mac OS X Runtime: http://www.libsdl.org/release/SDL-1.2.11.dmg
Mac OS X SDK: http://www.libsdl.org/release/SDL-devel-...extras.dmg
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):
http://www.meandmark.com/sdlopenglpart1.html
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.
You can download SDL from here:
Main download page: http://www.libsdl.org/download-1.2.php
Mac OS X Runtime: http://www.libsdl.org/release/SDL-1.2.11.dmg
Mac OS X SDK: http://www.libsdl.org/release/SDL-devel-...extras.dmg
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):
http://www.meandmark.com/sdlopenglpart1.html
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.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Texture Loading Cocoa/OpenGL | ultitech | 1 | 5,666 |
Jan 31, 2011 12:51 PM Last Post: mk12 |
|
| Cocoa/OpenGL drawing full-screen problem | ultitech | 5 | 7,019 |
Jan 13, 2011 01:11 PM Last Post: SethWillits |
|
| Cocoa OpenGL | clapton541 | 3 | 4,518 |
Aug 5, 2007 09:22 PM Last Post: BenRose3d |
|
| setting up opengl w/cocoa | Leroy | 5 | 4,063 |
Jun 18, 2007 06:00 PM Last Post: kelvin |
|
| Cocoa OpenGL | clapton541 | 3 | 4,116 |
Mar 26, 2007 03:55 AM Last Post: MattDiamond |
|

