Jump to content

  • Log In with Google      Sign In   
  • Create Account

.x animation key problem


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Anddos   Members   -  Reputation: 499

Like
0Likes
Like

Posted 16 December 2012 - 07:14 PM

I am exporting an animated mesh in 3dsmax with 2 animations,

here is the keys looking at the txt file


AnimationSet MoveLeftArm {
Animation Anim-Mesh01 {
 
  { Mesh01 }
  AnimationOptions {
   0;
   0;
  }
  AnimationKey {
   4;
   2;
   0;16;0.393701,0.000000,0.000000,0.000000,0.000000,0.393686,-0.003395,0.000000,0.000000,0.003395,0.393686,0.000000,0.000000,105.091827,0.000000,1.000000;;,
   960;16;0.393701,0.000000,0.000000,0.000000,0.000000,0.393686,-0.003395,0.000000,0.000000,0.003395,0.393686,0.000000,0.000000,105.091827,0.000000,1.000000;;;
  }
}

AnimationSet MoveRightArm {
Animation Anim-Mesh01 {
 
  { Mesh01 }
  AnimationOptions {
   0;
   0;
  }
  AnimationKey {
   4;
   2;
   0;16;0.393701,0.000000,0.000000,0.000000,0.000000,0.393686,-0.003395,0.000000,0.000000,0.003395,0.393686,0.000000,0.000000,105.091827,0.000000,1.000000;;,
   2400;16;0.393701,0.000000,0.000000,0.000000,0.000000,0.393686,-0.003395,0.000000,0.000000,0.003395,0.393686,0.000000,0.000000,105.091827,0.000000,1.000000;;;
  }
}

why is it putting the animation track on 4 for both after exporting, shouldn't each 1 be its own number, i see its like that with the tiny.x that comes with the sdk , like loiter is 1, walk is 2, jog is 3, wave is 4, how do you export so its like that?

thanks for the help
:)

Sponsor:

#2 Steve_Segreto   Crossbones+   -  Reputation: 1530

Like
0Likes
Like

Posted 16 December 2012 - 10:10 PM

I haven't got a clue what you're asking, can you clarify more please?

The only guess I have is you are asking about the '4' for the AnimationKey section of both AnimationSets, which indicates that the keyframe data type is a MATRIX data type rather than a rotation or translation.

#3 ankhd   Members   -  Reputation: 1285

Like
1Likes
Like

Posted 17 December 2012 - 01:37 AM

Hello.
I think anddos is saying all the animations are on one track. this is true.
In 3dsmax 9 and panda soft exporter you can split the animation up by its frame names on the xeport tab before you export your .x file.
hope this helps.

Edited by ankhd, 18 December 2012 - 09:19 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS