Houdini 20.5 Nodes Geometry nodes

Distance along Geometry geometry node

Measures the distance of the shortest path along the geometry’s edges or surfaces from each start point.

On this page
Since 18.0

This node can be used to measure the distance along a surface, which is useful when masking operations based on distance.

Parameters

Group

A subset of components in the input geometry whose attribute value will be set. Leave this blank to affect the attribute value for all components in the input.

Group Type

What the group is made of.

Start Points

Start points to measure distance from.

Distance Metric

Method for measuring each point’s distance from the start points.

Edge

The shortest distance from a start point following a path along edges.

Surface

The shortest distance from a start point following a path along the surfaces of the input geometry, both along edges and across polygons.

Heat Geodesic

The approximate shortest distance from a start point by following the direction heat flows along the surfaces of the input geometry.

Output Attribute

This is the name of the distance attribute to create.

Output Mask

This is the name of the mask attribute to create. The output attribute is set to a value between 0 and 1. The Radius and Ramp parameters specify how to map from the measured distance to a value in the [0, 1] range.

Radius From

Method used to specify the mask’s radius.

Parameter

The mask’s radius is explicitly specified with a parameter.

Maximum Distance

The mask’s radius is the maximum computed distance.

Radius

Specifies the distance corresponding to the end of the ramp.

Ramp

The ramp used to smooth the attribute.

Examples

DistanceDriver Example for Distance along Geometry geometry node

This example demonstrates how the Distance Along Geometry node can be used to find the shortest distance along edges or surfaces.

See also

Geometry nodes