Справка Houdini на русском Nodes VOP nodes

Modulo VOP node

Computes the modulo of two values.

This operator computes the modulo of two values.

The sign of the modulus operation matches the behavior in Python. Using modulus to clamp a number to range will work as expected.

mod(-3, 5) == 2

mod(a, b) is always in the range [0, b), so if b is negative, the result is also always negative.

Examples

The following examples include this node.

grass

FurBallWorkflow Example for Fur geometry node

volumeresample Example for Volume Resample geometry node

VOPpointgroup Example for Add Point to Group VOP node

See also

VOP nodes