See also
Matrix Utility nodes.
- Determinant
- The determinant node computes the given matrix's determinant. The determinant of a matrix is a scalar value that is the function of its entries.
- Length
- Computes the length of the input vector.
- Normalize
- Normalizes the input vector.
- RotateVector
- Rotates the input vector by the given rotation.
- axisFromMatrix
- Retrieves the desired axis (X, Y or Z) 3-dimensional vector from the specified transformation matrix.
- columnFromMatrix
- The columnFromMatrix node returns the specified column from a 4x4 matrix.
- CrossProduct
- Computes the cross product of the two input vectors.
- DotProduct
- Computes the dot product of the two input vectors.
- multiplyPointByMatrix
- The multiplyPointByMatrix node returns the product of the multiplication of a point by a matrix.
- multiplyVectorByMatrix
- The
multiplyVectorByMatrix node returns the product of the multiplication of a vector by a matrix. This is the equivalent of computing the matrix multiplication of the end point of the vector minus the multiplication of the start point of the vector.
- parentMatrix
- The parentMatrix node takes an input matrix and blends in the effect of other parent targets. It normalizes the effect of all the targets.
It can be used to animate the parent of a transform by mixing the weighted contributions of a number of target inputs.
It lets you alter the space of the inputs and outputs with
Pre Space Matrix and
Post Space Matrix attributes.
The
parentMatrix node has a
Space Matrix section that lets you alter the space of the inputs and outputs without the need for extra multMatrix nodes, using Pre Space Matrix and Post Space Matrix attributes, with Composition and Matrix tabs. See
Change an object to its parent using the parentmatrix node for an example of how to use the parentMatrix.
The parentMatrix node has the following options per target:
-
Enable Target: activates the target
-
Weight: the weight to be used for the target (it will be normalized with the other target weights)
-
Target Matrix: the target matrix to be blended in
-
Offset Matrix: the offset from the target matrix. It can be used to capture the offset of an object from the target at a hand-off point when animating from one target to another.
-
- Manage Targets
-
ParentMatrix Manage Targets menu
The parentMatrix node also has a
Manage Targets menu. Select from the options:
Add/Remove Selected as Target
|
Incorporates or removes the selected object from the matrix.
|
Initalize Target Offset
|
Calculates the offsetMatrix so that the object remains in the same place as the inputMatrix when the target becomes the single contributing influence (weight of the target is 1.0 and all others are 0.0).
|
Snap Target Offset
|
Calculates the offsetMatrix so that the object does not move from its current location when the target becomes the single contributing influence (weight of the target is 1.0 and all others are 0.0). .
|
- Enable
- Activates the
Envelope slider, to let you specify the offset strength of the target objects in the matrix.
- Envelope
- Specifies the scale factor of the offset strength of the target objects in the matrix.
- rotationFromMatrix
- The
rotationFromMatrix node extracts the Euler rotation from a 4x4 transformation matrix. The nodes expect the given matrix to be a well formed transformation (rotation, scaling, translation) matrix. The expected rotation order is XYZ.
- rowFromMatrix
- The
rowFromMatrix node returns the specified row from a 4x4 matrix. This node can be used to extract the translation from a 4x4 transformation matrix by selecting the 4th row.
- scaleFromMatrix
- The
scaleFromMatrix node extracts the X, Y, Z scale from a 4x4 transformation matrix. The nodes expect the given matrix to be a well formed transformation (rotation, scaling, translation) matrix.
- translationFromMatrix
- The
translationFromMatrix node extracts the X, Y, Z translation from a 4x4 transformation matrix. The nodes expect the given matrix to be a well formed transformation (rotation, scaling, translation) matrix.