From 27427e7efbf332189c419f9ef84f717d4bd96db6 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 22 Mar 2026 08:29:38 +0100 Subject: docs(cnn_v3): clarify --output is a base dir, not a frame_### pattern --- cnn_v3/docs/HOW_TO_CNN.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cnn_v3/docs/HOW_TO_CNN.md') diff --git a/cnn_v3/docs/HOW_TO_CNN.md b/cnn_v3/docs/HOW_TO_CNN.md index de20cd9..3013e1c 100644 --- a/cnn_v3/docs/HOW_TO_CNN.md +++ b/cnn_v3/docs/HOW_TO_CNN.md @@ -146,19 +146,21 @@ Produces all 20 feature channels including normals, depth, mat IDs, and shadow. ```bash blender -b scene.blend -P cnn_v3/training/blender_export.py -- \ - --output /tmp/renders/frame_### \ + --output /tmp/renders/ \ --width 640 --height 360 \ --start-frame 1 --end-frame 200 ``` The `--` separator is **required**; arguments after it are passed to the Python script, -not to Blender. Each `#` in `--output` is replaced by a zero-padded frame digit. +not to Blender. `--output` is the base directory for the compositor File Output node; +Blender appends the slot name and frame number automatically (e.g. `Combined0001.exr`). +`//` is a Blender shorthand for the directory containing the `.blend` file. **Available flags:** | Flag | Default | Notes | |------|---------|-------| -| `--output PATH` | `//renders/frame_###` | `//` = blend file directory; `###` = frame padding | +| `--output PATH` | `//renders/` | Base output directory; `//` = blend file directory | | `--width N` | 640 | Render resolution | | `--height N` | 360 | Render resolution | | `--start-frame N` | scene start | First frame | -- cgit v1.2.3