Is there any tutorial how to set up irrlicht on the iPhone?
New to iPhone, but been working with irrlicht on PC..
iPhone
-
- Posts: 15
- Joined: Fri Jun 29, 2007 11:47 am
Same question. I'm new to the iPhone platform, thus I don't really know how to compile a working app.zlobotan wrote:I've compiled Example 3, but got black screen and nothing else. Suppose, the same will be with other samples. I think, it's because of empty UIWindow but I can't understand how to and where initialize it.. Does anybody can help with it?
On Mac OS, I used to have a static (.a) Irrlicht library plus a main.cpp containing the source code of my app, but since the iPhone works in a pretty different way I'm stuck. I've managed to create a new iPhone SDK project and put in all the source files (except jpeglib which, for some reasons, appears to be broken?). It compiles and I can see from the console it loads fine, but the screen remains black. I suppose I need to interface somehow the UIWindow with Irrlicht, but I don't get how to do it.
Probably it'd be better if someone skilled could make an example Xcode project: I think almost everyone could understand and learn from it without keeping asking for help.
![Smile :)](./images/smilies/icon_smile.gif)
Sherry Haibara
P.S.
iPhone Simulator support seems to be broken, Irrlicht compiles fine only for the device.
Absolutely.hybrid wrote:Did you create the iPhone device with an ogl-es driver? That one should handle the interfacing.
Code: Select all
video::E_DRIVER_TYPE driverType = video::EDT_OGLES1;
![Smile :)](./images/smilies/icon_smile.gif)
When compiling your OpenglES driver, did you encounter any of the issues I brought up here - http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=33188
?
I'll let you know if I get it working.
Bino
?
I'll let you know if I get it working.
Bino