Sub topic 2
Wide, normal, and telephoto looks
This chapter assumes you can add a camera, make it the active scene camera, and edit its settings in the Properties editor. The code examples use the bpy Python API and assume a camera named ShotCamera already exists.
Choosing a focal length
Focal length sets how much of the scene the camera sees and how strongly it bends perspective. On Blender's default 36 mm sensor width, these groupings are common:
| Look | Focal length | Horizontal field of view |
|---|---|---|
| Wide | 24 mm | about 74 degrees |
| Normal | 50 mm | about 40 degrees |
| Telephoto | 85 mm | about 24 degrees |
Wide lenses exaggerate depth: near objects look large and far objects look small. Telephoto lenses compress depth, so the background appears closer to the subject. Normal lenses look most like human vision.
Perspective, orthographic, and panoramic cameras
The Type setting on the camera data changes the projection:
- Perspective is the default. Objects shrink with distance.
- Orthographic keeps parallel lines parallel. Size is set with Orthographic Scale instead of focal length.
- Panoramic captures a 360-degree view. Output depends on the render engine, so confirm that your engine supports it.
import bpy
cam_data = bpy.data.objects["ShotCamera"].data
cam_data.type = 'ORTHO'
cam_data.ortho_scale = 6.0Clip start and clip end
Clip Start and Clip End set the nearest and farthest distances the camera renders. Geometry outside that range is hidden. If part of a subject vanishes, check these values first.
cam_data.clip_start = 0.5
cam_data.clip_end = 200.0Render resolution and aspect ratio
Render resolution sets the output width and height in pixels, found in Output Properties. The ratio of the two values is the frame's aspect ratio. For example, 1920 by 1080 gives 16:9. With Auto sensor fit, Blender applies the sensor width to the longer side of the frame, so a taller frame shows more vertical space.
scene = bpy.context.scene
scene.render.resolution_x = 1920
scene.render.resolution_y = 1080
scene.render.resolution_percentage = 100Composition guides and framing the subject
Enable composition guides in the camera data's display settings. The rule of thirds places the subject on a grid line or an intersection of two lines. Passepartout dims the area outside the frame in camera view.
- Set the render resolution to the final aspect ratio.
- Turn on the rule of thirds guide.
- Move the subject onto a third line, then adjust the camera position.
Exercise
A 50 mm camera and an 85 mm camera sit at the same spot, aimed at the same subject. Which one shows a narrower view, and why?
Show answer
The 85 mm camera. On the same sensor, a longer focal length gives a smaller field of view, so it shows less of the scene and compresses the background more.