Zane-QIU's picture
Copy of Zane-QIU/XVReason-VisualShift @ 6875f0a
7175fd9 verified
|
Raw History Blame Contribute Delete
883 Bytes
# 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.