Houdini 21.0 Nodes Geometry nodes

Labs Radial Sort 1.1 geometry node

Reorders points and primitives in a radial way.

Since 21.0

This node lets you change the order of points/primitives in a radial way based on a direction vector.

Note

This node replaces Labs Sort SOP, which will be removed in Houdini 23.0.

Parameters

Points

Point Group

The points to sort. Only these points will be re-arranged by the point sorting operation.

Radial Sort Points

Orders the elements counterclockwise by their position around a certain direction in 3D space.

Direction

The vector to use as a direction for sorting. This vector is signed, so a value of 0, 1, 0 is the equivalent of sorting By Y, while 0, -1, 0 is the reverse.

Angle Offset

Shifts the current element numbers forward or backward based on that angle (in degrees). Point numbers at the end of the point list wrap around to the start.

Reverse Point Sort

Reverses the sorted ordering computed by the controls above.

Sort Indices

Output an attribute containing the sorted element indices, where each element’s value is its index in the sorted sequence. The elements themselves are not reordered.

Show Guide

Shows an arrow that represents the vector that is used for the sorting.

Primitives

Primitive Group

The primitives to restrict the sort to. Only these primitives will be re-arranged by the primitive sorting operation.

Radial Sort Primitives

Orders the elements counterclockwise by their position around a certain direction in 3D space.

Direction

The vector to use as a direction for sorting. This vector is signed, so a value of 0, 1, 0 is the equivalent of sorting By Y, while 0, -1, 0 is the reverse.

Angle Offset

Shifts the current element numbers forward or backward based on that angle (in degrees). Point numbers at the end of the point list wrap around to the start.

Reverse Primitive Sort

Reverses the sorted ordering computed by the controls above.

Sort Indices

Output an attribute containing the sorted element indices, where each element’s value is its index in the sorted sequence. The elements themselves are not reordered.

Optimize Internal Vertex Order

Sort vertices according to the primitive number and vertex order in each primitive. This will affect the linear vertex index used by VEX functions like vertexindex, vertexprim, and vertexprimindex.

Show Guide

Shows an arrow that represents the vector that is used for the sorting.

See also

Geometry nodes