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 - newton

Pages: [1]
1
Support / samsung galax III shader issue
« on: January 17, 2013, 11:44:07 am »
hello,
  I am programming a Rubic's cube by JPCT based on the "HelloShader" example. I have 27 cubes and I set the shader to each of them. The issue is that on HTC it performs well and on Samsung Galax III it doesn't. After that I tested the example on both of the mobiles, it just worked so fine!Why can this be?

2
Bones / The demo on homepage cannot run after building
« on: January 07, 2013, 04:45:41 am »
hello.

I downloaded both "bones" and the android demo, imported them to eclipse. And then I clean the demo project and run. Errors appeared.

01-07 11:44:51.622: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lcom/threed/jpct/World;)
01-07 11:44:51.622: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lraft/jpct/bones/AnimatedGroup;)
01-07 11:44:51.622: W/dalvikvm(2485): VFY: unable to resolve virtual method 243: Lraft/jpct/bones/AnimatedGroup;.clone (Z)Lraft/jpct/bones/AnimatedGroup;
01-07 11:44:51.622: W/dalvikvm(2485): VFY: unable to resolve virtual method 247: Lraft/jpct/bones/AnimatedGroup;.getSkinClipSequence ()Lraft/jpct/bones/SkinClipSequence;
01-07 11:44:51.627: E/dalvikvm(2485): Could not find class 'raft.jpct.bones.AnimatedGroup', referenced from method bones.samples.android.NinjaDemoActivity.removeNinja
01-07 11:44:51.627: W/dalvikvm(2485): VFY: unable to resolve check-cast 97 (Lraft/jpct/bones/AnimatedGroup;) in Lbones/samples/android/NinjaDemoActivity;
01-07 11:44:51.627: W/dalvikvm(2485): VFY: unable to resolve static method 135: Lcom/threed/jpct/Logger;.log (Ljava/lang/String;)V
01-07 11:44:51.627: W/dalvikvm(2485): VFY: unable to resolve virtual method 247: Lraft/jpct/bones/AnimatedGroup;.getSkinClipSequence ()Lraft/jpct/bones/SkinClipSequence;
01-07 11:44:51.627: W/dalvikvm(2485): VFY: unable to resolve static method 135: Lcom/threed/jpct/Logger;.log (Ljava/lang/String;)V
01-07 11:44:51.627: W/dalvikvm(2485): VFY: unable to resolve static method 135: Lcom/threed/jpct/Logger;.log (Ljava/lang/String;)V
01-07 11:44:51.627: W/dalvikvm(2485): VFY: unable to resolve static method 135: Lcom/threed/jpct/Logger;.log (Ljava/lang/String;)V
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to resolve static field 74 (maxPolysVisible) in Lcom/threed/jpct/Config;
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lcom/threed/jpct/World;)
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to resolve virtual method 151: Lcom/threed/jpct/World;.getCamera ()Lcom/threed/jpct/Camera;
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lraft/jpct/bones/AnimatedGroup;)
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to resolve virtual method 248: Lraft/jpct/bones/AnimatedGroup;.iterator ()Ljava/util/Iterator;
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lcom/threed/jpct/Camera;)
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lcom/threed/jpct/FrameBuffer;)
01-07 11:44:51.637: E/dalvikvm(2485): Could not find class 'com.threed.jpct.Camera', referenced from method bones.samples.android.NinjaDemoActivity$MyRenderer.calcDistance
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to resolve new-instance 46 (Lcom/threed/jpct/Camera;) in Lbones/samples/android/NinjaDemoActivity$MyRenderer;
01-07 11:44:51.637: W/dalvikvm(2485): VFY: unable to find class referenced in signature (Lraft/jpct/bones/AnimatedGroup;)
01-07 11:44:51.642: W/dalvikvm(2485): VFY: unable to resolve virtual method 247: Lraft/jpct/bones/AnimatedGroup;.getSkinClipSequence ()Lraft/jpct/bones/SkinClipSequence;
01-07 11:44:51.642: W/dalvikvm(2485): VFY: unable to resolve virtual method 126: Lcom/threed/jpct/FrameBuffer;.clear ()V
01-07 11:44:51.647: W/dalvikvm(2485): VFY: unable to resolve static method 135: Lcom/threed/jpct/Logger;.log (Ljava/lang/String;)V
01-07 11:44:51.647: W/dalvikvm(2485): VFY: unable to resolve static method 135: Lcom/threed/jpct/Logger;.log (Ljava/lang/String;)V
01-07 11:44:51.647: W/dalvikvm(2485): threadid=1: thread exiting with uncaught exception (group=0x40ddd2d0)
01-07 11:44:51.657: E/AndroidRuntime(2485): FATAL EXCEPTION: main
01-07 11:44:51.657: E/AndroidRuntime(2485): java.lang.NoClassDefFoundError: com.threed.jpct.Config
01-07 11:44:51.657: E/AndroidRuntime(2485):    at bones.samples.android.NinjaDemoActivity$MyRenderer.<init>(NinjaDemoActivity.java:369)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at bones.samples.android.NinjaDemoActivity.<init>(NinjaDemoActivity.java:63)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at java.lang.Class.newInstanceImpl(Native Method)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at java.lang.Class.newInstance(Class.java:1319)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.app.Instrumentation.newActivity(Instrumentation.java:1069)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2258)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.app.ActivityThread.access$600(ActivityThread.java:151)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1331)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.os.Handler.dispatchMessage(Handler.java:99)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.os.Looper.loop(Looper.java:155)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at android.app.ActivityThread.main(ActivityThread.java:5485)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at java.lang.reflect.Method.invokeNative(Native Method)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at java.lang.reflect.Method.invoke(Method.java:511)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:795)
01-07 11:44:51.657: E/AndroidRuntime(2485):    at dalvik.system.NativeStart.main(Native Method)


Please help.Thanks.

3
Support / how to modify uv sequence?
« on: December 26, 2012, 11:07:43 am »
hello!  I am now working on a project which needs the water wave  effect.
I wonder how to modify the uvs after I create a object3D with the uv sequence, use the api like this
obj = new Object3D(vertices, uvs, indices, TextureManager.getInstance().getTextureID("texture"));

Pages: [1]