Houdini 22.0 Nodes APEX nodes

geo::LagOvershootPointAttribs

Applies a lag/overshoot effect on point attributes of a geometry.

On this page
Since 22.0

Applies a lag/overshoot effect on the given point attributes of a geometry. By default, the effect is applied on the given point attributes for all the primitives of the geometry.

You can also apply different lag/overshoot effects on different primitives. To apply per-primitive effects, use the primitive attribute, effectattribute.

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

Inputs

*geo: Geometry Required

The input geometry to apply the effect to.

attributes: String

The point attribute(s) on the geometry to apply the effect to. Attribute names should be space-separated.

fps: Float

The number of frames per second. Used to calculate the effect values.

effectattribute: String

The primitive attribute that allows you to set different effect parameters for different primitives. This primitive attribute must be a dictionary that contains an entry with a “parms” key. The parms entry is itself a dictionary with the following effect parameter keys:

"parms":
{
    "lag": <Vector2>,
    "overshoot": <Vector2>
}

If a primitive’s effectattribute is set to a valid parms dictionary, the dictionary values will override the input lag and overshoot values. For example, let’s say effectattribute is set to motiontrail_effect, and primitive 0 has the following motiontrail_effect attribute value:

"parms":
{
    "lag": [1, 1]
}

In this case, all the points of primitive 0 will use the above lag value. Since the overshoot is not specified in the parms dictionary, its value will come from input port overshoot.

If this port is not set to a valid primitive attribute, the input lag and overshoot values will be applied to all the primitives of the input geometry.

lag: Vector2

The amount of lag. The first value controls the lag effect when the velocity is increasing, and the second value controls the lag effect when the velocity is decreasing. See effectattribute for when this value is overridden.

overshoot: Vector2

The amount of overshoot. The first value controls the overshoot effect when the velocity is increasing, and the second value controls the overshoot effect when the velocity is decreasing. See effectattribute for when this value is overridden.

Outputs

*geo: Geometry

The geometry with effects applied.

See also

APEX nodes