Sub topic 7
Output Paths and Frame-Number Padding
Assume you can navigate Blender’s Output Properties, have a camera and scene ready, and understand basic frame ranges. This chapter focuses on where Blender writes rendered files and how it names animation frames.
How Blender builds an output filename
Blender combines the output directory, filename pattern, frame number, and file extension. For example:
| Setting | Example |
|---|---|
| Output path | `//renders/shot_####` |
| Frame | `7` |
| Format | PNG |
| Result | `renders/shot_0007.png` |
The // prefix means “relative to the directory containing the current .blend file.” This makes a project portable. If you move the whole project folder to another computer, the render path moves with it.
An absolute path points to a fixed location, such as /home/user/renders/ on Linux and macOS or C:\Projects\renders\ on Windows. Absolute paths can be useful on a render server, but they can break when another computer uses a different folder structure.
Use `#` for frame numbers
A hash character in the filename is a frame-number placeholder. The number of hash characters controls zero padding:
frame_#producesframe_7.frame_##producesframe_07.frame_####producesframe_0007.
For an animation, use enough padding for the largest frame number. A 120-frame animation can use ####, while a 10,000-frame animation needs at least #####.
Set the pattern in Output Properties under Output. A practical project path is:
//renders/shot_#### Choose an image format, such as PNG, and Blender adds the correct extension. Remove the extra space after #### if you enter this path manually.
Prevent accidental overwrites
Blender can overwrite an existing file when a new render uses the same path and frame number. This is especially easy to do when:
- Two shots use the same output directory.
- A still render and an animation share a filename.
- You change the frame range but keep the same output pattern.
- You render a new version into an old version’s folder.
Include the shot name, version, and frame placeholder in the path:
//renders/intro_v02/intro_####
//renders/product_v01/product_####Before rendering, verify the resolved path shown in Blender’s file browser or Output Properties. For a still image, a path such as //renders/preview is sufficient. For an animation, include #### so every frame receives a distinct name.
Check the path before rendering
Save the .blend file before using a relative path. If the file has never been saved, Blender cannot resolve // against a project directory in the normal way.
For a command-line render, place the output pattern after -o:
blender -b scene.blend -o //renders/shot_#### -F PNG -s 1 -e 48 -aThis renders frames 1 through 48 and writes files such as shot_0001.png and shot_0048.png. The -o value overrides the saved output path for that command.
Exercise
What filename will Blender create for frame 23 when the output pattern is //renders/test_## and the format is PNG?
Show answer
//renders/test_23.png. Two hash characters provide two-digit padding, so frame 23 needs no leading zero.