Sub topic 1
Setting up reference images in orthographic views
Every later step in this tutorial is measured against the reference images: the blockout, the bevel widths, the proportion check. If the references are misaligned or at different scales, the model inherits the error. This chapter sets up front, side and top references so they agree with each other and with the scene's real-world scale.
Prerequisites
This chapter assumes you can:
- Orbit, pan and zoom in the 3D viewport, and switch between Object Mode and Edit Mode.
- Select, move, rotate and scale objects.
- Read the N-panel (sidebar) and the Properties editor tabs.
You need Blender 3.x or 4.x and three images of the prop: front, side and top. Technical drawings ("blueprints") are best. Photos work if they were taken from far away with a long lens, because that reduces perspective distortion.
Why orthographic views matter
A perspective view makes distant parts look smaller. A reference image is a flat drawing with no such distortion, so you can only compare it with the model in an orthographic view, where parallel lines stay parallel and size does not depend on distance.
The standard numpad views are orthographic:
| View | Shortcut | You look along | Screen right is |
|---|---|---|---|
| Front | Numpad 1 | +Y (from -Y) | +X |
| Right (side) | Numpad 3 | -X (from +X) | +Y |
| Top | Numpad 7 | -Z (from +Z) | +X |
| Back, Left, Bottom | Ctrl + Numpad 1, 3, 7 | the opposite directions | mirrored |
Numpad 5 toggles between perspective and orthographic. If you have no numpad, use the View > Viewpoint menu, or enable Edit > Preferences > Input > Emulate Numpad. With Preferences > Navigation > Auto Perspective on (the default), the viewport switches to orthographic when you choose a numpad view.
What a reference image is in Blender
A reference image is an empty object whose display type is Image. An empty has a location, rotation and scale but no geometry, so it never renders. That gives you several things to manage:
- It lives in the Outliner like any object. You can move it, hide it, lock it or put it in a collection.
- By default the image lies flat in the XY plane and faces +Z, which suits the top view. For front and side views you must rotate the empty.
- The image's size is set by the empty's Size property, not by pixels. Size is the length, in scene units, of the image's longest side. The aspect ratio is preserved.
- Its Offset property shifts the image relative to the empty's origin. The default (-0.5, -0.5) centres the image on the origin.
Adding one reference by hand
- Switch to the view you want, for example Numpad 1 for the front.
- Choose Add > Image > Reference, then pick the file. In Blender 3.x and 4.x, Add > Image > Reference aligns the empty to the current view, and Add > Image > Background does not.
- Open the Object Data tab (the image-empty icon) in the Properties editor to find Size, Offset, Opacity and the display options.
Doing this three times works, but the images are usually not aligned to each other. A script gives you the same result each time and lets you change one number to rescale all three.
Working out the Size value
All three references must use the same scale: one real-world millimetre must cover the same distance in every image. The images usually differ in resolution and margins, so measure instead of guessing.
- Pick a feature you know the real size of, for example the prop's total length.
- In an image editor, measure how many pixels that feature spans. Call it
p_obj. - Compare it to the image's longest side in pixels,
p_max. - Compute
Size = real_length × p_max / p_obj.
Worked example: the front image is 2000 × 1200 px. The prop spans 1600 px horizontally and is known to be 0.40 m wide. The longest side is 2000 px, so Size = 0.40 × 2000 / 1600 = 0.5 m.
Do this for each image with its own measurement. Then check the shared dimension. The prop's height should be the same in the front and side views, and its width the same in the front and top views. If it is not, one of the images has a wrong scale or contains perspective distortion.
Creating all three references with a script
The script loads three images, orients each empty to face its view, applies the same display settings, and puts them in a "Reference" collection. Edit REF_DIR, the file names and the sizes first. The // prefix means "relative to the saved .blend file". Save your file before running the script.
import math
import bpy
REF_DIR = "//reference/"
# name: (file, rotation, location, size in scene units, (offset_x, offset_y))
REFS = {
"Ref_Front": ("front.png", (math.radians(90), 0, 0),
(0.0, 1.5, 0.0), 0.5, (-0.5, 0.0)),
"Ref_Side": ("side.png", (math.radians(90), 0, math.radians(90)),
(-1.5, 0.0, 0.0), 0.5, (-0.5, 0.0)),
"Ref_Top": ("top.png", (0, 0, 0),
(0.0, 0.0, -1.5), 0.5, (-0.5, -0.5)),
}
scene = bpy.context.scene
col = bpy.data.collections.get("Reference") or bpy.data.collections.new("Reference")
if col.name not in scene.collection.children:
scene.collection.children.link(col)
for name, (filename, rot, loc, size, offset) in REFS.items():
path = bpy.path.abspath(REF_DIR + filename)
image = bpy.data.images.load(path, check_existing=True)
obj = bpy.data.objects.new(name, None)
obj.empty_display_type = 'IMAGE'
obj.data = image
obj.empty_display_size = size
obj.empty_image_offset = offset
obj.rotation_euler = rot
obj.location = loc
obj.show_empty_image_only_axis_aligned = True
obj.show_empty_image_perspective = False
obj.show_empty_image_orthographic = True
obj.empty_image_side = 'FRONT'
obj.empty_image_depth = 'BACK'
obj.use_empty_image_alpha = True
obj.color = (1.0, 1.0, 1.0, 0.5)
obj.hide_select = True
col.objects.link(obj)If a file is missing, bpy.data.images.load raises an error that names the path it tried. Fix the path and run again.
What each setting does
- Rotation. The front image faces -Y, so the empty is rotated 90° about X. The side image needs an extra 90° about Z so it faces +X. The top image needs no rotation.
- Location. Each image is moved 1.5 units behind the model, as seen from its own view. The model sits at the origin, and the images do not intersect it.
- Offset. For front and side images, Y offset 0 puts the image's bottom edge on the origin's plane, at Z = 0. Your prop's base then sits on the ground if the image has no margin below it. X offset -0.5 centres the image horizontally.
- Only Axis Aligned. The image shows only when you look straight along its axis. In an arbitrary orbit, three flat images would otherwise clutter the view.
- Perspective off, Orthographic on. The image is hidden in perspective views, where it would not match the model anyway.
- Side = Front. The image is drawn only from the side it faces. Without this, looking at the back of an image shows it mirrored, which is a common source of confusing errors.
- Depth = Back. The image is drawn behind other objects, so the model is never hidden by it. Use
'FRONT'only if you need to see the image over a solid model. - Opacity.
use_empty_image_alphamakes the empty's colour alpha control opacity. A value of 0.3 to 0.5 keeps the wireframe readable over dark drawings. - hide_select. You cannot select or drag the image by accident while modelling. Re-enable selection in the Outliner filter if you need to adjust it.
Aligning the three images to each other
The sketch of the process is: set the scale, then set the shared origin, then verify.
For the origin alignment, decide what the origin represents on the prop. A good choice is the centre of the base: X = 0 at the left-right centre, Y = 0 at the front-back centre, Z = 0 at the underside. Then adjust the X and Y offset values so that:
- The prop's base line in the front and side images lies on Z = 0.
- The prop's centre line in the front image lies on X = 0.
- The prop's centre line in the side and top images lies on Y = 0.
To verify, add a temporary cube. Give it the prop's real width, depth and height, using the N-panel Dimensions fields. Look at it in front, side and top views. Its outline should match the prop's bounding box in all three images. Delete the cube afterwards.
You can also check a landmark, such as the top of a handle. Put the 3D cursor on it in the front view, then look at the side view. The cursor should sit on the same feature there too.
Common errors
- The image is invisible. Check the view first. With Only Axis Aligned on, you must be in an exact numpad view. Then check that Orthographic is on, that the viewport is not in perspective, that Side matches the direction you look from, and that the collection is visible.
- The image appears mirrored. You are looking at it from behind. Rotate the empty by 180° about the vertical axis, or set Side to Front and view from the correct side.
- The model's heights disagree between front and side. One image has a different scale. Recompute Size from a measurement, not by eye.
- The image covers the model. Depth is set to Front. Set it to Back, or lower the opacity.
- A photo's perspective bends the references. Lines that should be parallel converge in the photo, so no single scale fits the whole image. Prefer a drawing. If you only have a photo, match the model to the part of the image nearest the picture plane, and expect the rest to be approximate.
- The images moved while modelling. You dragged an unlocked empty. Keep
hide_selecton, or lock the Reference collection.
Recap of the settings to remember
- Front: rotation (90°, 0, 0). Side: rotation (90°, 0, 90°). Top: rotation (0, 0, 0).
- The same real-world scale in all three images, computed from measured pixels.
- Base on Z = 0 and a shared centre on the origin.
- Only Axis Aligned, Orthographic only, Depth = Back, opacity around 0.5, and not selectable.
With the references in place, the next chapters set scene units and then start the blockout against these images.
Exercise
A side image is 1500 × 1000 px. The prop's total height measures 800 px in the image, and the real prop is 0.32 m tall. What Size should the empty have?
Show answer
Size = reallength × pmax / p_obj = 0.32 × 1500 / 800 = 0.6 m. The longest side is 1500 px, so the 0.6 m applies to the image's width.
Exercise
You added a front reference and it shows in the front view but disappears when you orbit slightly, and it shows mirrored when you view from the back. Which two empty settings explain this, and what is each one's job?
Show answer
"Only Axis Aligned" (showemptyimageonlyaxisaligned) hides the image unless you look exactly along its axis, which is why it vanishes when you orbit. The image side setting (emptyimage_side) controls which face is drawn. With the default double-sided drawing the back appears mirrored, and setting it to 'FRONT' hides the image when viewed from behind.