-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.sh
executable file
·32 lines (32 loc) · 1.96 KB
/
scripts.sh
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
case $1 in
"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
;;
"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
;;
"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
;;
"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
;;
"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
;;
"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
;;
"prepare-material-hq-file")
blender -b $2 --python prepare-material-hq-file.py
;;
"prepare-material-lq-file")
blender -b empty.blend --python prepare-material-lq-file.py -- $2
;;
"prepare-object-hq-file")
blender -b $2 --python prepare-object-hq-file.py
;;
"prepare-object-lq-file")
blender -b empty.blend --python prepare-object-lq-file.py -- $2
;;
esac