MAXRigidAnimConverter |
This class contains methods that are used to capture and export simple rigid body animation.
When to use
This class is used by the MAXExporter class.
|
Interface Methods |
Description |
|
Class constructor |
|
|
Class destructor |
|
|
Begins the export process of rigid animation data |
|
|
Initializes MAXRigidAnimConverter |
|
|
Creates a list of positional and orientation keys |
|
|
Exports a motion (sequence of tracks) from a given MAX node to a Shockwave 3D§ node. |
|
|
Scans a list of animation keys and determines whether that list contains any valid motion data |
|
|
Samples animation information from the animation controller of a given 3D Studio MAX§ node |
This is the class constructor.
Parameters:
|
pMAXExporter |
Reference to the MAXExporter class |
Return Values:
None
This is the class destructor.
Parameters:
None
Return Values:
None
This method will begin the export process of rigid animation data if such information exists for a given MAX node.
Parameters:
|
pInMAXNodeList |
Grouphead of the MAX node list for which animation is to be exported |
|
pIFXNode |
Shockwave 3D node for which animation data is to be added (Note: This node corresponds to the pInMAXNodeList parameter.) |
|
pResource |
The Shockwave 3D model resource to which the animation refers |
This method initializes MAXRigidAnimConverter.
Parameters:
|
pMAXExporter |
Reference to main exporter class |
This method samples a given MAX node on a per-clock-tick basis and creates a list of positional and orientation keys based on this sampled data. If this data isn't static, (i.e. either position or orientation values vary) then this data will be used as keyframe data in Shockwave space. That is, each sample from MAX will end up as one keyframe in Shockwave space.
Parameters:
|
pMAXNodeList |
MAX node for which animation sampling is performed |
|
pvMAXKeyList |
Vector to be populated with animation keys |
This method exports a motion (sequence of tracks) from a given MAX node to a Shockwave 3D node.
Parameters:
|
pMAXNodeList |
Grouphead of this node list is the node from which the tracks are exported |
|
pIFXNode |
Shockwave node to which the tracks are exported |
|
pvMAXKeyList |
List containing the sampled MAX keys |
|
pMotionResourceId |
Identifier for the exported motion |
This method scans a list of animation keys and determines whether that list contains any valid motion data or if it contains only static information; meaning, all key values are the same except time.
Parameters:
|
pvMAXKeyList |
The keylist to be scanned |
|
pIsAnimated |
True if any animation information is found in the keylist, false otherwise |
This method samples animation information at a given instance in time from the animation controller of a given MAX node.
Parameters:
|
pvMAXNodeList |
Grouphead of this list is the MAX node whose controller is to be sampled for animation data |
|
pTime |
Point in time in which the controller is to be queried |
|
pWorldMatrix |
World space transform matrix for the node at a given point in time |
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.