-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.bat
32 lines (31 loc) · 1.9 KB
/
scripts.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
if %1 == render-interior (
blender -b render-scene-interior.blend --python render-scene-import.py -o //Result#### -x 1 -f 1 -- --cycles-device OPTIX --scene-environment interior --session %2 --position %3 --orientation %4 --camera %5
)
if %1 == render-exterior (
blender -b render-scene-exterior.blend --python render-scene-import.py -o //Result#### -x 1 -f 1 -- --cycles-device OPTIX --scene-environment exterior --session %2 --position %3 --orientation %4 --camera %5
)
if %1 == render-nightly (
blender -b render-scene-nightly.blend --python render-scene-import.py -o //Result#### -x 1 -f 1 -- --cycles-device OPTIX --scene-environment nightly --session %2 --position %3 --orientation %4 --camera %5
)
if %1 == render-fast-interior (
blender -b cache\scene-interior-%2.blend --python render-scene-fast.py -o //Result#### -x 1 -f 1 -- --cycles-device OPTIX --scene-environment interior --session %2 --position %3 --orientation %4 --camera %5 --sun-orientation %6
)
if %1 == render-fast-exterior (
blender -b cache\scene-exterior-%2.blend --python render-scene-fast.py -o //Result#### -x 1 -f 1 -- --cycles-device OPTIX --scene-environment exterior --session %2 --position %3 --orientation %4 --camera %5 --sun-orientation %6
)
if %1 == render-fast-nightly (
blender -b cache\scene-nightly-%2.blend --python render-scene-fast.py -o //Result#### -x 1 -f 1 -- --cycles-device OPTIX --scene-environment nightly --session %2 --position %3 --orientation %4 --camera %5 --sun-orientation %6
)
if %1 == prepare-material-hq-file (
blender -b %2 --python prepare-material-hq-file.py
)
if %1 == prepare-material-lq-file (
blender -b empty.blend --python prepare-material-lq-file.py -- %2
)
if %1 == prepare-object-hq-file (
blender -b %2 --python prepare-object-hq-file.py
)
if %1 == prepare-object-lq-file (
blender -b empty.blend --python prepare-object-lq-file.py -- %2
)