PDA

View Full Version : Xcode, C++, OpenGL, and Graphics Engines OH MY!


box_king
2006.05.18, 10:09 PM
I'm sorry to have to do this, but i have what may seem like very basic questions but. Where does one begin when attempting to program games on the Mac OS X.

I have looked at Xcode but not indepth, i have made c++ command line program but have not seen any xcode projects to start a c++ gui application. How would i go about doing this?

I have found an OpenGl tutorial site http://nehe.gamedev.net/ these seem out of date however as they mention project builder. Does anyone recommend some OpenGL online tutorials for the mac?

In the topic of Xcode and OpenGL vs Irrlicht Engine.

Should i just use Irrlicht Engine?

OneSadCookie
2006.05.18, 10:23 PM
http://onesadcookie.com/Tutorials should get you started.

box_king
2006.05.18, 10:41 PM
what about linking the irrlicht to xcode? can the GLUT do this? I have had experience with a modified irrlicht engine my lecture built. But this is on a PC and on the .Net enviorment.

I basically want practice over the summer and to be on par with what the pc enviorments will be using.

box_king
2006.05.18, 11:51 PM
I found how to build the irrlicht with xcode.

first download the mac irrlicht build

irrlicht-0.14.0-macOs.zip (http://prdownloads.sourceforge.net/irrlicht/irrlicht-0.14.0-macOs.zip?download)

Then basically you run the xcod project of irrlicht which is in /irrlicht-0.14.0/source/Irrlicht/MacOSX

you need the libMacOSX.a file from this build. all your new projects from xcode will need to include this if you are going to build a irrlicht engine file.

Original Solution (http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=69558&highlight=xcode#69558)

for some reason getting irrlicht to run on osx isn't well documented.

Sometime in the next few days i will attempt all of these solutions of xcode with opengl and glut vs xcode with irrlicht.

MacFiend
2006.05.24, 01:59 PM
The NeHe tutorials should still be valid. Though they are in the old Project Builder format, they should import perfectly with Xcode (not sure about Xcode 2).

Where does one begin on a Mac?
Before choosing an engine, I would suggest looking at Carbon and AGL.