Houdini 20.5 Nodes Copernicus nodes

Random Mono Copernicus node

Creates a mono layer with random values.

On this page

This node generates random values for a mono layer. The Seed parameter controls the random selection, which by default fills the layer. For per-pixel randomness, turn Random per Pixel on or use the seed input to vary the randomness for each custom shape.

Parameters

Range

Range Values

The method used to select the range in which to generate the random value.

Min/Max

The random value is between the given minimum and maximum values.

Float Ramp

A ramp parameter look up generates the random values.

Specific Values

The random values are one of the listed mono values. This lets you provide a list of specific values or multiple ranges, which can be useful to create values representing specific mono palettes.

Minimum

When Range Values is Min/Max, this is the minimum limit of the random range.

Maximum

When Range Values is Min/Max, this is the maximum limit of the random range.

Float Ramp

When Range Values is Float Ramp, the intermediate uniformly-distributed value is fed through this ramp to obtain the random value.

See Ramp parameters for more information.

Number of Values

When Range Values is Specific Values, this controls the number of sets of possible random values. Each set can be a single value or consist of multiple related values, which the Value dropdown menu determines.

Value

The base value for the set. You can also use the dropdown menu to set which method determines the value.

Constant

Provides a single value for the set, which is the Value.

List of Values

Defines a list of values for the set, which is the Value List.

Weight

The weight with which to sample the given random value. Sets with a lower Weight value are selected less frequently. When all weights are the same, each random set has the same probability.

Value List

When Value is List of Values, this is the list of independent range sequences or numbers that set the random values. Use whitespace, commas, and semicolons to separate the listings. Use the syntax min-max:stepsize, which expands into values between min and max that're separated by stepsize. When stepsize is not provided, the parameter uses the default value of 1.

Note

All expanded values are assigned the same Weight.

Value list

Expanded values

5

5.0

3;5 7

3.0, 5.0, 7.0

1-3

1.0, 2.0, 3.0

0-1:0.25

0.0, 0.25, 0.5, 0.75, 1.0

0-1:0.25 5; 8-12:2

0.0, 0.25, 0.5, 0.75, 1.0, 5.0, 8.0, 10.0, 12.0

Random

Random per Pixel

Sets the random value selection on a per-pixel basis. Use this option if you want to create fine, grain-like noise.

Seed

All generated values depend randomly on this value. Choose a different value if the current seed produces undesirable samples.

Time

All generated values depend randomly on this value. Choose a different value if the current seed produces undesirable samples.

Zero Negative IDs

When a seed input is wired in, this outputs a 0 value for any pixel where the seed is a negative integer.

Turn this on when you consider negative seed values as part of the background where you don’t want to generate random values.

Inputs

size_ref

A representative layer that determines the size of the output image and controls the metadata.

min

A layer to control the minimum range limit when Range Values is set to Min/Max.

max

A layer to control the maximum range limit when Range Values is set to Min/Max.

ramp

A layer from which to horizontally sample the range values when Range Values is set to Float Ramp.

seed

A layer to control the random value distribution.

Outputs

random

The output layer with the random values applied.

See also

Copernicus nodes