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

Random VOP node

Generates a random number based on the position in one, three, or four dimensions.

This operator generates a random number based on the position in one, three, or four dimensions. Unlike the noise functions, which smoothly interpolate the random values between integer lattice points, this random number generator does not. Each number is in the [0..1) range.

In the Signature parameter refers to the types of the inputs and outputs. Color and vector are 3 floats, and points are four floats.

Note

This VOP only produces different numbers for each integer value of the input, not for each float value like the VEX hscript_rand does.

Turning off the Clamp Position to Integer Values will give different results for different inputs, but be warned that very small floating point differences will then have big changes in the result.

Examples

The following examples include this node.

CrowdHeightField Example for Crowd Solver dynamics node

Stadium Crowd Example Example for Crowd Solver dynamics node

grass

FurBall Example for Fur geometry node

FurBallWorkflow Example for Fur geometry node

FurPipelineExample Example for Fur geometry node

Shaved Example for Fur geometry node

PaintPoints Example for Paint geometry node

pscaleVOPSOP Example for Add Attribute VOP node

RampParameter Example for Parameter VOP node

See also

VOP nodes