Page 6 of 26

Posted: Thu Sep 23, 2010 8:02 am
by hybrid
Do you use the es1 or es2 driver?

Posted: Thu Sep 23, 2010 10:51 pm
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.

Emulator doesn't support all GL Command

Posted: Fri Sep 24, 2010 12:44 pm
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

unimplemented calls do nothing

Posted: Fri Sep 24, 2010 12:55 pm
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

Posted: Sun Sep 26, 2010 7:10 pm
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?

Updated instructions

Posted: Mon Sep 27, 2010 11:14 pm
by ellis2323
I have added better instructions. Have fun

Posted: Tue Oct 05, 2010 10:57 am
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

Posted: Thu Jan 06, 2011 11:58 am
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

I have done the port two days ago too

Posted: Thu Jan 06, 2011 6:26 pm
by ellis2323
But i have a texture bug. But, i can merge your version if you want.

Irrlicht COGLES2 included

Posted: Thu Jan 06, 2011 7:04 pm
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

Posted: Thu Jan 06, 2011 7:29 pm
by kine
ahah so we made it simultaneously ... oops ... :wink:

Posted: Thu Jan 06, 2011 8:17 pm
by kine
about your texture problem, did you check this ?

http://irrlicht.sourceforge.net/phpBB2/ ... highlight=

Texture bug

Posted: Thu Jan 06, 2011 9:01 pm
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 ?

Posted: Fri Jan 14, 2011 12:37 am
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
...

Posted: Fri Jan 14, 2011 3:22 am
by Lonesome Ducky
The errors are pretty obvious. You're missing some GLES2 headers.