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
87 lines (87 loc) · 2.03 KB
/
config.yaml
File metadata and controls
87 lines (87 loc) · 2.03 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
# Args: <path_to_the_replica_data_folder> <output_path>
{
"version": 3,
"setup": {
"blender_install_path": "/home_local/<env:USER>/blender/",
"pip": [
"h5py"
]
},
"modules": [
{
"module": "main.Initializer",
"config": {
"global": {
"output_dir": "<args:1>",
"data_set_name": "office_1",
"data_path": "<args:0>"
}
}
},
{
"module": "loader.ReplicaLoader",
"config": {
"use_smooth_shading": True,
"use_ambient_occlusion": True
}
},
{
"module": "object.FloorExtractor",
"config": {
"is_replica_object": True,
"obj_name": "mesh",
"compare_angle_degrees" : 7.5, # max angle difference to up facing polygons
"compare_height": 0.15 # height, which is allowed for polygons to be away from the height level in up and down dir.
}
},
{
"module": "camera.ReplicaCameraSampler",
"config": {
"default_cam_param": {
"pixel_aspect_x": 1.333333333
},
"is_replica_object": True,
"cam_poses": [{
"number_of_samples": 15,
"clip_start": 0.01,
"proximity_checks": {
"min": 1.0,
"avg": {
"min": 2.0,
"max": 4.0
}
},
"location": [0, 0, 1.55],
"rotation": {
"value": {
"provider":"sampler.Uniform3d",
"max":[1.373401334, 0, 6.283185307],
"min":[1.373401334, 0, 0]
}
},
}]
}
},
{
"module": "manipulators.MaterialManipulator",
"config": {
"selector": {
"provider": "getter.Material",
"conditions": {
"name": "ReplicaMaterial"
}
},
"cf_change_to_vertex_color": "Col"
}
},
{
"module": "renderer.RgbRenderer",
"config": {
"render_normals": True
}
},
{
"module": "writer.Hdf5Writer",
}
]
}