Houdini 21.0 Nodes Geometry nodes

Labs Radial Sort 1.0 geometry node

Reorders points and primitives in a radial way.

Since 21

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.

Vector

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.

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.

Vector

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.

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.

See also

Geometry nodes