-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
67 lines (58 loc) · 2 KB
/
config.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
stages:
_settings:
resources: 'imgs/resources/'
file_output_format: '{bfile}_####'
cool_scene:
buffer_frames: 1-90
force_update: false
render_output: 'imgs/buffer/'
engine: CYCLES # todo: figure out how to do EEVEE
blend_file: cool_scene.blend
render_format: PNG
blender_flags: ''
scene:
buffer_frames: 1-90
force_update: false
render_output: 'imgs/buffer/'
engine: CYCLES # todo: figure out how to do EEVEE
blend_file: scene.blend
render_format: PNG
blender_flags: ''
edit:
buffer_frames: 1-90
force_update: false
render_output: 'imgs/out/'
engine: CYCLES
blend_file: edit.blend
render_format: AVIRAW
blender_flags: '-a' # include this to render as a video
models:
_settings:
engine: CYCLES # todo, add this into the schema
color_mode: 'RGBA'
color_depth: 8
depth_scale: 1.4
file_format: 'PNG'
resolution: 600
cool_cube:
obj_file: 'blender/models/curve-skeleton-cube.obj'
render_output: 'imgs/out/models/'
scaling_factor: 1 # default (1)
remove_doubles: true # default (false)
edge_split: false # default (false)
edge_split_angle: 1.32645 # todo alter schema, add this as double
video: false # default (false); if true, format is ____ and rotation_iteration will be 5 sec rotation at 30 fps (150)
rotation_iterations: 30 # default 6
include:
- color # default only one active
- depth
- normal
- albedo
- id
file_output_format: '{bfile}_{stage}_####'
model_output_format: '{model}_{angle}_{map}'
# experimental below, do not alter
docker:
image: tennisgazelle/blender-pipeline:latest
render_cmd: docker run --rm -v {cwd}/blender/:/blender/ -v {cwd}/imgs:/imgs {image} blender/{blend_file} -E {engine} -F {format} -t 8 {flags}
# python_cmd: docker run --rm -v ${cwd}/blender/:/blender/ -v ${cwd}/scripts:/scripts -v ${cwd}/config.yaml:/config.yaml tennisgazelle/blender-pipeline:latest blender/scene.blend --python scripts/get_path.py