PDA

View Full Version : RT3DApp Crashes on Android



Balraj
04-24-2011, 04:08 PM
I have compiled and build RT3DApp.apk file but when i install the apk to the device and run it the application crashes.
Device which i am using is Sony Xperia Arc
The error in the Logcat shown is :-

04-24 21:35:13.501: DEBUG/com.rtsoft.rt3dapp(14591): SDK version: 9
04-24 21:35:13.521: DEBUG/AndroidRuntime(14591): Shutting down VM
04-24 21:35:13.521: WARN/dalvikvm(14591): threadid=1: thread exiting with uncaught exception (group=0x2aac8560)
04-24 21:35:13.531: ERROR/kernel(118): [64213.300384] msm_i2c msm_i2c.0: (0076) Error during data xfer (-5)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): FATAL EXCEPTION: main
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): java.lang.UnsatisfiedLinkError: Couldn't load rt3dapp: findLibrary returned null
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at java.lang.Runtime.loadLibrary(Runtime.java:429)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at java.lang.System.loadLibrary(System.java:554)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at com.rtsoft.shared.SharedActivity.onCreate(SharedAc tivity.java:232)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at com.rtsoft.rt3dapp.Main.onCreate(Main.java:21)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1594)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:1646)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.app.ActivityThread.access$1500(ActivityThr ead.java:121)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:936)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.os.Handler.dispatchMessage(Handler.java:99 )
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.os.Looper.loop(Looper.java:123)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at android.app.ActivityThread.main(ActivityThread.jav a:3652)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at java.lang.reflect.Method.invokeNative(Native Method)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at java.lang.reflect.Method.invoke(Method.java:507)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:862)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:620)
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): at dalvik.system.NativeStart.main(Native Method)
04-24 21:35:13.551: WARN/ActivityManager(237): Force finishing activity com.rtsoft.rt3dapp/.Main
04-24 21:35:13.611: INFO/WindowManager(237): Setting rotation to 0, animFlags=1
04-24 21:35:13.631: INFO/ActivityManager(237): Config changed: { scale=1.0 imsi=404/49 loc=en_IN touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=116}
04-24 21:35:13.711: DEBUG/GestureDetector(309): touchSlop:31 doubleTapSlop:195
04-24 21:35:13.821: DEBUG/dalvikvm(309): GC_EXTERNAL_ALLOC freed 630K, 61% free 3011K/7559K, external 2664K/2671K, paused 97ms
04-24 21:35:13.861: INFO/CustomizationProvider(1067): No configuration file: /system/etc/customization/settings/com/sonyericsson/textinput/uxp/custom_settings.xml
04-24 21:35:14.061: WARN/ActivityManager(237): Activity pause timeout for HistoryRecord{2b015988 com.rtsoft.rt3dapp/.Main}

Please reply as soon as possible..
Please ask if any more detail is required.

Seth
04-25-2011, 01:28 AM
04-24 21:35:13.531: ERROR/AndroidRuntime(14591): java.lang.UnsatisfiedLinkError: Couldn't load rt3dapp: findLibrary returned null

Hmm. It looks like it's running the .java part ok, but it isn't finding the arm binary for it. It might not have been built?

When you run build.bat from the android directory, carefully watch the output.

You should see something like:


SharedLibrary : librt3dapp.so
Install : librt3dapp.so => /cygdrive/o/projects/proton/rt3dapp/android/libs/armeabi

Then you should see the .so file in the android/libs/armeabi dir.

If it *is* there, maybe try opening the final .apk with winzip and making sure that it's in the zip too.

If this is your first Android build with Proton, I would try to get RTBareBones working first as it's a lot simpler, just as a sanity check that all the tools are working right.

