Houdini 20.0 Nodes Geometry nodes

MotionClip Evaluate geometry node

Evaluates a single frame of a MotionClip.

On this page
Since 18.5

This SOP takes as input a MotionClip (for example, from the MotionClip SOP) and evaluates it at a single frame. This can be used to play back a MotionClip.

The output geometry contains the requested joints from the given frames, assigning each point a time attribute that describes where it originated from.

Parameters

Evaluation

These parameters determine how the MotionClip is evaluated.

Mode

Specifies whether to output the current frame or a specified frame.

Frame

The frame to evaluate.

This parameter is available when Mode is set to Custom.

Interpolation

The method used to interpolate between the poses of the MotionClip.

Linear

The MotionClip is evaluated by linearly interpolating between the pose at or immediately before the requested frame, and the pose immediately after the requested frame.

Constant

The MotionClip is evaluated at the frame of the pose at or immediately before the requested frame.

End Behavior

Describes the behavior of the the animation when it is evaluated outside the bounds of the MotionClip. When turned off, the left and right end behaviors are determined from the clipinfo detail attribute.

Clamp

The first and last poses are extended out indefinitely.

Loop

The animation repeats from the beginning.

Mirrored Loop

The animation repeats in reverse.

Center of Mass

These parameters determine the center of mass of the skeleton and define how it is used.

Output Center of Mass

When turned on, creates a point at the skeleton’s center of mass with a name defined by Point Name. The unpacked attributes for this point are taken from the first point of the skeleton.

Isolate Center of Mass

When turned on, deletes all the skeleton points so that only the point at the center of mass remains.

Point Name

The name of the point at the center of mass.

Configuration Attribute

The name of the dictionary point attribute on the rest pose of the MotionClip that defines the mass and local center of mass for each joint of the skeleton. This attribute can be created using the Configure Joints SOP.

Attributes

These parameters determine the extra attributes that are unpacked from the MotionClip.

Unpack Attributes

When turned on, any attributes other than P, transform, name, path, and clipinfo are preset on the output geometry.

Turn off this parameter for maximum performance.

Rest Attributes

The attributes that should be unpacked from the rest pose of the MotionClip.

All groups, primitive attributes, and vertex attributes in the MotionClip are unpacked exclusively from the rest pose of the MotionClip.

Additionally, all animation attributes that are not matched by the Attributes to Store parameter on the MotionClip SOP can be unpacked from the rest pose of the MotionClip.

Animated Attributes

The attributes that should be evaluated from the animated poses of the MotionClip. These are the attributes that are matched by the Attributes to Store parameter on the MotionClip SOP.

If an attribute is unpacked from the rest pose, and evaluated from the animated poses, the animated attribute takes priority.

Inputs

MotionClip

The MotionClip to evaluate.

Outputs

Skeleton

The skeleton in the pose from the MotionClip evaluated at the specified frame. If a joint does not exist at that frame, data is interpolated from the surrounding frames.

Examples

SimpleMotionClipEvaluate Example for MotionClip Evaluate geometry node

This example demonstrates how to use the MotionClip Evaluate node to evaluate the pose of the motion clip at the current frame of the scene.

See also

Geometry nodes