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.

Messages - MLG

Pages: [1]
Bones / Re: Bones position issue with jPCT-AE 1.29
« on: December 02, 2015, 10:13:47 am »
Ah yes I've forgotten calling build() function modify the rotation pivot.

Thank you for your quick answer.  ;)

Bones / Re: Bones position issue with jPCT-AE 1.29
« on: December 01, 2015, 05:10:15 am »
Yes, you can easily reproduce the issue like that:
- Download Bones and Bones-Android-Ninja projects ->
- Import them into your Eclipse workspace
- Copy "Bones\samples\data\seymour\" into "Bones-Android-Ninja\res\raw" folder
- Copy "Bones\samples\data\seymour\seymour.png" into "Bones-Android-Ninja\res\raw" folder (rename it to "seymour_texture.png" to avoid name error in resource matrix  ;))
- Replace the "" file by my attached file.
   I just replaced these lines:
Code: [Select]
masterNinja = BonesIO.loadGroup(res.openRawResource(;
Texture texture = new Texture(res.openRawResource(R.raw.ninja_texture));

   by these ones:
Code: [Select]
masterNinja = BonesIO.loadGroup(res.openRawResource(R.raw.seymour));
Texture texture = new Texture(res.openRawResource(R.raw.seymour_texture));

   and I added these lines in "addNinja" function:
Code: [Select]
SkeletonDebugger skeletonDebugger = new SkeletonDebugger(masterNinja.get(0).getSkeletonPose(), 5f, 0.05f);

It's weird because it doesn't seem to have the issue for the ninja.

Bones / Re: Bones position issue with jPCT-AE 1.29
« on: November 30, 2015, 11:48:45 am »
My Seymour model has a different orientation and scale that's why I choose a bone scale of 5 and a joint scale of 0.02. It is generated with this command line:
Code: [Select]
ardorCollada2Bones.bat -out seymour.bones -scale 0.2 -rotation x180 -in Seymour.dae
I just tried with jPCT 1.26 and it works well.
With jPCT-AE version it works with the 1.24 but not with 1.25 or newer so it seems to be just an Android version problem.

Bones / [resolved] Bones position issue with jPCT-AE 1.29
« on: November 24, 2015, 10:18:11 am »

I develop an Android application with jPCT-AE and I have an issue with the version 1.29 and Bones.
On my application, I use the Seymour example character and I want to display its skeleton. So I use this code:

Code: [Select]
mCurrentPose = mMainActivity.avatar.get(0).getSkeletonPose();
SkeletonDebugger skeletonDebugger = new SkeletonDebugger(mCurrentPose, 5f, 0.02f);

With the library 1.23 beta it works well like the picture below:

But with the newest version 1.29, bones are displayed with a shift like the picture below:

Do you remark this issue ?

Pages: [1]