Balraj
04-25-2011, 02:17 AM
I have looked into the part as you mentioned and found that the compiling was not happening properly. During compiling following error is displayed:-

Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CParticleSphereEmitter.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CParticleSystemSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CAnimatedMeshSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CBillboardSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CCubeSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneCollisionManager.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneManager.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorCameraMaya.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorCollisionResponse.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorDelete.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorFlyCircle.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorFlyStraight.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorFollowSpline.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorRotation.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSceneNodeAnimatorTexture.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CShadowVolumeSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSkyBoxSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSkyDomeSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CSphereSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CTerrainSceneNode.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/CTerrainTriangleSelector.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/COGLESDriver.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/COGLESExtensionHandler.cpp
Compile++ arm : rt3dapp <= /cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/COGLESTexture.cpp
/cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/COGLESTexture.cpp: In member function 'virtual void irr::video::COGLES1Texture::Reload()':
/cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/COGLESTexture.cpp:468: error: 'BuiltInFontData' is not a member of 'irr::gui'
/cygdrive/c/proton/RT3DApp/android/jni/../../../shared/Irrlicht/source/Irrlicht/COGLESTexture.cpp:468: error: 'BuiltInFontDataSize' is not a member of 'irr::gui'
make: *** [/cygdrive/c/proton/RT3DApp/android/obj/local/armeabi/objs/rt3dapp/../../../shared/Irrlicht/source/Irrlicht/COGLESTexture.o] Error 1

C:\Proton\RT3DApp\android>if not exist libs/armeabi/librt3dapp.so beeper.exe /p
'beeper.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Proton\RT3DApp\android>rmdir assets /S /Q

Since i have not changed the code so can you tell me that why i am getting this error ?

Seth
04-25-2011, 02:55 AM
Oops, my bad. I broke it last week I think, sorry about that. :sweatdrop:

Fixed, update from svn and try again.

Balraj
04-25-2011, 06:10 PM
Hey, thanks for your reply the code is working now.
But i have changed the squirrel.x 3d file to dwarf.x and same for loading the texture.

This is working perfectly fine in windows application. but when i run the apk after
compiling on Android i am not able to see the texture binded there.

Device i am testing on is Sony Xperia Arc Android version 2.3.2

The logcat is showing following Log when i am running the application

