SI_Transform

Specifies an SRT transformation as three vectors.

Provides a default (or base) transform for an object.

SI_Transform can be used in place of the FrameTransformMatrix (for example, to avoid having to extract the vectors from a transformation matrix).

SI|3D outputs a SI_Transform template when the Transforms option is set to SRT Values. Otherwise, a FrameTransformMatrix template is exported.

 

This template corresponds to the CSLTransform class.

Introduced

2.0

Template

SI_Transform <SRT | BASEPOSE>-<objectName>
{
  <scalX>,<scalY>,<scalZ>,
  <rotX>,<rotY>,<rotZ>,
  <transX>,<transY>,<transZ>,
}

Members

Member

Type

Description

scalX, scalY, scalZ

float

Scaling vector.

rotX, rotY, rotZ

float

Rotation vector.

transX, transY, transZ

float

Translation vector.

Example

Transforms for a simple sphere:

SI_Model MDL-sphere1 {
  SI_Transform SRT-sphere1
  {
   1.0,1.0,1.0,
   0.0,0.0,0.0,
   -8.003719,0.0,0.0,
  }
  ...
}

Transforms for a chain:

SI_Model MDL-chn95 {
  SI_Transform SRT-chn95
  {
   1.0,0.998,1.0,
   0.0,0.0,0.0,
   -0.028358,4.070922,0.0,
  }

  SI_Transform BASEPOSE-chn95
  {
   1.0,0.998,1.0,
   0.0,0.0,0.0,
   -0.028358,4.070922,0.0,
  }
  ...
}


Autodesk Crosswalk v5.0