Houdini 21.0 Nodes Geometry nodes

Attribute Sort geometry node

Sorts a component of an attribute.

Since 21.0

This node sorts a selected component of an attribute with ascending or descending order.

Parameters

Class

The class of attribute to sort.

Attribute

The name of the attribute to sort.

Component

For attributes with numerous components (i.e. vector or matrix attributes), choose which component of the attribute to sort. The Attribute Sort node can only sort a single component of an attribute at a time. For single-component attributes this should be left to the default value of 0.

Order

Whether to sort the attribute in ascending or descending order.

Sort Indices

Output an attribute containing the sorted element indices, where each element’s value is its index in the sorted sequence.

Note

This sort mode is similar to the argsort VEX function for arrays.

Use OpenCL

When on, attempts to sort the attribute with OpenCL. Only single-component, numeric attributes can be sorted with OpenCL. Incompatible attributes will fall back to use non-OpenCL sorting.

See also

Geometry nodes