Search found 12 matches

by mchiasson
Mon Apr 08, 2013 1:36 pm
Forum: Open Discussion and Dev Announcements
Topic: Native Android port
Replies: 68
Views: 19512

Re: Native Android port

I don't care that much for the patch. If it helps others to get by, then I am happy. If you guys need it to fix the segfault in Android with the Ogles2 driver, then that's solved for you. If you guys want to do a complete rewrite, then that's fine too.
by mchiasson
Mon Apr 08, 2013 1:50 am
Forum: Open Discussion and Dev Announcements
Topic: Native Android port
Replies: 68
Views: 19512

Re: Native Android port

Looks like I fixed the compile error by simply adding the following function CIrrDeviceAndroid.cpp/h   core::position2di CIrrDeviceAndroid::getWindowPosition() {     return core::position2di(-1, -1); }   I don't think we need this function on Android. There are no 'windows'. I ran it and it seems to...
by mchiasson
Mon Apr 08, 2013 1:22 am
Forum: Open Discussion and Dev Announcements
Topic: Native Android port
Replies: 68
Views: 19512

Re: Native Android port

mazataza, the reason why it crashes if you leave the AndroidAssetFileArchive there is simply because it wasn't done in the correct location. see my post here: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=2&t=48080&p=277056#p277040 All you have to do is move the crashing code block b...
by mchiasson
Mon Apr 08, 2013 1:16 am
Forum: Open Discussion and Dev Announcements
Topic: Native Android port
Replies: 68
Views: 19512

Re: Native Android port

and the latest as of today doesn't seem to compile for Android. First, I went in source/Irrlicht/Android/jni/Android.mk, and changed this line: LOCAL_CFLAGS := -DBUILD_OGLES2 -g -D_DEBUG to the following: LOCAL_CFLAGS := -D_IRR_ANDROID_PLATFORM_ -g -D_DEBUG But I am getting the following error: jni/...
by mchiasson
Mon Apr 08, 2013 1:03 am
Forum: Open Discussion and Dev Announcements
Topic: Native Android port
Replies: 68
Views: 19512

Re: Native Android port

I am pretty certain that the Android emulator cannot do OpenGL ES, unless it was changed recently.
by mchiasson
Mon Feb 04, 2013 3:21 pm
Forum: Bug reports
Topic: [fixed]MAYA Camera problems with the input receiver
Replies: 16
Views: 5293

Re: [fixed]MAYA Camera problems with the input receiver

Yes, I know that you are in Montreal, that's what it says under your avatar lol.

I just tried it on 1.8 as-is and it worked. I didn't update anything yo get it to work.
by mchiasson
Sat Feb 02, 2013 6:25 pm
Forum: Bug reports
Topic: [fixed]MAYA Camera problems with the input receiver
Replies: 16
Views: 5293

Re: [fixed]MAYA Camera problems with the input receiver

Hi there. I patched my own copy of CSceneNodeAnimatorCameraMaya from irrlicht 1.8 with Christian's patch (http://www.clavet.org/files/patches/MayaCam_Improvements.patch). It works exactly as I wanted! Having the zoom on the middle click is so much better too! Good work Chris!! If you are in the Otta...
by mchiasson
Sat Feb 02, 2013 1:59 am
Forum: Bug reports
Topic: [fixed]MAYA Camera problems with the input receiver
Replies: 16
Views: 5293

Re: [fixed]MAYA Camera problems with the input receiver

Hi,

This seems to be exactly the problem that I am having with the Maya camera, and seems to have been solved, but when I look at CSceneNodeAnimatorCameraMaya.cpp from Irrlicht 1.8, there is not FirstUpdate flag in there. Was this patch supposed to be applied to 1.8?

Thanks
by mchiasson
Sun Jan 20, 2013 6:42 pm
Forum: Open Discussion and Dev Announcements
Topic: patch for android w/ gles2 crash
Replies: 6
Views: 2438

Re: patch for android w/ gles2 crash

I updated my first patch in my first post accordingly. To test this on Android, I used the example #08, dropped the entire media folder in the assets folder, used Android SDK r21 and Android NDK android-ndk-r8d. I did not submit my modified Android.mk into this patch because I do not know which NDK ...
by mchiasson
Sun Jan 20, 2013 6:36 pm
Forum: Open Discussion and Dev Announcements
Topic: patch for android w/ gles2 crash
Replies: 6
Views: 2438

Re: patch for android w/ gles2 crash

Same with COGLES2Driver.cpp. Should only include android_native_app_glue.h when we're on Android. This way, I'm not breaking Linux Desktop GLES2 support.   Index: source/Irrlicht/COGLES2Driver.cpp =================================================================== --- source/Irrlicht/COGLES2Driver.c...
by mchiasson
Sun Jan 20, 2013 6:27 pm
Forum: Open Discussion and Dev Announcements
Topic: patch for android w/ gles2 crash
Replies: 6
Views: 2438

Re: patch for android w/ gles2 crash

No problem Nadro. I actually made one last modification to IrrCompileConfig.h   Index: include/IrrCompileConfig.h =================================================================== --- include/IrrCompileConfig.h  (revision 4446) +++ include/IrrCompileConfig.h  (working copy) @@ -206,6 +206,8 @@  #i...
by mchiasson
Sun Jan 20, 2013 5:33 am
Forum: Open Discussion and Dev Announcements
Topic: patch for android w/ gles2 crash
Replies: 6
Views: 2438

patch for android w/ gles2 crash

My very first contribution to irrlicht! ^_^   Index: source/Irrlicht/CIrrDeviceAndroid.cpp =================================================================== --- source/Irrlicht/CIrrDeviceAndroid.cpp   (revision 4446) +++ source/Irrlicht/CIrrDeviceAndroid.cpp   (working copy) @@ -90,15 +90,17 @@   ...