Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cefengxu

Pages: 1 [2]
16
Dear master:

i have got a problem and i still could not fix it :

Purpose : using JPCT to render 3D Model for AR basic on ARToolkit;
Platform: Eclipse , ARToolkit Example: ARNative;
jpct: i using the JPCTdemo (helloworld) to add the jpct's code into my code for rendering a cube on the preview image;

However :
the error will be shown as follown when run the function "renderScene(fb)"

10-21 16:44:00.737: E/AndroidRuntime(20351): FATAL EXCEPTION: GLThread 545
10-21 16:44:00.737: E/AndroidRuntime(20351): Process: org.artoolkit.ar.samples.ARNative, PID: 20351
10-21 16:44:00.737: E/AndroidRuntime(20351): java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
10-21 16:44:00.737: E/AndroidRuntime(20351): at com.threed.jpct.CompiledInstance._fill(CompiledInstance.java:1223)
10-21 16:44:00.737: E/AndroidRuntime(20351): at com.threed.jpct.CompiledInstance.fill(CompiledInstance.java:844)
10-21 16:44:00.737: E/AndroidRuntime(20351): at com.threed.jpct.Object3DCompiler.compile(Object3DCompiler.java:168)
10-21 16:44:00.737: E/AndroidRuntime(20351): at com.threed.jpct.World.compile(World.java:2091)
10-21 16:44:00.737: E/AndroidRuntime(20351): at com.threed.jpct.World.renderScene(World.java:1061)
10-21 16:44:00.737: E/AndroidRuntime(20351): at org.artoolkit.ar.samples.ARNative.Renderer.onDrawFrame(Renderer.java:210)
10-21 16:44:00.737: E/AndroidRuntime(20351): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
10-21 16:44:00.737: E/AndroidRuntime(20351): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

17
Bones / some error launch when run the "Demo of Bones-Android-Ninja"
« on: October 19, 2015, 10:54:16 am »
Hello:

i have download the Demo( :Bones-Android-Ninja) and the “Bones”,  and then finish the Setup on Eclipse, there are no error of the project now.
However, when i click " Run as -  Android Application ",  some error log will be shown as follow:

[2015-10-19 16:46:23 - Bones-Android-Ninja] Dx
trouble writing output: already prepared
[2015-10-19 16:46:24 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/threed/jpct/Animation;
[2015-10-19 16:46:24 - Bones-Android-Ninja] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/threed/jpct/Animation;

what's wrong with the code or the setup of the project ?
Thanks ~~!!!!

Pages: 1 [2]