What can be modeled? The most common motif are landscapes with the following objects that we want to create in some cases:
- Copy the script from the cloud generator (last station).
- What must be changed? Which parameter and properties are changing?
- Distribute 10 stones on an area with dimensions of 20x20.
Clouds and stones
The pattern for the creation of stones corresponding to those of the clouds. Copy the script that adjustments thereafter, should be easy.
Properties of a Stone Object
This time should the Modifiere "Decimate" are used, because stones are often complemented by weathering.
The instructions are similar to those of the * * DISPLACE-Modifier for the clouds.
bpy.ops.object.modifier_add(type='DECIMATE') obj.modifiers["Decimate"].ratio = random.uniform(.1, .2)