Sub topic 8
Perspective versus orthographic projection
This chapter assumes you can already orbit, pan, and zoom, and that you know the standard axis views (Front, Right, Top and their opposites). You also need the default keymap and a numpad or Emulate Numpad turned on. Here you will learn what the two projection modes do, how to switch between them, and which one to use for a given job.
What projection means
Projection is the rule that turns 3D positions into a flat image. The viewport uses one of two rules.
- Perspective projection makes distant things smaller. Parallel lines that run away from you, such as railway tracks, converge toward a vanishing point. This is how a camera and your eyes see.
- Orthographic projection draws every point along parallel lines that are perpendicular to the screen. Size does not depend on distance. Two cubes of the same size look the same size even if one is ten meters farther away.
The scene is identical in both modes. Only the drawing rule changes.
Switching modes
The default keymap gives you three ways to switch.
- Press Numpad 5 to toggle between perspective and orthographic. With Emulate Numpad enabled, use the number 5 on the top row instead.
- Open View > Perspective/Orthographic in the viewport header.
- Click the navigation gizmo's center (the gray area behind the axis balls). This also toggles the mode. The gizmo has a separate small button with a grid or box icon for the same purpose in some versions, so look at the tooltip in yours.
The viewport header and the top-left text overlay show the current state. A viewport displays text such as "User Perspective" or "Top Orthographic". The word "User" means you have orbited freely and are not on an exact axis view.
Auto Perspective
When you press Numpad 1, 3, or 7, Blender normally switches to orthographic for you. When you orbit away from that view, it switches back to perspective. This behavior is controlled by Auto Perspective in Preferences > Navigation > Orbit & Pan. It is on by default.
This explains a common surprise. You press Numpad 5 to get orthographic, orbit a little, and the view returns to perspective. With Auto Perspective on, orbiting from an axis view restores perspective, and so does leaving a view that was auto-switched. If you want orthographic to stay on while you orbit, turn Auto Perspective off in Preferences. After that, the mode changes only when you toggle it yourself.
Perspective in practice
Perspective is the right choice when you care about how the result will look.
- Judging depth. Objects behind others look smaller, so the arrangement reads naturally.
- Composition. The final render of a perspective camera looks like what you see in a perspective viewport, so you can preview framing before you enter camera view.
- Organic modeling. Sculpting and modeling characters or props is easier when the view matches how people see.
The strength of the perspective effect depends on the viewport's Focal Length. Open the sidebar with N, go to the View tab, and find Focal Length. The default is 50 mm. A low value, such as 20 mm, gives strong convergence and a wide field of view. A high value, such as 135 mm, flattens the scene and approaches orthographic. Changing this value affects only the viewport. It does not change the scene camera, which has its own lens setting.
Orthographic in practice
Orthographic is the right choice when you care about exact relationships.
- Alignment. In Front, Right, or Top view, vertices that share a coordinate line up exactly on screen. This makes it easy to snap points, check symmetry, and place edge loops.
- Reference images. Reference images are almost always drawn in orthographic views. Without parallel projection, a blueprint will not match your model.
- Measuring. Equal sizes look equal, so you can compare lengths by eye.
- Technical output. Plans, elevations, and isometric-looking art come from orthographic cameras.
Two behaviors are specific to orthographic views.
- Zoom changes scale, not position. Moving the wheel makes everything larger or smaller on screen. The view does not travel closer to anything.
- The grid changes with zoom. In axis-aligned orthographic views, the grid adds or removes subdivisions as you zoom. The scale text in the corner of the view tells you what one grid square equals.
Differences that cause real problems
Depth is hidden in orthographic views
In an orthographic view you cannot tell which of two overlapping objects is closer. An object that looks like it sits on the floor may be a meter above it. Always confirm an edit in a second view before you trust it. Quad View (a later chapter) shows several views at once for this purpose.
Clipping applies in both modes
Orthographic views do not remove clipping. Objects beyond the viewport's Clip End or closer than Clip Start disappear. In orthographic mode, the view distance still places your viewing position along its line of sight. If an object vanishes in orthographic mode, it may lie behind that viewing position or beyond the end limit. Use Home (View All) to bring the view back to the scene, and see the clipping chapter for the Clip Start and End settings.
Zoom feels different
In perspective, the wheel moves the view toward or away from the pivot, so you can zoom through a surface. In orthographic, the wheel scales the image, so nothing is passed through. If a surface seems to block your view in orthographic mode, check Clip Start rather than moving closer.
Switching modes shifts the picture
Perspective and orthographic cannot match exactly at every depth, so toggling changes how objects look. Blender keeps the view's distance and focal length consistent so that objects near the orbit pivot stay about the same size. Objects far from the pivot change the most.
Camera view is separate
Looking through the scene camera (Numpad 0) uses the camera's own type, which can be Perspective, Orthographic, or Panoramic. The viewport projection setting does not affect it. The viewport reports this state as CAMERA.
Reading and setting the projection with Python
A viewport stores its projection in a RegionView3D object. The script below reads the mode and the distance from the view to its orbit pivot, then switches the view to orthographic.
import bpy
for area in bpy.context.screen.areas:
if area.type == 'VIEW_3D':
r3d = area.spaces.active.region_3d
print(r3d.view_perspective) # 'PERSP', 'ORTHO', or 'CAMERA'
print(r3d.view_distance) # distance from the view to its orbit pivot
r3d.view_perspective = 'ORTHO'
breakRun it from the Text Editor inside Blender. A script run from a terminal with no interface has no screen areas to find. The script changes only the first 3D viewport it finds.
A small toggle function is useful for repeatable setups.
import bpy
def toggle_projection(area):
"""Swap PERSP and ORTHO for one 3D viewport area."""
r3d = area.spaces.active.region_3d
if r3d.view_perspective == 'PERSP':
r3d.view_perspective = 'ORTHO'
elif r3d.view_perspective == 'ORTHO':
r3d.view_perspective = 'PERSP'
# 'CAMERA' is left alone: the camera data sets the projection there.
return r3d.view_perspective
for area in bpy.context.screen.areas:
if area.type == 'VIEW_3D':
print(toggle_projection(area))The function skips CAMERA on purpose. To change what you see through the camera, edit the camera's data (camera.data.type), not the viewport.
Choosing a mode
| Task | Better mode | Reason |
|---|---|---|
| Aligning vertices to an axis | Orthographic | Parallel lines show exact alignment |
| Tracing a reference image | Orthographic | Matches the flat drawing |
| Arranging a scene for a render | Perspective | Matches the camera result |
| Judging how far apart objects are | Perspective | Size and convergence show depth |
| Checking symmetry | Orthographic | Equal sizes look equal |
| Posing a character | Perspective | Matches natural vision |
A practical routine is to work in orthographic views for precision and flip to perspective with Numpad 5 to check the result.
Troubleshooting
- The view keeps returning to perspective. Auto Perspective is on. Turn it off in Preferences if you want orthographic to persist.
- Everything looks distorted at the edges. The focal length is too low. Raise it in the sidebar's View tab.
- Numpad 5 does nothing. Without a numpad, enable Emulate Numpad in Preferences, then use the top-row 5.
- Objects vanish in orthographic mode. They are outside the clip range. Press Home, then adjust Clip Start and End.
- A model looks correct in perspective but wrong in Front view. Perspective hides misalignment. Check in orthographic.
Exercise
You press Numpad 7 and see "Top Orthographic". You orbit a few degrees and the label changes to "User Perspective". You want to stay orthographic while orbiting. What setting do you change, and where?
Show answer
Turn off Auto Perspective in Preferences > Navigation > Orbit & Pan. With it on, orbiting out of an axis view restores perspective. With it off, the mode changes only when you toggle it with Numpad 5 or the View menu.
Exercise
A script reads r3d.view_perspective and gets 'CAMERA'. Why would setting it to 'ORTHO' to change the camera's projection be the wrong approach, and what should you edit instead?
Show answer
In camera view the projection comes from the scene camera, not from the viewport. Changing the viewport value leaves the camera view mode and does not alter the camera. To change the camera's projection, set the camera data's type, for example camera.data.type = 'ORTHO'.