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

Pages: [1] 2 3 ... 133
1
Bones / Re: BonesIO Question
« on: August 03, 2020, 02:12:19 pm »
isnt this always returning false?
Code: [Select]
if (lastClip.getSkeleton().equals(objects[0].getSkeleton()) && lastClip.getSkeleton() != objects[0].getSkeleton())
like
Code: [Select]
if (a.equals(b) && a != b)

2
Bones / Re: BonesIO Question
« on: July 30, 2020, 10:21:37 am »
Difficult to make a comment without knowing how you are actually importing/reading the data.

3
Bones / Moved to GitHub
« on: July 19, 2020, 07:23:33 pm »
Source code of Bones moved to GitHub.
https://github.com/raftAtGit/Bones.

The latest downloadable zip file can be found at releases page.

Of course this doesnt mean, Bones is moving away from jPCT community. It's a library for jPCT after all :)

The primary feedback and question medium will still be jPCT forums as mentioned in the feedback section.

This was something I wanted to do since long time, to get rid of the burden of keeping the source code safe. Cloudforge, the previous host of Bones' code is closing, so this looked like the proper time to do that.

Egon, can you please update the links :)

4
Bones / Re: BonesIO Question
« on: July 16, 2020, 06:56:49 pm »
sorry for the late answer, somehow I didnt receive the notification email.

BonesIO class reads and writes using Java serialization. Java serialization preserves objects references.

So, as long as SkinClips and SkinClipSequences share the same Skeleton instance when they are written by BonesIO, they will share the same Skeleton instance when read by BonesIO.


5
Bones / Re: BonesIO Question
« on: July 10, 2020, 07:36:31 pm »
not sure what's asked here, but loaded SkinClips and SkinClipSequences share the same Skeleton instance.

6
Bones / Re: synchronize audio and animation
« on: May 03, 2019, 05:10:37 pm »
Well, you are in control of starting an animation sequence and starting audio callback, you can do both at the same time and stop audio when you decide to stop animation sequence. or vice versa, stop animation sequence when audio ends.

7
Bones / Re: Not Repeat animation
« on: May 01, 2019, 10:13:53 am »
Is this a Vuforia question or Bones question?

for Bones, there is no such thing of stopping animation, because there is no such thing of starting an animation.

8
Bones / Re: Parsing SkinClipSequence
« on: May 08, 2018, 07:51:07 pm »
okay, exposed a copy of internal data structures in JointChannel. please re-download.

hope this helps

9
Bones / Re: Parsing SkinClipSequence
« on: May 08, 2018, 05:44:50 pm »
SkinClip is the analogue of sub sequence in jPCT's Animation class. It's for whole skeleton, JointChannel is only for a joint in skeleton.

I can expose the internal data in JointChannel, but may not be trivial to split a channel's animation into shorter ones.

It's a bit weird EasyOgreExporter doesnt support multiple animations, it's written 'multiple Skeleton Animations' in their web page. Anyway, if that is the case, I would suggest, export each animation into a different file, and merge them with Bones, so you will end up with separate animations. merging can be done either with scripts (multiple input files) or programatically with AnimatedGroup.mergeAnimations(..) method.

10
Bones / Re: Parsing SkinClipSequence
« on: May 07, 2018, 08:19:33 pm »
yup, supposed to be

11
Bones / Re: Parsing SkinClipSequence
« on: May 07, 2018, 08:14:01 pm »
well, as the Javadoc says, SkinClip.iterator() may return null values, just skip null ones in your code

12
Bones / Re: Parsing SkinClipSequence
« on: May 07, 2018, 01:48:39 pm »
Code: [Select]
/** <p>Returns an iterator of channels. Note some channels may be null.</p> */
public Iterator<JointChannel> iterator() {
return Arrays.asList(channels).iterator();
}

13
Bones / Re: Parsing SkinClipSequence
« on: May 04, 2018, 11:27:03 pm »
ah okay. well, still the same method in other scale, get JointChannel's from SkinClip, create new clips, add channels into new clips

14
Bones / Re: Parsing SkinClipSequence
« on: May 04, 2018, 11:01:04 pm »
get clips from sequence, create new sequences, add clips into new sequences

15
Bones / Re: Invisible Submesh
« on: March 15, 2018, 12:55:38 pm »
sorry for late answer, somehow jPCT email went into spam folder  ::)

is it displayed in submesh list?
in wireframe mode, can you see it without textures?
by debugger I guess you mean skeleton debugger, what do you see exactly?

Pages: [1] 2 3 ... 133