forked from DLR-RM/BlenderProc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
101 lines (101 loc) · 1.98 KB
/
config.yaml
File metadata and controls
101 lines (101 loc) · 1.98 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Args: <obj_file> <path_to_textures> <output_dir>
{
"version": 3,
"setup": {
"blender_install_path": "/home_local/<env:USER>/blender/",
"pip": [
"h5py",
"imageio"
]
},
"modules": [
{
"module": "main.Initializer",
"config": {
"global": {
"output_dir": "<args:2>"
}
}
},
{
"module": "loader.ObjectLoader",
"config": {
"path": "<args:0>"
}
},
{
"module": "lighting.LightLoader",
"config": {
"lights": [
{
"type": "POINT",
"location": [5, -5, 5],
"energy": 1000
}
]
}
},
{
"module": "camera.CameraLoader",
"config": {
"cam_poses": [
{
"location": [0, -13.741, 4.1242],
"rotation": {
"value":[1.3, 0, 0]
}
},
{
"location": [1.9488, -6.5202, 0.23291],
"rotation": {
"value": [1.84, 0, 0.5]
}
}
],
"default_cam_param": {
"fov": 1
}
}
},
{
"module": "manipulators.MaterialManipulator",
"config": {
"selector": {
"provider": "getter.Material",
"conditions": {
"name": "Material.001"
}
},
"cf_color_link_to_displacement": 1.5
}
},
{
"module": "manipulators.MaterialManipulator",
"config": {
"selector": {
"provider": "getter.Material",
"conditions": {
"name": "Material.*"
}
},
"mode": "once_for_each",
"cf_textures": {
"Base Color": {
"provider": "sampler.Path",
"path": "<args:1>/*.jpg"
}
}
}
},
{
"module": "renderer.RgbRenderer",
"config": {
"output_key": "colors",
"samples": 350
}
},
{
"module": "writer.Hdf5Writer",
}
]
}