The Attribute Randomize node is used to add variation to point clouds. It can create new attributes or modify existing ones like pscale (for scale) and rotation on a per-point basis. This is essential for creating natural-looking arrangements when used with the Copy to Points node.
For example, you can use it after a Scatter node to give each scattered point a random scale and rotation before copying trees onto them, making each tree look unique.
Parameters
| Parameter | Description |
|---|---|
Label | The display name for the node. |
Group | Specifies a subset of points to affect. Uses pattern matching. |
Attribute Name | The point attribute to create or modify. |
Operation | How the new value is combined with an existing attribute value. |
Distribution | The method used to generate random values. |
Min | The minimum value for the random range. |
Max | The maximum value for the random range. |
Min | The minimum value for the random range. |
Max | The maximum value for the random range. |
Min | The minimum color for the random range. |
Max | The maximum color for the random range. |
Noise Type | The underlying algorithm for the noise pattern. |
Frequency | The scale or zoom of the noise pattern. |
Offset | Pans the noise pattern in X and Y. |
Seed | Changes the random outcome. |
Examples
The following examples show how different attributes can be randomized on points that have had circles copied to them.
Randomize Color
By setting the Attribute Name to color, you can randomize the color of each instance. The node smoothly interpolates between the Min and Max color values.
Randomize Scale
Setting the Attribute Name to pscale allows you to control the size of each copy. A random value between the Min and Max range is generated for each point.
Randomize Rotation
Using the rotation attribute assigns a random rotation to each instance. This is perfect for breaking up repetition and creating more natural-looking arrangements.
How It Works
The node operates on the points of the incoming geometry. If you connect a shape like a Rectangle, the node will first extract its corner points. For more control, it’s best to use this node after a Scatter or Resample node, which generate dedicated point clouds.
- Targeting: First, you specify which attribute to change (
Attribute Name). You can also use theGroupparameter to only affect a specific subset of points. - Value Generation: Next, you choose a
Distributionmethod.- Random: Assigns a completely random value to each point within the specified
Min/Maxrange. - Noise: Assigns a value based on the point’s position in a procedural noise field. This creates more natural, flowing patterns of variation compared to pure randomness.
- Random: Assigns a completely random value to each point within the specified
- Application: Finally, the
Operationparameter determines how the newly generated value is combined with any existing value the attribute might have. You canSet(overwrite),Addto, orMultiplywith the old value.