04-25 23:30:25.950: VERBOSE/AudioService(237): HDMI disconnected
04-25 23:30:25.950: WARN/AudioPolicyManager(111): setDeviceConnectionState() device not connected: 800
04-25 23:30:26.980: ERROR/RT3DApp(20223): Clicked Mesh3D entity at An entity
04-25 23:30:26.990: DEBUG/AudioHardwareMSM7X30(111): value of device and enable is 6 1
04-25 23:30:27.000: DEBUG/kernel(118): [108882.129180] [msm7x30.c:msm_device_put] device speaker_stereo_rx set 1
04-25 23:30:27.000: ERROR/kernel(118): [108882.129211] [msm7x30.c:msm_device_put] device freq =48000
04-25 23:30:27.010: DEBUG/kernel(118): [108882.135131] [adsp.c:msm_adsp_get] module AFETASK has been registered
04-25 23:30:27.010: DEBUG/kernel(118): [108882.135162] [adsp.c:msm_adsp_enable] enable 'AFETASK'state[0] id[17227119]
04-25 23:30:27.010: DEBUG/kernel(118): [108882.141845] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, proc_id=2, module=17227119, image=0
04-25 23:30:27.010: DEBUG/kernel(118): [108882.141845] [adsp.c:adsp_rtos_mtoa_cb] module AFETASK: READY
04-25 23:30:27.070: DEBUG/kernel(118): [108882.194519] msm_snddev_poweramp_on: power on amplifier
04-25 23:30:27.070: DEBUG/kernel(118): [108882.194610] [adsp.c:msm_adsp_get] module AUDPPTASK has been registered
04-25 23:30:27.070: DEBUG/kernel(118): [108882.194610] [adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]
04-25 23:30:27.070: DEBUG/kernel(118): [108882.198211] [adsp.c:adsp_rtos_mtoa_cb] rpc event=0, proc_id=2, module=17227122, image=0
04-25 23:30:27.070: DEBUG/kernel(118): [108882.198242] [adsp.c:adsp_rtos_mtoa_cb] module AUDPPTASK: READY
04-25 23:30:27.070: DEBUG/kernel(118): [108882.202209] [audpp.c:audpp_dsp_event] ENABLE
04-25 23:30:27.080: DEBUG/kernel(118): [108882.206359] [adsp.c:msm_adsp_write] AUDPPTASK command took 67 attempts: rc 0
04-25 23:30:27.080: ERROR/kernel(118): [108882.206390] [audio_acdb.c:acdb_fill_audpp_cal_gain] unable to find audpp calibration gain block returning
04-25 23:30:27.220: ERROR/RT3DApp(20223): Setting fov to 1.78
04-25 23:30:27.450: VERBOSE/AudioService(237): HDMI disconnected
04-25 23:30:27.450: WARN/AudioPolicyManager(111): setDeviceConnectionState() device not connected: 800
04-25 23:30:28.950: VERBOSE/AudioService(237): HDMI disconnected
04-25 23:30:28.950: WARN/AudioPolicyManager(111): setDeviceConnectionState() device not connected: 800
04-25 23:30:30.090: DEBUG/AudioHardwareMSM7X30(111): AudioStreamOutMSM72xx::standby()
04-25 23:30:30.090: DEBUG/AudioHardwareMSM7X30(111): updateDeviceInfo: E rx_device 6 and tx_device 12
04-25 23:30:30.090: DEBUG/AudioHardwareMSM7X30(111): No active voicecall/playback, disabling cur_rx 6
04-25 23:30:30.090: DEBUG/AudioHardwareMSM7X30(111): value of device and enable is 6 0
04-25 23:30:30.100: DEBUG/AudioHardwareMSM7X30(111): No active voicecall/recording, disabling cur_tx 12
04-25 23:30:30.100: DEBUG/AudioHardwareMSM7X30(111): value of device and enable is 12 0
04-25 23:30:30.100: DEBUG/AudioHardwareMSM7X30(111): updateDeviceInfo: X cur_rx 6 cur_tx 12
04-25 23:30:30.120: DEBUG/kernel(118): [108885.231445] [msm7x30.c:msm_device_put] device speaker_stereo_rx set 0
04-25 23:30:30.120: DEBUG/kernel(118): [108885.234344] msm_snddev_poweramp_off: power off amplifier
04-25 23:30:30.120: DEBUG/kernel(118): [108885.236968] [adsp.c:msm_adsp_put] closing module AFETASK
04-25 23:30:30.120: DEBUG/kernel(118): [108885.237365] [msm7x30.c:msm_device_put] device speaker_mono_tx set 0
04-25 23:30:30.120: DEBUG/kernel(118): [108885.237426] [audpp.c:audpp_dsp_event] DISABLE
04-25 23:30:30.120: DEBUG/kernel(118): [108885.237457] [audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP
04-25 23:30:30.120: DEBUG/kernel(118): [108885.237457] [adsp.c:msm_adsp_disable] disable interrupt
04-25 23:30:30.120: DEBUG/kernel(118): [108885.237487] [adsp.c:msm_adsp_put] closing module AUDPPTASK
04-25 23:30:30.450: VERBOSE/AudioService(237): HDMI disconnected

Please let me know where i am making the mistake because the same code is working fine on windows or do i have to add something to make it working....

Please reply as soon as possible...

Seth
04-26-2011, 01:49 AM
It should work fine on all platforms the way you did it.

For a test, I did the same thing and ran it on Windows and my Nexus 1. The dwarf and texture worked fine. (Although because of where the camera is, I could only see his boots..)

Keep in mind Android filenames are case sensitive, while Windows isn't. (Although you should see errors in the log if the wasn't found... so, that shouldn't be it..)

I used this in Mesh3DMenu for my test:


//to load the dwarf:
mesh = pScene->getMesh( (GetBaseAppPath() + "game/dwarf.x").c_str());

//and later...
node->setMaterialTexture( 0,GetIrrlichtManager()->GetDriver()->getTexture( (GetBaseAppPath() + "game/dwarf.rttex").c_str() ));

So the squirrel and other demos work fine? Strange.

Balraj
04-26-2011, 02:16 AM
I changed the code and used dwarf.rttex for texture and it has started working fine.
But in my case i have to use .jpg for texture file.

But when i use .jpg as texture file i am not getting the texture binded properly.
So can you tell me that why is it happening and what is the solution to use .jpg file for texture.
.jpg works fine on windows as a texture.

code which i am using to bind .jpg file:-


mesh = pScene->getMesh( (GetBaseAppPath() + "game/dwarf.x").c_str());
node->setMaterialTexture( 0,GetIrrlichtManager()->GetDriver()->getTexture( (GetBaseAppPath() + "game/dwarf.jpg").c_str() ));

Seth
04-26-2011, 03:26 AM
You can load .jpg/.png fine, you don't have to use .rttex files.

I just tested it on the device and it works - I suspect the .jpg is not actually in your final android .apk.

Open the .apk with Winzip or 7zip and look in assets/game and make sure it's there. (Plop it in directly if it isn't and test on the device again)

