Houdini 19.0 Nodes Geometry nodes MotionClip Update

MotionClip Update geometry node

Update a MotionClip using the given point list

On this page
Since 18.5

Takes a list of points with time attributes and inserts/removes/updates matching points within the MotionClip. Each point corresponds to the joint with matching name and time attributes.

If present, the localtransform attributes of the points will be used when adding to/updating the clip. Otherwise they will be estimated by substituting the world space transform into the clip’s evaluation at the given time and computing the localtransforms of that skeleton.

The MotionClip Extract SOP will output data in the desired format. So you can extract some set of points and perform some manipulations and then use this node to write the changes back into the cache.

Parameters

Overlap Mode

Specifies the behavior when a point overlaps with an existing point within the MotionClip.

Override

Will override the existing point’s attributes with the new one’s.

Remove

Will remove the matching point from the MotionClip.

Keep Existing Value

Will leave the original point values, changing nothing.

New Mode

Specifies the behavior when a point does not already exist within the MotionClip.

Insert New Sample

This will add the point into the sample at the given time, creating a new a new sample at that time if none exists.

Prefer Using Local Transforms

This is used to resolve whether to use the the local or world space transformations when they are mismatched. Setting this will cause the localtransform attribute to be used, if present.

Blend Joints

These parameters define what happens to a joint when it is overriden. The default behaviour is to override the existing joint’s attributes with the new joint’s attributes. If the joint is defined within a Joint Group, the transform attributes as well as any attributes defined within Point Attributes will be blended based upon the weight of that Joint Group.

Blend Joints

The set of joints that undergo blending based upon which joints are overridden and which are new.

Point Attributes

The point attributes of the joints which will be blended in addition to the 'P', 'transform', and 'localtransform' attributes.

Weight Method

The method used to determine the weight of each point.

By Joint Group

The weight of each point will be defined by this node.

By Attribute

The weight will be taken from each point.

By Joint Group

These parameters are visible when Weight Method is set to By Joint Group.

Number of Joint Groups

The number of joint groups to search when a joint is replaced. If a joint belongs to multiple groups, it will be blended based upon the parameters for the first group to which it belongs.

Joint Group

A group of the reference joints to be blended.

Weight

The weight of the joints in this group when blending. 0 weighs toward the original joint and +1 weighs towards the new joint.

By Attribute

These parameters are visible when Weight Method is set to By Attribute.

Weight Source

The set of points from which the weight attribute will be taken.

New Points

The weight attribute will be taken from the new points.

Weight Attribute

The name of the weight attribute.

Inputs

First input

The MotionClip to be adjusted.

Second input

The points you wish to update.

Outputs

The MotionClip on the first input with the updated joints on the second input.

Examples

SimpleMotionClipUpdate Example for MotionClip Update geometry node

This example demonstrates how to use the MotionClip Update node to raise the shoulder joints of a motion clip.

See also

MotionClip Update