Random Functions

randBool([<seed>])

The Random: 0 or 1 (randBool) token generates 0 or 1 randomly at each frame. You can use these random values with Boolean expressions, where 0 = FALSE and 1 = TRUE. Arguments include:

Argument | Description
    [<seed>]
| Expression for a seed value used to sow the random number generator. This argument is optional. If you supply a seed, pseudo-random numbers are generated for each frame. These numbers are the same each time you play back the scene. If you do not supply a seed, the generated values are closer to being truly random. However, they will be different each time you play back the scene.

rand_0_1([<seed>])

The Random: 0.0 to 1.0 (rand_0_1) token generates a random number between 0.0 and 1.0 at each frame. Arguments include:

Argument | Description
    [<seed>]
| Expression for a seed value used to sow the random number generator. This argument is optional. If you supply a seed, pseudo-random numbers are generated for each frame. These numbers are the same each time you play back the scene. If you do not supply a seed, the generated values are closer to being truly random. However, they will be different each time you play back the scene.

RAND([<seed>],<min>,<max>)

The Random Custom (RAND) token generates at each frame a random number between the minimum and maximum values you specify. Arguments include:

Argument | Description
    [<seed>]
| Expression for a seed value used to sow the random number generator. This argument is optional. If you supply a seed, pseudo-random numbers are generated for each frame. These numbers are the same each time you play back the scene. If you do not supply a seed, the generated values are closer to being truly random. However, they will be different each time you play back the scene.
    <min>
| The lowest number that can be randomly generated.
    <max>
| The highest number that can be randomly generated.

noise(<x>,<y>,<z>)

The Noise (noise) token generates random but continuous values between 0 and 1 at each frame. You can then multiply and add to the result to obtain noise patterns in any value range.

Each argument represents an expression. Different combinations result in different noise patterns. At least one argument should be an expression that varies over time (for example, Fc or T). You can multiply or divide the variable expression to change the frequency of the noise.

Autodesk Softimage v7.5