iPhone port: Enable running OGRE on an IPhone..

Threads related to Google Summer of Code
Locked
ashishs99
Gnoblar
Posts: 2
Joined: Tue Mar 31, 2009 7:45 pm

iPhone port: Enable running OGRE on an IPhone..

Post by ashishs99 » Tue Mar 31, 2009 7:58 pm

Hi all!

I am GSoc aspirant and I am looking to contribute to the OGRE community. I wanted to have an understanding of what we are looking for the iPhone port of OGRE. Do we have some links which can give some overview?

Bit about me: I am pretty new to the graphics field but I have around 4.5 years of professional experience which includes programming on C++, Mac OS X and iPhone OS (objective c/cocoa). I have a good experience in working on open source technologies especially applying code generation techniques to bridge technology gaps on Mac OS X and windows.

Would appreciate if someone can provide the basic information on this project so that I can explore it...


Thanks!
0 x

User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
Contact:

Re: iPhone port: Enable running OGRE on an IPhone..

Post by tuan kuranes » Wed Apr 01, 2009 8:23 am

did check ogre opengl es port ?
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Re: iPhone port: Enable running OGRE on an IPhone..

Post by Assaf Raman » Wed Apr 01, 2009 9:37 am

I am currently working on getting OGRE to run on symbian – so I guess the iPhone port is similar.
1. You need a mac with the iPhone SDK running.
2. You need to get STL working on iPhone (I guess you can use STLport - http://stoulouse.blogspot.com/2008/10/s ... phone.html)
3. You need all of OGRE dependencies to compile for the iPhone (freetype, freeimage, zzip, zlib).
4. You need to compile OGRE main for iPhone.
5. You need to compile the GLES render system for iPhone.
6. You need to compile the particle system plug-in for iPhone.
7. You need to get all the demos that work with the GLES render system on win32 – working on iPhone.

Not that hard, I will have the same for symbian by the time you start – so this will save you lots of time.

I hope this clears things up.
0 x
Watch out for my OGRE related tweets here.

User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19265
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 2
Contact:

Re: iPhone port: Enable running OGRE on an IPhone..

Post by sinbad » Wed Apr 01, 2009 3:07 pm

Since iPhone dev uses XCode (which uses gcc 4) just like Mac development STL should be no problem. The main task will be writing the support classes (windows, timers, event loops, integration with UIKit etc) for iPhone, which will no doubt share some code with the existing OS X classes but will need some iPhone-specific work too, and resolving any hardware / driver specific issues that may arise.

Unfortunately most of the iPhone dev information pushes Objective-C pretty hard, but I see no reason why C++ shouldn't work just fine anyway. It's just the UI side (config dialogs etc) that you'd need to write in Obj-C.
0 x

ashishs99
Gnoblar
Posts: 2
Joined: Tue Mar 31, 2009 7:45 pm

Re: iPhone port: Enable running OGRE on an IPhone..

Post by ashishs99 » Wed Apr 01, 2009 4:55 pm

thanks Assaf and Sindbad. I think I would like to do it. I would explore it for myself and submit the proposal. thanks much!
0 x

User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 1
Contact:

Re: iPhone port: Enable running OGRE on an IPhone..

Post by Wolfmanfx » Wed Apr 01, 2009 5:51 pm

You can look at the http://oolongengine.com/ which is also written in c++.
0 x

hagenkaiser
Kobold
Posts: 33
Joined: Tue May 01, 2007 11:21 am

Re: iPhone port: Enable running OGRE on an IPhone..

Post by hagenkaiser » Sun Jun 28, 2009 7:18 pm

Hello,
as i have seen someone else doing quite the same, i also wanted to ask you how far you are.
i am looking forward to get ogre on the iphone.
i would love to help here.

Link:
http://www.ogre3d.org/forums/viewtopic.php?f=4&t=48763

This is someone doing quite the same.

cheers
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Re: iPhone port: Enable running OGRE on an IPhone..

Post by Assaf Raman » Mon Nov 16, 2009 8:35 am

Thread locked, we have a full iphone port as for this date.
0 x
Watch out for my OGRE related tweets here.

Locked