Xcode OpenGL Application Template
Hello all,
Just wanted to post a link to my OpenGL application template for Xcode
Xcode OpenGL Template Version 1
here's some info about it:
It uses <projectname>View.m and .h as your main OpenGL View (it even converts spaces to _)
It renames the menu items in the NIB like: The app menu, about, hide, quit and help
appending the project name to all the menu items (except the app menu of course)
and sets the windows title to the project's name
and it even includes a simple rotating cube example
hope you all like it and find it useful
ss2cire
P.S.
Feedback welcome
Just wanted to post a link to my OpenGL application template for Xcode
Xcode OpenGL Template Version 1
here's some info about it:
It uses <projectname>View.m and .h as your main OpenGL View (it even converts spaces to _)
It renames the menu items in the NIB like: The app menu, about, hide, quit and help
appending the project name to all the menu items (except the app menu of course)
and sets the windows title to the project's name
and it even includes a simple rotating cube example

hope you all like it and find it useful

ss2cire
P.S.
Feedback welcome
I've updated the Xcode OpenGL Template
it fixes the following bug:
the project no longer includes the file <<projectname>>View.h in the application package
OpenGL Template Version 2
hope you like it
ss2cire
it fixes the following bug:
the project no longer includes the file <<projectname>>View.h in the application package
OpenGL Template Version 2
hope you like it

ss2cire
Oh man! that's exactly what I needed!
You saved my day!
Thanks!
You saved my day!
Thanks!
That is seriously awesome.
Is there anyway you could include full screen support. Or tell me how to modify the template so i can do it on my own.
Is there anyway you could include full screen support. Or tell me how to modify the template so i can do it on my own.
There was a long silence...
'I claim them all,' said the Savage at last.
The template is rockin'. Any chance that you will be modifying it later to include full screen etc. as said above?
yeah, i was thinking of doing that, i realized it lacked Full Screen support
I'll be sure to post a link when it's ready
thanks for the comments
ss2cire

thanks for the comments

ss2cire
LOL. I was just looking around to figure out how to make an xcode template, so i could make an exact tsame thing, plus one for cocoagl.
It's not magic, it's Ruby.
you're in luck
this template use Cocoa for the windowing system and such (events ect) i hear creating your own event loop is scary and hard, so i just used cocoa's
hope you like it, im working on getting fullscreen support 
check back soon



check back soon
While you're working on adding fullscreen support, you might consider making it so minimization into the dock works correctly. Right now the window turns all white when you minimize it. I know there was a thread at some point about how to do that. Thanks for making this, it's nice to be able to start something without going through all the hassle of setting everything up.
Why doesn't Apple post something like this. I think they should
have a "Best Practices" or something on their web site. They control
so much of the hardware/software that why not jump start stuff
like this.
Hey, maybe this could be an area iDevGames?
have a "Best Practices" or something on their web site. They control
so much of the hardware/software that why not jump start stuff
like this.
Hey, maybe this could be an area iDevGames?
How many versions of an openGL template do you need?
There was a long silence...
'I claim them all,' said the Savage at last.
well.. one, i just put the version numbers so people know that it's been updated and which one they have, I'll add full screen, which will make it version 3 and i think that will be it
never know tho
never know tho

hangt5 Wrote:How many versions of an openGL template do you need?
AGL, CGL, NSOpenGL, SDL_OpenGL, GLUT, ...
- Alex Diener
ThemsAllTook Wrote:AGL, CGL, NSOpenGL, SDL_OpenGL, GLUT, ...
- Alex Diener
oh, those

There was a long silence...
'I claim them all,' said the Savage at last.
hmm...
i can add a screenshot action, if it is in obj-c I don't have xcode with me, so I can't try it out.
i can add a screenshot action, if it is in obj-c I don't have xcode with me, so I can't try it out.
It's not magic, it's Ruby.
Possibly Related Threads...
Thread: | Author | Replies: | Views: | Last Post | |
iPad, OpenGL ES, and XCode Instruments problem! | Bandit | 0 | 5,258 |
Dec 13, 2010 01:21 PM Last Post: Bandit |
|
Xcode OpenGL GLUT help please! | cloudcrono | 11 | 14,265 |
Sep 23, 2006 04:58 PM Last Post: jpalm |
|
OpenGL problem in Xcode deployment build | grandall | 6 | 6,191 |
Mar 29, 2006 11:12 AM Last Post: grandall |
|
Cocoa / Objective-C / OpenGL Template | mdavis1982 | 13 | 9,383 |
Feb 28, 2005 01:54 PM Last Post: arekkusu |