Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blender Cycles Fidelity Test #4492

Merged
merged 14 commits into from
Mar 13, 2024
Prev Previous commit
Next Next commit
config update , spread args with comma
  • Loading branch information
vis-prime committed Oct 5, 2023
commit 5e12325f7b59b45e22438160b23004dc2068fd09
6 changes: 4 additions & 2 deletions packages/render-fidelity-tools/test/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@
"name": "blender-cycles",
"description": "Blender's Cycles render engine",
"command": {
"executable": "python3",
"executable": "blender",
"args": [
"blender -b -P test/renderers/blender-cycles/render.py"
"-b",
"-P",
"test/renderers/blender-cycles/render.py"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ blender -b -P test/renderers/blender-cycles/render.py -- {"scenario": {...}, "ou
**Command breakdown**
1- `blender` is path to the blender executable
2- `-b` is for background mode
3- `-P` runs the python supplied script
3- `-P` runs the python supplied script (case sensitive)
4- `test/renderers/blender-cycles/render.py` is the path to the python file
5- and last part is the config json ( accessed under `sys.argv[5]` in render.py )

Expand Down
Loading