Sub topic 10
Building the Scene: Ground, Trees and Rocks
This chapter assembles the pieces from the earlier chapters into one scene. It assumes you can add primitives, move, rotate and scale in Object Mode, extrude in Edit Mode, and assign a solid-colour material. You should also know how to switch between flat and smooth shading. Here the focus shifts from single models to the scene as a whole: what goes where, which objects share data, and how to vary a few shapes so they don't look copied.
Plan the scene before adding objects
A small low-poly scene needs only three kinds of object: one ground, several trees, and several rocks. Decide these points first:
- Scale. Treat 1 Blender unit as 1 metre. A tree about 3 units tall and a rock about 0.5 to 1 unit wide sit well on a 20 by 20 ground.
- Repetition. Build one tree and one rock, then reuse them with different transforms.
- Colour budget. Use one material per kind of surface: ground, trunk, leaves, stone. Four materials are enough.
- Origin points. Put each object's origin at its base. Then scaling and rotating keep it standing on the ground.
The ground
The ground sets the scale for everything else. You have two simple options.
- A plane. Press Shift+A, choose Mesh, then Plane. Scale it to 10 with S, then press Ctrl+A and choose Scale. Applying the scale makes the object's scale 1 and bakes the size into the vertices. This keeps modifiers and later measurements predictable.
- A grid. Choose Mesh, then Grid, and set X and Y Subdivisions to about 8. The extra vertices let you push the ground up and down for gentle hills.
A flat plane looks flat. To get hills, use the grid and then, in Edit Mode, choose Mesh, Transform, Randomize with a small amount, or lift a few vertices with G then Z. Keep the height changes small, about 0.1 to 0.3 units. Large changes make rocks and trees float or sink.
Give the ground a flat green or sand material and keep flat shading on. Facets in the ground are part of the style.
Trees: build once, reuse many times
A low-poly tree is a 6-sided cylinder for the trunk and a 6-sided cone for the foliage. Set the trunk to radius 0.2 and depth 1, and the cone to radius 1 and depth 2. Place the trunk centre at z = 0.5 so it spans z 0 to 1. Place the cone centre at z = 2 so it spans z 1 to 3 and sits on top of the trunk.
Two ways to duplicate
| Action | Shortcut | Mesh data | Use when |
|---|---|---|---|
| Duplicate | Shift+D | Copied | You want to edit the copy's shape independently |
| Linked duplicate | Alt+D | Shared | You want many identical meshes and a small file |
Linked duplicates share one mesh. If you edit the vertices of one in Edit Mode, all of them change. This is useful when you want to improve every tree at once. It is a problem when you only meant to change one. To break the link, use Object, Relations, Make Single User, then Object & Data.
Materials are stored on the mesh data, so linked duplicates also share their materials. Change the leaf colour once and every tree updates.
Group the parts under one parent
A tree made of two objects is awkward to move. Parent both parts to an empty object, which is a transform with no geometry:
- Add an empty with Shift+A, then Empty, then Plain Axes, at the tree's base.
- Select the trunk, then the foliage, then the empty last (it becomes active).
- Press Ctrl+P and choose Object (Keep Transform).
Now you move, rotate and scale the whole tree through the empty. Scaling the empty scales both children about the base, which is what you want.
Alternatively, press Ctrl+J to join trunk and foliage into one mesh. The result has a single origin and is simpler, but the two parts can't have different shared data any more. Joined objects also take their materials with them as separate slots, so check the slots after joining.
Rocks
A rock is an icosphere with Subdivisions set to 1. It has few, large faces, which reads as stone in this style. A single rock looks plain, so vary each copy:
- Scale non-uniformly, for example (1.0, 0.7, 0.5). Flat, wide rocks look more natural than round ones.
- Rotate by a random angle around Z, and tilt a little around X and Y.
- Sink the rock partly into the ground. About one third of the height below the surface hides the contact line and stops it floating.
- For one or two rocks, go into Edit Mode and move a few vertices by hand. A slight asymmetry removes the "copied" look.
Use the same grey material for all rocks, or two greys for variety.
Varying proportions
Repeating one shape works if the copies differ enough. For trees, change three things:
- Overall size. Scale between 0.7 and 1.4.
- Width against height. Scale X and Y a little differently from Z so some trees are tall and thin and others short and wide.
- Rotation. Rotate each around Z. A 6-sided cone looks different from each side, so this alone breaks the pattern.
Avoid placing objects on a grid or at even spacing. Scatter them, and keep a minimum distance between trees so cones don't overlap.
Organise the scene
Large scenes get hard to manage if everything sits in one list. Do this as you go:
- Name objects by role:
Ground,Tree.001,Rock.003. - Put objects in collections. Select them and press M, then choose New Collection. Use
Ground,TreesandRocks. - Hide or exclude a collection with its eye or checkbox icon in the Outliner while you work on another.
Collections also let you hide a group from the final render without deleting it.
The same scene with Python
This script builds the ground, ten trees and six rocks. It uses linked duplicates so all trees share meshes, an empty as each tree's parent, and a fixed random seed so the result is repeatable. Run it in the Scripting workspace of a new General file.
import bpy
import math
import random
random.seed(4)
# Remove existing objects so the script can be re-run
for o in list(bpy.data.objects):
bpy.data.objects.remove(o)
def make_material(name, color):
mat = bpy.data.materials.new(name=name)
mat.use_nodes = True
mat.node_tree.nodes["Principled BSDF"].inputs["Base Color"].default_value = color
mat.diffuse_color = color
return mat
def new_collection(name):
coll = bpy.data.collections.new(name)
bpy.context.scene.collection.children.link(coll)
return coll
def move_to(obj, coll):
for c in list(obj.users_collection):
c.objects.unlink(obj)
coll.objects.link(obj)
def flat(obj):
for poly in obj.data.polygons:
poly.use_smooth = False
ground_coll = new_collection("Ground")
tree_coll = new_collection("Trees")
rock_coll = new_collection("Rocks")
mat_ground = make_material("Ground", (0.25, 0.5, 0.2, 1.0))
mat_trunk = make_material("Trunk", (0.35, 0.2, 0.1, 1.0))
mat_leaf = make_material("Leaf", (0.1, 0.5, 0.15, 1.0))
mat_rock = make_material("Rock", (0.45, 0.45, 0.48, 1.0))
# Ground: an 8 x 8 grid with small random height changes
bpy.ops.mesh.primitive_grid_add(x_subdivisions=8, y_subdivisions=8, size=20)
ground = bpy.context.active_object
ground.name = "Ground"
for v in ground.data.vertices:
v.co.z = random.uniform(-0.15, 0.15)
flat(ground)
ground.data.materials.append(mat_ground)
move_to(ground, ground_coll)
# Source parts for one tree (copies share this mesh data)
bpy.ops.mesh.primitive_cylinder_add(vertices=6, radius=0.2, depth=1.0, location=(0, 0, 0.5))
trunk_src = bpy.context.active_object
flat(trunk_src)
trunk_src.data.materials.append(mat_trunk)
bpy.ops.mesh.primitive_cone_add(vertices=6, radius1=1.0, radius2=0.0, depth=2.0, location=(0, 0, 2.0))
foliage_src = bpy.context.active_object
flat(foliage_src)
foliage_src.data.materials.append(mat_leaf)
# Scatter ten trees with a minimum spacing
placed = []
while len(placed) < 10:
x, y = random.uniform(-8, 8), random.uniform(-8, 8)
if all(math.hypot(x - px, y - py) > 3.0 for px, py in placed):
placed.append((x, y))
for i, (x, y) in enumerate(placed):
root = bpy.data.objects.new(f"Tree.{i:03d}", None) # an empty
root.empty_display_type = 'PLAIN_AXES'
size = random.uniform(0.7, 1.4)
width = random.uniform(0.8, 1.2)
root.location = (x, y, 0)
root.rotation_euler = (0, 0, random.uniform(0, math.tau))
root.scale = (size * width, size * width, size)
tree_coll.objects.link(root)
for src in (trunk_src, foliage_src):
part = src.copy() # shares mesh data with src
part.parent = root
tree_coll.objects.link(part)
bpy.data.objects.remove(trunk_src)
bpy.data.objects.remove(foliage_src)
# Rocks: low-poly icospheres, flattened, rotated and partly buried
for i in range(6):
sx = random.uniform(0.4, 0.9)
sy = random.uniform(0.4, 0.9)
sz = random.uniform(0.25, 0.5)
bpy.ops.mesh.primitive_ico_sphere_add(
subdivisions=1,
radius=1.0,
location=(random.uniform(-8, 8), random.uniform(-8, 8), sz * 0.3),
)
rock = bpy.context.active_object
rock.name = f"Rock.{i:03d}"
rock.scale = (sx, sy, sz)
rock.rotation_euler = (
random.uniform(-0.2, 0.2),
random.uniform(-0.2, 0.2),
random.uniform(0, math.tau),
)
flat(rock)
rock.data.materials.append(mat_rock)
move_to(rock, rock_coll)Rocks are placed randomly here, so one may land inside a tree. Change the seed or add the same distance check used for trees.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Tree shrinks toward its centre and floats | Origin is at the object's centre, not the base | Use an empty parent at the base, or move the origin with Object, Set Origin |
| Editing one tree changes all trees | Linked duplicates share one mesh | Make Single User for the one you want to change |
| Scaled object looks stretched after extruding | Scale was not applied | Press Ctrl+A, then Scale, before Edit Mode work |
| Rocks hover above the ground | Rock sits at z equal to its half-height on a bumpy ground | Lower the rock until about a third of it is buried |
| All trees look identical | Only location was changed | Vary scale and Z rotation too |
| Script fails with a context error | Run while in Edit Mode | Switch to Object Mode first |
Exercises
Exercise
You built a tree from a trunk and a foliage cone using linked duplicates. You enter Edit Mode on one trunk and extend its height. What happens to the other trunks, and how do you change only one?
Show answer
All trunks change, because linked duplicates share one mesh. To change only one, select it and use Object, Relations, Make Single User, then Object & Data. Then edit that copy.
Exercise
A rock made from an icosphere with Subdivisions 1 looks like a ball. Name three changes from this chapter that make it look more like a rock.
Show answer
Scale it non-uniformly (for example 0.8, 0.6, 0.35), rotate it by random angles including a small tilt, and sink about a third of it into the ground. Moving a few vertices by hand in Edit Mode also works.