Sub topic 1
How a Render Works: Scene, Camera, Engine, Output
Prerequisites
You should know how to use the 3D Viewport, the Properties editor, and the Timeline. Your scene needs at least one object, one light, and one camera. You should also be comfortable running commands in a terminal for the command-line sections later in the tutorial.
The Render Pipeline
A render turns a 3D scene into a 2D image. Blender reads four inputs in order: the scene, the active camera, the render engine, and the output settings.
Check the Active Camera and Scene
Blender renders only the objects in the scene and only what the active camera sees. If the render is empty, check Scene properties to confirm which camera is active. Also confirm that the objects are visible and not hidden from rendering.
Choosing a Render Engine
The render engine decides how light is calculated. EEVEE is fast and suits real-time previews. Cycles traces light paths and produces more realistic results, but it takes longer. Workbench draws geometry without full lighting, which is useful for quick checks. Choose the engine in Render properties.
Samples, Denoising, and Render Time
Cycles uses samples, which are light paths traced for each pixel. More samples reduce grain but increase render time. Denoising filters out the remaining grain, so a moderate sample count with denoising on often gives a clean still.
Resolution, Percentage, and Aspect
Resolution X and Y set the width and height in pixels. A value of 1920 by 1080 gives a 16:9 aspect ratio. Resolution Percentage scales both values, so 50 percent gives a quick, smaller test render. Set these values in Output properties.
import bpy
scene = bpy.context.scene
scene.render.engine = 'CYCLES'
scene.cycles.samples = 128
scene.cycles.use_denoising = True
scene.render.resolution_x = 1920
scene.render.resolution_y = 1080
scene.render.resolution_percentage = 100
bpy.ops.render.render(write_still=True)Exercise
A scene is set to 1920 by 1080 with Resolution Percentage at 50. What pixel size does the output have?
Show answer
960 by 540. The percentage scales each dimension, so both width and height are halved.