Android Port

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Do you use the es1 or es2 driver?
SocratesJohnson
Posts: 4
Joined: Mon Sep 20, 2010 8:03 pm

Post by SocratesJohnson »

hybrid wrote:Do you use the es1 or es2 driver?
I'm not sure -- how do I tell? I'm just trying to run the committed port project without modification.
ellis2323
Posts: 37
Joined: Fri Feb 05, 2010 5:33 pm

Emulator doesn't support all GL Command

Post by ellis2323 »

This port uses the opengl es 1.x driver. It isn't not sync with the last irrlicht ogles version.

By the way, Android emulator doesn't support OpenGL ES 2.X. You need a real device to have this feature as a Nexus One, Droid or Galaxy S
ellis2323
Posts: 37
Joined: Fri Feb 05, 2010 5:33 pm

unimplemented calls do nothing

Post by ellis2323 »

Normally, on the emulator, it should draw something. This message
called unimplemented OpenGL ES API
just says that it doesn't do the OpenGL call
SocratesJohnson
Posts: 4
Joined: Mon Sep 20, 2010 8:03 pm

Post by SocratesJohnson »

Okay, got the sydney test working. The problem is that the files sydney.md2 and sydney.bmp need to be in /sdcard/Irrlicht/ rather than at the root (which is contrary to what the first post states).

It might be a good idea to keep the first post up to date -- or maybe create a wiki somewhere?
ellis2323
Posts: 37
Joined: Fri Feb 05, 2010 5:33 pm

Updated instructions

Post by ellis2323 »

I have added better instructions. Have fun
olafure
Posts: 1
Joined: Tue Oct 05, 2010 10:55 am

Post by olafure »

First, thanks Ellis for sharing your work!

There is a wiki on the project's Git site, perhaps we should keep that up to date.

Wiki: http://gitorious.org/irrlichtandroid/pages/Home
kine
Posts: 18
Joined: Tue Mar 23, 2010 9:40 am

Post by kine »

Hey ! The irrlicht android open gl es2.0 shader driven renderer is now done !!
uploading it in a few hours !! it might be soon available on the irrlicht-android-port gitorious project ! :lol:


Image


Image

:D
ellis2323
Posts: 37
Joined: Fri Feb 05, 2010 5:33 pm

I have done the port two days ago too

Post by ellis2323 »

But i have a texture bug. But, i can merge your version if you want.
ellis2323
Posts: 37
Joined: Fri Feb 05, 2010 5:33 pm

Irrlicht COGLES2 included

Post by ellis2323 »

I have pushed my COGLES2 Port. There is a bug with texture. To try it, put the IrrlichtSdcard files in /mnt/sdcard/Irrlicht
kine
Posts: 18
Joined: Tue Mar 23, 2010 9:40 am

Post by kine »

ahah so we made it simultaneously ... oops ... :wink:
kine
Posts: 18
Joined: Tue Mar 23, 2010 9:40 am

Post by kine »

about your texture problem, did you check this ?

http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
ellis2323
Posts: 37
Joined: Fri Feb 05, 2010 5:33 pm

Texture bug

Post by ellis2323 »

I have fixed the shader loading. So it is something else. I thinks we must have the same code... so it will be easy to merge ?
zhuziyuan
Posts: 1
Joined: Fri Jan 14, 2011 12:24 am

Post by zhuziyuan »

many errors while compile, what should i do?

Code: Select all

$ ../../../ndk-build
Compile++ arm  : irrlicht <= /cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/
irrlichtandroid-irrlichtandroid/project/jni/COGLES2Driver.cpp
In file included from /cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlich
tandroid-irrlichtandroid/project/jni/COGLES2Driver.h:44,
                 from /cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlich
tandroid-irrlichtandroid/project/jni/COGLES2Driver.cpp:6:
/cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlichtandroid-irrlichtandro
id/project/jni/COGLES2ExtensionHandler.h:18:23: error: GLES2/gl2.h: No such file
 or directory
/cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlichtandroid-irrlichtandro
id/project/jni/COGLES2ExtensionHandler.h:19:26: error: GLES2/gl2ext.h: No such f
ile or directory
In file included from /cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlich
tandroid-irrlichtandroid/project/jni/COGLES2Driver.cpp:6:
/cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlichtandroid-irrlichtandro
id/project/jni/COGLES2Driver.h:380: error: 'GLint' does not name a type
/cygdrive/e/AndroidDev/sdks/android-ndk-r4/sources/irrlichtandroid-irrlichtandro
id/project/jni/COGLES2Driver.cpp:27: error: 'GL_RGBA' was not declared in this scope
...
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

The errors are pretty obvious. You're missing some GLES2 headers.
Post Reply