Houdini 21.0 Nodes APEX nodes

dynamicpath::DeformLaplacian

Deforms a dynamic path as a mesh represented with Laplacian coordinates.

On this page
Since 21.0

Deforms a dynamic path across its timeline. The path is converted into a mesh, and adjusted according to pin points that guide the path deformation.

The Laplacian deformation solver holds the physical length of the path constant, and only adjusts the shape of the path. The path may not pass through the pin points, which serve as soft constraints on the shape.

By default, two pins are created, at the start time and end time of the path timeline. The default start pin has a high weight, which anchors the path at its start time rest position. The default pins can be overridden by creating pins with different weights at the start and end times.

The path ports of this node are in-place ports, which means that the dynamic path is updated without creating a copy.

Inputs

*path: DynamicPath Required

The dynamic path to deform.

samplerate: Float

The frequency at which to evaluate samples from the dynamic path.

pins: Vector3Array

The positions of the pins that guide the path deformation.

times: FloatArray

A sequence of times in the timeline of the path to indicate when each pin deforms the path. The time at a particular index of times corresponds to the pin at that same index in pins. The times array should have the same length as the pins array.

weights: FloatArray

The weights applied to the pins. A pin with a higher weight has a greater affect on the path when it is adjusted, as well as a higher resistance to modifications by other pins. The weight at a particular index of weights corresponds to the pin at that same index in pins. The weights array should have the same length as the pins array.

Outputs

*path: DynamicPath

The deformed dynamic path.

See also

APEX nodes