File size: 883 Bytes
7175fd9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Rendering

The scene builders are in [`code/visual_shift/blender/`](https://github.com/Zane-ZYQiu/xvreason/tree/main/code/visual_shift/blender)
of the GitHub repository, and `../inputs/<family>/<sample>/input.json` holds the recovered task
state of each of the 500 clips. Use Blender 4.3.2 with Cycles and FFmpeg; HDRIs and PBR textures
come from Poly Haven and ambientCG (CC0).

```sh
blender -b -t 1 --python-exit-code 1 --python scripts/scenes/render_any.py -- \
  --design G-189-S1 --family G-189 --sample 00002 \
  --cards configs/scenes/cards.json --inputs <XVReason-VisualShift>/vbvr_bench_visual_shift/inputs \
  --assets <asset-dir> --out <out-dir> --size 1024 --samples 96 --device gpu
```

Width, height, frame count and frame rate of each clip are in `../metadata.csv`. Encode the
numbered frames with H.264, `yuv420p` and `+faststart` at the clip's native frame rate.