Search found 6 matches

by Rockfish
Thu Jul 09, 2009 12:06 am
Forum: Advanced Help
Topic: Compiling irrlicht ogl-es branch for iphone (progress)
Replies: 148
Views: 66932

I just completed some changes that add IPhone Touch Events to Irrlicht. I modeled it after the mouse events. This solves a problem with the way Touch events work on IPhone. The events go to the view created in CIrrDeviceIPhone.m and not to the view created in the user's application. Also the IPhone ...
by Rockfish
Tue Jul 07, 2009 10:02 pm
Forum: Advanced Help
Topic: Compiling irrlicht ogl-es branch for iphone (progress)
Replies: 148
Views: 66932

FYI - hybrid checked in some of these changes already. So you may want to update your sources. Roughly the steps I used where: 1. Created a new XCode iPhone Static Library project. Added include and source group folders. 2. Add existing files from Irrlicht ogl-es include and source tree. Then cleane...
by Rockfish
Tue Jul 07, 2009 9:03 am
Forum: Advanced Help
Topic: Compiling irrlicht ogl-es branch for iphone (progress)
Replies: 148
Views: 66932

FYI- To hide the status bar for a full screen window either add the following line anywhere after the window is created, such as in applicationDidFinishLaunching. // Hide status bar [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]; Or add the key UIStatusBarHidden to the info.p...
by Rockfish
Sun Jul 05, 2009 10:12 pm
Forum: Advanced Help
Topic: Compiling irrlicht ogl-es branch for iphone (progress)
Replies: 148
Views: 66932

I was working on getting the Quake3Map example working in the simulator and I found another thing that should be changed. In COGLESExtensionHandler.cpp it sets the MaxTextureUnits base on value returned by GL_MAX_TEXTURE_UNITS without comparing it to the value of MATERIAL_MAX_TEXTURES in SMaterial.h...
by Rockfish
Sat Jul 04, 2009 9:04 pm
Forum: Advanced Help
Topic: Compiling irrlicht ogl-es branch for iphone (progress)
Replies: 148
Views: 66932

Yeah, forgot about that. It's because of two small errors in the CIrrDeviceIPhone class. First in CIrrDeviceIPhone.h the method setResizeAble should be spelled setResizable and same in the .cpp file. Then add a stub minimizeWindow() method to the .cpp file. //! Sets if the window should be resizeabl...
by Rockfish
Sat Jul 04, 2009 3:42 am
Forum: Advanced Help
Topic: Compiling irrlicht ogl-es branch for iphone (progress)
Replies: 148
Views: 66932

Thanks!

I got it running on the device. Yeah! Thanks to everyone's notes and the sample project from FuzzYspo0N. I setup a new iPhone library project and added the Irrlicht include and sources. After a little fiddling I got it building an Irrlicht library. Earlier I had ported Mat Buckland's Fish Shoal exam...