The update_media.bat file (called by androids build.bat) that builds the media kills the bin/media directory and rebuilds it, stripping out the .jpg files and building .rttex versions instead. You'll probably need to modify that.

Although, I'd really like to know why you didn't get a "file not found" error if that is the case... hrm.

Balraj
04-26-2011, 04:14 PM
Hey, I have looked into the apk and all the jpg file are there as you told but still it is not able to bind the texture. This prblem doesn't happen if i use .rttx file for texture.

Since the file are there hence it is not thrwing file not found error

Can there be some other issue also? Or it can be because of Android latest version 2.3.2?

Can you suggest any other solution.

And can you provide me Step by step instruction that if I have to start complete new project and use RT3APP as a base so how to do that?

Thanks for your help

Seth
04-27-2011, 10:17 AM
Since the file are there hence it is not thrwing file not found error

Can there be some other issue also? Or it can be because of Android latest version 2.3.2?

Hmm, sorry I'm not sure, I don't get this behavior here. Maybe I'll have more info after I get newer devices to test with...

Couple of ideas to get more info though:


Make sure the make file uses the _DEBUG option (check the make file and uncomment the debug part, and comment the release part) so it will also check for gl errors.
Try running it using the Android Emulator. It's slow, but it works and does 3d ok and can give more interesting errors sometimes. You could setup a 2.2 and 2.3.2 device and check if there is a difference.
dwarf.jpg is 512X512, but if you're testing with another image, make sure it's a power of 2 to be safe. (.rttex files fix this for you, which could hide that kind of problem..)


I'll try to add info on using vsrename to clone projects to the wiki soon...

Balraj
04-28-2011, 05:43 PM
Hey,

I need to load Mesh3DMenu File directly so as to show the 3D object on the launch of the application. for that i made the changes in App.cpp file as follows:-


void App::Update()
{
BaseApp::Update();

if (!m_bDidPostInit)
{
m_bDidPostInit = true;
m_special = GetSystemData() != C_PIRATED_NO;

//build a GUI node
Entity *pGUIEnt = GetEntityRoot()->AddEntity(new Entity("GUI"));
//MainMenuCreate(pGUIEnt);
Mesh3DMenuCreate(pGUIEnt);
//PreloadKeyboard();

}
}

But the problem that i am facing is that the 3d object is loading and then unloading its texture. I am able to see the 3D object but without its texture. The log file is as follows:-


Setting native video mode to 480, 320 - Fullscreen: 0 Aspect Ratio: 0.00
Setting screen info to 480, 320, mode 1. Original is 480, 320
Forcing landscape mode
GL Version = 2.0.0 - Build 8.14.10.1930

GL Vendor = Intel

GL Renderer = Intel 965/963 Graphics Media Accelerator

GL Extensions = GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_separate_specular_color GL_ARB_multitexture GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_EXT_blend_equation_separate GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_pixel_buffer_object GL_WIN_swap_hint GL_EXT_framebuffer_object

