Irrlicht iPhone problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mmortall
Posts: 23
Joined: Tue May 11, 2010 6:36 am
Location: Kharkiv
Contact:

Irrlicht iPhone problem

Post by mmortall »

I try to download Irrlicht for iPhone using TortoiseSVN from url
http://irrlicht.svn.sourceforge.net/vie ... es/ogl-es/

but I got error message "Repository moved temporarily to '/viewvc/irrlicht/branches/ogl-es/'; please relocate"

I find another url and download Irrlicht from it
https://irrlicht.svn.sourceforge.net/sv ... hes/ogl-es

But I have no find iPhone project. Only for MacOS.
What I'm doing wrong?

Sorry for my English.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The first message is correct. You used the viewvc link, which isfor online browsing the repository with a web browser. The XCode project is located in sources/Irrlicht/MacOSX. Additional project files and an app template can be found on the forum.
mmortall
Posts: 23
Joined: Tue May 11, 2010 6:36 am
Location: Kharkiv
Contact:

Post by mmortall »

thanks.

I build Irrlicht for iPhone Simulator and write simple app.

Now I got a poblem with camera. Looks like camera viewport divided on 4.
I see only 1/4 left top part of the screen.

Camera in (0,150,0) look at (0, 0, 0).
Anybody know how to fix this?

Looks like on iPhone center of screen not in (0.5 0.5) as on Window.

Image
mmortall
Posts: 23
Joined: Tue May 11, 2010 6:36 am
Location: Kharkiv
Contact:

Post by mmortall »

So, this is a bug? Something wrong with camera matrix? Is there are any differences between iPhone and Window camera?
mmortall
Posts: 23
Joined: Tue May 11, 2010 6:36 am
Location: Kharkiv
Contact:

Post by mmortall »

Looks like I fix this problem. My WindowSize was 640x960 for iPhone4.
When I set WindowSize 320x240 for iPhone4 camera work correct.

This fix looks strange. Is this correct?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh yes, the higher resolution is interpolated internally, you might have access to the higher resolution with some CG commands as well. But in most cases, the default resolution is best to use. We should probably fix the VideoMode list for the mobile systems in the future, so one can check those values.
mmortall
Posts: 23
Joined: Tue May 11, 2010 6:36 am
Location: Kharkiv
Contact:

Post by mmortall »

Thanks.
Post Reply