SI_AnimationKey

Defines a set of animation keys. This template allows the expression of rotations using Euler transformations.

Softimage Version

v1.3 Made obsolete in v2.0.

Members

Member name

Type

Array size

Description

keyType

int

 

0 = quaternion rotations

1 = scaling

2 = translation

3 = Euler rotations

nKeys

int

 

 

keys

array TimedFloatKeys

nKeys

 

Example

SI_Angle {
   0;         // Angles expressed in degrees 
}

Frame frm-cube3 {

   FrameTransformMatrix {
       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;;
   }

   Mesh cube3 {
       ...
       MeshMaterialList {
          ...
          SI_Material {
              ...
          }
       }
       SI_MeshNormals {
          ...
       }
   }
}
AnimationSet {
   Animation anim-cube3 {
       {frm-cube3}
       SI_AnimationKey {
          3;  // Euler rotation 
          80; // 80 animation keys; values in degrees 
              // (see SI_Angle) 
              // Animation keys: 
          1; 3; 0.000000, 0.000000, 0.000000;;,
          2; 3; -0.275021, 0.000000, 0.000000;;,
              // ... 
          100; 3; 63.095589, -43.543098, 0.000000;;;
       }
   }
}

 



Autodesk Softimage v7.5