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. Use Seed to control the random selection, which by default fills the layer. For per pixel randomness enable Random per Pixel, or use the seed input to vary the randomness per custom shapes.

Parameters

Range

Range Values

The random value will be generated in the selected range. This parameter governs how this range is specified. You can also provide a list of specific values or multiple ranges by selecting Specific Values, which can be useful to create values representing specific mono palettes.

Min/Max

The random value will be between the given minimum and maximum values.

Float Ramp

The random values will be generated using a ramp parameter look up (specified by Float Ramp).

Specific Values

The random values will be one of the listed mono values.

Minimum

Sets the minimum limit of the random range.

Maximum

Sets the maximum limit of the random range.

Float Ramp

The intermediate uniformly-distributed value will be fed through this ramp to obtain the random value.

Number of Values

Controls the number of sets of possible random values. Each set can be a single value or consist of multiple related values (when the menu to the right of the parameter is not set to List of Values).

Value

The base value for this set.

Value Type

In Constant mode, the set will only contain the Value. In List of Values mode, Value List defines the set of values.

Constant

Provides a single value for the set.

List of Values

Defines a list of values for the set.

Weight

Samples the given random value with the specified weight. Sets with lower Weight will be selected less frequently. When all weights are the same, each random set has the same probability.

Value List

Sets random values by a list of independent range sequences or numbers. The listings can be separated by whitespace, commas and semi-colons. Use the syntax min-max:stepsize, which expands to values between min and max, separated by stepsize. When stepsize is not provided, the default value of 1 is used.

Note

Each expanded values will be 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 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 seed input is provided, this will output 0 value for any pixel where the seed is a negative integer. This is useful when you consider negative seed values as part of the background where you do not 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

When Range Values is set to Float Ramp, the range values will be sampled horizontally from this layer.

seed

A layer to control the random value distribution.

Outputs

random

The output layer with the random values applied.

See also

Copernicus nodes