Cocoa

Visaudi
Unregistered
 
Post: #1
Is there a way to not modify Main(), when using Opengl in cocoa, to do everything completely object Oriented?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
Most Cocoa programs don't modify main. It usually simply calls NSApplicationMain.

There's a simple Cocoa OpenGL example on this site, and another on Apple's site. Why not download them and have a look at what they do?

From memory, GLCubes is the simple one hosted here.
Quote this message in a reply
zzajin
Unregistered
 
Post: #3
check out - http://nehe.gamedev.net/

A number of the tutorials include cocoa ports that I think meet your needs.

Tutorial 19 for instance....



zza
Quote this message in a reply
Visaudi
Unregistered
 
Post: #4
What is the URL for your site cookie?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #5
I don't have a website.

The examples I was referring to are hosted here on iDevGames. Click on "download finder" from the front page.
Quote this message in a reply
ededed
Unregistered
 
Post: #6
On the main idevgames website you should be able to download an app called GLCubes that uses OpenGL in cocoa and uses a set time delay so you dont have to do all that integration stuff to make animations work on different render speeds.
GLCubes.
Quote this message in a reply
Post Reply