mudbox::TransformationPalette Class Reference
#include <transformation.h>
Inheritance diagram for mudbox::TransformationPalette:
[legend]
List
of all members.
Detailed Description
This object provides additional transformations for a mesh
(skinning).
When an object whose class is derived from this interface is
properly added as child to a Geometry object in the scene,
the rendering uses the transformations returned by this object as
additional transformations during rendering, if the current
material supports skinning. The vertices of the mesh first
transformed by these additional transformations, then the local
transformation provided by the Transformation class. In
other words, the transformations provided by this object supposed
to transform within object space. In order to use this object,
additional vertex information must be supplied by using the
VertexDataProvider
class (bone indices and weights)
Member Enumeration Documentation
|
Possible types of the transformations provided by an object.
- Enumeration values:
-
|
Member Function Documentation
virtual const mudbox::ClassDesc*
mudbox::TransformationPalette::RuntimeClass |
( |
void |
|
) |
const [inline,
virtual] |
|
const mudbox::ClassDesc*
mudbox::TransformationPalette::StaticClass |
( |
void |
|
) |
[static] |
|
mudbox::Node*
mudbox::TransformationPalette::CreateInstances |
( |
unsigned int |
iCount =
1 |
) |
[static] |
|
virtual int
mudbox::TransformationPalette::TransformationCount |
( |
void |
|
) |
const [virtual] |
|
|
This function informs the renderer about the type of the
transformations.
Using dual quaternions gives better quality blending result, but
can only hold rigid transformations (translation and rotation
only)
|
virtual Matrix
mudbox::TransformationPalette::AsMatrix |
( |
int |
iIndex |
) |
const [virtual] |
|
|
Returns a transformation as a matrix. This is only called when
Type() returns
eMatrix.
- Parameters:
-
iIndex |
[in] Index of the transformation. |
|
virtual DualQuaternion
mudbox::TransformationPalette::AsDualQuaternion |
( |
int |
iIndex |
) |
const [virtual] |
|
|
Returns a transformation as a dual quaternion. This is only
called when Type() returns
eDualQuaternion.
- Parameters:
-
iIndex |
[in] Index of the transformation. |
|
virtual void
mudbox::TransformationPalette::SetupVertexProcessing |
( |
void |
|
) |
const [virtual] |
|
|
This function sets up the vertex processing of the rendering
pipeline to properly skin the vertices The bone indices must be in
TEXCOORD3, the weights must be in TEXCOORD4.
|
virtual void
mudbox::TransformationPalette::RestoreVertexProcessing |
( |
void |
|
) |
const [virtual] |
|
|
This function restores the vertex processing pipeline to the
fixed function pipeline after a SetupVertexProcessing call.
|
mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette
mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette mudbox::TransformationPalette
mudbox::TransformationPalette