Sub topic 9
Render Resolution and Aspect Ratio in Blender
Assume you can navigate Blender, select a camera, and distinguish the 3D viewport from a rendered image. This chapter focuses on the output frame: its pixel dimensions, shape, and relationship to the camera view.
Set the render resolution
Render resolution is the size of the final image in pixels. In Blender, open the Output Properties tab and find the Format panel.
- Resolution X sets the image width.
- Resolution Y sets the image height.
- Percentage scales both dimensions before rendering.
For example, a 1920 × 1080 render at 100% produces a full HD image. At 50%, Blender renders 960 × 540 pixels. The frame keeps the same shape because both dimensions are scaled equally.
import bpy
scene = bpy.context.scene
scene.render.resolution_x = 1920
scene.render.resolution_y = 1080
scene.render.resolution_percentage = 100The percentage setting is useful while testing lighting, materials, and composition. Lower it to render quickly, then return to 100% for the final image. It changes the number of pixels, but it does not change the camera's framing when X and Y are scaled together.
| Setting | Example | Effect |
|---|---|---|
| Resolution X | 1920 | Image width in pixels |
| Resolution Y | 1080 | Image height in pixels |
| Percentage | 50% | Renders at half of each dimension |
Understand aspect ratio
Aspect ratio is the relationship between image width and height:
\[ \text{aspect ratio} = \frac{\text{width}}{\text{height}} \]
A 1920 × 1080 frame has a 16:9 aspect ratio. A 1080 × 1080 frame is square, with a 1:1 ratio. A 1080 × 1350 frame has a 4:5 ratio, which is common for portrait-oriented social media images.
Changing the ratio changes the visible shape of the camera frame. If you change only Resolution X or Y, objects near the frame edge may become cropped or newly visible. Recheck the composition after every ratio change.
Match the camera view to the output
Use Numpad 0 to look through the active camera. The camera border represents the output frame, not the entire viewport. Enable Passepartout in the camera settings to darken the area outside the frame.
Composition guides can make the frame easier to judge:
- Select the camera.
- Open the camera data properties.
- Enable Composition Guides.
- Choose guides such as thirds or center.
The guides help you place a subject, but they do not affect the rendered pixels. A subject positioned safely inside the frame is less likely to be cropped when the output format changes.
Test different delivery formats
Before detailed lighting or animation work, decide where the image will be used. A widescreen film shot, square product image, and vertical poster need different frame shapes. Create a test render at the intended aspect ratio rather than composing in a different format and cropping later.
Exercise
A scene is composed at 1920 × 1080, but the final delivery is 1080 × 1350. What should you do before rendering the final image?
Show answer
Set Resolution X to 1080 and Resolution Y to 1350, view the scene through the camera, and adjust the camera or subject placement to fit the new 4:5 frame.