Houdini 21.0 Nodes APEX nodes

skel::SmoothMotion

Smooths out unwanted noise from a MotionClip and outputs a single skeleton with the smoothing applied.

On this page
Since 21.0

Smooths out unwanted noise from a MotionClip and outputs a single skeleton from the MotionClip with the smoothing applied. A Butterworth filter is applied on the MotionClip’s local transform TRS values over the time range defined by window and time. The range is [time - window*rate, time + window*rate].

Inputs

motionclip: Geometry

A geometry containing a MotionClip.

pattern: String

A pattern that specifies the skeleton point names on which to apply the filter.

cutoff: Float

The cutoff frequency for the filter. Frequencies over this value are filtered out.

order: Int

The order of the filter. Determines how steeply the filter curve rolls off after the cutoff frequency. Higher orders correspond to a steeper roll off.

components: Int

A mask that specifies the T, R, and S components on which to apply the filter, where T = 1, R = 2, and S = 4.

xord: Int

The transform order used when converting point transform to TRS values.

rord: Int

The rotation order used when converting the point transform to TRS values.

window: Int

The number of samples around the current time. For example, if window is set to 1, you get 3 samples - 1 before the current time, 1 at the current time, and 1 after the current time. If window is set to 2, you get 5 samples - 2 before the current time, 1 at the current time, and 2 after the current time.

rate: Float

The sampling rate in frames per second for computing samples within the time range window.

time: Float

The current time for defining the time window range.

blend: Float

A blend value that blends between the original TRS values (blend set to 0) and the filtered values (blend set to 1).

Outputs

geo: Geometry

A KineFX skeleton with the smoothing applied.

See also

APEX nodes