Sign in to follow this  
lucky6969b

One Simple Question on the legacy .X format

Recommended Posts

lucky6969b    1330
AnimationSet {
 

 Animation {
 

  AnimationKey {
   4; #DWORD keyType;
   2; #DWORD nKeys;
   0;16;1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;,
   4960;16;1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;;
   # array TimedFloatKeys keys[nKeys];

  }
  { Scene_Root }
 }

For the  { Scene_Root }  node, the reference manual doesn't mention about

this node. What does this node refer to?

 

From the doc,

Contains animations referencing a previous frame. It should contain one reference to a frame and at least one set of AnimationKey templates. It also can contain an AnimationOptions data object.

 

Why does animations refer to a previous frame?
 

Thanks

Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites
ankhd    2304

Hello This may help. Link its down near the bottom of the page.

 

the scene root contains all the frames.

 

The animation contains the frame the animation data is to be apply to not previous frame.

 

And here on GameDev

Edited by ankhd

Share this post


Link to post
Share on other sites
cozzie    5029
Ps: legacy depends on your goals in my opinion (exporters are still fine, including binormals/ tangents and multi textures). On the other hand the exporters for example for max, might not deliver 100% of what you need.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this