AppManualRotation set to 1
Save path is
ERROR: Cannot mount virtual file system using game.zip
Error finding APK file to load resources
initting irrlicht
Irrlicht Engine version 1.7.1-beta
Microsoft Windows 7 Ultimate Edition (Build 7600)
Using renderer: OpenGL 2.0.0
Intel 965/963 Graphics Media Accelerator: Intel
OpenGL driver version is 1.2 or better.
GLSL version: 1.1
Irrlicht initted
debug DataObject:: template
CXFileReader: Reading template
debug DataObject:: template
CXFileReader: Reading template
debug DataObject:: template
CXFileReader: Reading template
debug DataObject:: Frame
CXFileReader: Reading frame
creating joint : base
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : middle
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : lhip
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : lknee
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : lankle
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : ltoe
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : rhip
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : rknee
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : rankle
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : rtoe
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : spine2
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint75
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint76
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : spine1
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : head
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint36
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint39
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint40
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint41
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint37
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint38
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint42
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint43
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : top
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : pad2
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : pad1
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : lsholda
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : lelbo
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : lwrist
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint17
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint18
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint19
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint20
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint21
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : rsholda
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : relbo
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : rwrist
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint25
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint26
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint27
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint28
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Joint29
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : weapon
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : end
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : hit
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject in frame:: Frame
CXFileReader: Reading frame
creating joint : Body
debug DataObject in frame:: FrameTransformMatrix
CXFileReader: Reading Transformation Matrix
debug DataObject in frame:: Mesh
CXFileReader: Reading mesh: test2Mesh
debug DataObject in mesh:: MeshNormals
CXFileReader: reading mesh normals
debug DataObject in mesh:: MeshTextureCoords
CXFileReader: reading mesh texture coordinates
debug DataObject in mesh:: VertexDuplicationIndices
debug DataObject in mesh:: MeshMaterialList
CXFileReader: Reading mesh material list
CXFileReader: Reading mesh material
CXFileReader: reading texture filename
Loaded texture: game/axe.jpg
CXFileReader: Reading mesh material
CXFileReader: reading texture filename
Loaded texture: game/dwarf.jpg
debug DataObject in mesh:: XSkinMeshHeader
CXFileReader: Reading skin mesh header
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in mesh:: SkinWeights
CXFileReader: Reading mesh skin weights
debug DataObject in frame:: }
debug DataObject in frame:: }
debug DataObject:: AnimationSet
CXFileReader: Reading animation set
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : base
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : middle
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : lhip
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : lknee
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : lankle
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : ltoe
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : rhip
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : rknee
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : rankle
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : rtoe
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : spine2
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint75
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint76
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : spine1
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : head
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint36
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint39
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint40
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint41
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint37
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint38
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint42
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint43
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : top
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : pad2
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : pad1
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : lsholda
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : lelbo
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : lwrist
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint17
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint18
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint19
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint20
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint21
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : rsholda
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : relbo
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : rwrist
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint25
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint26
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint27
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint28
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : Joint29
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : weapon
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : end
CXFileReader: reading animation
CXFileReader: reading animation key
CXFileReader: reading animation key
getting name: : hit
Time to load ascii X file: 644ms
Loaded mesh: game/dwarf.x
Setting fov to 1.50
Entering background
Unloading 1 ()
Unloading 2 ()
Irrlicht unloading surfaces..
Unloading 2 textures
game/axe.jpg
game/dwarf.jpg
CNullDriver: Textures unloaded
Setting native video mode to 480, 319 - Fullscreen: 0 Aspect Ratio: 0.00
Setting screen info to 480, 319, mode 1. Original is 480, 319
Entering foreground
gl defaults set
OnScreensizechange done
Reloading font interface/font_trajan.rtfont
Reloading font interface/font_trajan_big.rtfont
Irrlicht loading surfaces..
game/axe.jpg
game/dwarf.jpg
Entering background
Unloading 1 ()
Unloading 2 ()
Irrlicht unloading surfaces..
Unloading 2 textures
game/axe.jpg
game/dwarf.jpg
CNullDriver: Textures unloaded
Entering foreground
gl defaults set
OnScreensizechange done
Reloading font interface/font_trajan.rtfont
Reloading font interface/font_trajan_big.rtfont
Irrlicht loading surfaces..
game/axe.jpg
game/dwarf.jpg
Entering background
Unloading 1 ()
Unloading 2 ()
Irrlicht unloading surfaces..
Unloading 2 textures
game/axe.jpg
game/dwarf.jpg
CNullDriver: Textures unloaded
Entering foreground
gl defaults set
OnScreensizechange done
Reloading font interface/font_trajan.rtfont
Reloading font interface/font_trajan_big.rtfont
Irrlicht loading surfaces..
game/axe.jpg
game/dwarf.jpg
Entering background
Unloading 1 ()
Unloading 2 ()
Irrlicht unloading surfaces..
Unloading 2 textures
game/axe.jpg
game/dwarf.jpg
CNullDriver: Textures unloaded
Killing sound cache

Could you please tell me that what to change in the code so that i am able to load the Mesh3DMenu class directly?

Seth
05-02-2011, 02:29 AM
Sorry for the slow reply.

I'll try to give it a look later, got hit with some work that can't wait.. :crazy:

I can't think of any reason why you can't jump straight to a 3d scene and have it work, maybe needs some small tweak somewhere. A work around would be to load the 2d menu, wait 20 ms or so, then load the 3d menu?

Also in the log it shows ".apk not found at the start" - which seemed weird. Maybe it's a false error though, as it couldn't even load the models on android if that wasn't mounted right.