Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/close_v/info.json +35 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/close_v/keypoints.json +19 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/close_v/keypoints_final.json +25 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v/info.json +37 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v/keypoints.json +19 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v/keypoints_final.json +25 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_handle/info.json +35 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_handle/keypoints.json +19 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_handle/keypoints_final.json +25 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_inner/info.json +35 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_inner/keypoints.json +19 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_inner/keypoints_final.json +25 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/DayMaterial.mdl +67 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/KooPbr.mdl +462 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/KooPbr_maps.mdl +515 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/Num5ba237dfef62e00d0e012619.mdl +307 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/Num604604837fdaa40001bb718c.mdl +284 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/OmniUe4Base.mdl +224 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/OmniUe4Function.mdl +1413 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/OmniUe4Translucent.mdl +233 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/WorldGridMaterial.mdl +75 -0
- assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/keypoints_final.json +25 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/README.md +5 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/asset.json +20 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/bbox_info.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/bounding_box.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/config.yaml +18 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/info.json +30 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/keypoints.json +14 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/keypoints_final.json +20 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/meta.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/mobility.urdf +962 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/mobility_new.urdf +1004 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/mobility_relabel.urdf +962 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/mobility_v2.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/perception_info.json +0 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/result.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/result_after_merging.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/semantics.txt +4 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/semantics_relabel.txt +4 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/tree_hier.html +2 -0
- assets/art/storagefurniture_bottom/StorageFurniture11/tree_hier_after_merging.html +2 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/README.md +5 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/asset.json +20 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/bbox_info.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/bounding_box.json +1 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/config.yaml +18 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/info.json +30 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/keypoints.json +14 -0
- assets/art/storagefurniture_bottom/StorageFurniture14/keypoints_final.json +20 -0
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/close_v/info.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_keypoints": {
|
| 3 |
+
"articulated_object_head": [
|
| 4 |
+
9.010834653982085,
|
| 5 |
+
-20.09128980636597,
|
| 6 |
+
8.618268850373086
|
| 7 |
+
],
|
| 8 |
+
"articulated_object_tail": [
|
| 9 |
+
-23.042504040053334,
|
| 10 |
+
-20.091289806365975,
|
| 11 |
+
8.657721718328466
|
| 12 |
+
],
|
| 13 |
+
"base_object_contact_point": [
|
| 14 |
+
9.159219241961479,
|
| 15 |
+
-20.09128980636597,
|
| 16 |
+
8.835433890932132
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"object_scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
],
|
| 25 |
+
"object_name": "microwave_0013",
|
| 26 |
+
"object_usd": "assets/microwave_final/microwave_0013/instance.usd",
|
| 27 |
+
"object_link_path": "/microwave_0013/instance/contact_link",
|
| 28 |
+
"object_base_path": "/microwave_0013/instance/base",
|
| 29 |
+
"object_prim_path": "/microwave_0013",
|
| 30 |
+
"object_revolute_joint_path": "/microwave_0013/instance/contact_link_revolute",
|
| 31 |
+
"object_link0_rot_axis": "-x",
|
| 32 |
+
"object_link0_contact_axis": "-z",
|
| 33 |
+
"object_base_front_axis": "-y",
|
| 34 |
+
"joint_index": 1
|
| 35 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/close_v/keypoints.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
6.601364891585106,
|
| 5 |
+
-14.48050702092962,
|
| 6 |
+
6.367992959304833
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
6.494418976018538,
|
| 10 |
+
-14.48050702092962,
|
| 11 |
+
6.211474587633623
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
-16.607533189492187,
|
| 15 |
+
-14.480507020929622,
|
| 16 |
+
6.239909637005469
|
| 17 |
+
]
|
| 18 |
+
}
|
| 19 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/close_v/keypoints_final.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
9.159219241961479,
|
| 5 |
+
-20.09128980636597,
|
| 6 |
+
8.835433890932132
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
9.010834653982085,
|
| 10 |
+
-20.09128980636597,
|
| 11 |
+
8.618268850373086
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
-23.042504040053334,
|
| 15 |
+
-20.091289806365975,
|
| 16 |
+
8.657721718328466
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
]
|
| 25 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v/info.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_keypoints": {
|
| 3 |
+
"articulated_object_head": [
|
| 4 |
+
6.638735421811774,
|
| 5 |
+
-19.72547729149686,
|
| 6 |
+
17.647453766931985
|
| 7 |
+
],
|
| 8 |
+
"articulated_object_tail": [
|
| 9 |
+
-23.46437698991584,
|
| 10 |
+
-19.731841700666294,
|
| 11 |
+
17.6467169916495
|
| 12 |
+
],
|
| 13 |
+
"base_object_contact_point": [
|
| 14 |
+
-23.46437698991584,
|
| 15 |
+
-19.731841700666294,
|
| 16 |
+
17.6467169916495
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"object_scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
],
|
| 25 |
+
"object_name": "microwave_0013",
|
| 26 |
+
"object_usd": "assets/articulated_close_door/microwave/microwave_0013/instance.usd",
|
| 27 |
+
"object_link_path": "/microwave_0013/instance/contact_link",
|
| 28 |
+
"object_base_path": "/microwave_0013/instance/base",
|
| 29 |
+
"object_prim_path": "/microwave_0013",
|
| 30 |
+
"object_revolute_joint_path": "/microwave_0013/instance/contact_link_revolute",
|
| 31 |
+
"object_revolute_joint_idx": 1,
|
| 32 |
+
"object_link0_rot_axis": "-x",
|
| 33 |
+
"object_base_front_axis": "-y",
|
| 34 |
+
"object_link0_contact_axis": "-z",
|
| 35 |
+
"object_link0_contact_axis_rotation_axis": "",
|
| 36 |
+
"object_link0_contact_axis_rotation_angle": 0
|
| 37 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v/keypoints.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
-16.911591646574543,
|
| 5 |
+
-14.221440312680516,
|
| 6 |
+
12.718590089064113
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
4.784764842433987,
|
| 10 |
+
-14.216853262401681,
|
| 11 |
+
12.719121108546831
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
-16.911591646574543,
|
| 15 |
+
-14.221440312680516,
|
| 16 |
+
12.718590089064113
|
| 17 |
+
]
|
| 18 |
+
}
|
| 19 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v/keypoints_final.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
-23.46437698991584,
|
| 5 |
+
-19.731841700666294,
|
| 6 |
+
17.6467169916495
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
6.638735421811774,
|
| 10 |
+
-19.72547729149686,
|
| 11 |
+
17.647453766931985
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
-23.46437698991584,
|
| 15 |
+
-19.731841700666294,
|
| 16 |
+
17.6467169916495
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
]
|
| 25 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_handle/info.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_keypoints": {
|
| 3 |
+
"articulated_object_head": [
|
| 4 |
+
17.931136041201366,
|
| 5 |
+
-23.183738059472006,
|
| 6 |
+
0.4315017545218185
|
| 7 |
+
],
|
| 8 |
+
"articulated_object_tail": [
|
| 9 |
+
14.7523232050644,
|
| 10 |
+
-23.140977108318804,
|
| 11 |
+
0.408862075648183
|
| 12 |
+
],
|
| 13 |
+
"base_object_contact_point": [
|
| 14 |
+
17.696897098676303,
|
| 15 |
+
-23.183735747544105,
|
| 16 |
+
0.5223656868082893
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"object_scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
],
|
| 25 |
+
"object_name": "microwave_0013",
|
| 26 |
+
"object_usd": "assets/WAIC/task_11/microwave/microwave_0013/instance.usd",
|
| 27 |
+
"object_link_path": "/microwave_0013/instance/contact_link",
|
| 28 |
+
"object_base_path": "/microwave_0013/instance/base",
|
| 29 |
+
"object_prim_path": "/microwave_0013",
|
| 30 |
+
"object_revolute_joint_path": "/microwave_0013/instance/contact_link_revolute",
|
| 31 |
+
"object_link0_rot_axis": "-x",
|
| 32 |
+
"object_link0_contact_axis": "-z",
|
| 33 |
+
"object_base_front_axis": "-y",
|
| 34 |
+
"joint_index": 1
|
| 35 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_handle/keypoints.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
12.754765238834064,
|
| 5 |
+
-16.709339994913048,
|
| 6 |
+
0.3764765736488249
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
12.923589363433628,
|
| 10 |
+
-16.709341661199616,
|
| 11 |
+
0.3109877883060723
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
10.632508774776788,
|
| 15 |
+
-16.678522361608938,
|
| 16 |
+
0.2946705870505735
|
| 17 |
+
]
|
| 18 |
+
}
|
| 19 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_handle/keypoints_final.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
17.696897098676303,
|
| 5 |
+
-23.183735747544105,
|
| 6 |
+
0.5223656868082893
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
17.931136041201366,
|
| 10 |
+
-23.183738059472006,
|
| 11 |
+
0.4315017545218185
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
14.7523232050644,
|
| 15 |
+
-23.140977108318804,
|
| 16 |
+
0.408862075648183
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
]
|
| 25 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_inner/info.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_keypoints": {
|
| 3 |
+
"articulated_object_head": [
|
| 4 |
+
13.940742050097153,
|
| 5 |
+
-17.846765417117332,
|
| 6 |
+
17.86629638485141
|
| 7 |
+
],
|
| 8 |
+
"articulated_object_tail": [
|
| 9 |
+
14.022000906906461,
|
| 10 |
+
-19.18759232585853,
|
| 11 |
+
17.710149219118374
|
| 12 |
+
],
|
| 13 |
+
"base_object_contact_point": [
|
| 14 |
+
14.134583582301698,
|
| 15 |
+
-18.026701176034205,
|
| 16 |
+
17.845341809293803
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"object_scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
],
|
| 25 |
+
"object_name": "microwave_0013",
|
| 26 |
+
"object_usd": "assets/WAIC/task_11/microwave/microwave_0013/instance.usd",
|
| 27 |
+
"object_link_path": "/microwave_0013/instance/contact_link",
|
| 28 |
+
"object_base_path": "/microwave_0013/instance/base",
|
| 29 |
+
"object_prim_path": "/microwave_0013",
|
| 30 |
+
"object_revolute_joint_path": "/microwave_0013/instance/contact_link_revolute",
|
| 31 |
+
"object_link0_rot_axis": "-x",
|
| 32 |
+
"object_link0_contact_axis": "-z",
|
| 33 |
+
"object_base_front_axis": "-y",
|
| 34 |
+
"joint_index": 1
|
| 35 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_inner/keypoints.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
10.187282417796379,
|
| 5 |
+
-12.992486436407571,
|
| 6 |
+
12.86174587947654
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
10.047574106989057,
|
| 10 |
+
-12.862800498382777,
|
| 11 |
+
12.876848568366498
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
10.106140181523502,
|
| 15 |
+
-13.829180924573226,
|
| 16 |
+
12.764307893961934
|
| 17 |
+
]
|
| 18 |
+
}
|
| 19 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Kps/open_v_inner/keypoints_final.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
14.134583582301698,
|
| 5 |
+
-18.026701176034205,
|
| 6 |
+
17.845341809293803
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
13.940742050097153,
|
| 10 |
+
-17.846765417117332,
|
| 11 |
+
17.86629638485141
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
14.022000906906461,
|
| 15 |
+
-19.18759232585853,
|
| 16 |
+
17.710149219118374
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
]
|
| 25 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/DayMaterial.mdl
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mdl 1.6;
|
| 2 |
+
|
| 3 |
+
import ::math::*;
|
| 4 |
+
import ::state::*;
|
| 5 |
+
import ::tex::*;
|
| 6 |
+
import ::anno::*;
|
| 7 |
+
using .::OmniUe4Function import *;
|
| 8 |
+
using .::OmniUe4Translucent import *;
|
| 9 |
+
|
| 10 |
+
export annotation sampler_color();
|
| 11 |
+
export annotation sampler_normal();
|
| 12 |
+
export annotation sampler_grayscale();
|
| 13 |
+
export annotation sampler_alpha();
|
| 14 |
+
export annotation sampler_masks();
|
| 15 |
+
export annotation sampler_distancefield();
|
| 16 |
+
export annotation dither_masked_off();
|
| 17 |
+
export annotation world_space_normal();
|
| 18 |
+
|
| 19 |
+
export material DayMaterial(
|
| 20 |
+
float Flat = 1.0
|
| 21 |
+
[[
|
| 22 |
+
anno::display_name("Flat"),
|
| 23 |
+
anno::ui_order(32)
|
| 24 |
+
]],
|
| 25 |
+
uniform texture_2d img = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 26 |
+
[[
|
| 27 |
+
anno::display_name("img"),
|
| 28 |
+
anno::ui_order(32),
|
| 29 |
+
sampler_color()
|
| 30 |
+
]],
|
| 31 |
+
int MaxTexCoordIndex = 3
|
| 32 |
+
[[
|
| 33 |
+
anno::hidden()
|
| 34 |
+
]])
|
| 35 |
+
=
|
| 36 |
+
let {
|
| 37 |
+
float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0);
|
| 38 |
+
float2 CustomizedUV0_mdl = float2(state::texture_coordinate(math::min(0,MaxTexCoordIndex)).x,1.0-state::texture_coordinate(math::min(0,MaxTexCoordIndex)).y);
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
float3 Normal_mdl = float3(0.0,0.0,1.0);
|
| 42 |
+
|
| 43 |
+
float4 Local0 = tex::lookup_float4(img,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 44 |
+
float3 Local1 = (Flat * float3(Local0.x,Local0.y,Local0.z));
|
| 45 |
+
|
| 46 |
+
float3 EmissiveColor_mdl = Local1;
|
| 47 |
+
float Opacity_mdl = Local0.w;
|
| 48 |
+
float OpacityMask_mdl = (math::saturate(Local0.w) - 1.0f / 255.0f) < 0.0f ? 0.0f : 1.0f;
|
| 49 |
+
float3 BaseColor_mdl = float3(0.0,0.0,0.0);
|
| 50 |
+
float Metallic_mdl = 0.0;
|
| 51 |
+
float Specular_mdl = 0.5;
|
| 52 |
+
float Roughness_mdl = 0.5;
|
| 53 |
+
float2 Refraction_mdl = float2(float2(1.0,0.0).x,float2(1.0,0.0).x);
|
| 54 |
+
|
| 55 |
+
} in
|
| 56 |
+
::OmniUe4Translucent(
|
| 57 |
+
base_color: BaseColor_mdl,
|
| 58 |
+
metallic: Metallic_mdl,
|
| 59 |
+
roughness: Roughness_mdl,
|
| 60 |
+
specular: Specular_mdl,
|
| 61 |
+
normal: Normal_mdl,
|
| 62 |
+
opacity: Opacity_mdl,
|
| 63 |
+
opacity_mask: OpacityMask_mdl,
|
| 64 |
+
emissive_color: EmissiveColor_mdl,
|
| 65 |
+
displacement: WorldPositionOffset_mdl,
|
| 66 |
+
refraction: Refraction_mdl.x,
|
| 67 |
+
two_sided: false);
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/KooPbr.mdl
ADDED
|
@@ -0,0 +1,462 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// auto generated by pbrjson2mdl
|
| 2 |
+
// version = cc4b850
|
| 3 |
+
mdl 1.6;
|
| 4 |
+
|
| 5 |
+
import ::anno::*;
|
| 6 |
+
import ::df::*;
|
| 7 |
+
import ::df::color_weighted_layer;
|
| 8 |
+
import ::math::*;
|
| 9 |
+
import ::state::*;
|
| 10 |
+
|
| 11 |
+
export material KooMtl2Sided(
|
| 12 |
+
material frontMtl = material() [[
|
| 13 |
+
anno::in_group("Parameters"),
|
| 14 |
+
anno::display_name("Front material")
|
| 15 |
+
]],
|
| 16 |
+
material backMtl = frontMtl [[
|
| 17 |
+
anno::in_group("Parameters"),
|
| 18 |
+
anno::display_name("Back material")
|
| 19 |
+
]],
|
| 20 |
+
uniform bool use_backMtl = false [[
|
| 21 |
+
anno::in_group("Parameters"),
|
| 22 |
+
anno::display_name("Use back material")
|
| 23 |
+
]],
|
| 24 |
+
color translucency = color(0.5f, 0.5f, 0.5f) [[
|
| 25 |
+
anno::in_group("Basic parameters"),
|
| 26 |
+
anno::display_name("Translucency")
|
| 27 |
+
]],
|
| 28 |
+
color front_tint = color(1.f, 1.f, 1.f) [[
|
| 29 |
+
anno::in_group("Parameters"),
|
| 30 |
+
anno::display_name("Front tint"),
|
| 31 |
+
anno::hidden()
|
| 32 |
+
]],
|
| 33 |
+
color back_tint = color(1.f, 1.f, 1.f) [[
|
| 34 |
+
anno::in_group("Parameters"),
|
| 35 |
+
anno::display_name("Back tint"),
|
| 36 |
+
anno::hidden()
|
| 37 |
+
]],
|
| 38 |
+
uniform bool multiply_by_front_diffuse = false [[
|
| 39 |
+
anno::in_group("Basic parameters"),
|
| 40 |
+
anno::display_name("Multiply by front diffuse"),
|
| 41 |
+
anno::unused(),
|
| 42 |
+
anno::hidden()
|
| 43 |
+
]])
|
| 44 |
+
[[
|
| 45 |
+
anno::author("KooLab")
|
| 46 |
+
]]
|
| 47 |
+
=
|
| 48 |
+
let {
|
| 49 |
+
bsdf transmission_bsdf =
|
| 50 |
+
df::diffuse_transmission_bsdf(tint: (front_tint + back_tint)*0.5f);
|
| 51 |
+
|
| 52 |
+
bsdf front_bsdf =
|
| 53 |
+
df::color_weighted_layer
|
| 54 |
+
(
|
| 55 |
+
weight : translucency,
|
| 56 |
+
layer : transmission_bsdf,
|
| 57 |
+
base : frontMtl.surface.scattering
|
| 58 |
+
);
|
| 59 |
+
|
| 60 |
+
bsdf back_bsdf =
|
| 61 |
+
df::color_weighted_layer
|
| 62 |
+
(
|
| 63 |
+
weight : translucency,
|
| 64 |
+
layer : transmission_bsdf,
|
| 65 |
+
base : backMtl.surface.scattering
|
| 66 |
+
);
|
| 67 |
+
} in
|
| 68 |
+
material(
|
| 69 |
+
thin_walled: true,
|
| 70 |
+
ior: frontMtl.ior,
|
| 71 |
+
surface: material_surface(scattering: front_bsdf),
|
| 72 |
+
backface: material_surface(scattering: use_backMtl ? back_bsdf : front_bsdf),
|
| 73 |
+
volume: frontMtl.volume,
|
| 74 |
+
geometry: frontMtl.geometry
|
| 75 |
+
);
|
| 76 |
+
|
| 77 |
+
float emissive_multiplier() uniform
|
| 78 |
+
[[
|
| 79 |
+
anno::description("unit conversion from pbrjson emission to mdl"),
|
| 80 |
+
anno::noinline()
|
| 81 |
+
]]
|
| 82 |
+
{
|
| 83 |
+
return 2560.f;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
export material KooLightMtl(
|
| 87 |
+
color emission = color(1.f, 1.f, 1.f) [[
|
| 88 |
+
anno::in_group("Parameters"),
|
| 89 |
+
anno::display_name("Emission")
|
| 90 |
+
]],
|
| 91 |
+
uniform float emission_mult = 1.f [[
|
| 92 |
+
anno::in_group("Parameters"),
|
| 93 |
+
anno::display_name("Mutliplier")
|
| 94 |
+
]],
|
| 95 |
+
color opacity = color(1.f, 1.f, 1.f) [[
|
| 96 |
+
anno::in_group("Parameters"),
|
| 97 |
+
anno::display_name("Opacity")
|
| 98 |
+
]],
|
| 99 |
+
uniform bool emit_on_backside = false [[
|
| 100 |
+
anno::in_group("Parameters"),
|
| 101 |
+
anno::display_name("Emit light on back side")
|
| 102 |
+
]])
|
| 103 |
+
[[
|
| 104 |
+
anno::author("KooLab")
|
| 105 |
+
]]
|
| 106 |
+
=
|
| 107 |
+
let {
|
| 108 |
+
color emission_color = (emission*opacity)*emission_mult * emissive_multiplier();
|
| 109 |
+
|
| 110 |
+
bsdf surface_bsdf =
|
| 111 |
+
df::simple_glossy_bsdf
|
| 112 |
+
(
|
| 113 |
+
mode: df::scatter_transmit,
|
| 114 |
+
tint: color(1.f) - opacity,
|
| 115 |
+
roughness_u: 0
|
| 116 |
+
);
|
| 117 |
+
|
| 118 |
+
material_surface emit_surface = material_surface(
|
| 119 |
+
scattering: surface_bsdf,
|
| 120 |
+
emission: material_emission(
|
| 121 |
+
emission: df::diffuse_edf(),
|
| 122 |
+
intensity: emission_color)
|
| 123 |
+
);
|
| 124 |
+
} in
|
| 125 |
+
material(
|
| 126 |
+
thin_walled: emit_on_backside,
|
| 127 |
+
ior: color(1.f),
|
| 128 |
+
surface: emit_surface,
|
| 129 |
+
backface: emit_on_backside ? emit_surface : material_surface()
|
| 130 |
+
);
|
| 131 |
+
|
| 132 |
+
export material KooMtl(
|
| 133 |
+
color diffuse = color(0.5f, 0.5f, 0.5f) [[
|
| 134 |
+
anno::in_group("Diffuse Parameters"),
|
| 135 |
+
anno::display_name("diffuse")
|
| 136 |
+
]],
|
| 137 |
+
color reflect = color(0.f, 0.f, 0.f) [[
|
| 138 |
+
anno::in_group("Reflections"),
|
| 139 |
+
anno::display_name("reflect")
|
| 140 |
+
]],
|
| 141 |
+
float reflect_glossiness = 1.f [[
|
| 142 |
+
anno::in_group("Reflections"),
|
| 143 |
+
anno::display_name("Glossiness"),
|
| 144 |
+
anno::hard_range(0.f, 1.f)
|
| 145 |
+
]],
|
| 146 |
+
uniform bool fresnel = true [[
|
| 147 |
+
anno::in_group("Reflections"),
|
| 148 |
+
anno::display_name("Fresnel reflections")
|
| 149 |
+
]],
|
| 150 |
+
float fresnel_ior = 1.6f [[
|
| 151 |
+
anno::in_group("Reflections"),
|
| 152 |
+
anno::display_name("Fresnel IOR"),
|
| 153 |
+
anno::hard_range(0.2f, 5.f)
|
| 154 |
+
]],
|
| 155 |
+
uniform bool fresnel_ior_lock = true [[
|
| 156 |
+
anno::in_group("Reflections"),
|
| 157 |
+
anno::display_name("Lock IOR")
|
| 158 |
+
]],
|
| 159 |
+
uniform bool invert_reflection_ior = false [[
|
| 160 |
+
anno::in_group("Reflections"),
|
| 161 |
+
anno::hidden()
|
| 162 |
+
]],
|
| 163 |
+
float reflection_metalness = 0.f [[
|
| 164 |
+
anno::in_group("Reflections"),
|
| 165 |
+
anno::display_name("Metalness"),
|
| 166 |
+
anno::hard_range(0.f, 1.f)
|
| 167 |
+
]],
|
| 168 |
+
uniform float refract_ior = 1.6f [[
|
| 169 |
+
anno::in_group("Refractions"),
|
| 170 |
+
anno::display_name("IOR"),
|
| 171 |
+
anno::soft_range(0.2f, 5.f),
|
| 172 |
+
anno::hard_range(1.0e-06f, 100.f)
|
| 173 |
+
]],
|
| 174 |
+
uniform bool invert_refraction_ior = false [[
|
| 175 |
+
anno::in_group("Refractions"),
|
| 176 |
+
anno::hidden()
|
| 177 |
+
]],
|
| 178 |
+
color self_illumination = color(0.f, 0.f, 0.f) [[
|
| 179 |
+
anno::in_group("Self-Illumination"),
|
| 180 |
+
anno::display_name("Self-illumination")
|
| 181 |
+
]],
|
| 182 |
+
uniform float self_illumination_multiplier = 1.f [[
|
| 183 |
+
anno::in_group("Self-Illumination"),
|
| 184 |
+
anno::display_name("Self-Illumination Intensity")
|
| 185 |
+
]],
|
| 186 |
+
float anisotropy = 0.f [[
|
| 187 |
+
anno::in_group("BRDF"),
|
| 188 |
+
anno::display_name("Anisotropy"),
|
| 189 |
+
anno::hard_range(-1.f, 1.f),
|
| 190 |
+
anno::unused(),
|
| 191 |
+
anno::hidden()
|
| 192 |
+
]],
|
| 193 |
+
float anisotropy_rotation = 0.f [[
|
| 194 |
+
anno::in_group("BRDF"),
|
| 195 |
+
anno::display_name("Rotation"),
|
| 196 |
+
anno::hard_range(-10000.f, 10000.f),
|
| 197 |
+
anno::unused(),
|
| 198 |
+
anno::hidden()
|
| 199 |
+
]],
|
| 200 |
+
float3 texmap_bump = state::normal() [[
|
| 201 |
+
anno::in_group("Maps"),
|
| 202 |
+
anno::display_name("Bump Map")
|
| 203 |
+
]],
|
| 204 |
+
float opacity = 1.f [[
|
| 205 |
+
anno::in_group("Maps"),
|
| 206 |
+
anno::display_name("Opacity Map")
|
| 207 |
+
]],
|
| 208 |
+
uniform bool thin_walled = false [[
|
| 209 |
+
anno::in_group("Options"),
|
| 210 |
+
anno::hidden()
|
| 211 |
+
]])
|
| 212 |
+
[[
|
| 213 |
+
anno::author("KooLab")
|
| 214 |
+
]]
|
| 215 |
+
=
|
| 216 |
+
let {
|
| 217 |
+
float reflection_roughness = math::pow((1.f - reflect_glossiness), 2.f);
|
| 218 |
+
|
| 219 |
+
float refl_ior = invert_reflection_ior ? 1.f/(fresnel_ior + 0.01f) : fresnel_ior;
|
| 220 |
+
float refr_ior = invert_refraction_ior ? 1.f/(refract_ior + 0.01f) : refract_ior;
|
| 221 |
+
|
| 222 |
+
float ior = fresnel_ior_lock ? refr_ior : refl_ior;
|
| 223 |
+
float R0 = math::pow((1.f - ior)/(1.f + ior), 2.f);
|
| 224 |
+
|
| 225 |
+
bsdf diffuse_bsdf =
|
| 226 |
+
df::weighted_layer
|
| 227 |
+
(
|
| 228 |
+
weight : 1.f,
|
| 229 |
+
layer : df::diffuse_reflection_bsdf
|
| 230 |
+
(
|
| 231 |
+
tint : diffuse,
|
| 232 |
+
roughness : 0.0f
|
| 233 |
+
),
|
| 234 |
+
normal : texmap_bump
|
| 235 |
+
);
|
| 236 |
+
|
| 237 |
+
bsdf glossy_reflection_bsdf =
|
| 238 |
+
df::simple_glossy_bsdf(
|
| 239 |
+
mode: df::scatter_reflect,
|
| 240 |
+
tint: fresnel ? reflect : color(1.f),
|
| 241 |
+
roughness_u: reflection_roughness
|
| 242 |
+
);
|
| 243 |
+
|
| 244 |
+
bsdf diffuse_glossy_reflection_bsdf =
|
| 245 |
+
df::simple_glossy_bsdf(
|
| 246 |
+
mode: df::scatter_reflect,
|
| 247 |
+
tint: diffuse,
|
| 248 |
+
roughness_u: reflection_roughness
|
| 249 |
+
);
|
| 250 |
+
|
| 251 |
+
bsdf surface_bsdf =
|
| 252 |
+
df::color_custom_curve_layer
|
| 253 |
+
(
|
| 254 |
+
normal_reflectivity : fresnel ? color(R0) : reflect,
|
| 255 |
+
grazing_reflectivity: fresnel ? color(1.f) : reflect,
|
| 256 |
+
layer : glossy_reflection_bsdf,
|
| 257 |
+
base :
|
| 258 |
+
df::weighted_layer
|
| 259 |
+
(
|
| 260 |
+
weight : reflection_metalness,
|
| 261 |
+
layer : diffuse_glossy_reflection_bsdf,
|
| 262 |
+
base : diffuse_bsdf,
|
| 263 |
+
normal : texmap_bump
|
| 264 |
+
),
|
| 265 |
+
normal : texmap_bump
|
| 266 |
+
);
|
| 267 |
+
} in
|
| 268 |
+
material
|
| 269 |
+
(
|
| 270 |
+
ior : color(refr_ior),
|
| 271 |
+
thin_walled : thin_walled,
|
| 272 |
+
surface : material_surface
|
| 273 |
+
(
|
| 274 |
+
scattering : surface_bsdf,
|
| 275 |
+
emission : material_emission
|
| 276 |
+
(
|
| 277 |
+
emission : df::diffuse_edf(),
|
| 278 |
+
intensity : self_illumination*self_illumination_multiplier
|
| 279 |
+
)
|
| 280 |
+
),
|
| 281 |
+
geometry : material_geometry
|
| 282 |
+
(
|
| 283 |
+
cutout_opacity: opacity
|
| 284 |
+
)
|
| 285 |
+
);
|
| 286 |
+
|
| 287 |
+
export material KooTranslucentMtl(
|
| 288 |
+
color diffuse = color(0.5f, 0.5f, 0.5f) [[
|
| 289 |
+
anno::in_group("Diffuse Parameters"),
|
| 290 |
+
anno::display_name("Diffuse")
|
| 291 |
+
]],
|
| 292 |
+
color reflect = color(0.f, 0.f, 0.f) [[
|
| 293 |
+
anno::in_group("Reflections"),
|
| 294 |
+
anno::display_name("Reflect")
|
| 295 |
+
]],
|
| 296 |
+
float reflect_glossiness = 1.f [[
|
| 297 |
+
anno::in_group("Reflections"),
|
| 298 |
+
anno::display_name("Glossiness"),
|
| 299 |
+
anno::hard_range(0.f, 1.f)
|
| 300 |
+
]],
|
| 301 |
+
uniform bool fresnel = true [[
|
| 302 |
+
anno::in_group("Reflections"),
|
| 303 |
+
anno::display_name("Fresnel reflections")
|
| 304 |
+
]],
|
| 305 |
+
float fresnel_ior = 1.6f [[
|
| 306 |
+
anno::in_group("Reflections"),
|
| 307 |
+
anno::display_name("Fresnel IOR"),
|
| 308 |
+
anno::soft_range(0.2, 5.f),
|
| 309 |
+
anno::hard_range(1.0e-06f, 100.f)
|
| 310 |
+
]],
|
| 311 |
+
uniform bool fresnel_ior_lock = true [[
|
| 312 |
+
anno::in_group("Reflections"),
|
| 313 |
+
anno::display_name("Lock IOR")
|
| 314 |
+
]],
|
| 315 |
+
uniform bool invert_reflection_ior = false [[
|
| 316 |
+
anno::in_group("Reflections"),
|
| 317 |
+
anno::hidden()
|
| 318 |
+
]],
|
| 319 |
+
float reflection_metalness = 0.f [[
|
| 320 |
+
anno::in_group("Reflections"),
|
| 321 |
+
anno::display_name("Metalness"),
|
| 322 |
+
anno::hard_range(0.f, 1.f)
|
| 323 |
+
]],
|
| 324 |
+
color refract = color(0.f, 0.f, 0.f) [[
|
| 325 |
+
anno::in_group("Refractions"),
|
| 326 |
+
anno::display_name("Refract")
|
| 327 |
+
]],
|
| 328 |
+
float refract_glossiness = 1.f [[
|
| 329 |
+
anno::in_group("Refractions"),
|
| 330 |
+
anno::display_name("Glossiness"),
|
| 331 |
+
anno::hard_range(0.f, 1.f)
|
| 332 |
+
]],
|
| 333 |
+
uniform float refract_ior = 1.6f [[
|
| 334 |
+
anno::in_group("Refractions"),
|
| 335 |
+
anno::display_name("IOR"),
|
| 336 |
+
anno::soft_range(0.2f, 5.f),
|
| 337 |
+
anno::hard_range(1.0e-06f, 100.f)
|
| 338 |
+
]],
|
| 339 |
+
uniform bool invert_refraction_ior = false [[
|
| 340 |
+
anno::in_group("Refractions"),
|
| 341 |
+
anno::hidden()
|
| 342 |
+
]],
|
| 343 |
+
color self_illumination = color(0.f, 0.f, 0.f) [[
|
| 344 |
+
anno::in_group("Self-Illumination"),
|
| 345 |
+
anno::display_name("Self-illumination")
|
| 346 |
+
]],
|
| 347 |
+
uniform float self_illumination_multiplier = 1.f [[
|
| 348 |
+
anno::in_group("Self-Illumination"),
|
| 349 |
+
anno::display_name("Multiplier")
|
| 350 |
+
]],
|
| 351 |
+
float anisotropy = 0.f [[
|
| 352 |
+
anno::in_group("BRDF"),
|
| 353 |
+
anno::display_name("Anisotropy"),
|
| 354 |
+
anno::hard_range(-1.f, 1.f),
|
| 355 |
+
anno::unused(),
|
| 356 |
+
anno::hidden()
|
| 357 |
+
]],
|
| 358 |
+
float anisotropy_rotation = 0.f [[
|
| 359 |
+
anno::in_group("BRDF"),
|
| 360 |
+
anno::display_name("Rotation"),
|
| 361 |
+
anno::hard_range(-10000.f, 10000.f),
|
| 362 |
+
anno::unused(),
|
| 363 |
+
anno::hidden()
|
| 364 |
+
]],
|
| 365 |
+
float3 texmap_bump = state::normal() [[
|
| 366 |
+
anno::in_group("Maps"),
|
| 367 |
+
anno::display_name("Bump Map")
|
| 368 |
+
]],
|
| 369 |
+
float texmap_opacity = 1.f [[
|
| 370 |
+
anno::in_group("Maps"),
|
| 371 |
+
anno::display_name("Opacity Map")
|
| 372 |
+
]],
|
| 373 |
+
uniform bool thin_walled = false [[
|
| 374 |
+
anno::in_group("Options"),
|
| 375 |
+
anno::hidden()
|
| 376 |
+
]])
|
| 377 |
+
[[
|
| 378 |
+
anno::author("KooLab")
|
| 379 |
+
]]
|
| 380 |
+
=
|
| 381 |
+
let {
|
| 382 |
+
float reflection_roughness = math::pow((1.f - reflect_glossiness), 2.f);
|
| 383 |
+
|
| 384 |
+
float refraction_roughness = math::pow((1.f - refract_glossiness), 2.f);
|
| 385 |
+
|
| 386 |
+
float refl_ior = invert_reflection_ior ? 1.f/(fresnel_ior + 0.01f) : fresnel_ior;
|
| 387 |
+
float refr_ior = invert_refraction_ior ? 1.f/(refract_ior + 0.01f) : refract_ior;
|
| 388 |
+
|
| 389 |
+
float ior = fresnel_ior_lock ? refr_ior : refl_ior;
|
| 390 |
+
float R0 = math::pow((1.f - ior)/(1.f + ior), 2.f);
|
| 391 |
+
|
| 392 |
+
bsdf diffuse_bsdf =
|
| 393 |
+
df::weighted_layer
|
| 394 |
+
(
|
| 395 |
+
weight : 1.f,
|
| 396 |
+
layer : df::diffuse_reflection_bsdf
|
| 397 |
+
(
|
| 398 |
+
tint : diffuse,
|
| 399 |
+
roughness : 0.f
|
| 400 |
+
),
|
| 401 |
+
normal : texmap_bump
|
| 402 |
+
);
|
| 403 |
+
|
| 404 |
+
bsdf glossy_transmission_bsdf =
|
| 405 |
+
df::simple_glossy_bsdf(
|
| 406 |
+
mode: df::scatter_transmit,
|
| 407 |
+
tint: color(1.f),
|
| 408 |
+
roughness_u: refraction_roughness
|
| 409 |
+
);
|
| 410 |
+
|
| 411 |
+
bsdf glossy_reflection_bsdf =
|
| 412 |
+
df::simple_glossy_bsdf(
|
| 413 |
+
mode: df::scatter_reflect,
|
| 414 |
+
tint: fresnel ? reflect : color(1.f),
|
| 415 |
+
roughness_u: reflection_roughness
|
| 416 |
+
);
|
| 417 |
+
|
| 418 |
+
bsdf diffuse_glossy_reflection_bsdf =
|
| 419 |
+
df::simple_glossy_bsdf(
|
| 420 |
+
mode: df::scatter_reflect,
|
| 421 |
+
tint: diffuse,
|
| 422 |
+
roughness_u: reflection_roughness
|
| 423 |
+
);
|
| 424 |
+
|
| 425 |
+
bsdf surface_bsdf =
|
| 426 |
+
df::color_custom_curve_layer
|
| 427 |
+
(
|
| 428 |
+
normal_reflectivity : fresnel ? color(R0) : reflect,
|
| 429 |
+
grazing_reflectivity: fresnel ? color(1.f) : reflect,
|
| 430 |
+
layer : glossy_reflection_bsdf,
|
| 431 |
+
base :
|
| 432 |
+
df::weighted_layer
|
| 433 |
+
(
|
| 434 |
+
weight : reflection_metalness,
|
| 435 |
+
layer : diffuse_glossy_reflection_bsdf,
|
| 436 |
+
base :
|
| 437 |
+
df::color_weighted_layer
|
| 438 |
+
(
|
| 439 |
+
weight : refract,
|
| 440 |
+
layer : glossy_transmission_bsdf,
|
| 441 |
+
base : diffuse_bsdf,
|
| 442 |
+
normal : texmap_bump
|
| 443 |
+
),
|
| 444 |
+
normal : texmap_bump
|
| 445 |
+
),
|
| 446 |
+
normal : texmap_bump
|
| 447 |
+
);
|
| 448 |
+
} in
|
| 449 |
+
material(
|
| 450 |
+
thin_walled : thin_walled,
|
| 451 |
+
ior : color(refr_ior),
|
| 452 |
+
surface : material_surface
|
| 453 |
+
(
|
| 454 |
+
scattering : surface_bsdf,
|
| 455 |
+
emission : material_emission
|
| 456 |
+
(
|
| 457 |
+
emission : df::diffuse_edf(),
|
| 458 |
+
intensity : self_illumination*self_illumination_multiplier
|
| 459 |
+
)
|
| 460 |
+
),
|
| 461 |
+
geometry : material_geometry(cutout_opacity: texmap_opacity)
|
| 462 |
+
);
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/KooPbr_maps.mdl
ADDED
|
@@ -0,0 +1,515 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// auto generated by pbrjson2mdl
|
| 2 |
+
// version = cc4b850
|
| 3 |
+
mdl 1.6;
|
| 4 |
+
|
| 5 |
+
import ::anno::*;
|
| 6 |
+
import ::base::*;
|
| 7 |
+
import ::math::*;
|
| 8 |
+
import ::state::*;
|
| 9 |
+
import ::tex::*;
|
| 10 |
+
export using ::base import texture_return;
|
| 11 |
+
|
| 12 |
+
uniform float4x4 rotation_translation_scale_2_matrix(
|
| 13 |
+
uniform float3 rotation = float3(0.f) [[
|
| 14 |
+
anno::description("Rotation applied to every UVW coordinate")
|
| 15 |
+
]],
|
| 16 |
+
uniform float3 translation = float3(0.f) [[
|
| 17 |
+
anno::description("Offset applied to every UVW coordinate")
|
| 18 |
+
]],
|
| 19 |
+
uniform float3 scaling = float3(1.f) [[
|
| 20 |
+
anno::description("Scale applied to every UVW coordinate")
|
| 21 |
+
]],
|
| 22 |
+
uniform bool u_mirror = false [[
|
| 23 |
+
anno::description("Mirror repeat has twice the number of textures in the same space")
|
| 24 |
+
]],
|
| 25 |
+
uniform bool v_mirror = false [[
|
| 26 |
+
anno::description("Mirror repeat has twice the number of textures in the same space")
|
| 27 |
+
]]) uniform
|
| 28 |
+
[[
|
| 29 |
+
anno::description("Construct transformation matrix from Euler rotation, translation and scale")
|
| 30 |
+
]]
|
| 31 |
+
{
|
| 32 |
+
float4x4 scale =
|
| 33 |
+
float4x4(u_mirror?scaling.x*2.:scaling.x , 0. , 0. , 0.,
|
| 34 |
+
0. , v_mirror?scaling.y*2.:scaling.y , 0. , 0.,
|
| 35 |
+
0. , 0. , scaling.z , 0.,
|
| 36 |
+
u_mirror?1.:.5 , v_mirror?1.:.5 , .5 , 1.);
|
| 37 |
+
|
| 38 |
+
float4x4 translate =
|
| 39 |
+
float4x4(1. , 0. , 0. , 0.,
|
| 40 |
+
0. , 1. , 0. , 0.,
|
| 41 |
+
0. , 0. , 1. , 0.,
|
| 42 |
+
-0.5-translation.x, -0.5-translation.y, -0.5-translation.z, 1.);
|
| 43 |
+
|
| 44 |
+
float3 s = math::sin(rotation);
|
| 45 |
+
float3 c = math::cos(rotation);
|
| 46 |
+
float4x4 rotate =
|
| 47 |
+
float4x4( c.y*c.z , c.y*s.z , -s.y , 0.0,
|
| 48 |
+
-c.x*s.z + s.x*s.y*c.z, c.x*c.z + s.x*s.y*s.z , s.x*c.y , 0.0,
|
| 49 |
+
s.x*s.z + c.x*s.y*c.z , -s.x*c.z + c.x*s.y*s.z, c.x*c.y , 0.0,
|
| 50 |
+
0. , 0. , 0. , 1.);
|
| 51 |
+
return scale * rotate * translate;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
export enum KooPbr_mono_output [[
|
| 55 |
+
anno::hidden()
|
| 56 |
+
]] {
|
| 57 |
+
mono_output_rgb_intensity,
|
| 58 |
+
mono_output_alpha
|
| 59 |
+
};
|
| 60 |
+
|
| 61 |
+
export enum KooPbr_rgb_output [[
|
| 62 |
+
anno::hidden()
|
| 63 |
+
]] {
|
| 64 |
+
rgb_output_rgb,
|
| 65 |
+
rgb_output_alpha
|
| 66 |
+
};
|
| 67 |
+
|
| 68 |
+
export enum KooPbr_alpha_source [[
|
| 69 |
+
anno::hidden()
|
| 70 |
+
]] {
|
| 71 |
+
alpha_source_alpha,
|
| 72 |
+
alpha_source_rgb_intensity,
|
| 73 |
+
alpha_source_none
|
| 74 |
+
};
|
| 75 |
+
|
| 76 |
+
export ::texture_return KooPbr_bitmap(
|
| 77 |
+
uniform int mapChannel = 1 [[
|
| 78 |
+
anno::in_group("Coordinates"),
|
| 79 |
+
anno::display_name("Map channel")
|
| 80 |
+
]],
|
| 81 |
+
uniform float U_Offset = 0.f [[
|
| 82 |
+
anno::in_group("Coordinates"),
|
| 83 |
+
anno::display_name("U Offset")
|
| 84 |
+
]],
|
| 85 |
+
uniform float V_Offset = 0.f [[
|
| 86 |
+
anno::in_group("Coordinates"),
|
| 87 |
+
anno::display_name("V Offset")
|
| 88 |
+
]],
|
| 89 |
+
uniform float U_Tiling = 1.f [[
|
| 90 |
+
anno::in_group("Coordinates"),
|
| 91 |
+
anno::display_name("U Tiling")
|
| 92 |
+
]],
|
| 93 |
+
uniform float V_Tiling = 1.f [[
|
| 94 |
+
anno::in_group("Coordinates"),
|
| 95 |
+
anno::display_name("V Tiling")
|
| 96 |
+
]],
|
| 97 |
+
uniform bool U_Tile = true [[
|
| 98 |
+
anno::in_group("Coordinates"),
|
| 99 |
+
anno::display_name("U Tile")
|
| 100 |
+
]],
|
| 101 |
+
uniform bool U_Mirror = false [[
|
| 102 |
+
anno::in_group("Coordinates"),
|
| 103 |
+
anno::display_name("U Mirror")
|
| 104 |
+
]],
|
| 105 |
+
uniform bool V_Tile = true [[
|
| 106 |
+
anno::in_group("Coordinates"),
|
| 107 |
+
anno::display_name("V Tile")
|
| 108 |
+
]],
|
| 109 |
+
uniform bool V_Mirror = false [[
|
| 110 |
+
anno::in_group("Coordinates"),
|
| 111 |
+
anno::display_name("V Mirror")
|
| 112 |
+
]],
|
| 113 |
+
uniform float U_angle = 0.f [[
|
| 114 |
+
anno::in_group("Coordinates"),
|
| 115 |
+
anno::display_name("U Angle")
|
| 116 |
+
]],
|
| 117 |
+
uniform float V_angle = 0.f [[
|
| 118 |
+
anno::in_group("Coordinates"),
|
| 119 |
+
anno::display_name("V Angle")
|
| 120 |
+
]],
|
| 121 |
+
uniform float W_angle = 0.f [[
|
| 122 |
+
anno::in_group("Coordinates"),
|
| 123 |
+
anno::display_name("W Angle")
|
| 124 |
+
]],
|
| 125 |
+
uniform int UVW_Type = 0 [[
|
| 126 |
+
anno::in_group("Coordinates"),
|
| 127 |
+
anno::display_name("UVW Type"),
|
| 128 |
+
anno::unused(),
|
| 129 |
+
anno::hidden()
|
| 130 |
+
]],
|
| 131 |
+
uniform texture_2d filename = texture_2d() [[
|
| 132 |
+
anno::in_group("Bitmap parameters"),
|
| 133 |
+
anno::display_name("Bitmap")
|
| 134 |
+
]],
|
| 135 |
+
uniform float clipu = 0.f [[
|
| 136 |
+
anno::in_group("Bitmap parameters"),
|
| 137 |
+
anno::display_name("U Clip"),
|
| 138 |
+
anno::hard_range(0.f, 1.f)
|
| 139 |
+
]],
|
| 140 |
+
uniform float clipw = 1.f [[
|
| 141 |
+
anno::in_group("Bitmap parameters"),
|
| 142 |
+
anno::display_name("W Clip"),
|
| 143 |
+
anno::hard_range(0.f, 1.f)
|
| 144 |
+
]],
|
| 145 |
+
uniform float clipv = 0.f [[
|
| 146 |
+
anno::in_group("Bitmap parameters"),
|
| 147 |
+
anno::display_name("V Clip"),
|
| 148 |
+
anno::hard_range(0.f, 1.f)
|
| 149 |
+
]],
|
| 150 |
+
uniform float cliph = 1.f [[
|
| 151 |
+
anno::in_group("Bitmap parameters"),
|
| 152 |
+
anno::display_name("H Clip"),
|
| 153 |
+
anno::hard_range(0.f, 1.f)
|
| 154 |
+
]],
|
| 155 |
+
uniform ::KooPbr_mono_output mono_output = ::mono_output_rgb_intensity [[
|
| 156 |
+
anno::in_group("Mono Output"),
|
| 157 |
+
anno::display_name("Mono Output")
|
| 158 |
+
]],
|
| 159 |
+
uniform ::KooPbr_rgb_output rgb_output = ::rgb_output_rgb [[
|
| 160 |
+
anno::in_group("RGB Output"),
|
| 161 |
+
anno::display_name("RGB Output")
|
| 162 |
+
]],
|
| 163 |
+
uniform ::KooPbr_alpha_source alpha_source = ::alpha_source_none [[
|
| 164 |
+
anno::in_group("Alpha Source"),
|
| 165 |
+
anno::display_name("Alpha Source")
|
| 166 |
+
]],
|
| 167 |
+
uniform float bump_amount = 1.f [[
|
| 168 |
+
anno::in_group("Output"),
|
| 169 |
+
anno::display_name("Bump amount"),
|
| 170 |
+
anno::unused(),
|
| 171 |
+
anno::hidden()
|
| 172 |
+
]],
|
| 173 |
+
uniform bool clamp = false [[
|
| 174 |
+
anno::in_group("Output"),
|
| 175 |
+
anno::display_name("Clamp"),
|
| 176 |
+
anno::unused(),
|
| 177 |
+
anno::hidden()
|
| 178 |
+
]],
|
| 179 |
+
uniform bool invert = false [[
|
| 180 |
+
anno::in_group("Output"),
|
| 181 |
+
anno::display_name("Invert")
|
| 182 |
+
]],
|
| 183 |
+
uniform bool alphaFromRGB = false [[
|
| 184 |
+
anno::in_group("Output"),
|
| 185 |
+
anno::display_name("Alpha from RGB intensity"),
|
| 186 |
+
anno::unused(),
|
| 187 |
+
anno::hidden()
|
| 188 |
+
]],
|
| 189 |
+
uniform float output_amount = 1.f [[
|
| 190 |
+
anno::in_group("Output"),
|
| 191 |
+
anno::display_name("Output amount")
|
| 192 |
+
]],
|
| 193 |
+
uniform float rgb_level = 1.f [[
|
| 194 |
+
anno::in_group("Output"),
|
| 195 |
+
anno::display_name("RGB level")
|
| 196 |
+
]],
|
| 197 |
+
uniform float rgb_offset = 0.f [[
|
| 198 |
+
anno::in_group("Output"),
|
| 199 |
+
anno::display_name("RGB Offset")
|
| 200 |
+
]]) varying
|
| 201 |
+
[[
|
| 202 |
+
anno::author("KooLab")
|
| 203 |
+
]]
|
| 204 |
+
{
|
| 205 |
+
texture_return result = base::file_texture
|
| 206 |
+
(
|
| 207 |
+
texture: filename,
|
| 208 |
+
mono_source: (alpha_source == alpha_source_alpha) ? base::mono_alpha : base::mono_average,
|
| 209 |
+
crop_u: float2(clipu, clipw+clipu),
|
| 210 |
+
crop_v: float2(1.-clipv-cliph, 1.-clipv),
|
| 211 |
+
uvw: base::transform_coordinate(
|
| 212 |
+
transform: rotation_translation_scale_2_matrix(
|
| 213 |
+
scaling: float3(U_Tiling,V_Tiling,1.0),
|
| 214 |
+
rotation: float3(U_angle,V_angle,W_angle)/180.*math::PI,
|
| 215 |
+
translation: float3(U_Offset,V_Offset,0.0),u_mirror: U_Mirror,v_mirror: V_Mirror
|
| 216 |
+
),
|
| 217 |
+
coordinate: base::coordinate_source(texture_space: mapChannel-1)
|
| 218 |
+
),
|
| 219 |
+
wrap_u: U_Tile?tex::wrap_repeat:U_Mirror?tex::wrap_mirrored_repeat:tex::wrap_clip,
|
| 220 |
+
wrap_v: V_Tile?tex::wrap_repeat:V_Mirror?tex::wrap_mirrored_repeat:tex::wrap_clip
|
| 221 |
+
);
|
| 222 |
+
|
| 223 |
+
result.tint = invert ? result.tint * (-rgb_level * output_amount ) + (1.f - rgb_offset) : result.tint * (rgb_level * output_amount ) + rgb_offset;
|
| 224 |
+
|
| 225 |
+
float alpha = (alpha_source != alpha_source_none) ? result.mono : 1.f;
|
| 226 |
+
result.tint = result.tint*alpha;
|
| 227 |
+
|
| 228 |
+
if(mono_output == mono_output_alpha)
|
| 229 |
+
result.mono = alpha;
|
| 230 |
+
else
|
| 231 |
+
result.mono = math::average(result.tint);
|
| 232 |
+
if (int(rgb_output) == 1)
|
| 233 |
+
result.tint = color(alpha);
|
| 234 |
+
return result;
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
export float3 KooPbr_bitmap_bump(
|
| 238 |
+
uniform int mapChannel = 1 [[
|
| 239 |
+
anno::in_group("Coordinates"),
|
| 240 |
+
anno::display_name("Map channel")
|
| 241 |
+
]],
|
| 242 |
+
uniform bool U_Tile = true [[
|
| 243 |
+
anno::in_group("Coordinates"),
|
| 244 |
+
anno::display_name("U Tile")
|
| 245 |
+
]],
|
| 246 |
+
uniform bool U_Mirror = false [[
|
| 247 |
+
anno::in_group("Coordinates"),
|
| 248 |
+
anno::display_name("U Mirror")
|
| 249 |
+
]],
|
| 250 |
+
uniform bool V_Tile = true [[
|
| 251 |
+
anno::in_group("Coordinates"),
|
| 252 |
+
anno::display_name("V Tile")
|
| 253 |
+
]],
|
| 254 |
+
uniform bool V_Mirror = false [[
|
| 255 |
+
anno::in_group("Coordinates"),
|
| 256 |
+
anno::display_name("V Mirror")
|
| 257 |
+
]],
|
| 258 |
+
uniform float U_angle = 0.f [[
|
| 259 |
+
anno::in_group("Coordinates"),
|
| 260 |
+
anno::display_name("U Angle")
|
| 261 |
+
]],
|
| 262 |
+
uniform float V_angle = 0.f [[
|
| 263 |
+
anno::in_group("Coordinates"),
|
| 264 |
+
anno::display_name("V Angle")
|
| 265 |
+
]],
|
| 266 |
+
uniform float W_angle = 0.f [[
|
| 267 |
+
anno::in_group("Coordinates"),
|
| 268 |
+
anno::display_name("W Angle")
|
| 269 |
+
]],
|
| 270 |
+
uniform float U_Offset = 0.f [[
|
| 271 |
+
anno::in_group("Coordinates"),
|
| 272 |
+
anno::display_name("U Offset")
|
| 273 |
+
]],
|
| 274 |
+
uniform float V_Offset = 0.f [[
|
| 275 |
+
anno::in_group("Coordinates"),
|
| 276 |
+
anno::display_name("V Offset")
|
| 277 |
+
]],
|
| 278 |
+
uniform float U_Tiling = 1.f [[
|
| 279 |
+
anno::in_group("Coordinates"),
|
| 280 |
+
anno::display_name("U Tiling")
|
| 281 |
+
]],
|
| 282 |
+
uniform float V_Tiling = 1.f [[
|
| 283 |
+
anno::in_group("Coordinates"),
|
| 284 |
+
anno::display_name("V Tiling")
|
| 285 |
+
]],
|
| 286 |
+
uniform int UVW_Type = 0 [[
|
| 287 |
+
anno::in_group("Coordinates"),
|
| 288 |
+
anno::display_name("UVW Type"),
|
| 289 |
+
anno::unused()
|
| 290 |
+
]],
|
| 291 |
+
uniform texture_2d filename = texture_2d() [[
|
| 292 |
+
anno::in_group("Bitmap parameters"),
|
| 293 |
+
anno::display_name("Bitmap")
|
| 294 |
+
]],
|
| 295 |
+
uniform float clipu = 0.f [[
|
| 296 |
+
anno::in_group("Bitmap parameters"),
|
| 297 |
+
anno::display_name("U Clip"),
|
| 298 |
+
anno::hard_range(0.f, 1.f)
|
| 299 |
+
]],
|
| 300 |
+
uniform float clipw = 1.f [[
|
| 301 |
+
anno::in_group("Bitmap parameters"),
|
| 302 |
+
anno::display_name("W Clip"),
|
| 303 |
+
anno::hard_range(0.f, 1.f)
|
| 304 |
+
]],
|
| 305 |
+
uniform float clipv = 0.f [[
|
| 306 |
+
anno::in_group("Bitmap parameters"),
|
| 307 |
+
anno::display_name("V Clip"),
|
| 308 |
+
anno::hard_range(0.f, 1.f)
|
| 309 |
+
]],
|
| 310 |
+
uniform float cliph = 1.f [[
|
| 311 |
+
anno::in_group("Bitmap parameters"),
|
| 312 |
+
anno::display_name("H Clip"),
|
| 313 |
+
anno::hard_range(0.f, 1.f)
|
| 314 |
+
]],
|
| 315 |
+
uniform float factor = 1.f [[
|
| 316 |
+
anno::in_group("Bitmap parameters"),
|
| 317 |
+
anno::display_name("Bump amount")
|
| 318 |
+
]],
|
| 319 |
+
uniform float bump_amount = 1.f [[
|
| 320 |
+
anno::in_group("Output"),
|
| 321 |
+
anno::display_name("Bump output")
|
| 322 |
+
]],
|
| 323 |
+
uniform bool clamp = false [[
|
| 324 |
+
anno::in_group("Output"),
|
| 325 |
+
anno::display_name("Clamp"),
|
| 326 |
+
anno::unused()
|
| 327 |
+
]],
|
| 328 |
+
uniform bool invert = false [[
|
| 329 |
+
anno::in_group("Output"),
|
| 330 |
+
anno::display_name("Invert")
|
| 331 |
+
]],
|
| 332 |
+
uniform bool alphaFromRGB = false [[
|
| 333 |
+
anno::in_group("Output"),
|
| 334 |
+
anno::display_name("Alpha from RGB intensity"),
|
| 335 |
+
anno::unused()
|
| 336 |
+
]],
|
| 337 |
+
uniform float output_amount = 1.f [[
|
| 338 |
+
anno::in_group("Output"),
|
| 339 |
+
anno::display_name("Output amount"),
|
| 340 |
+
anno::unused()
|
| 341 |
+
]],
|
| 342 |
+
uniform float rgb_level = 1.f [[
|
| 343 |
+
anno::in_group("Output"),
|
| 344 |
+
anno::display_name("RGB level"),
|
| 345 |
+
anno::unused()
|
| 346 |
+
]],
|
| 347 |
+
uniform float rgb_offset = 0.f [[
|
| 348 |
+
anno::in_group("Output"),
|
| 349 |
+
anno::display_name("RGB Offset"),
|
| 350 |
+
anno::unused()
|
| 351 |
+
]]) varying
|
| 352 |
+
[[
|
| 353 |
+
anno::author("KooLab")
|
| 354 |
+
]]
|
| 355 |
+
{
|
| 356 |
+
return base::file_bump_texture
|
| 357 |
+
(
|
| 358 |
+
texture : filename,
|
| 359 |
+
crop_u : float2(clipu, clipw + clipu),
|
| 360 |
+
crop_v : float2(1.f - clipv - cliph, 1.f - clipv),
|
| 361 |
+
uvw : base::transform_coordinate
|
| 362 |
+
(
|
| 363 |
+
transform: rotation_translation_scale_2_matrix
|
| 364 |
+
(
|
| 365 |
+
scaling : float3(U_Tiling, V_Tiling, 1.f),
|
| 366 |
+
rotation : float3(U_angle, V_angle, W_angle)/(180.f*math::PI),
|
| 367 |
+
translation : float3(U_Offset, V_Offset, 0.f),
|
| 368 |
+
u_mirror : U_Mirror,
|
| 369 |
+
v_mirror : V_Mirror
|
| 370 |
+
),
|
| 371 |
+
coordinate: base::coordinate_source(texture_space: mapChannel - 1)
|
| 372 |
+
),
|
| 373 |
+
wrap_u : U_Tile ? tex::wrap_repeat : U_Mirror ? tex::wrap_mirrored_repeat : tex::wrap_clip,
|
| 374 |
+
wrap_v : V_Tile ? tex::wrap_repeat : V_Mirror ? tex::wrap_mirrored_repeat : tex::wrap_clip,
|
| 375 |
+
factor : invert ? -10.f*factor*bump_amount : 10.f*factor*bump_amount
|
| 376 |
+
);
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
export float3 NormalMap_bump(
|
| 380 |
+
::texture_return normal_map = ::texture_return() [[
|
| 381 |
+
anno::in_group("NormalMap Parameters"),
|
| 382 |
+
anno::display_name("Normal map")
|
| 383 |
+
]],
|
| 384 |
+
float3 bump_map = state::normal() [[
|
| 385 |
+
anno::in_group("NormalMap Parameters"),
|
| 386 |
+
anno::display_name("Bump map")
|
| 387 |
+
]],
|
| 388 |
+
uniform float normal_amount = 1.f [[
|
| 389 |
+
anno::in_group("NormalMap Parameters"),
|
| 390 |
+
anno::display_name("Normal amount"),
|
| 391 |
+
anno::hard_range(-1000.f, 1000.f)
|
| 392 |
+
]],
|
| 393 |
+
uniform float bump_amount = 1.f [[
|
| 394 |
+
anno::in_group("NormalMap Parameters"),
|
| 395 |
+
anno::display_name("Bump amount"),
|
| 396 |
+
anno::hard_range(-1000.f, 1000.f)
|
| 397 |
+
]],
|
| 398 |
+
uniform bool flip_red = false [[
|
| 399 |
+
anno::in_group("NormalMap Parameters"),
|
| 400 |
+
anno::display_name("Flip red")
|
| 401 |
+
]],
|
| 402 |
+
uniform bool flip_green = false [[
|
| 403 |
+
anno::in_group("NormalMap Parameters"),
|
| 404 |
+
anno::display_name("Flip green")
|
| 405 |
+
]],
|
| 406 |
+
uniform bool swap_rg = false [[
|
| 407 |
+
anno::in_group("NormalMap Parameters"),
|
| 408 |
+
anno::display_name("Swap red and green")
|
| 409 |
+
]],
|
| 410 |
+
uniform int map_channel = 1 [[
|
| 411 |
+
anno::in_group("NormalMap Parameters"),
|
| 412 |
+
anno::display_name("Map channel"),
|
| 413 |
+
anno::hidden(),
|
| 414 |
+
anno::unused()
|
| 415 |
+
]],
|
| 416 |
+
uniform float map_rotation = 0.f [[
|
| 417 |
+
anno::in_group("NormalMap Parameters"),
|
| 418 |
+
anno::display_name("Map rotation"),
|
| 419 |
+
anno::hard_range(0.f, 360.f),
|
| 420 |
+
anno::hidden(),
|
| 421 |
+
anno::unused()
|
| 422 |
+
]],
|
| 423 |
+
uniform float normal_map_amount = 1.f [[
|
| 424 |
+
anno::in_group("NormalMap Parameters"),
|
| 425 |
+
anno::display_name("Map amount"),
|
| 426 |
+
anno::hard_range(-10.f, 10.f)
|
| 427 |
+
]]) varying
|
| 428 |
+
[[
|
| 429 |
+
anno::author("KooLab")
|
| 430 |
+
]]
|
| 431 |
+
{
|
| 432 |
+
float3 tangent_space_normal = float3(normal_map.tint);
|
| 433 |
+
|
| 434 |
+
if(flip_red)
|
| 435 |
+
tangent_space_normal.x = 1.f - tangent_space_normal.x;
|
| 436 |
+
|
| 437 |
+
if(flip_green)
|
| 438 |
+
tangent_space_normal.y = 1.f - tangent_space_normal.y;
|
| 439 |
+
|
| 440 |
+
if(swap_rg)
|
| 441 |
+
{
|
| 442 |
+
float tmp = tangent_space_normal.x;
|
| 443 |
+
tangent_space_normal.x = tangent_space_normal.y;
|
| 444 |
+
tangent_space_normal.y = tmp;
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
+
float normal_factor = normal_amount*(normal_map_amount);
|
| 448 |
+
tangent_space_normal = (tangent_space_normal - float3(0.5f))*(2.f*normal_factor);
|
| 449 |
+
|
| 450 |
+
float3 mapped_normal = math::normalize(
|
| 451 |
+
state::texture_tangent_u(0) * tangent_space_normal.x +
|
| 452 |
+
state::texture_tangent_v(0) * tangent_space_normal.y +
|
| 453 |
+
state::normal() * (tangent_space_normal.z + (1.f - normal_factor)));
|
| 454 |
+
|
| 455 |
+
float3 bumped_normal = math::normalize(math::lerp(state::normal(), bump_map, bump_amount*normal_map_amount));
|
| 456 |
+
|
| 457 |
+
return math::normalize(mapped_normal + bumped_normal);
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
export ::texture_return KooPbr_mix(
|
| 461 |
+
::texture_return color1 = ::texture_return() [[
|
| 462 |
+
anno::in_group("Mix parameters"),
|
| 463 |
+
anno::display_name("Color #1")
|
| 464 |
+
]],
|
| 465 |
+
::texture_return color2 = ::texture_return() [[
|
| 466 |
+
anno::in_group("Mix parameters"),
|
| 467 |
+
anno::display_name("Color #2")
|
| 468 |
+
]],
|
| 469 |
+
float mixAmount = 0.f [[
|
| 470 |
+
anno::in_group("Mix parameters"),
|
| 471 |
+
anno::display_name("Mix amount"),
|
| 472 |
+
anno::hard_range(0.f, 1.f)
|
| 473 |
+
]],
|
| 474 |
+
uniform bool useCurve = false [[
|
| 475 |
+
anno::in_group("Mix parameters"),
|
| 476 |
+
anno::display_name("Use curve")
|
| 477 |
+
]],
|
| 478 |
+
uniform float lower = 0.3f [[
|
| 479 |
+
anno::in_group("Mix parameters"),
|
| 480 |
+
anno::display_name("Lower"),
|
| 481 |
+
anno::hard_range(0.f, 1.f)
|
| 482 |
+
]],
|
| 483 |
+
uniform float upper = 0.7f [[
|
| 484 |
+
anno::in_group("Mix parameters"),
|
| 485 |
+
anno::display_name("Upper"),
|
| 486 |
+
anno::hard_range(0.f, 1.f)
|
| 487 |
+
]])
|
| 488 |
+
[[
|
| 489 |
+
anno::author("KooLab")
|
| 490 |
+
]]
|
| 491 |
+
{
|
| 492 |
+
float t = useCurve ? math::smoothstep(lower, upper, mixAmount) : math::smoothstep(0.0, 1.0, mixAmount);
|
| 493 |
+
|
| 494 |
+
return texture_return(
|
| 495 |
+
math::lerp(color1.tint,color2.tint, t),
|
| 496 |
+
math::lerp(color1.mono,color2.mono, t));
|
| 497 |
+
}
|
| 498 |
+
|
| 499 |
+
export ::texture_return KooPbr_falloff(
|
| 500 |
+
::texture_return color1 = ::texture_return() [[
|
| 501 |
+
anno::in_group("Falloff"),
|
| 502 |
+
anno::display_name("Color #1")
|
| 503 |
+
]],
|
| 504 |
+
::texture_return color2 = ::texture_return() [[
|
| 505 |
+
anno::in_group("Falloff"),
|
| 506 |
+
anno::display_name("Color #1"),
|
| 507 |
+
anno::hidden()
|
| 508 |
+
]])
|
| 509 |
+
[[
|
| 510 |
+
anno::author("KooLab")
|
| 511 |
+
]]
|
| 512 |
+
{
|
| 513 |
+
return ::KooPbr_mix(color1, color2, 0.5f);
|
| 514 |
+
//return color1;
|
| 515 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/Num5ba237dfef62e00d0e012619.mdl
ADDED
|
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();
|
| 11 |
+
export annotation sampler_normal();
|
| 12 |
+
export annotation sampler_grayscale();
|
| 13 |
+
export annotation sampler_alpha();
|
| 14 |
+
export annotation sampler_masks();
|
| 15 |
+
export annotation sampler_distancefield();
|
| 16 |
+
export annotation dither_masked_off();
|
| 17 |
+
export annotation world_space_normal();
|
| 18 |
+
|
| 19 |
+
export material Num5ba237dfef62e00d0e012619(
|
| 20 |
+
uniform texture_2d Normal_Tex = texture_2d("./Textures/normal.png",::tex::gamma_linear)
|
| 21 |
+
[[
|
| 22 |
+
anno::display_name("Normal_Tex"),
|
| 23 |
+
anno::ui_order(32),
|
| 24 |
+
anno::in_group("Normal"),
|
| 25 |
+
sampler_normal()
|
| 26 |
+
]],
|
| 27 |
+
float4 Normal_UVA = float4(1.0,1.0,0.0,0.0)
|
| 28 |
+
[[
|
| 29 |
+
anno::display_name("Normal_UVA"),
|
| 30 |
+
anno::ui_order(32),
|
| 31 |
+
anno::in_group("Normal")
|
| 32 |
+
]],
|
| 33 |
+
float EmissiveIntensity = 0.0
|
| 34 |
+
[[
|
| 35 |
+
anno::display_name("EmissiveIntensity"),
|
| 36 |
+
anno::ui_order(32),
|
| 37 |
+
anno::in_group("EmissiveColor")
|
| 38 |
+
]],
|
| 39 |
+
float IsEmissiveTex = 0.0
|
| 40 |
+
[[
|
| 41 |
+
anno::display_name("IsEmissiveTex"),
|
| 42 |
+
anno::in_group("EmissiveColor")
|
| 43 |
+
]],
|
| 44 |
+
float4 Emissive_Color = float4(1.0,1.0,1.0,1.0)
|
| 45 |
+
[[
|
| 46 |
+
anno::display_name("Emissive_Color"),
|
| 47 |
+
anno::ui_order(32),
|
| 48 |
+
anno::in_group("EmissiveColor")
|
| 49 |
+
]],
|
| 50 |
+
uniform texture_2d Emissive_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 51 |
+
[[
|
| 52 |
+
anno::display_name("Emissive_Tex"),
|
| 53 |
+
anno::ui_order(32),
|
| 54 |
+
anno::in_group("EmissiveColor"),
|
| 55 |
+
sampler_color()
|
| 56 |
+
]],
|
| 57 |
+
float4 Emissive_UVA = float4(1.0,1.0,0.0,0.0)
|
| 58 |
+
[[
|
| 59 |
+
anno::display_name("Emissive_UVA"),
|
| 60 |
+
anno::ui_order(32),
|
| 61 |
+
anno::in_group("EmissiveColor")
|
| 62 |
+
]],
|
| 63 |
+
float IsBaseColorTex = 0.0
|
| 64 |
+
[[
|
| 65 |
+
anno::display_name("IsBaseColorTex"),
|
| 66 |
+
anno::in_group("BaseColor")
|
| 67 |
+
]],
|
| 68 |
+
float4 BaseColor_Color = float4(1.0,1.0,1.0,1.0)
|
| 69 |
+
[[
|
| 70 |
+
anno::display_name("BaseColor_Color"),
|
| 71 |
+
anno::ui_order(32),
|
| 72 |
+
anno::in_group("BaseColor")
|
| 73 |
+
]],
|
| 74 |
+
uniform texture_2d BaseColor_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 75 |
+
[[
|
| 76 |
+
anno::display_name("BaseColor_Tex"),
|
| 77 |
+
anno::ui_order(32),
|
| 78 |
+
anno::in_group("BaseColor"),
|
| 79 |
+
sampler_color()
|
| 80 |
+
]],
|
| 81 |
+
float4 BaseColor_UVA = float4(1.0,1.0,0.0,0.0)
|
| 82 |
+
[[
|
| 83 |
+
anno::display_name("BaseColor_UVA"),
|
| 84 |
+
anno::ui_order(32),
|
| 85 |
+
anno::in_group("BaseColor")
|
| 86 |
+
]],
|
| 87 |
+
float IsMetallicTex = 0.0
|
| 88 |
+
[[
|
| 89 |
+
anno::display_name("IsMetallicTex"),
|
| 90 |
+
anno::in_group("Metallic")
|
| 91 |
+
]],
|
| 92 |
+
float4 Metallic_Color = float4(0.0,0.0,0.0,1.0)
|
| 93 |
+
[[
|
| 94 |
+
anno::display_name("Metallic_Color"),
|
| 95 |
+
anno::ui_order(32),
|
| 96 |
+
anno::in_group("Metallic")
|
| 97 |
+
]],
|
| 98 |
+
uniform texture_2d Metallic_Tex = texture_2d("./Textures/black.png",::tex::gamma_srgb)
|
| 99 |
+
[[
|
| 100 |
+
anno::display_name("Metallic_Tex"),
|
| 101 |
+
anno::ui_order(32),
|
| 102 |
+
anno::in_group("Metallic"),
|
| 103 |
+
sampler_color()
|
| 104 |
+
]],
|
| 105 |
+
float4 Metallic_UVA = float4(1.0,1.0,0.0,0.0)
|
| 106 |
+
[[
|
| 107 |
+
anno::display_name("Metallic_UVA"),
|
| 108 |
+
anno::ui_order(32),
|
| 109 |
+
anno::in_group("Metallic")
|
| 110 |
+
]],
|
| 111 |
+
float IsSpecularTex = 0.0
|
| 112 |
+
[[
|
| 113 |
+
anno::display_name("IsSpecularTex"),
|
| 114 |
+
anno::in_group("Specular")
|
| 115 |
+
]],
|
| 116 |
+
float4 Specular_Color = float4(1.0,1.0,1.0,1.0)
|
| 117 |
+
[[
|
| 118 |
+
anno::display_name("Specular_Color"),
|
| 119 |
+
anno::ui_order(32),
|
| 120 |
+
anno::in_group("Specular")
|
| 121 |
+
]],
|
| 122 |
+
uniform texture_2d Specular_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 123 |
+
[[
|
| 124 |
+
anno::display_name("Specular_Tex"),
|
| 125 |
+
anno::ui_order(32),
|
| 126 |
+
anno::in_group("Specular"),
|
| 127 |
+
sampler_color()
|
| 128 |
+
]],
|
| 129 |
+
float4 Specular_UVA = float4(1.0,1.0,0.0,0.0)
|
| 130 |
+
[[
|
| 131 |
+
anno::display_name("Specular_UVA"),
|
| 132 |
+
anno::ui_order(32),
|
| 133 |
+
anno::in_group("Specular")
|
| 134 |
+
]],
|
| 135 |
+
float IsGlossTex = 0.0
|
| 136 |
+
[[
|
| 137 |
+
anno::display_name("IsGlossTex"),
|
| 138 |
+
anno::in_group("Roughness")
|
| 139 |
+
]],
|
| 140 |
+
float4 Gloss_Color = float4(0.1,0.1,0.1,1.0)
|
| 141 |
+
[[
|
| 142 |
+
anno::display_name("Gloss_Color"),
|
| 143 |
+
anno::ui_order(32),
|
| 144 |
+
anno::in_group("Roughness")
|
| 145 |
+
]],
|
| 146 |
+
uniform texture_2d Gloss_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 147 |
+
[[
|
| 148 |
+
anno::display_name("Gloss_Tex"),
|
| 149 |
+
anno::ui_order(32),
|
| 150 |
+
anno::in_group("Roughness"),
|
| 151 |
+
sampler_color()
|
| 152 |
+
]],
|
| 153 |
+
float4 Gloss_UVA = float4(1.0,1.0,0.0,0.0)
|
| 154 |
+
[[
|
| 155 |
+
anno::display_name("Gloss_UVA"),
|
| 156 |
+
anno::ui_order(32),
|
| 157 |
+
anno::in_group("Roughness")
|
| 158 |
+
]],
|
| 159 |
+
float Opacity = 0.5
|
| 160 |
+
[[
|
| 161 |
+
anno::display_name("Opacity"),
|
| 162 |
+
anno::ui_order(32),
|
| 163 |
+
anno::in_group("Translucent")
|
| 164 |
+
]],
|
| 165 |
+
float PolygonOffset = 0.0
|
| 166 |
+
[[
|
| 167 |
+
anno::display_name("PolygonOffset"),
|
| 168 |
+
anno::ui_order(32),
|
| 169 |
+
anno::in_group("WorldPosition")
|
| 170 |
+
]],
|
| 171 |
+
uniform float SwitchRefraction = 0.0
|
| 172 |
+
[[
|
| 173 |
+
anno::display_name("SwitchRefraction"),
|
| 174 |
+
anno::ui_order(32),
|
| 175 |
+
anno::in_group("Refraction")
|
| 176 |
+
]],
|
| 177 |
+
uniform float FresnelB = 1.517
|
| 178 |
+
[[
|
| 179 |
+
anno::display_name("FresnelB"),
|
| 180 |
+
anno::ui_order(32),
|
| 181 |
+
anno::in_group("Refraction")
|
| 182 |
+
]],
|
| 183 |
+
int MaxTexCoordIndex = 3
|
| 184 |
+
[[
|
| 185 |
+
anno::hidden()
|
| 186 |
+
]])
|
| 187 |
+
=
|
| 188 |
+
let {
|
| 189 |
+
float3 Local82 = ::camera_position();
|
| 190 |
+
float3 Local83 = (Local82 - (::convert_to_left_hand(state::transform_point(state::coordinate_internal,state::coordinate_world,state::position()), true)*state::meters_per_scene_unit()*100.0));
|
| 191 |
+
float Local84 = math::dot(Local83, Local83);
|
| 192 |
+
float Local85 = math::sqrt(Local84);
|
| 193 |
+
float3 Local86 = (Local83 / Local85);
|
| 194 |
+
float3 Local87 = (Local86 * PolygonOffset);
|
| 195 |
+
|
| 196 |
+
float3 WorldPositionOffset_mdl = Local87;
|
| 197 |
+
float2 CustomizedUV0_mdl = float2(state::texture_coordinate(math::min(0,MaxTexCoordIndex)).x,1.0-state::texture_coordinate(math::min(0,MaxTexCoordIndex)).y);
|
| 198 |
+
|
| 199 |
+
float2 Local0 = (float2(0.5,0.5) * -1.0);
|
| 200 |
+
float Local1 = (CustomizedUV0_mdl.x * float3(Normal_UVA.x,Normal_UVA.y,Normal_UVA.z).x);
|
| 201 |
+
float Local2 = (CustomizedUV0_mdl.y * float3(Normal_UVA.x,Normal_UVA.y,Normal_UVA.z).y);
|
| 202 |
+
float2 Local3 = (Local0 + float2(Local1,Local2));
|
| 203 |
+
float Local4 = (3.141592 * -2.0);
|
| 204 |
+
float Local5 = (float3(Normal_UVA.x,Normal_UVA.y,Normal_UVA.z).z / Local4);
|
| 205 |
+
float Local6 = (Local5 * 6.283185);
|
| 206 |
+
float Local7 = math::cos(Local6);
|
| 207 |
+
float Local8 = math::sin(Local6);
|
| 208 |
+
float Local9 = (Local8 * -1.0);
|
| 209 |
+
float Local10 = math::dot(Local3, float2(Local7,Local9));
|
| 210 |
+
float Local11 = math::dot(Local3, float2(Local8,Local7));
|
| 211 |
+
float2 Local12 = (float2(0.5,0.5) + float2(Local10,Local11));
|
| 212 |
+
float4 Local13 = ::unpack_normal_map(tex::lookup_float4(Normal_Tex,float2(Local12.x,1.0-Local12.y),tex::wrap_repeat,tex::wrap_repeat));
|
| 213 |
+
float3 Local14 = ((math::abs(1.0 - 1.0) > 0.00001) ? (float3(0.0,0.0,0.0)) : float3(Local13.x,Local13.y,Local13.z));
|
| 214 |
+
|
| 215 |
+
float3 Normal_mdl = Local14;
|
| 216 |
+
|
| 217 |
+
float Local15 = (CustomizedUV0_mdl.x * float3(Emissive_UVA.x,Emissive_UVA.y,Emissive_UVA.z).x);
|
| 218 |
+
float Local16 = (CustomizedUV0_mdl.y * float3(Emissive_UVA.x,Emissive_UVA.y,Emissive_UVA.z).y);
|
| 219 |
+
float2 Local17 = (Local0 + float2(Local15,Local16));
|
| 220 |
+
float Local18 = (float3(Emissive_UVA.x,Emissive_UVA.y,Emissive_UVA.z).z / Local4);
|
| 221 |
+
float Local19 = (Local18 * 6.283185);
|
| 222 |
+
float Local20 = math::cos(Local19);
|
| 223 |
+
float Local21 = math::sin(Local19);
|
| 224 |
+
float Local22 = (Local21 * -1.0);
|
| 225 |
+
float Local23 = math::dot(Local17, float2(Local20,Local22));
|
| 226 |
+
float Local24 = math::dot(Local17, float2(Local21,Local20));
|
| 227 |
+
float2 Local25 = (float2(0.5,0.5) + float2(Local23,Local24));
|
| 228 |
+
float4 Local26 = tex::lookup_float4(Emissive_Tex,float2(Local25.x,1.0-Local25.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 229 |
+
float3 Local27 = ((math::abs(IsEmissiveTex - 1.0) > 0.00001) ? (float3(Emissive_Color.x,Emissive_Color.y,Emissive_Color.z)) : float3(Local26.x,Local26.y,Local26.z));
|
| 230 |
+
float3 Local28 = (EmissiveIntensity * Local27);
|
| 231 |
+
float Local29 = (CustomizedUV0_mdl.x * float3(BaseColor_UVA.x,BaseColor_UVA.y,BaseColor_UVA.z).x);
|
| 232 |
+
float Local30 = (CustomizedUV0_mdl.y * float3(BaseColor_UVA.x,BaseColor_UVA.y,BaseColor_UVA.z).y);
|
| 233 |
+
float2 Local31 = (Local0 + float2(Local29,Local30));
|
| 234 |
+
float Local32 = (float3(BaseColor_UVA.x,BaseColor_UVA.y,BaseColor_UVA.z).z / Local4);
|
| 235 |
+
float Local33 = (Local32 * 6.283185);
|
| 236 |
+
float Local34 = math::cos(Local33);
|
| 237 |
+
float Local35 = math::sin(Local33);
|
| 238 |
+
float Local36 = (Local35 * -1.0);
|
| 239 |
+
float Local37 = math::dot(Local31, float2(Local34,Local36));
|
| 240 |
+
float Local38 = math::dot(Local31, float2(Local35,Local34));
|
| 241 |
+
float2 Local39 = (float2(0.5,0.5) + float2(Local37,Local38));
|
| 242 |
+
float4 Local40 = tex::lookup_float4(BaseColor_Tex,float2(Local39.x,1.0-Local39.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 243 |
+
float3 Local41 = ((math::abs(IsBaseColorTex - 1.0) > 0.00001) ? (float3(BaseColor_Color.x,BaseColor_Color.y,BaseColor_Color.z)) : float3(Local40.x,Local40.y,Local40.z));
|
| 244 |
+
float Local42 = (CustomizedUV0_mdl.x * float3(Metallic_UVA.x,Metallic_UVA.y,Metallic_UVA.z).x);
|
| 245 |
+
float Local43 = (CustomizedUV0_mdl.y * float3(Metallic_UVA.x,Metallic_UVA.y,Metallic_UVA.z).y);
|
| 246 |
+
float2 Local44 = (Local0 + float2(Local42,Local43));
|
| 247 |
+
float Local45 = (float3(Metallic_UVA.x,Metallic_UVA.y,Metallic_UVA.z).z / Local4);
|
| 248 |
+
float Local46 = (Local45 * 6.283185);
|
| 249 |
+
float Local47 = math::cos(Local46);
|
| 250 |
+
float Local48 = math::sin(Local46);
|
| 251 |
+
float Local49 = (Local48 * -1.0);
|
| 252 |
+
float Local50 = math::dot(Local44, float2(Local47,Local49));
|
| 253 |
+
float Local51 = math::dot(Local44, float2(Local48,Local47));
|
| 254 |
+
float2 Local52 = (float2(0.5,0.5) + float2(Local50,Local51));
|
| 255 |
+
float4 Local53 = tex::lookup_float4(Metallic_Tex,float2(Local52.x,1.0-Local52.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 256 |
+
float3 Local54 = ((math::abs(IsMetallicTex - 1.0) > 0.00001) ? (float3(Metallic_Color.x,Metallic_Color.y,Metallic_Color.z)) : float3(Local53.x,Local53.y,Local53.z));
|
| 257 |
+
float Local55 = (CustomizedUV0_mdl.x * float3(Specular_UVA.x,Specular_UVA.y,Specular_UVA.z).x);
|
| 258 |
+
float Local56 = (CustomizedUV0_mdl.y * float3(Specular_UVA.x,Specular_UVA.y,Specular_UVA.z).y);
|
| 259 |
+
float2 Local57 = (Local0 + float2(Local55,Local56));
|
| 260 |
+
float Local58 = (float3(Specular_UVA.x,Specular_UVA.y,Specular_UVA.z).z / Local4);
|
| 261 |
+
float Local59 = (Local58 * 6.283185);
|
| 262 |
+
float Local60 = math::cos(Local59);
|
| 263 |
+
float Local61 = math::sin(Local59);
|
| 264 |
+
float Local62 = (Local61 * -1.0);
|
| 265 |
+
float Local63 = math::dot(Local57, float2(Local60,Local62));
|
| 266 |
+
float Local64 = math::dot(Local57, float2(Local61,Local60));
|
| 267 |
+
float2 Local65 = (float2(0.5,0.5) + float2(Local63,Local64));
|
| 268 |
+
float4 Local66 = tex::lookup_float4(Specular_Tex,float2(Local65.x,1.0-Local65.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 269 |
+
float3 Local67 = ((math::abs(IsSpecularTex - 1.0) > 0.00001) ? (float3(Specular_Color.x,Specular_Color.y,Specular_Color.z)) : float3(Local66.x,Local66.y,Local66.z));
|
| 270 |
+
float Local68 = (CustomizedUV0_mdl.x * float3(Gloss_UVA.x,Gloss_UVA.y,Gloss_UVA.z).x);
|
| 271 |
+
float Local69 = (CustomizedUV0_mdl.y * float3(Gloss_UVA.x,Gloss_UVA.y,Gloss_UVA.z).y);
|
| 272 |
+
float2 Local70 = (Local0 + float2(Local68,Local69));
|
| 273 |
+
float Local71 = (float3(Gloss_UVA.x,Gloss_UVA.y,Gloss_UVA.z).z / Local4);
|
| 274 |
+
float Local72 = (Local71 * 6.283185);
|
| 275 |
+
float Local73 = math::cos(Local72);
|
| 276 |
+
float Local74 = math::sin(Local72);
|
| 277 |
+
float Local75 = (Local74 * -1.0);
|
| 278 |
+
float Local76 = math::dot(Local70, float2(Local73,Local75));
|
| 279 |
+
float Local77 = math::dot(Local70, float2(Local74,Local73));
|
| 280 |
+
float2 Local78 = (float2(0.5,0.5) + float2(Local76,Local77));
|
| 281 |
+
float4 Local79 = tex::lookup_float4(Gloss_Tex,float2(Local78.x,1.0-Local78.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 282 |
+
float3 Local80 = ((math::abs(IsGlossTex - 1.0) > 0.00001) ? (float3(Gloss_Color.x,Gloss_Color.y,Gloss_Color.z)) : float3(Local79.x,Local79.y,Local79.z));
|
| 283 |
+
float3 Local81 = (1.0 - Local80);
|
| 284 |
+
float Local89 = ((math::abs(SwitchRefraction - 1.0) > 0.01) ? (1.0) : FresnelB);
|
| 285 |
+
|
| 286 |
+
float3 EmissiveColor_mdl = Local28;
|
| 287 |
+
float Opacity_mdl = Opacity;
|
| 288 |
+
float OpacityMask_mdl = (math::saturate(Opacity) - 1.0f / 255.0f) < 0.0f ? 0.0f : 1.0f;
|
| 289 |
+
float3 BaseColor_mdl = Local41;
|
| 290 |
+
float Metallic_mdl = Local54.x;
|
| 291 |
+
float Specular_mdl = Local67.x;
|
| 292 |
+
float Roughness_mdl = Local81.x;
|
| 293 |
+
float2 Refraction_mdl = float2(Local89,Local89);
|
| 294 |
+
|
| 295 |
+
} in
|
| 296 |
+
::OmniUe4Translucent(
|
| 297 |
+
base_color: BaseColor_mdl,
|
| 298 |
+
metallic: Metallic_mdl,
|
| 299 |
+
roughness: Roughness_mdl,
|
| 300 |
+
specular: Specular_mdl,
|
| 301 |
+
normal: Normal_mdl,
|
| 302 |
+
opacity: Opacity_mdl,
|
| 303 |
+
opacity_mask: OpacityMask_mdl,
|
| 304 |
+
emissive_color: EmissiveColor_mdl,
|
| 305 |
+
displacement: WorldPositionOffset_mdl,
|
| 306 |
+
refraction: Refraction_mdl.x,
|
| 307 |
+
two_sided: false);
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/Num604604837fdaa40001bb718c.mdl
ADDED
|
@@ -0,0 +1,284 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mdl 1.6;
|
| 2 |
+
|
| 3 |
+
import ::math::*;
|
| 4 |
+
import ::state::*;
|
| 5 |
+
import ::tex::*;
|
| 6 |
+
import ::anno::*;
|
| 7 |
+
using .::OmniUe4Function import *;
|
| 8 |
+
using .::OmniUe4Base import *;
|
| 9 |
+
|
| 10 |
+
export annotation sampler_color();
|
| 11 |
+
export annotation sampler_normal();
|
| 12 |
+
export annotation sampler_grayscale();
|
| 13 |
+
export annotation sampler_alpha();
|
| 14 |
+
export annotation sampler_masks();
|
| 15 |
+
export annotation sampler_distancefield();
|
| 16 |
+
export annotation dither_masked_off();
|
| 17 |
+
export annotation world_space_normal();
|
| 18 |
+
|
| 19 |
+
export material Num604604837fdaa40001bb718c(
|
| 20 |
+
uniform texture_2d Normal_Tex = texture_2d("./Textures/normal.png",::tex::gamma_linear)
|
| 21 |
+
[[
|
| 22 |
+
anno::display_name("Normal_Tex"),
|
| 23 |
+
anno::ui_order(32),
|
| 24 |
+
anno::in_group("Normal"),
|
| 25 |
+
sampler_normal()
|
| 26 |
+
]],
|
| 27 |
+
float4 Normal_UVA = float4(1.0,1.0,0.0,0.0)
|
| 28 |
+
[[
|
| 29 |
+
anno::display_name("Normal_UVA"),
|
| 30 |
+
anno::ui_order(32),
|
| 31 |
+
anno::in_group("Normal")
|
| 32 |
+
]],
|
| 33 |
+
float EmissiveIntensity = 0.0
|
| 34 |
+
[[
|
| 35 |
+
anno::display_name("EmissiveIntensity"),
|
| 36 |
+
anno::ui_order(32),
|
| 37 |
+
anno::in_group("EmissiveColor")
|
| 38 |
+
]],
|
| 39 |
+
float IsEmissiveTex = 0.0
|
| 40 |
+
[[
|
| 41 |
+
anno::display_name("IsEmissiveTex"),
|
| 42 |
+
anno::in_group("EmissiveColor")
|
| 43 |
+
]],
|
| 44 |
+
float4 Emissive_Color = float4(1.0,1.0,1.0,1.0)
|
| 45 |
+
[[
|
| 46 |
+
anno::display_name("Emissive_Color"),
|
| 47 |
+
anno::ui_order(32),
|
| 48 |
+
anno::in_group("EmissiveColor")
|
| 49 |
+
]],
|
| 50 |
+
uniform texture_2d Emissive_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 51 |
+
[[
|
| 52 |
+
anno::display_name("Emissive_Tex"),
|
| 53 |
+
anno::ui_order(32),
|
| 54 |
+
anno::in_group("EmissiveColor"),
|
| 55 |
+
sampler_color()
|
| 56 |
+
]],
|
| 57 |
+
float4 Emissive_UVA = float4(1.0,1.0,0.0,0.0)
|
| 58 |
+
[[
|
| 59 |
+
anno::display_name("Emissive_UVA"),
|
| 60 |
+
anno::ui_order(32),
|
| 61 |
+
anno::in_group("EmissiveColor")
|
| 62 |
+
]],
|
| 63 |
+
float IsBaseColorTex = 0.0
|
| 64 |
+
[[
|
| 65 |
+
anno::display_name("IsBaseColorTex"),
|
| 66 |
+
anno::in_group("BaseColor")
|
| 67 |
+
]],
|
| 68 |
+
float4 BaseColor_Color = float4(1.0,1.0,1.0,1.0)
|
| 69 |
+
[[
|
| 70 |
+
anno::display_name("BaseColor_Color"),
|
| 71 |
+
anno::ui_order(32),
|
| 72 |
+
anno::in_group("BaseColor")
|
| 73 |
+
]],
|
| 74 |
+
uniform texture_2d BaseColor_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 75 |
+
[[
|
| 76 |
+
anno::display_name("BaseColor_Tex"),
|
| 77 |
+
anno::ui_order(32),
|
| 78 |
+
anno::in_group("BaseColor"),
|
| 79 |
+
sampler_color()
|
| 80 |
+
]],
|
| 81 |
+
float4 BaseColor_UVA = float4(1.0,1.0,0.0,0.0)
|
| 82 |
+
[[
|
| 83 |
+
anno::display_name("BaseColor_UVA"),
|
| 84 |
+
anno::ui_order(32),
|
| 85 |
+
anno::in_group("BaseColor")
|
| 86 |
+
]],
|
| 87 |
+
float IsMetallicTex = 0.0
|
| 88 |
+
[[
|
| 89 |
+
anno::display_name("IsMetallicTex"),
|
| 90 |
+
anno::in_group("Metallic")
|
| 91 |
+
]],
|
| 92 |
+
float4 Metallic_Color = float4(0.0,0.0,0.0,1.0)
|
| 93 |
+
[[
|
| 94 |
+
anno::display_name("Metallic_Color"),
|
| 95 |
+
anno::ui_order(32),
|
| 96 |
+
anno::in_group("Metallic")
|
| 97 |
+
]],
|
| 98 |
+
uniform texture_2d Metallic_Tex = texture_2d("./Textures/black.png",::tex::gamma_srgb)
|
| 99 |
+
[[
|
| 100 |
+
anno::display_name("Metallic_Tex"),
|
| 101 |
+
anno::ui_order(32),
|
| 102 |
+
anno::in_group("Metallic"),
|
| 103 |
+
sampler_color()
|
| 104 |
+
]],
|
| 105 |
+
float4 Metallic_UVA = float4(1.0,1.0,0.0,0.0)
|
| 106 |
+
[[
|
| 107 |
+
anno::display_name("Metallic_UVA"),
|
| 108 |
+
anno::ui_order(32),
|
| 109 |
+
anno::in_group("Metallic")
|
| 110 |
+
]],
|
| 111 |
+
float IsSpecularTex = 0.0
|
| 112 |
+
[[
|
| 113 |
+
anno::display_name("IsSpecularTex"),
|
| 114 |
+
anno::in_group("Specular")
|
| 115 |
+
]],
|
| 116 |
+
float4 Specular_Color = float4(1.0,1.0,1.0,1.0)
|
| 117 |
+
[[
|
| 118 |
+
anno::display_name("Specular_Color"),
|
| 119 |
+
anno::ui_order(32),
|
| 120 |
+
anno::in_group("Specular")
|
| 121 |
+
]],
|
| 122 |
+
uniform texture_2d Specular_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 123 |
+
[[
|
| 124 |
+
anno::display_name("Specular_Tex"),
|
| 125 |
+
anno::ui_order(32),
|
| 126 |
+
anno::in_group("Specular"),
|
| 127 |
+
sampler_color()
|
| 128 |
+
]],
|
| 129 |
+
float4 Specular_UVA = float4(1.0,1.0,0.0,0.0)
|
| 130 |
+
[[
|
| 131 |
+
anno::display_name("Specular_UVA"),
|
| 132 |
+
anno::ui_order(32),
|
| 133 |
+
anno::in_group("Specular")
|
| 134 |
+
]],
|
| 135 |
+
float IsGlossTex = 0.0
|
| 136 |
+
[[
|
| 137 |
+
anno::display_name("IsGlossTex"),
|
| 138 |
+
anno::in_group("Roughness")
|
| 139 |
+
]],
|
| 140 |
+
float4 Gloss_Color = float4(0.1,0.1,0.1,1.0)
|
| 141 |
+
[[
|
| 142 |
+
anno::display_name("Gloss_Color"),
|
| 143 |
+
anno::ui_order(32),
|
| 144 |
+
anno::in_group("Roughness")
|
| 145 |
+
]],
|
| 146 |
+
uniform texture_2d Gloss_Tex = texture_2d("./Textures/white.png",::tex::gamma_srgb)
|
| 147 |
+
[[
|
| 148 |
+
anno::display_name("Gloss_Tex"),
|
| 149 |
+
anno::ui_order(32),
|
| 150 |
+
anno::in_group("Roughness"),
|
| 151 |
+
sampler_color()
|
| 152 |
+
]],
|
| 153 |
+
float4 Gloss_UVA = float4(1.0,1.0,0.0,0.0)
|
| 154 |
+
[[
|
| 155 |
+
anno::display_name("Gloss_UVA"),
|
| 156 |
+
anno::ui_order(32),
|
| 157 |
+
anno::in_group("Roughness")
|
| 158 |
+
]],
|
| 159 |
+
float PolygonOffset = 0.0
|
| 160 |
+
[[
|
| 161 |
+
anno::display_name("PolygonOffset"),
|
| 162 |
+
anno::ui_order(32),
|
| 163 |
+
anno::in_group("WorldPosition")
|
| 164 |
+
]],
|
| 165 |
+
int MaxTexCoordIndex = 3
|
| 166 |
+
[[
|
| 167 |
+
anno::hidden()
|
| 168 |
+
]])
|
| 169 |
+
=
|
| 170 |
+
let {
|
| 171 |
+
float3 Local82 = ::camera_position();
|
| 172 |
+
float3 Local83 = (Local82 - (::convert_to_left_hand(state::transform_point(state::coordinate_internal,state::coordinate_world,state::position()), true)*state::meters_per_scene_unit()*100.0));
|
| 173 |
+
float Local84 = math::dot(Local83, Local83);
|
| 174 |
+
float Local85 = math::sqrt(Local84);
|
| 175 |
+
float3 Local86 = (Local83 / Local85);
|
| 176 |
+
float3 Local87 = (Local86 * PolygonOffset);
|
| 177 |
+
|
| 178 |
+
float3 WorldPositionOffset_mdl = Local87;
|
| 179 |
+
float2 CustomizedUV0_mdl = float2(state::texture_coordinate(math::min(0,MaxTexCoordIndex)).x,1.0-state::texture_coordinate(math::min(0,MaxTexCoordIndex)).y);
|
| 180 |
+
|
| 181 |
+
float2 Local0 = (float2(0.5,0.5) * -1.0);
|
| 182 |
+
float Local1 = (CustomizedUV0_mdl.x * float3(Normal_UVA.x,Normal_UVA.y,Normal_UVA.z).x);
|
| 183 |
+
float Local2 = (CustomizedUV0_mdl.y * float3(Normal_UVA.x,Normal_UVA.y,Normal_UVA.z).y);
|
| 184 |
+
float2 Local3 = (Local0 + float2(Local1,Local2));
|
| 185 |
+
float Local4 = (3.141592 * -2.0);
|
| 186 |
+
float Local5 = (float3(Normal_UVA.x,Normal_UVA.y,Normal_UVA.z).z / Local4);
|
| 187 |
+
float Local6 = (Local5 * 6.283185);
|
| 188 |
+
float Local7 = math::cos(Local6);
|
| 189 |
+
float Local8 = math::sin(Local6);
|
| 190 |
+
float Local9 = (Local8 * -1.0);
|
| 191 |
+
float Local10 = math::dot(Local3, float2(Local7,Local9));
|
| 192 |
+
float Local11 = math::dot(Local3, float2(Local8,Local7));
|
| 193 |
+
float2 Local12 = (float2(0.5,0.5) + float2(Local10,Local11));
|
| 194 |
+
float4 Local13 = ::unpack_normal_map(tex::lookup_float4(Normal_Tex,float2(Local12.x,1.0-Local12.y),tex::wrap_repeat,tex::wrap_repeat));
|
| 195 |
+
float3 Local14 = ((math::abs(1.0 - 1.0) > 0.00001) ? (float3(0.0,0.0,0.0)) : float3(Local13.x,Local13.y,Local13.z));
|
| 196 |
+
|
| 197 |
+
float3 Normal_mdl = Local14;
|
| 198 |
+
|
| 199 |
+
float Local15 = (CustomizedUV0_mdl.x * float3(Emissive_UVA.x,Emissive_UVA.y,Emissive_UVA.z).x);
|
| 200 |
+
float Local16 = (CustomizedUV0_mdl.y * float3(Emissive_UVA.x,Emissive_UVA.y,Emissive_UVA.z).y);
|
| 201 |
+
float2 Local17 = (Local0 + float2(Local15,Local16));
|
| 202 |
+
float Local18 = (float3(Emissive_UVA.x,Emissive_UVA.y,Emissive_UVA.z).z / Local4);
|
| 203 |
+
float Local19 = (Local18 * 6.283185);
|
| 204 |
+
float Local20 = math::cos(Local19);
|
| 205 |
+
float Local21 = math::sin(Local19);
|
| 206 |
+
float Local22 = (Local21 * -1.0);
|
| 207 |
+
float Local23 = math::dot(Local17, float2(Local20,Local22));
|
| 208 |
+
float Local24 = math::dot(Local17, float2(Local21,Local20));
|
| 209 |
+
float2 Local25 = (float2(0.5,0.5) + float2(Local23,Local24));
|
| 210 |
+
float4 Local26 = tex::lookup_float4(Emissive_Tex,float2(Local25.x,1.0-Local25.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 211 |
+
float3 Local27 = ((math::abs(IsEmissiveTex - 1.0) > 0.00001) ? (float3(Emissive_Color.x,Emissive_Color.y,Emissive_Color.z)) : float3(Local26.x,Local26.y,Local26.z));
|
| 212 |
+
float3 Local28 = (EmissiveIntensity * Local27);
|
| 213 |
+
float Local29 = (CustomizedUV0_mdl.x * float3(BaseColor_UVA.x,BaseColor_UVA.y,BaseColor_UVA.z).x);
|
| 214 |
+
float Local30 = (CustomizedUV0_mdl.y * float3(BaseColor_UVA.x,BaseColor_UVA.y,BaseColor_UVA.z).y);
|
| 215 |
+
float2 Local31 = (Local0 + float2(Local29,Local30));
|
| 216 |
+
float Local32 = (float3(BaseColor_UVA.x,BaseColor_UVA.y,BaseColor_UVA.z).z / Local4);
|
| 217 |
+
float Local33 = (Local32 * 6.283185);
|
| 218 |
+
float Local34 = math::cos(Local33);
|
| 219 |
+
float Local35 = math::sin(Local33);
|
| 220 |
+
float Local36 = (Local35 * -1.0);
|
| 221 |
+
float Local37 = math::dot(Local31, float2(Local34,Local36));
|
| 222 |
+
float Local38 = math::dot(Local31, float2(Local35,Local34));
|
| 223 |
+
float2 Local39 = (float2(0.5,0.5) + float2(Local37,Local38));
|
| 224 |
+
float4 Local40 = tex::lookup_float4(BaseColor_Tex,float2(Local39.x,1.0-Local39.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 225 |
+
float3 Local41 = ((math::abs(IsBaseColorTex - 1.0) > 0.00001) ? (float3(BaseColor_Color.x,BaseColor_Color.y,BaseColor_Color.z)) : float3(Local40.x,Local40.y,Local40.z));
|
| 226 |
+
float Local42 = (CustomizedUV0_mdl.x * float3(Metallic_UVA.x,Metallic_UVA.y,Metallic_UVA.z).x);
|
| 227 |
+
float Local43 = (CustomizedUV0_mdl.y * float3(Metallic_UVA.x,Metallic_UVA.y,Metallic_UVA.z).y);
|
| 228 |
+
float2 Local44 = (Local0 + float2(Local42,Local43));
|
| 229 |
+
float Local45 = (float3(Metallic_UVA.x,Metallic_UVA.y,Metallic_UVA.z).z / Local4);
|
| 230 |
+
float Local46 = (Local45 * 6.283185);
|
| 231 |
+
float Local47 = math::cos(Local46);
|
| 232 |
+
float Local48 = math::sin(Local46);
|
| 233 |
+
float Local49 = (Local48 * -1.0);
|
| 234 |
+
float Local50 = math::dot(Local44, float2(Local47,Local49));
|
| 235 |
+
float Local51 = math::dot(Local44, float2(Local48,Local47));
|
| 236 |
+
float2 Local52 = (float2(0.5,0.5) + float2(Local50,Local51));
|
| 237 |
+
float4 Local53 = tex::lookup_float4(Metallic_Tex,float2(Local52.x,1.0-Local52.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 238 |
+
float3 Local54 = ((math::abs(IsMetallicTex - 1.0) > 0.00001) ? (float3(Metallic_Color.x,Metallic_Color.y,Metallic_Color.z)) : float3(Local53.x,Local53.y,Local53.z));
|
| 239 |
+
float Local55 = (CustomizedUV0_mdl.x * float3(Specular_UVA.x,Specular_UVA.y,Specular_UVA.z).x);
|
| 240 |
+
float Local56 = (CustomizedUV0_mdl.y * float3(Specular_UVA.x,Specular_UVA.y,Specular_UVA.z).y);
|
| 241 |
+
float2 Local57 = (Local0 + float2(Local55,Local56));
|
| 242 |
+
float Local58 = (float3(Specular_UVA.x,Specular_UVA.y,Specular_UVA.z).z / Local4);
|
| 243 |
+
float Local59 = (Local58 * 6.283185);
|
| 244 |
+
float Local60 = math::cos(Local59);
|
| 245 |
+
float Local61 = math::sin(Local59);
|
| 246 |
+
float Local62 = (Local61 * -1.0);
|
| 247 |
+
float Local63 = math::dot(Local57, float2(Local60,Local62));
|
| 248 |
+
float Local64 = math::dot(Local57, float2(Local61,Local60));
|
| 249 |
+
float2 Local65 = (float2(0.5,0.5) + float2(Local63,Local64));
|
| 250 |
+
float4 Local66 = tex::lookup_float4(Specular_Tex,float2(Local65.x,1.0-Local65.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 251 |
+
float3 Local67 = ((math::abs(IsSpecularTex - 1.0) > 0.00001) ? (float3(Specular_Color.x,Specular_Color.y,Specular_Color.z)) : float3(Local66.x,Local66.y,Local66.z));
|
| 252 |
+
float Local68 = (CustomizedUV0_mdl.x * float3(Gloss_UVA.x,Gloss_UVA.y,Gloss_UVA.z).x);
|
| 253 |
+
float Local69 = (CustomizedUV0_mdl.y * float3(Gloss_UVA.x,Gloss_UVA.y,Gloss_UVA.z).y);
|
| 254 |
+
float2 Local70 = (Local0 + float2(Local68,Local69));
|
| 255 |
+
float Local71 = (float3(Gloss_UVA.x,Gloss_UVA.y,Gloss_UVA.z).z / Local4);
|
| 256 |
+
float Local72 = (Local71 * 6.283185);
|
| 257 |
+
float Local73 = math::cos(Local72);
|
| 258 |
+
float Local74 = math::sin(Local72);
|
| 259 |
+
float Local75 = (Local74 * -1.0);
|
| 260 |
+
float Local76 = math::dot(Local70, float2(Local73,Local75));
|
| 261 |
+
float Local77 = math::dot(Local70, float2(Local74,Local73));
|
| 262 |
+
float2 Local78 = (float2(0.5,0.5) + float2(Local76,Local77));
|
| 263 |
+
float4 Local79 = tex::lookup_float4(Gloss_Tex,float2(Local78.x,1.0-Local78.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 264 |
+
float3 Local80 = ((math::abs(IsGlossTex - 1.0) > 0.00001) ? (float3(Gloss_Color.x,Gloss_Color.y,Gloss_Color.z)) : float3(Local79.x,Local79.y,Local79.z));
|
| 265 |
+
float3 Local81 = (1.0 - Local80);
|
| 266 |
+
|
| 267 |
+
float3 EmissiveColor_mdl = Local28;
|
| 268 |
+
float OpacityMask_mdl = 1.0;
|
| 269 |
+
float3 BaseColor_mdl = Local41;
|
| 270 |
+
float Metallic_mdl = Local54.x;
|
| 271 |
+
float Specular_mdl = Local67.x;
|
| 272 |
+
float Roughness_mdl = Local81.x;
|
| 273 |
+
|
| 274 |
+
} in
|
| 275 |
+
::OmniUe4Base(
|
| 276 |
+
base_color: BaseColor_mdl,
|
| 277 |
+
metallic: Metallic_mdl,
|
| 278 |
+
roughness: Roughness_mdl,
|
| 279 |
+
specular: Specular_mdl,
|
| 280 |
+
normal: Normal_mdl,
|
| 281 |
+
opacity: OpacityMask_mdl,
|
| 282 |
+
emissive_color: EmissiveColor_mdl,
|
| 283 |
+
displacement: WorldPositionOffset_mdl,
|
| 284 |
+
two_sided: false);
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/OmniUe4Base.mdl
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
//* 1.0.0 - first version
|
| 30 |
+
//* 1.0.1 - merge unlit template
|
| 31 |
+
//* 1.0.2 - Fix EDF in the back side: the EDF contained in surface is only used for the front side and not for the back side
|
| 32 |
+
//* 1.0.3 - UE4 normal mapping: Geometry normal shouldn't be changed
|
| 33 |
+
//* 1.0.4 - using absolute import paths when importing standard modules
|
| 34 |
+
|
| 35 |
+
mdl 1.3;
|
| 36 |
+
|
| 37 |
+
import ::df::*;
|
| 38 |
+
import ::state::*;
|
| 39 |
+
import ::math::*;
|
| 40 |
+
import ::tex::*;
|
| 41 |
+
import ::anno::*;
|
| 42 |
+
|
| 43 |
+
float emissive_multiplier()
|
| 44 |
+
[[
|
| 45 |
+
anno::description("the multiplier to convert UE4 emissive to raw data"),
|
| 46 |
+
anno::noinline()
|
| 47 |
+
]]
|
| 48 |
+
{
|
| 49 |
+
return 20.0f * 128.0f;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
float3 tangent_space_normal(
|
| 53 |
+
float3 normal = float3(0.0,0.0,1.0),
|
| 54 |
+
float3 tangent_u = state::texture_tangent_u(0),
|
| 55 |
+
float3 tangent_v = state::texture_tangent_v(0)
|
| 56 |
+
)
|
| 57 |
+
[[
|
| 58 |
+
anno::description("Interprets the vector in tangent space"),
|
| 59 |
+
anno::noinline()
|
| 60 |
+
]]
|
| 61 |
+
{
|
| 62 |
+
return math::normalize(
|
| 63 |
+
tangent_u * normal.x - /* flip_tangent_v */
|
| 64 |
+
tangent_v * normal.y +
|
| 65 |
+
state::normal() * (normal.z));
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
float3 world_space_normal(
|
| 69 |
+
float3 normal = float3(0.0,0.0,1.0),
|
| 70 |
+
float3 tangent_u = state::texture_tangent_u(0),
|
| 71 |
+
float3 tangent_v = state::texture_tangent_v(0)
|
| 72 |
+
)
|
| 73 |
+
[[
|
| 74 |
+
anno::description("Interprets the vector in world space"),
|
| 75 |
+
anno::noinline()
|
| 76 |
+
]]
|
| 77 |
+
{
|
| 78 |
+
return tangent_space_normal(
|
| 79 |
+
math::normalize(
|
| 80 |
+
normal.x * float3(tangent_u.x, tangent_v.x, state::normal().x) -
|
| 81 |
+
normal.y * float3(tangent_u.y, tangent_v.y, state::normal().y) +
|
| 82 |
+
normal.z * float3(tangent_u.z, tangent_v.z, state::normal().z)),
|
| 83 |
+
tangent_u,
|
| 84 |
+
tangent_v
|
| 85 |
+
);
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
export material OmniUe4Base(
|
| 89 |
+
float3 base_color = float3(0.0, 0.0, 0.0),
|
| 90 |
+
float metallic = 0.0,
|
| 91 |
+
float roughness = 0.5,
|
| 92 |
+
float specular = 0.5,
|
| 93 |
+
float3 normal = float3(0.0,0.0,1.0),
|
| 94 |
+
float clearcoat_weight = 0.0,
|
| 95 |
+
float clearcoat_roughness = 0.0,
|
| 96 |
+
float3 clearcoat_normal = float3(0.0,0.0,1.0),
|
| 97 |
+
uniform bool enable_opacity = true,
|
| 98 |
+
float opacity = 1.0,
|
| 99 |
+
float3 emissive_color = float3(0.0, 0.0, 0.0),
|
| 100 |
+
float3 displacement = float3(0.0),
|
| 101 |
+
uniform bool is_tangent_space_normal = true,
|
| 102 |
+
uniform bool two_sided = false,
|
| 103 |
+
uniform bool is_unlit = false
|
| 104 |
+
)
|
| 105 |
+
[[
|
| 106 |
+
anno::display_name("Omni UE4 Base"),
|
| 107 |
+
anno::description("Omni UE4 Base, supports UE4 default lit and clearcoat shading model"),
|
| 108 |
+
anno::version( 1, 0, 0),
|
| 109 |
+
anno::author("NVIDIA CORPORATION"),
|
| 110 |
+
anno::key_words(string[]("omni", "UE4", "omniverse", "lit", "clearcoat", "generic"))
|
| 111 |
+
]]
|
| 112 |
+
= let {
|
| 113 |
+
color final_base_color = math::saturate(base_color);
|
| 114 |
+
float final_metallic = math::saturate(metallic);
|
| 115 |
+
float final_roughness = math::saturate(roughness);
|
| 116 |
+
float final_specular = math::saturate(specular);
|
| 117 |
+
color final_emissive_color = math::max(emissive_color, 0.0f) * emissive_multiplier(); /*factor for converting ue4 emissive to raw value*/
|
| 118 |
+
float final_clearcoat_weight = math::saturate(clearcoat_weight);
|
| 119 |
+
float final_clearcoat_roughness = math::saturate(clearcoat_roughness);
|
| 120 |
+
float3 final_normal = math::normalize(normal);
|
| 121 |
+
float3 final_clearcoat_normal = math::normalize(clearcoat_normal);
|
| 122 |
+
|
| 123 |
+
// - compute final roughness by squaring the "roughness" parameter
|
| 124 |
+
float alpha = final_roughness * final_roughness;
|
| 125 |
+
// reduce the reflectivity at grazing angles to avoid "dark edges" for high roughness due to the layering
|
| 126 |
+
float grazing_refl = math::max((1.0 - final_roughness), 0.0);
|
| 127 |
+
|
| 128 |
+
float3 the_normal = is_unlit ? state::normal() :
|
| 129 |
+
(is_tangent_space_normal ?
|
| 130 |
+
tangent_space_normal(
|
| 131 |
+
normal: final_normal,
|
| 132 |
+
tangent_u: state::texture_tangent_u(0),
|
| 133 |
+
tangent_v: state::texture_tangent_v(0)
|
| 134 |
+
) : world_space_normal(
|
| 135 |
+
normal: final_normal,
|
| 136 |
+
tangent_u: state::texture_tangent_u(0),
|
| 137 |
+
tangent_v: state::texture_tangent_v(0)
|
| 138 |
+
));
|
| 139 |
+
|
| 140 |
+
// for the dielectric component we layer the glossy component on top of the diffuse one,
|
| 141 |
+
// the glossy layer has no color tint
|
| 142 |
+
|
| 143 |
+
bsdf dielectric_component = df::custom_curve_layer(
|
| 144 |
+
weight: final_specular,
|
| 145 |
+
normal_reflectivity: 0.08,
|
| 146 |
+
grazing_reflectivity: grazing_refl,
|
| 147 |
+
layer: df::microfacet_ggx_smith_bsdf(roughness_u: alpha),
|
| 148 |
+
base: df::diffuse_reflection_bsdf(tint: final_base_color),
|
| 149 |
+
normal: the_normal);
|
| 150 |
+
|
| 151 |
+
// the metallic component doesn't have a diffuse component, it's only glossy
|
| 152 |
+
// base_color is applied to tint it
|
| 153 |
+
bsdf metallic_component = df::microfacet_ggx_smith_bsdf(tint: final_base_color, roughness_u: alpha);
|
| 154 |
+
|
| 155 |
+
// final BSDF is a linear blend between dielectric and metallic component
|
| 156 |
+
bsdf dielectric_metal_mix =
|
| 157 |
+
df::normalized_mix(
|
| 158 |
+
components:
|
| 159 |
+
df::bsdf_component[](
|
| 160 |
+
df::bsdf_component(
|
| 161 |
+
component: metallic_component,
|
| 162 |
+
weight: final_metallic),
|
| 163 |
+
df::bsdf_component(
|
| 164 |
+
component: dielectric_component,
|
| 165 |
+
weight: 1.0-final_metallic)
|
| 166 |
+
)
|
| 167 |
+
);
|
| 168 |
+
|
| 169 |
+
// clearcoat layer
|
| 170 |
+
float clearcoat_grazing_refl = math::max((1.0 - final_clearcoat_roughness), 0.0);
|
| 171 |
+
float clearcoat_alpha = final_clearcoat_roughness * final_clearcoat_roughness;
|
| 172 |
+
|
| 173 |
+
float3 the_clearcoat_normal = is_tangent_space_normal ? tangent_space_normal(
|
| 174 |
+
normal: final_clearcoat_normal,
|
| 175 |
+
tangent_u: state::texture_tangent_u(0),
|
| 176 |
+
tangent_v: state::texture_tangent_v(0)
|
| 177 |
+
) : world_space_normal(
|
| 178 |
+
normal: final_clearcoat_normal,
|
| 179 |
+
tangent_u: state::texture_tangent_u(0),
|
| 180 |
+
tangent_v: state::texture_tangent_v(0)
|
| 181 |
+
);
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
bsdf clearcoat =
|
| 185 |
+
df::custom_curve_layer(
|
| 186 |
+
base: df::weighted_layer(
|
| 187 |
+
layer: dielectric_metal_mix,
|
| 188 |
+
weight: 1.0,
|
| 189 |
+
normal: final_clearcoat_weight == 0.0 ? state::normal() : the_normal
|
| 190 |
+
),
|
| 191 |
+
layer: df::microfacet_ggx_smith_bsdf(
|
| 192 |
+
roughness_u: clearcoat_alpha,
|
| 193 |
+
tint: color(1.0)
|
| 194 |
+
),
|
| 195 |
+
normal_reflectivity: 0.04,
|
| 196 |
+
grazing_reflectivity: clearcoat_grazing_refl,
|
| 197 |
+
normal: the_clearcoat_normal,
|
| 198 |
+
weight: final_clearcoat_weight
|
| 199 |
+
);
|
| 200 |
+
bsdf surface = is_unlit ? bsdf() : clearcoat;
|
| 201 |
+
}
|
| 202 |
+
in material(
|
| 203 |
+
thin_walled: two_sided, // Graphene?
|
| 204 |
+
surface: material_surface(
|
| 205 |
+
scattering: surface,
|
| 206 |
+
emission:
|
| 207 |
+
material_emission (
|
| 208 |
+
emission: df::diffuse_edf (),
|
| 209 |
+
intensity: final_emissive_color
|
| 210 |
+
)
|
| 211 |
+
),
|
| 212 |
+
backface: material_surface(
|
| 213 |
+
emission:
|
| 214 |
+
material_emission (
|
| 215 |
+
emission: df::diffuse_edf (),
|
| 216 |
+
intensity: final_emissive_color
|
| 217 |
+
)
|
| 218 |
+
),
|
| 219 |
+
geometry: material_geometry(
|
| 220 |
+
displacement: displacement,
|
| 221 |
+
normal: final_clearcoat_weight == 0.0 ? the_normal : state::normal(),
|
| 222 |
+
cutout_opacity: enable_op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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
//* 1.0.1 - using absolute import paths when importing standard modules
|
| 30 |
+
|
| 31 |
+
mdl 1.6;
|
| 32 |
+
|
| 33 |
+
import ::df::*;
|
| 34 |
+
import ::state::*;
|
| 35 |
+
import ::math::*;
|
| 36 |
+
import ::tex::*;
|
| 37 |
+
import ::anno::*;
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
export float3 convert_to_left_hand(float3 vec3, uniform bool up_z = true, uniform bool is_position = true)
|
| 41 |
+
[[
|
| 42 |
+
anno::description("convert from RH to LH"),
|
| 43 |
+
anno::noinline()
|
| 44 |
+
]]
|
| 45 |
+
{
|
| 46 |
+
float4x4 ZupConversion = float4x4(
|
| 47 |
+
1.0f, 0.0f, 0.0f, 0.0f,
|
| 48 |
+
0.0f, -1.0f, 0.0f, 0.0f,
|
| 49 |
+
0.0f, 0.0f, 1.0f, 0.0f,
|
| 50 |
+
0.0f, 0.0f, 0.0f, 1.0f
|
| 51 |
+
);
|
| 52 |
+
|
| 53 |
+
float4x4 YupConversion = float4x4(
|
| 54 |
+
1.0f, 0.0f, 0.0f, 0.0f,
|
| 55 |
+
0.0f, 0.0f, 1.0f, 0.0f,
|
| 56 |
+
0.0f, 1.0f, 0.0f, 0.0f,
|
| 57 |
+
0.0f, 0.0f, 0.0f, 1.0f
|
| 58 |
+
);
|
| 59 |
+
|
| 60 |
+
float4 vec4 = float4(vec3.x, vec3.y, vec3.z, is_position ? 1.0f : 0.0f);
|
| 61 |
+
|
| 62 |
+
vec4 = vec4 * (up_z ? ZupConversion : YupConversion);
|
| 63 |
+
|
| 64 |
+
return float3(vec4.x, vec4.y, vec4.z);
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
export float3 transform_vector_from_tangent_to_world(float3 vector,
|
| 68 |
+
uniform bool up_z = true,
|
| 69 |
+
float3 tangent_u = state::texture_tangent_u(0),
|
| 70 |
+
float3 tangent_v = state::texture_tangent_v(0))
|
| 71 |
+
[[
|
| 72 |
+
anno::description("Transform vector from tangent space to world space"),
|
| 73 |
+
anno::noinline()
|
| 74 |
+
]]
|
| 75 |
+
{
|
| 76 |
+
/* flip_tangent_v */
|
| 77 |
+
return convert_to_left_hand(
|
| 78 |
+
tangent_u * vector.x - tangent_v * vector.y + state::normal() * vector.z,
|
| 79 |
+
up_z, false);
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
export float3 transform_vector_from_world_to_tangent(float3 vector,
|
| 83 |
+
uniform bool up_z = true,
|
| 84 |
+
float3 tangent_u = state::texture_tangent_u(0),
|
| 85 |
+
float3 tangent_v = state::texture_tangent_v(0))
|
| 86 |
+
[[
|
| 87 |
+
anno::description("Transform vector from world space to tangent space"),
|
| 88 |
+
anno::noinline()
|
| 89 |
+
]]
|
| 90 |
+
{
|
| 91 |
+
float3 vecRH = convert_to_left_hand(vector, up_z, false);
|
| 92 |
+
/* flip_tangent_v */
|
| 93 |
+
return vecRH.x * float3(tangent_u.x, -tangent_v.x, state::normal().x) +
|
| 94 |
+
vecRH.y * float3(tangent_u.y, -tangent_v.y, state::normal().y) +
|
| 95 |
+
vecRH.z * float3(tangent_u.z, -tangent_v.z, state::normal().z);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
export float4 unpack_normal_map(
|
| 99 |
+
float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0)
|
| 100 |
+
)
|
| 101 |
+
[[
|
| 102 |
+
anno::description("Unpack a normal stored in a normal map"),
|
| 103 |
+
anno::noinline()
|
| 104 |
+
]]
|
| 105 |
+
{
|
| 106 |
+
float2 normal_xy = float2(texture_sample.x, texture_sample.y);
|
| 107 |
+
|
| 108 |
+
normal_xy = normal_xy * float2(2.0,2.0) - float2(1.0,1.0);
|
| 109 |
+
float normal_z = math::sqrt( math::saturate( 1.0 - math::dot( normal_xy, normal_xy ) ) );
|
| 110 |
+
return float4( normal_xy.x, normal_xy.y, normal_z, 1.0 );
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
// for get color value from normal.
|
| 114 |
+
export float4 pack_normal_map(
|
| 115 |
+
float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0)
|
| 116 |
+
)
|
| 117 |
+
[[
|
| 118 |
+
anno::description("Pack to color from a normal")
|
| 119 |
+
]]
|
| 120 |
+
{
|
| 121 |
+
float2 return_xy = float2(texture_sample.x, texture_sample.y);
|
| 122 |
+
|
| 123 |
+
return_xy = (return_xy + float2(1.0,1.0)) / float2(2.0,2.0);
|
| 124 |
+
|
| 125 |
+
return float4( return_xy.x, return_xy.y, 0.0, 1.0 );
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
export float4 greyscale_texture_lookup(
|
| 129 |
+
float4 texture_sample = float4(0.0, 0.0, 0.0, 1.0)
|
| 130 |
+
)
|
| 131 |
+
[[
|
| 132 |
+
anno::description("Sampling a greyscale texture"),
|
| 133 |
+
anno::noinline()
|
| 134 |
+
]]
|
| 135 |
+
{
|
| 136 |
+
return float4(texture_sample.x, texture_sample.x, texture_sample.x, texture_sample.x);
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
export float3 pixel_normal_world_space(uniform bool up_z = true)
|
| 140 |
+
[[
|
| 141 |
+
anno::description("Pixel normal in world space"),
|
| 142 |
+
anno::noinline()
|
| 143 |
+
]]
|
| 144 |
+
{
|
| 145 |
+
return convert_to_left_hand(state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()), up_z, false);
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
export float3 vertex_normal_world_space(uniform bool up_z = true)
|
| 149 |
+
[[
|
| 150 |
+
anno::description("Vertex normal in world space"),
|
| 151 |
+
anno::noinline()
|
| 152 |
+
]]
|
| 153 |
+
{
|
| 154 |
+
return convert_to_left_hand(state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()), up_z, false);
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
export float3 landscape_normal_world_space(uniform bool up_z = true)
|
| 158 |
+
[[
|
| 159 |
+
anno::description("Landscape normal in world space")
|
| 160 |
+
]]
|
| 161 |
+
{
|
| 162 |
+
float3 normalFromNormalmap = math::floor((::vertex_normal_world_space(up_z) * 0.5 + 0.5) * 255.0) / 255.0 * 2.0 - 1.0;
|
| 163 |
+
|
| 164 |
+
float2 normalXY = float2(normalFromNormalmap.x, normalFromNormalmap.y);
|
| 165 |
+
return float3(normalXY.x, normalXY.y, math::sqrt(math::saturate(1.0 - math::dot(normalXY, normalXY))));
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
// Different implementation specific between mdl and hlsl for smoothstep
|
| 169 |
+
export float smoothstep(float a, float b, float l)
|
| 170 |
+
{
|
| 171 |
+
if (a < b)
|
| 172 |
+
{
|
| 173 |
+
return math::smoothstep(a, b, l);
|
| 174 |
+
}
|
| 175 |
+
else if (a > b)
|
| 176 |
+
{
|
| 177 |
+
return 1.0 - math::smoothstep(b, a, l);
|
| 178 |
+
}
|
| 179 |
+
else
|
| 180 |
+
{
|
| 181 |
+
return l <= a ? 0.0 : 1.0;
|
| 182 |
+
}
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
export float2 smoothstep(float2 a, float2 b, float2 l)
|
| 186 |
+
{
|
| 187 |
+
return float2(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y));
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
export float3 smoothstep(float3 a, float3 b, float3 l)
|
| 191 |
+
{
|
| 192 |
+
return float3(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z));
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
export float4 smoothstep(float4 a, float4 b, float4 l)
|
| 196 |
+
{
|
| 197 |
+
return float4(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z), smoothstep(a.w, b.w, l.w));
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
export float2 smoothstep(float2 a, float2 b, float l)
|
| 201 |
+
{
|
| 202 |
+
return float2(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l));
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
export float3 smoothstep(float3 a, float3 b, float l)
|
| 206 |
+
{
|
| 207 |
+
return float3(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l));
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
export float4 smoothstep(float4 a, float4 b, float l)
|
| 211 |
+
{
|
| 212 |
+
return float4(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l), smoothstep(a.w, b.w, l));
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
export float2 smoothstep(float a, float b, float2 l)
|
| 216 |
+
{
|
| 217 |
+
return float2(smoothstep(a, b, l.x), smoothstep(a, b, l.y));
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
export float3 smoothstep(float a, float b, float3 l)
|
| 221 |
+
{
|
| 222 |
+
return float3(smoothstep(a, b, l.x), smoothstep(a, b, l.y), smoothstep(a, b, l.z));
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
export float4 smoothstep(float a, float b, float4 l)
|
| 226 |
+
{
|
| 227 |
+
return float4(smoothstep(a, b, l.x), smoothstep(a, b, l.y), smoothstep(a, b, l.z), smoothstep(a, b, l.w));
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
//------------------ Random from UE4 -----------------------
|
| 231 |
+
float length2(float3 v)
|
| 232 |
+
{
|
| 233 |
+
return math::dot(v, v);
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
float3 GetPerlinNoiseGradientTextureAt(uniform texture_2d PerlinNoiseGradientTexture, float3 v)
|
| 237 |
+
{
|
| 238 |
+
const float2 ZShear = float2(17.0f, 89.0f);
|
| 239 |
+
|
| 240 |
+
float2 OffsetA = v.z * ZShear;
|
| 241 |
+
float2 TexA = (float2(v.x, v.y) + OffsetA + 0.5f) / 128.0f;
|
| 242 |
+
float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA.x,1.0-TexA.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 243 |
+
return float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z) * 2.0 - 1.0;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
float3 SkewSimplex(float3 In)
|
| 247 |
+
{
|
| 248 |
+
return In + math::dot(In, float3(1.0 / 3.0f) );
|
| 249 |
+
}
|
| 250 |
+
float3 UnSkewSimplex(float3 In)
|
| 251 |
+
{
|
| 252 |
+
return In - math::dot(In, float3(1.0 / 6.0f) );
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
// 3D random number generator inspired by PCGs (permuted congruential generator)
|
| 256 |
+
// Using a **simple** Feistel cipher in place of the usual xor shift permutation step
|
| 257 |
+
// @param v = 3D integer coordinate
|
| 258 |
+
// @return three elements w/ 16 random bits each (0-0xffff).
|
| 259 |
+
// ~8 ALU operations for result.x (7 mad, 1 >>)
|
| 260 |
+
// ~10 ALU operations for result.xy (8 mad, 2 >>)
|
| 261 |
+
// ~12 ALU operations for result.xyz (9 mad, 3 >>)
|
| 262 |
+
|
| 263 |
+
//TODO: uint3
|
| 264 |
+
int3 Rand3DPCG16(int3 p)
|
| 265 |
+
{
|
| 266 |
+
// taking a signed int then reinterpreting as unsigned gives good behavior for negatives
|
| 267 |
+
//TODO: uint3
|
| 268 |
+
int3 v = int3(p);
|
| 269 |
+
|
| 270 |
+
// Linear congruential step. These LCG constants are from Numerical Recipies
|
| 271 |
+
// For additional #'s, PCG would do multiple LCG steps and scramble each on output
|
| 272 |
+
// So v here is the RNG state
|
| 273 |
+
v = v * 1664525 + 1013904223;
|
| 274 |
+
|
| 275 |
+
// PCG uses xorshift for the final shuffle, but it is expensive (and cheap
|
| 276 |
+
// versions of xorshift have visible artifacts). Instead, use simple MAD Feistel steps
|
| 277 |
+
//
|
| 278 |
+
// Feistel ciphers divide the state into separate parts (usually by bits)
|
| 279 |
+
// then apply a series of permutation steps one part at a time. The permutations
|
| 280 |
+
// use a reversible operation (usually ^) to part being updated with the result of
|
| 281 |
+
// a permutation function on the other parts and the key.
|
| 282 |
+
//
|
| 283 |
+
// In this case, I'm using v.x, v.y and v.z as the parts, using + instead of ^ for
|
| 284 |
+
// the combination function, and just multiplying the other two parts (no key) for
|
| 285 |
+
// the permutation function.
|
| 286 |
+
//
|
| 287 |
+
// That gives a simple mad per round.
|
| 288 |
+
v.x += v.y*v.z;
|
| 289 |
+
v.y += v.z*v.x;
|
| 290 |
+
v.z += v.x*v.y;
|
| 291 |
+
v.x += v.y*v.z;
|
| 292 |
+
v.y += v.z*v.x;
|
| 293 |
+
v.z += v.x*v.y;
|
| 294 |
+
|
| 295 |
+
// only top 16 bits are well shuffled
|
| 296 |
+
return v >> 16;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
// Wraps noise for tiling texture creation
|
| 300 |
+
// @param v = unwrapped texture parameter
|
| 301 |
+
// @param bTiling = true to tile, false to not tile
|
| 302 |
+
// @param RepeatSize = number of units before repeating
|
| 303 |
+
// @return either original or wrapped coord
|
| 304 |
+
float3 NoiseTileWrap(float3 v, bool bTiling, float RepeatSize)
|
| 305 |
+
{
|
| 306 |
+
return bTiling ? (math::frac(v / RepeatSize) * RepeatSize) : v;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
// Evaluate polynomial to get smooth transitions for Perlin noise
|
| 310 |
+
// only needed by Perlin functions in this file
|
| 311 |
+
// scalar(per component): 2 add, 5 mul
|
| 312 |
+
float4 PerlinRamp(float4 t)
|
| 313 |
+
{
|
| 314 |
+
return t * t * t * (t * (t * 6 - 15) + 10);
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
// Blum-Blum-Shub-inspired pseudo random number generator
|
| 318 |
+
// http://www.umbc.edu/~olano/papers/mNoise.pdf
|
| 319 |
+
// real BBS uses ((s*s) mod M) with bignums and M as the product of two huge Blum primes
|
| 320 |
+
// instead, we use a single prime M just small enough not to overflow
|
| 321 |
+
// note that the above paper used 61, which fits in a half, but is unusably bad
|
| 322 |
+
// @param Integer valued floating point seed
|
| 323 |
+
// @return random number in range [0,1)
|
| 324 |
+
// ~8 ALU operations (5 *, 3 frac)
|
| 325 |
+
float RandBBSfloat(float seed)
|
| 326 |
+
{
|
| 327 |
+
float BBS_PRIME24 = 4093.0;
|
| 328 |
+
float s = math::frac(seed / BBS_PRIME24);
|
| 329 |
+
s = math::frac(s * s * BBS_PRIME24);
|
| 330 |
+
s = math::frac(s * s * BBS_PRIME24);
|
| 331 |
+
return s;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
// Modified noise gradient term
|
| 335 |
+
// @param seed - random seed for integer lattice position
|
| 336 |
+
// @param offset - [-1,1] offset of evaluation point from lattice point
|
| 337 |
+
// @return gradient direction (xyz) and contribution (w) from this lattice point
|
| 338 |
+
float4 MGradient(int seed, float3 offset)
|
| 339 |
+
{
|
| 340 |
+
//TODO uint
|
| 341 |
+
int rand = Rand3DPCG16(int3(seed,0,0)).x;
|
| 342 |
+
int3 MGradientMask = int3(0x8000, 0x4000, 0x2000);
|
| 343 |
+
float3 MGradientScale = float3(1.0 / 0x4000, 1.0 / 0x2000, 1.0 / 0x1000);
|
| 344 |
+
float3 direction = float3(int3(rand, rand, rand) & MGradientMask) * MGradientScale - 1;
|
| 345 |
+
return float4(direction.x, direction.y, direction.z, math::dot(direction, offset));
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
// compute Perlin and related noise corner seed values
|
| 349 |
+
// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D
|
| 350 |
+
// @param bTiling = true to return seed values for a repeating noise pattern
|
| 351 |
+
// @param RepeatSize = integer units before tiling in each dimension
|
| 352 |
+
// @param seed000-seed111 = hash function seeds for the eight corners
|
| 353 |
+
// @return fractional part of v
|
| 354 |
+
struct SeedValue
|
| 355 |
+
{
|
| 356 |
+
float3 fv = float3(0);
|
| 357 |
+
float seed000 = 0;
|
| 358 |
+
float seed001 = 0;
|
| 359 |
+
float seed010 = 0;
|
| 360 |
+
float seed011 = 0;
|
| 361 |
+
float seed100 = 0;
|
| 362 |
+
float seed101 = 0;
|
| 363 |
+
float seed110 = 0;
|
| 364 |
+
float seed111 = 0;
|
| 365 |
+
};
|
| 366 |
+
|
| 367 |
+
SeedValue NoiseSeeds(float3 v, bool bTiling, float RepeatSize)
|
| 368 |
+
{
|
| 369 |
+
SeedValue seeds;
|
| 370 |
+
seeds.fv = math::frac(v);
|
| 371 |
+
float3 iv = math::floor(v);
|
| 372 |
+
|
| 373 |
+
const float3 primes = float3(19, 47, 101);
|
| 374 |
+
|
| 375 |
+
if (bTiling)
|
| 376 |
+
{ // can't algebraically combine with primes
|
| 377 |
+
seeds.seed000 = math::dot(primes, NoiseTileWrap(iv, true, RepeatSize));
|
| 378 |
+
seeds.seed100 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 0), true, RepeatSize));
|
| 379 |
+
seeds.seed010 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 0), true, RepeatSize));
|
| 380 |
+
seeds.seed110 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 0), true, RepeatSize));
|
| 381 |
+
seeds.seed001 = math::dot(primes, NoiseTileWrap(iv + float3(0, 0, 1), true, RepeatSize));
|
| 382 |
+
seeds.seed101 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 1), true, RepeatSize));
|
| 383 |
+
seeds.seed011 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 1), true, RepeatSize));
|
| 384 |
+
seeds.seed111 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 1), true, RepeatSize));
|
| 385 |
+
}
|
| 386 |
+
else
|
| 387 |
+
{ // get to combine offsets with multiplication by primes in this case
|
| 388 |
+
seeds.seed000 = math::dot(iv, primes);
|
| 389 |
+
seeds.seed100 = seeds.seed000 + primes.x;
|
| 390 |
+
seeds.seed010 = seeds.seed000 + primes.y;
|
| 391 |
+
seeds.seed110 = seeds.seed100 + primes.y;
|
| 392 |
+
seeds.seed001 = seeds.seed000 + primes.z;
|
| 393 |
+
seeds.seed101 = seeds.seed100 + primes.z;
|
| 394 |
+
seeds.seed011 = seeds.seed010 + primes.z;
|
| 395 |
+
seeds.seed111 = seeds.seed110 + primes.z;
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
return seeds;
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
struct SimplexWeights
|
| 402 |
+
{
|
| 403 |
+
float4 Result = float4(0);
|
| 404 |
+
float3 PosA = float3(0);
|
| 405 |
+
float3 PosB = float3(0);
|
| 406 |
+
float3 PosC = float3(0);
|
| 407 |
+
float3 PosD = float3(0);
|
| 408 |
+
};
|
| 409 |
+
|
| 410 |
+
// Computed weights and sample positions for simplex interpolation
|
| 411 |
+
// @return float4(a,b,c, d) Barycentric coordinate defined as Filtered = Tex(PosA) * a + Tex(PosB) * b + Tex(PosC) * c + Tex(PosD) * d
|
| 412 |
+
SimplexWeights ComputeSimplexWeights3D(float3 OrthogonalPos)
|
| 413 |
+
{
|
| 414 |
+
SimplexWeights weights;
|
| 415 |
+
float3 OrthogonalPosFloor = math::floor(OrthogonalPos);
|
| 416 |
+
|
| 417 |
+
weights.PosA = OrthogonalPosFloor;
|
| 418 |
+
weights.PosB = weights.PosA + float3(1, 1, 1);
|
| 419 |
+
|
| 420 |
+
OrthogonalPos -= OrthogonalPosFloor;
|
| 421 |
+
|
| 422 |
+
float Largest = math::max(OrthogonalPos.x, math::max(OrthogonalPos.y, OrthogonalPos.z));
|
| 423 |
+
float Smallest = math::min(OrthogonalPos.x, math::min(OrthogonalPos.y, OrthogonalPos.z));
|
| 424 |
+
|
| 425 |
+
weights.PosC = weights.PosA + float3(Largest == OrthogonalPos.x, Largest == OrthogonalPos.y, Largest == OrthogonalPos.z);
|
| 426 |
+
weights.PosD = weights.PosA + float3(Smallest != OrthogonalPos.x, Smallest != OrthogonalPos.y, Smallest != OrthogonalPos.z);
|
| 427 |
+
|
| 428 |
+
float RG = OrthogonalPos.x - OrthogonalPos.y;
|
| 429 |
+
float RB = OrthogonalPos.x - OrthogonalPos.z;
|
| 430 |
+
float GB = OrthogonalPos.y - OrthogonalPos.z;
|
| 431 |
+
|
| 432 |
+
weights.Result.z =
|
| 433 |
+
math::min(math::max(0, RG), math::max(0, RB)) // X
|
| 434 |
+
+ math::min(math::max(0, -RG), math::max(0, GB)) // Y
|
| 435 |
+
+ math::min(math::max(0, -RB), math::max(0, -GB)); // Z
|
| 436 |
+
|
| 437 |
+
weights.Result.w =
|
| 438 |
+
math::min(math::max(0, -RG), math::max(0, -RB)) // X
|
| 439 |
+
+ math::min(math::max(0, RG), math::max(0, -GB)) // Y
|
| 440 |
+
+ math::min(math::max(0, RB), math::max(0, GB)); // Z
|
| 441 |
+
|
| 442 |
+
weights.Result.y = Smallest;
|
| 443 |
+
weights.Result.x = 1.0f - weights.Result.y - weights.Result.z - weights.Result.w;
|
| 444 |
+
|
| 445 |
+
return weights;
|
| 446 |
+
}
|
| 447 |
+
|
| 448 |
+
// filtered 3D gradient simple noise (few texture lookups, high quality)
|
| 449 |
+
// @param v >0
|
| 450 |
+
// @return random number in the range -1 .. 1
|
| 451 |
+
float SimplexNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 EvalPos)
|
| 452 |
+
{
|
| 453 |
+
float3 OrthogonalPos = SkewSimplex(EvalPos);
|
| 454 |
+
|
| 455 |
+
SimplexWeights Weights = ComputeSimplexWeights3D(OrthogonalPos);
|
| 456 |
+
|
| 457 |
+
// can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 32 bit)
|
| 458 |
+
float3 A = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosA);
|
| 459 |
+
float3 B = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosB);
|
| 460 |
+
float3 C = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosC);
|
| 461 |
+
float3 D = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosD);
|
| 462 |
+
|
| 463 |
+
Weights.PosA = UnSkewSimplex(Weights.PosA);
|
| 464 |
+
Weights.PosB = UnSkewSimplex(Weights.PosB);
|
| 465 |
+
Weights.PosC = UnSkewSimplex(Weights.PosC);
|
| 466 |
+
Weights.PosD = UnSkewSimplex(Weights.PosD);
|
| 467 |
+
|
| 468 |
+
float DistanceWeight;
|
| 469 |
+
|
| 470 |
+
DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosA)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight;
|
| 471 |
+
float a = math::dot(A, EvalPos - Weights.PosA) * DistanceWeight;
|
| 472 |
+
DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosB)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight;
|
| 473 |
+
float b = math::dot(B, EvalPos - Weights.PosB) * DistanceWeight;
|
| 474 |
+
DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosC)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight;
|
| 475 |
+
float c = math::dot(C, EvalPos - Weights.PosC) * DistanceWeight;
|
| 476 |
+
DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosD)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight;
|
| 477 |
+
float d = math::dot(D, EvalPos - Weights.PosD) * DistanceWeight;
|
| 478 |
+
|
| 479 |
+
return 32 * (a + b + c + d);
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
// filtered 3D noise, can be optimized
|
| 483 |
+
// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D
|
| 484 |
+
// @param bTiling = repeat noise pattern
|
| 485 |
+
// @param RepeatSize = integer units before tiling in each dimension
|
| 486 |
+
// @return random number in the range -1 .. 1
|
| 487 |
+
float GradientNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 v, bool bTiling, float RepeatSize)
|
| 488 |
+
{
|
| 489 |
+
bTiling = true;
|
| 490 |
+
float3 fv = math::frac(v);
|
| 491 |
+
float3 iv0 = NoiseTileWrap(math::floor(v), bTiling, RepeatSize);
|
| 492 |
+
float3 iv1 = NoiseTileWrap(iv0 + 1, bTiling, RepeatSize);
|
| 493 |
+
|
| 494 |
+
const int2 ZShear = int2(17, 89);
|
| 495 |
+
|
| 496 |
+
float2 OffsetA = iv0.z * ZShear;
|
| 497 |
+
float2 OffsetB = OffsetA + ZShear; // non-tiling, use relative offset
|
| 498 |
+
if (bTiling) // tiling, have to compute from wrapped coordinates
|
| 499 |
+
{
|
| 500 |
+
OffsetB = iv1.z * ZShear;
|
| 501 |
+
}
|
| 502 |
+
|
| 503 |
+
// Texture size scale factor
|
| 504 |
+
float ts = 1 / 128.0f;
|
| 505 |
+
|
| 506 |
+
// texture coordinates for iv0.xy, as offset for both z slices
|
| 507 |
+
float2 TexA0 = (float2(iv0.x, iv0.y) + OffsetA + 0.5f) * ts;
|
| 508 |
+
float2 TexB0 = (float2(iv0.x, iv0.y) + OffsetB + 0.5f) * ts;
|
| 509 |
+
|
| 510 |
+
// texture coordinates for iv1.xy, as offset for both z slices
|
| 511 |
+
float2 TexA1 = TexA0 + ts; // for non-tiling, can compute relative to existing coordinates
|
| 512 |
+
float2 TexB1 = TexB0 + ts;
|
| 513 |
+
if (bTiling) // for tiling, need to compute from wrapped coordinates
|
| 514 |
+
{
|
| 515 |
+
TexA1 = (float2(iv1.x, iv1.y) + OffsetA + 0.5f) * ts;
|
| 516 |
+
TexB1 = (float2(iv1.x, iv1.y) + OffsetB + 0.5f) * ts;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
|
| 520 |
+
// can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 8, 16 or 32 bit)
|
| 521 |
+
float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 522 |
+
float3 PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 523 |
+
float3 A = PerlinNoiseColor * 2 - 1;
|
| 524 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 525 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 526 |
+
float3 B = PerlinNoiseColor * 2 - 1;
|
| 527 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 528 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 529 |
+
float3 C = PerlinNoiseColor * 2 - 1;
|
| 530 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 531 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 532 |
+
float3 D = PerlinNoiseColor * 2 - 1;
|
| 533 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 534 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 535 |
+
float3 E = PerlinNoiseColor * 2 - 1;
|
| 536 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 537 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 538 |
+
float3 F = PerlinNoiseColor * 2 - 1;
|
| 539 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 540 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 541 |
+
float3 G = PerlinNoiseColor * 2 - 1;
|
| 542 |
+
PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 543 |
+
PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z);
|
| 544 |
+
float3 H = PerlinNoiseColor * 2 - 1;
|
| 545 |
+
|
| 546 |
+
float a = math::dot(A, fv - float3(0, 0, 0));
|
| 547 |
+
float b = math::dot(B, fv - float3(1, 0, 0));
|
| 548 |
+
float c = math::dot(C, fv - float3(0, 1, 0));
|
| 549 |
+
float d = math::dot(D, fv - float3(1, 1, 0));
|
| 550 |
+
float e = math::dot(E, fv - float3(0, 0, 1));
|
| 551 |
+
float f = math::dot(F, fv - float3(1, 0, 1));
|
| 552 |
+
float g = math::dot(G, fv - float3(0, 1, 1));
|
| 553 |
+
float h = math::dot(H, fv - float3(1, 1, 1));
|
| 554 |
+
|
| 555 |
+
float4 Weights = PerlinRamp(math::frac(float4(fv.x, fv.y, fv.z, 0)));
|
| 556 |
+
|
| 557 |
+
float i = math::lerp(math::lerp(a, b, Weights.x), math::lerp(c, d, Weights.x), Weights.y);
|
| 558 |
+
float j = math::lerp(math::lerp(e, f, Weights.x), math::lerp(g, h, Weights.x), Weights.y);
|
| 559 |
+
|
| 560 |
+
return math::lerp(i, j, Weights.z);
|
| 561 |
+
}
|
| 562 |
+
|
| 563 |
+
// @return random number in the range -1 .. 1
|
| 564 |
+
// scalar: 6 frac, 31 mul/mad, 15 add,
|
| 565 |
+
float FastGradientPerlinNoise3D_TEX(uniform texture_3d PerlinNoise3DTexture, float3 xyz)
|
| 566 |
+
{
|
| 567 |
+
// needs to be the same value when creating the PerlinNoise3D texture
|
| 568 |
+
float Extent = 16;
|
| 569 |
+
|
| 570 |
+
// last texel replicated and needed for filtering
|
| 571 |
+
// scalar: 3 frac, 6 mul
|
| 572 |
+
xyz = math::frac(xyz / (Extent - 1)) * (Extent - 1);
|
| 573 |
+
|
| 574 |
+
// scalar: 3 frac
|
| 575 |
+
float3 uvw = math::frac(xyz);
|
| 576 |
+
// = floor(xyz);
|
| 577 |
+
// scalar: 3 add
|
| 578 |
+
float3 p0 = xyz - uvw;
|
| 579 |
+
// float3 f = math::pow(uvw, 2) * 3.0f - math::pow(uvw, 3) * 2.0f; // original perlin hermite (ok when used without bump mapping)
|
| 580 |
+
// scalar: 2*3 add 5*3 mul
|
| 581 |
+
float4 pr = PerlinRamp(float4(uvw.x, uvw.y, uvw.z, 0));
|
| 582 |
+
float3 f = float3(pr.x, pr.y, pr.z); // new, better with continues second derivative for bump mapping
|
| 583 |
+
// scalar: 3 add
|
| 584 |
+
float3 p = p0 + f;
|
| 585 |
+
// scalar: 3 mad
|
| 586 |
+
// TODO: need reverse???
|
| 587 |
+
float4 NoiseSample = tex::lookup_float4(PerlinNoise3DTexture, p / Extent + 0.5f / Extent); // +0.5f to get rid of bilinear offset
|
| 588 |
+
|
| 589 |
+
// reconstruct from 8bit (using mad with 2 constants and dot4 was same instruction count)
|
| 590 |
+
// scalar: 4 mad, 3 mul, 3 add
|
| 591 |
+
float3 n = float3(NoiseSample.x, NoiseSample.y, NoiseSample.z) * 255.0f / 127.0f - 1.0f;
|
| 592 |
+
float d = NoiseSample.w * 255.f - 127;
|
| 593 |
+
return math::dot(xyz, n) - d;
|
| 594 |
+
}
|
| 595 |
+
|
| 596 |
+
// Perlin-style "Modified Noise"
|
| 597 |
+
// http://www.umbc.edu/~olano/papers/index.html#mNoise
|
| 598 |
+
// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D
|
| 599 |
+
// @param bTiling = repeat noise pattern
|
| 600 |
+
// @param RepeatSize = integer units before tiling in each dimension
|
| 601 |
+
// @return random number in the range -1 .. 1
|
| 602 |
+
float GradientNoise3D_ALU(float3 v, bool bTiling, float RepeatSize)
|
| 603 |
+
{
|
| 604 |
+
SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize);
|
| 605 |
+
|
| 606 |
+
float rand000 = MGradient(int(seeds.seed000), seeds.fv - float3(0, 0, 0)).w;
|
| 607 |
+
float rand100 = MGradient(int(seeds.seed100), seeds.fv - float3(1, 0, 0)).w;
|
| 608 |
+
float rand010 = MGradient(int(seeds.seed010), seeds.fv - float3(0, 1, 0)).w;
|
| 609 |
+
float rand110 = MGradient(int(seeds.seed110), seeds.fv - float3(1, 1, 0)).w;
|
| 610 |
+
float rand001 = MGradient(int(seeds.seed001), seeds.fv - float3(0, 0, 1)).w;
|
| 611 |
+
float rand101 = MGradient(int(seeds.seed101), seeds.fv - float3(1, 0, 1)).w;
|
| 612 |
+
float rand011 = MGradient(int(seeds.seed011), seeds.fv - float3(0, 1, 1)).w;
|
| 613 |
+
float rand111 = MGradient(int(seeds.seed111), seeds.fv - float3(1, 1, 1)).w;
|
| 614 |
+
|
| 615 |
+
float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0));
|
| 616 |
+
|
| 617 |
+
float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y);
|
| 618 |
+
float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y);
|
| 619 |
+
return math::lerp(i, j, Weights.z);
|
| 620 |
+
}
|
| 621 |
+
|
| 622 |
+
// 3D value noise - used to be incorrectly called Perlin noise
|
| 623 |
+
// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D
|
| 624 |
+
// @param bTiling = repeat noise pattern
|
| 625 |
+
// @param RepeatSize = integer units before tiling in each dimension
|
| 626 |
+
// @return random number in the range -1 .. 1
|
| 627 |
+
float ValueNoise3D_ALU(float3 v, bool bTiling, float RepeatSize)
|
| 628 |
+
{
|
| 629 |
+
SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize);
|
| 630 |
+
|
| 631 |
+
float rand000 = RandBBSfloat(seeds.seed000) * 2 - 1;
|
| 632 |
+
float rand100 = RandBBSfloat(seeds.seed100) * 2 - 1;
|
| 633 |
+
float rand010 = RandBBSfloat(seeds.seed010) * 2 - 1;
|
| 634 |
+
float rand110 = RandBBSfloat(seeds.seed110) * 2 - 1;
|
| 635 |
+
float rand001 = RandBBSfloat(seeds.seed001) * 2 - 1;
|
| 636 |
+
float rand101 = RandBBSfloat(seeds.seed101) * 2 - 1;
|
| 637 |
+
float rand011 = RandBBSfloat(seeds.seed011) * 2 - 1;
|
| 638 |
+
float rand111 = RandBBSfloat(seeds.seed111) * 2 - 1;
|
| 639 |
+
|
| 640 |
+
float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0));
|
| 641 |
+
|
| 642 |
+
float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y);
|
| 643 |
+
float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y);
|
| 644 |
+
return math::lerp(i, j, Weights.z);
|
| 645 |
+
}
|
| 646 |
+
|
| 647 |
+
// 3D jitter offset within a voronoi noise cell
|
| 648 |
+
// @param pos - integer lattice corner
|
| 649 |
+
// @return random offsets vector
|
| 650 |
+
float3 VoronoiCornerSample(float3 pos, int Quality)
|
| 651 |
+
{
|
| 652 |
+
// random values in [-0.5, 0.5]
|
| 653 |
+
float3 noise = float3(Rand3DPCG16(int3(pos))) / 0xffff - 0.5;
|
| 654 |
+
|
| 655 |
+
// quality level 1 or 2: searches a 2x2x2 neighborhood with points distributed on a sphere
|
| 656 |
+
// scale factor to guarantee jittered points will be found within a 2x2x2 search
|
| 657 |
+
if (Quality <= 2)
|
| 658 |
+
{
|
| 659 |
+
return math::normalize(noise) * 0.2588;
|
| 660 |
+
}
|
| 661 |
+
|
| 662 |
+
// quality level 3: searches a 3x3x3 neighborhood with points distributed on a sphere
|
| 663 |
+
// scale factor to guarantee jittered points will be found within a 3x3x3 search
|
| 664 |
+
if (Quality == 3)
|
| 665 |
+
{
|
| 666 |
+
return math::normalize(noise) * 0.3090;
|
| 667 |
+
}
|
| 668 |
+
|
| 669 |
+
// quality level 4: jitter to anywhere in the cell, needs 4x4x4 search
|
| 670 |
+
return noise;
|
| 671 |
+
}
|
| 672 |
+
|
| 673 |
+
// compare previous best with a new candidate
|
| 674 |
+
// not producing point locations makes it easier for compiler to eliminate calculations when they're not needed
|
| 675 |
+
// @param minval = location and distance of best candidate seed point before the new one
|
| 676 |
+
// @param candidate = candidate seed point
|
| 677 |
+
// @param offset = 3D offset to new candidate seed point
|
| 678 |
+
// @param bDistanceOnly = if true, only set maxval.w with distance, otherwise maxval.w is distance and maxval.xyz is position
|
| 679 |
+
// @return position (if bDistanceOnly is false) and distance to closest seed point so far
|
| 680 |
+
float4 VoronoiCompare(float4 minval, float3 candidate, float3 offset, bool bDistanceOnly)
|
| 681 |
+
{
|
| 682 |
+
if (bDistanceOnly)
|
| 683 |
+
{
|
| 684 |
+
return float4(0, 0, 0, math::min(minval.w, math::dot(offset, offset)));
|
| 685 |
+
}
|
| 686 |
+
else
|
| 687 |
+
{
|
| 688 |
+
float newdist = math::dot(offset, offset);
|
| 689 |
+
return newdist > minval.w ? minval : float4(candidate.x, candidate.y, candidate.z, newdist);
|
| 690 |
+
}
|
| 691 |
+
}
|
| 692 |
+
|
| 693 |
+
// 220 instruction Worley noise
|
| 694 |
+
float4 VoronoiNoise3D_ALU(float3 v, int Quality, bool bTiling, float RepeatSize, bool bDistanceOnly)
|
| 695 |
+
{
|
| 696 |
+
float3 fv = math::frac(v), fv2 = math::frac(v + 0.5);
|
| 697 |
+
float3 iv = math::floor(v), iv2 = math::floor(v + 0.5);
|
| 698 |
+
|
| 699 |
+
// with initial minimum distance = infinity (or at least bigger than 4), first min is optimized away
|
| 700 |
+
float4 mindist = float4(0,0,0,100);
|
| 701 |
+
float3 p, offset;
|
| 702 |
+
|
| 703 |
+
// quality level 3: do a 3x3x3 search
|
| 704 |
+
if (Quality == 3)
|
| 705 |
+
{
|
| 706 |
+
int offset_x;
|
| 707 |
+
int offset_y;
|
| 708 |
+
int offset_z;
|
| 709 |
+
for (offset_x = -1; offset_x <= 1; ++offset_x)
|
| 710 |
+
{
|
| 711 |
+
for (offset_y = -1; offset_y <= 1; ++offset_y)
|
| 712 |
+
{
|
| 713 |
+
for (offset_z = -1; offset_z <= 1; ++offset_z)
|
| 714 |
+
{
|
| 715 |
+
offset = float3(offset_x, offset_y, offset_z);
|
| 716 |
+
p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize), Quality);
|
| 717 |
+
mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly);
|
| 718 |
+
}
|
| 719 |
+
}
|
| 720 |
+
}
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
// everybody else searches a base 2x2x2 neighborhood
|
| 724 |
+
else
|
| 725 |
+
{
|
| 726 |
+
int offset_x;
|
| 727 |
+
int offset_y;
|
| 728 |
+
int offset_z;
|
| 729 |
+
for (offset_x = 0; offset_x <= 1; ++offset_x)
|
| 730 |
+
{
|
| 731 |
+
for (offset_y = 0; offset_y <= 1; ++offset_y)
|
| 732 |
+
{
|
| 733 |
+
for (offset_z = 0; offset_z <= 1; ++offset_z)
|
| 734 |
+
{
|
| 735 |
+
offset = float3(offset_x, offset_y, offset_z);
|
| 736 |
+
p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality);
|
| 737 |
+
mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly);
|
| 738 |
+
|
| 739 |
+
// quality level 2, do extra set of points, offset by half a cell
|
| 740 |
+
if (Quality == 2)
|
| 741 |
+
{
|
| 742 |
+
// 467 is just an offset to a different area in the random number field to avoid similar neighbor artifacts
|
| 743 |
+
p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize) + 467, Quality);
|
| 744 |
+
mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly);
|
| 745 |
+
}
|
| 746 |
+
}
|
| 747 |
+
}
|
| 748 |
+
}
|
| 749 |
+
}
|
| 750 |
+
|
| 751 |
+
// quality level 4: add extra sets of four cells in each direction
|
| 752 |
+
if (Quality >= 4)
|
| 753 |
+
{
|
| 754 |
+
int offset_x;
|
| 755 |
+
int offset_y;
|
| 756 |
+
int offset_z;
|
| 757 |
+
for (offset_x = -1; offset_x <= 2; offset_x += 3)
|
| 758 |
+
{
|
| 759 |
+
for (offset_y = 0; offset_y <= 1; ++offset_y)
|
| 760 |
+
{
|
| 761 |
+
for (offset_z = 0; offset_z <= 1; ++offset_z)
|
| 762 |
+
{
|
| 763 |
+
offset = float3(offset_x, offset_y, offset_z);
|
| 764 |
+
// along x axis
|
| 765 |
+
p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality);
|
| 766 |
+
mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly);
|
| 767 |
+
|
| 768 |
+
// along y axis
|
| 769 |
+
p = float3(offset.y, offset.z, offset.x) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.y, offset.z, offset.x), bTiling, RepeatSize), Quality);
|
| 770 |
+
mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly);
|
| 771 |
+
|
| 772 |
+
// along z axis
|
| 773 |
+
p = float3(offset.z, offset.x, offset.y) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.z, offset.x, offset.y), bTiling, RepeatSize), Quality);
|
| 774 |
+
mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly);
|
| 775 |
+
}
|
| 776 |
+
}
|
| 777 |
+
}
|
| 778 |
+
}
|
| 779 |
+
|
| 780 |
+
// transform squared distance to real distance
|
| 781 |
+
return float4(mindist.x, mindist.y, mindist.z, math::sqrt(mindist.w));
|
| 782 |
+
}
|
| 783 |
+
|
| 784 |
+
// Coordinates for corners of a Simplex tetrahedron
|
| 785 |
+
// Based on McEwan et al., Efficient computation of noise in GLSL, JGT 2011
|
| 786 |
+
// @param v = 3D noise argument
|
| 787 |
+
// @return 4 corner locations
|
| 788 |
+
float4x3 SimplexCorners(float3 v)
|
| 789 |
+
{
|
| 790 |
+
// find base corner by skewing to tetrahedral space and back
|
| 791 |
+
float3 tet = math::floor(v + v.x/3 + v.y/3 + v.z/3);
|
| 792 |
+
float3 base = tet - tet.x/6 - tet.y/6 - tet.z/6;
|
| 793 |
+
float3 f = v - base;
|
| 794 |
+
|
| 795 |
+
// Find offsets to other corners (McEwan did this in tetrahedral space,
|
| 796 |
+
// but since skew is along x=y=z axis, this works in Euclidean space too.)
|
| 797 |
+
float3 g = math::step(float3(f.y,f.z,f.x), float3(f.x,f.y,f.z)), h = 1 - float3(g.z, g.x, g.y);
|
| 798 |
+
float3 a1 = math::min(g, h) - 1.0 / 6.0, a2 = math::max(g, h) - 1.0 / 3.0;
|
| 799 |
+
|
| 800 |
+
// four corners
|
| 801 |
+
return float4x3(base, base + a1, base + a2, base + 0.5);
|
| 802 |
+
}
|
| 803 |
+
|
| 804 |
+
// Improved smoothing function for simplex noise
|
| 805 |
+
// @param f = fractional distance to four tetrahedral corners
|
| 806 |
+
// @return weight for each corner
|
| 807 |
+
float4 SimplexSmooth(float4x3 f)
|
| 808 |
+
{
|
| 809 |
+
const float scale = 1024. / 375.; // scale factor to make noise -1..1
|
| 810 |
+
float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3]));
|
| 811 |
+
float4 s = math::saturate(2 * d);
|
| 812 |
+
return (1 * scale + s*(-3 * scale + s*(3 * scale - s*scale)));
|
| 813 |
+
}
|
| 814 |
+
|
| 815 |
+
// Derivative of simplex noise smoothing function
|
| 816 |
+
// @param f = fractional distanc eto four tetrahedral corners
|
| 817 |
+
// @return derivative of smoothing function for each corner by x, y and z
|
| 818 |
+
float3x4 SimplexDSmooth(float4x3 f)
|
| 819 |
+
{
|
| 820 |
+
const float scale = 1024. / 375.; // scale factor to make noise -1..1
|
| 821 |
+
float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3]));
|
| 822 |
+
float4 s = math::saturate(2 * d);
|
| 823 |
+
s = -12 * scale + s*(24 * scale - s * 12 * scale);
|
| 824 |
+
|
| 825 |
+
return float3x4(
|
| 826 |
+
s * float4(f[0][0], f[1][0], f[2][0], f[3][0]),
|
| 827 |
+
s * float4(f[0][1], f[1][1], f[2][1], f[3][1]),
|
| 828 |
+
s * float4(f[0][2], f[1][2], f[2][2], f[3][2]));
|
| 829 |
+
}
|
| 830 |
+
|
| 831 |
+
// Simplex noise and its Jacobian derivative
|
| 832 |
+
// @param v = 3D noise argument
|
| 833 |
+
// @param bTiling = whether to repeat noise pattern
|
| 834 |
+
// @param RepeatSize = integer units before tiling in each dimension, must be a multiple of 3
|
| 835 |
+
// @return float3x3 Jacobian in J[*].xyz, vector noise in J[*].w
|
| 836 |
+
// J[0].w, J[1].w, J[2].w is a Perlin-style simplex noise with vector output, e.g. (Nx, Ny, Nz)
|
| 837 |
+
// J[i].x is X derivative of the i'th component of the noise so J[2].x is dNz/dx
|
| 838 |
+
// You can use this to compute the noise, gradient, curl, or divergence:
|
| 839 |
+
// float3x4 J = JacobianSimplex_ALU(...);
|
| 840 |
+
// float3 VNoise = float3(J[0].w, J[1].w, J[2].w); // 3D noise
|
| 841 |
+
// float3 Grad = J[0].xyz; // gradient of J[0].w
|
| 842 |
+
// float3 Curl = float3(J[1][2]-J[2][1], J[2][0]-J[0][2], J[0][1]-J[1][2]);
|
| 843 |
+
// float Div = J[0][0]+J[1][1]+J[2][2];
|
| 844 |
+
// All of these are confirmed to compile out all unneeded terms.
|
| 845 |
+
// So Grad of X doesn't compute Y or Z components, and VNoise doesn't do any of the derivative computation.
|
| 846 |
+
float3x4 JacobianSimplex_ALU(float3 v, bool bTiling, float RepeatSize)
|
| 847 |
+
{
|
| 848 |
+
int3 MGradientMask = int3(0x8000, 0x4000, 0x2000);
|
| 849 |
+
float3 MGradientScale = float3(1. / 0x4000, 1. / 0x2000, 1. / 0x1000);
|
| 850 |
+
|
| 851 |
+
// corners of tetrahedron
|
| 852 |
+
float4x3 T = SimplexCorners(v);
|
| 853 |
+
// TODO: uint3
|
| 854 |
+
int3 rand = int3(0);
|
| 855 |
+
float4x3 gvec0 = float4x3(1.0);
|
| 856 |
+
float4x3 gvec1 = float4x3(1.0);
|
| 857 |
+
float4x3 gvec2 = float4x3(1.0);
|
| 858 |
+
float4x3 fv = float4x3(1.0);
|
| 859 |
+
float3x4 grad = float3x4(1.0);
|
| 860 |
+
|
| 861 |
+
// processing of tetrahedral vertices, unrolled
|
| 862 |
+
// to compute gradient at each corner
|
| 863 |
+
fv[0] = v - T[0];
|
| 864 |
+
rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[0] + 0.5, bTiling, RepeatSize))));
|
| 865 |
+
gvec0[0] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1;
|
| 866 |
+
gvec1[0] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1;
|
| 867 |
+
gvec2[0] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1;
|
| 868 |
+
grad[0][0] = math::dot(gvec0[0], fv[0]);
|
| 869 |
+
grad[1][0] = math::dot(gvec1[0], fv[0]);
|
| 870 |
+
grad[2][0] = math::dot(gvec2[0], fv[0]);
|
| 871 |
+
|
| 872 |
+
fv[1] = v - T[1];
|
| 873 |
+
rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[1] + 0.5, bTiling, RepeatSize))));
|
| 874 |
+
gvec0[1] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1;
|
| 875 |
+
gvec1[1] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1;
|
| 876 |
+
gvec1[1] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1;
|
| 877 |
+
grad[0][1] = math::dot(gvec0[1], fv[1]);
|
| 878 |
+
grad[1][1] = math::dot(gvec1[1], fv[1]);
|
| 879 |
+
grad[2][1] = math::dot(gvec2[1], fv[1]);
|
| 880 |
+
|
| 881 |
+
fv[2] = v - T[2];
|
| 882 |
+
rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[2] + 0.5, bTiling, RepeatSize))));
|
| 883 |
+
gvec0[2] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1;
|
| 884 |
+
gvec1[2] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1;
|
| 885 |
+
gvec2[2] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1;
|
| 886 |
+
grad[0][2] = math::dot(gvec0[2], fv[2]);
|
| 887 |
+
grad[1][2] = math::dot(gvec1[2], fv[2]);
|
| 888 |
+
grad[2][2] = math::dot(gvec2[2], fv[2]);
|
| 889 |
+
|
| 890 |
+
fv[3] = v - T[3];
|
| 891 |
+
rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[3] + 0.5, bTiling, RepeatSize))));
|
| 892 |
+
gvec0[3] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1;
|
| 893 |
+
gvec1[3] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1;
|
| 894 |
+
gvec2[3] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1;
|
| 895 |
+
grad[0][3] = math::dot(gvec0[3], fv[3]);
|
| 896 |
+
grad[1][3] = math::dot(gvec1[3], fv[3]);
|
| 897 |
+
grad[2][3] = math::dot(gvec2[3], fv[3]);
|
| 898 |
+
|
| 899 |
+
// blend gradients
|
| 900 |
+
float4 sv = SimplexSmooth(fv);
|
| 901 |
+
float3x4 ds = SimplexDSmooth(fv);
|
| 902 |
+
|
| 903 |
+
float3x4 jacobian = float3x4(1.0);
|
| 904 |
+
float3 vec0 = gvec0*sv + grad[0]*ds; // NOTE: mdl is column major, convert from UE4 (row major)
|
| 905 |
+
jacobian[0] = float4(vec0.x, vec0.y, vec0.z, math::dot(sv, grad[0]));
|
| 906 |
+
float3 vec1 = gvec1*sv + grad[1]*ds;
|
| 907 |
+
jacobian[1] = float4(vec1.x, vec1.y, vec1.z, math::dot(sv, grad[1]));
|
| 908 |
+
float3 vec2 = gvec2*sv + grad[2]*ds;
|
| 909 |
+
jacobian[2] = float4(vec2.x, vec2.y, vec2.z, math::dot(sv, grad[2]));
|
| 910 |
+
|
| 911 |
+
return jacobian;
|
| 912 |
+
}
|
| 913 |
+
|
| 914 |
+
// While RepeatSize is a float here, the expectation is that it would be largely integer values coming in from the UI. The downstream logic assumes
|
| 915 |
+
// floats for all called functions (NoiseTileWrap) and this prevents any float-to-int conversion errors from automatic type conversion.
|
| 916 |
+
float Noise3D_Multiplexer(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, int Function, float3 Position, int Quality, bool bTiling, float RepeatSize)
|
| 917 |
+
{
|
| 918 |
+
// verified, HLSL compiled out the switch if Function is a constant
|
| 919 |
+
switch(Function)
|
| 920 |
+
{
|
| 921 |
+
case 0:
|
| 922 |
+
return SimplexNoise3D_TEX(PerlinNoiseGradientTexture, Position);
|
| 923 |
+
case 1:
|
| 924 |
+
return GradientNoise3D_TEX(PerlinNoiseGradientTexture, Position, bTiling, RepeatSize);
|
| 925 |
+
case 2:
|
| 926 |
+
return FastGradientPerlinNoise3D_TEX(PerlinNoise3DTexture, Position);
|
| 927 |
+
case 3:
|
| 928 |
+
return GradientNoise3D_ALU(Position, bTiling, RepeatSize);
|
| 929 |
+
case 4:
|
| 930 |
+
return ValueNoise3D_ALU(Position, bTiling, RepeatSize);
|
| 931 |
+
case 5:
|
| 932 |
+
return VoronoiNoise3D_ALU(Position, Quality, bTiling, RepeatSize, true).w * 2.0 - 1.0;
|
| 933 |
+
}
|
| 934 |
+
return 0;
|
| 935 |
+
}
|
| 936 |
+
//----------------------------------------------------------
|
| 937 |
+
|
| 938 |
+
export float noise(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, float3 Position, float Scale, float Quality, float Function, float Turbulence, float Levels, float OutputMin, float OutputMax, float LevelScale, float FilterWidth, float Tiling, float RepeatSize)
|
| 939 |
+
[[
|
| 940 |
+
anno::description("Noise"),
|
| 941 |
+
anno::noinline()
|
| 942 |
+
]]
|
| 943 |
+
{
|
| 944 |
+
Position *= Scale;
|
| 945 |
+
FilterWidth *= Scale;
|
| 946 |
+
|
| 947 |
+
float Out = 0.0f;
|
| 948 |
+
float OutScale = 1.0f;
|
| 949 |
+
float InvLevelScale = 1.0f / LevelScale;
|
| 950 |
+
|
| 951 |
+
int iFunction(Function);
|
| 952 |
+
int iQuality(Quality);
|
| 953 |
+
int iLevels(Levels);
|
| 954 |
+
bool bTurbulence(Turbulence);
|
| 955 |
+
bool bTiling(Tiling);
|
| 956 |
+
|
| 957 |
+
for(int i = 0; i < iLevels; ++i)
|
| 958 |
+
{
|
| 959 |
+
// fade out noise level that are too high frequent (not done through dynamic branching as it usually requires gradient instructions)
|
| 960 |
+
OutScale *= math::saturate(1.0 - FilterWidth);
|
| 961 |
+
|
| 962 |
+
if(bTurbulence)
|
| 963 |
+
{
|
| 964 |
+
Out += math::abs(Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize)) * OutScale;
|
| 965 |
+
}
|
| 966 |
+
else
|
| 967 |
+
{
|
| 968 |
+
Out += Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize) * OutScale;
|
| 969 |
+
}
|
| 970 |
+
|
| 971 |
+
Position *= LevelScale;
|
| 972 |
+
RepeatSize *= LevelScale;
|
| 973 |
+
OutScale *= InvLevelScale;
|
| 974 |
+
FilterWidth *= LevelScale;
|
| 975 |
+
}
|
| 976 |
+
|
| 977 |
+
if(!bTurbulence)
|
| 978 |
+
{
|
| 979 |
+
// bring -1..1 to 0..1 range
|
| 980 |
+
Out = Out * 0.5f + 0.5f;
|
| 981 |
+
}
|
| 982 |
+
|
| 983 |
+
// Out is in 0..1 range
|
| 984 |
+
return math::lerp(OutputMin, OutputMax, Out);
|
| 985 |
+
}
|
| 986 |
+
|
| 987 |
+
// Material node for noise functions returning a vector value
|
| 988 |
+
// @param LevelScale usually 2 but higher values allow efficient use of few levels
|
| 989 |
+
// @return in user defined range (OutputMin..OutputMax)
|
| 990 |
+
export float4 vector4_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize)
|
| 991 |
+
[[
|
| 992 |
+
anno::description("Vector Noise"),
|
| 993 |
+
anno::noinline()
|
| 994 |
+
]]
|
| 995 |
+
{
|
| 996 |
+
float4 result = float4(0,0,0,1);
|
| 997 |
+
float3 ret = float3(0);
|
| 998 |
+
int iQuality = int(Quality);
|
| 999 |
+
int iFunction = int(Function);
|
| 1000 |
+
bool bTiling = Tiling > 0.0;
|
| 1001 |
+
|
| 1002 |
+
float3x4 Jacobian = JacobianSimplex_ALU(Position, bTiling, TileSize); // compiled out if not used
|
| 1003 |
+
|
| 1004 |
+
// verified, HLSL compiled out the switch if Function is a constant
|
| 1005 |
+
switch (iFunction)
|
| 1006 |
+
{
|
| 1007 |
+
case 0: // Cellnoise
|
| 1008 |
+
ret = float3(Rand3DPCG16(int3(math::floor(NoiseTileWrap(Position, bTiling, TileSize))))) / 0xffff;
|
| 1009 |
+
result = float4(ret.x, ret.y, ret.z, 1);
|
| 1010 |
+
break;
|
| 1011 |
+
case 1: // Color noise
|
| 1012 |
+
ret = float3(Jacobian[0].w, Jacobian[1].w, Jacobian[2].w);
|
| 1013 |
+
result = float4(ret.x, ret.y, ret.z, 1);
|
| 1014 |
+
break;
|
| 1015 |
+
case 2: // Gradient
|
| 1016 |
+
result = Jacobian[0];
|
| 1017 |
+
break;
|
| 1018 |
+
case 3: // Curl
|
| 1019 |
+
ret = float3(Jacobian[2][1] - Jacobian[1][2], Jacobian[0][2] - Jacobian[2][0], Jacobian[1][0] - Jacobian[0][1]);
|
| 1020 |
+
result = float4(ret.x, ret.y, ret.z, 1);
|
| 1021 |
+
break;
|
| 1022 |
+
case 4: // Voronoi
|
| 1023 |
+
result = VoronoiNoise3D_ALU(Position, iQuality, bTiling, TileSize, false);
|
| 1024 |
+
break;
|
| 1025 |
+
}
|
| 1026 |
+
return result;
|
| 1027 |
+
}
|
| 1028 |
+
|
| 1029 |
+
export float3 vector3_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize)
|
| 1030 |
+
[[
|
| 1031 |
+
anno::description("Vector Noise float3 version"),
|
| 1032 |
+
anno::noinline()
|
| 1033 |
+
]]
|
| 1034 |
+
{
|
| 1035 |
+
float4 noise = vector4_noise(Position, Quality, Function, Tiling, TileSize);
|
| 1036 |
+
return float3(noise.x, noise.y, noise.z);
|
| 1037 |
+
}
|
| 1038 |
+
|
| 1039 |
+
|
| 1040 |
+
// workaround for ue4 fresnel (without supporting for camera vector) : replacing it with 0.0, means facing to the view
|
| 1041 |
+
export float fresnel(float exponent [[anno::unused()]], float base_reflect_fraction [[anno::unused()]], float3 normal [[anno::unused()]])
|
| 1042 |
+
[[
|
| 1043 |
+
anno::description("Fresnel"),
|
| 1044 |
+
anno::noinline()
|
| 1045 |
+
]]
|
| 1046 |
+
{
|
| 1047 |
+
return 0.0;
|
| 1048 |
+
}
|
| 1049 |
+
|
| 1050 |
+
export float fresnel_function(float3 normal_vector [[anno::unused()]], float3 camera_vector [[anno::unused()]],
|
| 1051 |
+
bool invert_fresnel [[anno::unused()]], float power [[anno::unused()]],
|
| 1052 |
+
bool use_cheap_contrast [[anno::unused()]], float cheap_contrast_dark [[anno::unused()]], float cheap_contrast_bright [[anno::unused()]],
|
| 1053 |
+
bool clamp_fresnel_dot_product [[anno::unused()]])
|
| 1054 |
+
[[
|
| 1055 |
+
anno::description("Fresnel Function"),
|
| 1056 |
+
anno::noinline()
|
| 1057 |
+
]]
|
| 1058 |
+
{
|
| 1059 |
+
return 0.0;
|
| 1060 |
+
}
|
| 1061 |
+
|
| 1062 |
+
export float3 camera_vector(uniform bool up_z = true)
|
| 1063 |
+
[[
|
| 1064 |
+
anno::description("Camera Vector"),
|
| 1065 |
+
anno::noinline()
|
| 1066 |
+
]]
|
| 1067 |
+
{
|
| 1068 |
+
// assume camera postion is 0,0,0
|
| 1069 |
+
return math::normalize(float3(0) - convert_to_left_hand(state::transform_point(state::coordinate_internal,state::coordinate_world,state::position()), up_z));
|
| 1070 |
+
}
|
| 1071 |
+
|
| 1072 |
+
export float pixel_depth()
|
| 1073 |
+
[[
|
| 1074 |
+
anno::description("Pixel Depth"),
|
| 1075 |
+
anno::noinline()
|
| 1076 |
+
]]
|
| 1077 |
+
{
|
| 1078 |
+
return 256.0f;
|
| 1079 |
+
}
|
| 1080 |
+
|
| 1081 |
+
export float scene_depth()
|
| 1082 |
+
[[
|
| 1083 |
+
anno::description("Scene Depth")
|
| 1084 |
+
]]
|
| 1085 |
+
{
|
| 1086 |
+
return 65500.0f;
|
| 1087 |
+
}
|
| 1088 |
+
|
| 1089 |
+
export float3 scene_color()
|
| 1090 |
+
[[
|
| 1091 |
+
anno::description("Scene Color")
|
| 1092 |
+
]]
|
| 1093 |
+
{
|
| 1094 |
+
return float3(1.0f);
|
| 1095 |
+
}
|
| 1096 |
+
|
| 1097 |
+
export float4 vertex_color()
|
| 1098 |
+
[[
|
| 1099 |
+
anno::description("Vertex Color"),
|
| 1100 |
+
anno::noinline()
|
| 1101 |
+
]]
|
| 1102 |
+
{
|
| 1103 |
+
return float4(1.0f);
|
| 1104 |
+
}
|
| 1105 |
+
|
| 1106 |
+
export float4 vertex_color_from_coordinate(int VertexColorCoordinateIndex)
|
| 1107 |
+
[[
|
| 1108 |
+
anno::description("Vertex Color for float2 PrimVar"),
|
| 1109 |
+
anno::noinline()
|
| 1110 |
+
]]
|
| 1111 |
+
{
|
| 1112 |
+
// Kit only supports 4 uv sets, 2 uvs are available to vertex color. if vertex color index is invalid, output the constant WHITE color intead
|
| 1113 |
+
return (VertexColorCoordinateIndex > 2) ? float4(1.0f) : float4(state::texture_coordinate(VertexColorCoordinateIndex).x, state::texture_coordinate(VertexColorCoordinateIndex).y, state::texture_coordinate(VertexColorCoordinateIndex+1).x, state::texture_coordinate(VertexColorCoordinateIndex+1).y);
|
| 1114 |
+
}
|
| 1115 |
+
|
| 1116 |
+
export float3 camera_position()
|
| 1117 |
+
[[
|
| 1118 |
+
anno::description("Camera Position"),
|
| 1119 |
+
anno::noinline()
|
| 1120 |
+
]]
|
| 1121 |
+
{
|
| 1122 |
+
return float3(1000.0f, 0, 0);
|
| 1123 |
+
}
|
| 1124 |
+
|
| 1125 |
+
export float3 rotate_about_axis(float4 NormalizedRotationAxisAndAngle, float3 PositionOnAxis, float3 Position)
|
| 1126 |
+
[[
|
| 1127 |
+
anno::description("Rotates Position about the given axis by the given angle")
|
| 1128 |
+
]]
|
| 1129 |
+
{
|
| 1130 |
+
// Project Position onto the rotation axis and find the closest point on the axis to Position
|
| 1131 |
+
float3 NormalizedRotationAxis = float3(NormalizedRotationAxisAndAngle.x,NormalizedRotationAxisAndAngle.y,NormalizedRotationAxisAndAngle.z);
|
| 1132 |
+
float3 ClosestPointOnAxis = PositionOnAxis + NormalizedRotationAxis * math::dot(NormalizedRotationAxis, Position - PositionOnAxis);
|
| 1133 |
+
// Construct orthogonal axes in the plane of the rotation
|
| 1134 |
+
float3 UAxis = Position - ClosestPointOnAxis;
|
| 1135 |
+
float3 VAxis = math::cross(NormalizedRotationAxis, UAxis);
|
| 1136 |
+
float[2] SinCosAngle = math::sincos(NormalizedRotationAxisAndAngle.w);
|
| 1137 |
+
// Rotate using the orthogonal axes
|
| 1138 |
+
float3 R = UAxis * SinCosAngle[1] + VAxis * SinCosAngle[0];
|
| 1139 |
+
// Reconstruct the rotated world space position
|
| 1140 |
+
float3 RotatedPosition = ClosestPointOnAxis + R;
|
| 1141 |
+
// Convert from position to a position offset
|
| 1142 |
+
return RotatedPosition - Position;
|
| 1143 |
+
}
|
| 1144 |
+
|
| 1145 |
+
export float2 rotate_scale_offset_texcoords(float2 InTexCoords, float4 InRotationScale, float2 InOffset)
|
| 1146 |
+
[[
|
| 1147 |
+
anno::description("Returns a float2 texture coordinate after 2x2 transform and offset applied")
|
| 1148 |
+
]]
|
| 1149 |
+
{
|
| 1150 |
+
return float2(math::dot(InTexCoords, float2(InRotationScale.x, InRotationScale.y)), math::dot(InTexCoords, float2(InRotationScale.z, InRotationScale.w))) + InOffset;
|
| 1151 |
+
}
|
| 1152 |
+
|
| 1153 |
+
export float3 reflection_custom_world_normal(float3 WorldNormal, bool bNormalizeInputNormal, uniform bool up_z = true)
|
| 1154 |
+
[[
|
| 1155 |
+
anno::description("Reflection vector about the specified world space normal")
|
| 1156 |
+
]]
|
| 1157 |
+
{
|
| 1158 |
+
if (bNormalizeInputNormal)
|
| 1159 |
+
{
|
| 1160 |
+
WorldNormal = math::normalize(WorldNormal);
|
| 1161 |
+
}
|
| 1162 |
+
|
| 1163 |
+
return -camera_vector(up_z) + WorldNormal * math::dot(WorldNormal, camera_vector(up_z)) * 2.0;
|
| 1164 |
+
}
|
| 1165 |
+
|
| 1166 |
+
export float3 reflection_vector(uniform bool up_z = true)
|
| 1167 |
+
[[
|
| 1168 |
+
anno::description("Reflection Vector"),
|
| 1169 |
+
anno::noinline()
|
| 1170 |
+
]]
|
| 1171 |
+
{
|
| 1172 |
+
float3 normal = convert_to_left_hand(state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()), up_z, false);
|
| 1173 |
+
return reflection_custom_world_normal(normal, false, up_z);
|
| 1174 |
+
}
|
| 1175 |
+
|
| 1176 |
+
export float dither_temporalAA(float AlphaThreshold = 0.5f, float Random = 1.0f [[anno::unused()]])
|
| 1177 |
+
[[
|
| 1178 |
+
anno::description("Dither TemporalAA"),
|
| 1179 |
+
anno::noinline()
|
| 1180 |
+
]]
|
| 1181 |
+
{
|
| 1182 |
+
return AlphaThreshold;
|
| 1183 |
+
}
|
| 1184 |
+
|
| 1185 |
+
export float3 black_body( float Temp )
|
| 1186 |
+
[[
|
| 1187 |
+
anno::description("Black Body"),
|
| 1188 |
+
anno::noinline()
|
| 1189 |
+
]]
|
| 1190 |
+
{
|
| 1191 |
+
float u = ( 0.860117757f + 1.54118254e-4f * Temp + 1.28641212e-7f * Temp*Temp ) / ( 1.0f + 8.42420235e-4f * Temp + 7.08145163e-7f * Temp*Temp );
|
| 1192 |
+
float v = ( 0.317398726f + 4.22806245e-5f * Temp + 4.20481691e-8f * Temp*Temp ) / ( 1.0f - 2.89741816e-5f * Temp + 1.61456053e-7f * Temp*Temp );
|
| 1193 |
+
|
| 1194 |
+
float x = 3*u / ( 2*u - 8*v + 4 );
|
| 1195 |
+
float y = 2*v / ( 2*u - 8*v + 4 );
|
| 1196 |
+
float z = 1 - x - y;
|
| 1197 |
+
|
| 1198 |
+
float Y = 1;
|
| 1199 |
+
float X = Y/y * x;
|
| 1200 |
+
float Z = Y/y * z;
|
| 1201 |
+
|
| 1202 |
+
float3x3 XYZtoRGB = float3x3(
|
| 1203 |
+
float3(3.2404542, -1.5371385, -0.4985314),
|
| 1204 |
+
float3(-0.9692660, 1.8760108, 0.0415560),
|
| 1205 |
+
float3(0.0556434, -0.2040259, 1.0572252)
|
| 1206 |
+
);
|
| 1207 |
+
|
| 1208 |
+
return XYZtoRGB * float3( X, Y, Z ) * math::pow( 0.0004 * Temp, 4 );
|
| 1209 |
+
}
|
| 1210 |
+
|
| 1211 |
+
export float per_instance_random(uniform texture_2d PerlinNoiseGradientTexture, int NumberInstances)
|
| 1212 |
+
[[
|
| 1213 |
+
anno::description("Per Instance Random"),
|
| 1214 |
+
anno::noinline()
|
| 1215 |
+
]]
|
| 1216 |
+
{
|
| 1217 |
+
float weight = state::object_id() / float(NumberInstances);
|
| 1218 |
+
return NumberInstances == 0 ? 0.0 : tex::lookup_float4(PerlinNoiseGradientTexture, float2(weight, 1.0 - weight), tex::wrap_repeat, tex::wrap_repeat).x;
|
| 1219 |
+
}
|
| 1220 |
+
|
| 1221 |
+
//------------------ Hair from UE4 -----------------------
|
| 1222 |
+
float3 hair_absorption_to_color(float3 A)
|
| 1223 |
+
{
|
| 1224 |
+
const float B = 0.3f;
|
| 1225 |
+
float b2 = B * B;
|
| 1226 |
+
float b3 = B * b2;
|
| 1227 |
+
float b4 = b2 * b2;
|
| 1228 |
+
float b5 = B * b4;
|
| 1229 |
+
float D = (5.969f - 0.215f * B + 2.532f * b2 - 10.73f * b3 + 5.574f * b4 + 0.245f * b5);
|
| 1230 |
+
return math::exp(-math::sqrt(A) * D);
|
| 1231 |
+
}
|
| 1232 |
+
|
| 1233 |
+
float3 hair_color_to_absorption(float3 C)
|
| 1234 |
+
{
|
| 1235 |
+
const float B = 0.3f;
|
| 1236 |
+
float b2 = B * B;
|
| 1237 |
+
float b3 = B * b2;
|
| 1238 |
+
float b4 = b2 * b2;
|
| 1239 |
+
float b5 = B * b4;
|
| 1240 |
+
float D = (5.969f - 0.215f * B + 2.532f * b2 - 10.73f * b3 + 5.574f * b4 + 0.245f * b5);
|
| 1241 |
+
return math::pow(math::log(C) / D, 2.0f);
|
| 1242 |
+
}
|
| 1243 |
+
|
| 1244 |
+
export float3 get_hair_color_from_melanin(float InMelanin, float InRedness, float3 InDyeColor)
|
| 1245 |
+
[[
|
| 1246 |
+
anno::description("Hair Color")
|
| 1247 |
+
]]
|
| 1248 |
+
{
|
| 1249 |
+
InMelanin = math::saturate(InMelanin);
|
| 1250 |
+
InRedness = math::saturate(InRedness);
|
| 1251 |
+
float Melanin = -math::log(math::max(1 - InMelanin, 0.0001f));
|
| 1252 |
+
float Eumelanin = Melanin * (1 - InRedness);
|
| 1253 |
+
float Pheomelanin = Melanin * InRedness;
|
| 1254 |
+
|
| 1255 |
+
float3 DyeAbsorption = hair_color_to_absorption(math::saturate(InDyeColor));
|
| 1256 |
+
float3 Absorption = Eumelanin * float3(0.506f, 0.841f, 1.653f) + Pheomelanin * float3(0.343f, 0.733f, 1.924f);
|
| 1257 |
+
|
| 1258 |
+
return hair_absorption_to_color(Absorption + DyeAbsorption);
|
| 1259 |
+
}
|
| 1260 |
+
|
| 1261 |
+
export float3 local_object_bounds_min()
|
| 1262 |
+
[[
|
| 1263 |
+
anno::description("Local Object Bounds Min"),
|
| 1264 |
+
anno::noinline()
|
| 1265 |
+
]]
|
| 1266 |
+
{
|
| 1267 |
+
return float3(0.0);
|
| 1268 |
+
}
|
| 1269 |
+
|
| 1270 |
+
export float3 local_object_bounds_max()
|
| 1271 |
+
[[
|
| 1272 |
+
anno::description("Local Object Bounds Max"),
|
| 1273 |
+
anno::noinline()
|
| 1274 |
+
]]
|
| 1275 |
+
{
|
| 1276 |
+
return float3(100.0);
|
| 1277 |
+
}
|
| 1278 |
+
|
| 1279 |
+
export float3 object_bounds()
|
| 1280 |
+
[[
|
| 1281 |
+
anno::description("Object Bounds"),
|
| 1282 |
+
anno::noinline()
|
| 1283 |
+
]]
|
| 1284 |
+
{
|
| 1285 |
+
return float3(100.0);
|
| 1286 |
+
}
|
| 1287 |
+
|
| 1288 |
+
export float object_radius()
|
| 1289 |
+
[[
|
| 1290 |
+
anno::description("Object Radius"),
|
| 1291 |
+
anno::noinline()
|
| 1292 |
+
]]
|
| 1293 |
+
{
|
| 1294 |
+
return 100.0f;
|
| 1295 |
+
}
|
| 1296 |
+
|
| 1297 |
+
export float3 object_world_position(uniform bool up_z = true)
|
| 1298 |
+
[[
|
| 1299 |
+
anno::description("Object World Position"),
|
| 1300 |
+
anno::noinline()
|
| 1301 |
+
]]
|
| 1302 |
+
{
|
| 1303 |
+
return convert_to_left_hand(state::transform_point(state::coordinate_internal,state::coordinate_world,state::position()), up_z)*state::meters_per_scene_unit()*100.0;
|
| 1304 |
+
}
|
| 1305 |
+
|
| 1306 |
+
export float3 object_orientation()
|
| 1307 |
+
[[
|
| 1308 |
+
anno::description("Object Orientation"),
|
| 1309 |
+
anno::noinline()
|
| 1310 |
+
]]
|
| 1311 |
+
{
|
| 1312 |
+
return float3(0);
|
| 1313 |
+
}
|
| 1314 |
+
|
| 1315 |
+
export float rcp(float x)
|
| 1316 |
+
[[
|
| 1317 |
+
anno::description("hlsl rcp"),
|
| 1318 |
+
anno::noinline()
|
| 1319 |
+
]]
|
| 1320 |
+
{
|
| 1321 |
+
return 1.0f / x;
|
| 1322 |
+
}
|
| 1323 |
+
|
| 1324 |
+
export float2 rcp(float2 x)
|
| 1325 |
+
[[
|
| 1326 |
+
anno::description("hlsl rcp"),
|
| 1327 |
+
anno::noinline()
|
| 1328 |
+
]]
|
| 1329 |
+
{
|
| 1330 |
+
return 1.0f / x;
|
| 1331 |
+
}
|
| 1332 |
+
|
| 1333 |
+
export float3 rcp(float3 x)
|
| 1334 |
+
[[
|
| 1335 |
+
anno::description("hlsl rcp"),
|
| 1336 |
+
anno::noinline()
|
| 1337 |
+
]]
|
| 1338 |
+
{
|
| 1339 |
+
return 1.0f / x;
|
| 1340 |
+
}
|
| 1341 |
+
|
| 1342 |
+
export float4 rcp(float4 x)
|
| 1343 |
+
[[
|
| 1344 |
+
anno::description("hlsl rcp"),
|
| 1345 |
+
anno::noinline()
|
| 1346 |
+
]]
|
| 1347 |
+
{
|
| 1348 |
+
return 1.0f / x;
|
| 1349 |
+
}
|
| 1350 |
+
|
| 1351 |
+
export int BitFieldExtractI32(int Data, int Size, int Offset)
|
| 1352 |
+
[[
|
| 1353 |
+
anno::description("BitFieldExtractI32 int"),
|
| 1354 |
+
anno::noinline()
|
| 1355 |
+
]]
|
| 1356 |
+
{
|
| 1357 |
+
Size &= 3;
|
| 1358 |
+
Offset &= 3;
|
| 1359 |
+
|
| 1360 |
+
if (Size == 0)
|
| 1361 |
+
return 0;
|
| 1362 |
+
else if (Offset + Size < 32)
|
| 1363 |
+
return (Data << (32 - Size - Offset)) >> (32 - Size);
|
| 1364 |
+
else
|
| 1365 |
+
return Data >> Offset;
|
| 1366 |
+
}
|
| 1367 |
+
|
| 1368 |
+
export int BitFieldExtractI32(float Data, float Size, float Offset)
|
| 1369 |
+
[[
|
| 1370 |
+
anno::description("BitFieldExtractI32 float"),
|
| 1371 |
+
anno::noinline()
|
| 1372 |
+
]]
|
| 1373 |
+
{
|
| 1374 |
+
return BitFieldExtractI32(int(Data), int(Size), int(Offset));
|
| 1375 |
+
}
|
| 1376 |
+
|
| 1377 |
+
export int BitFieldExtractU32(float Data, float Size, float Offset)
|
| 1378 |
+
[[
|
| 1379 |
+
anno::description("BitFieldExtractU32 float"),
|
| 1380 |
+
anno::noinline()
|
| 1381 |
+
]]
|
| 1382 |
+
{
|
| 1383 |
+
return BitFieldExtractI32(Data, Size, Offset);
|
| 1384 |
+
}
|
| 1385 |
+
|
| 1386 |
+
export int BitFieldExtractU32(int Data, int Size, int Offset)
|
| 1387 |
+
[[
|
| 1388 |
+
anno::description("BitFieldExtractU32 int"),
|
| 1389 |
+
anno::noinline()
|
| 1390 |
+
]]
|
| 1391 |
+
{
|
| 1392 |
+
return BitFieldExtractI32(Data, Size, Offset);
|
| 1393 |
+
}
|
| 1394 |
+
|
| 1395 |
+
export float3 EyeAdaptationInverseLookup(float3 LightValue, float Alpha)
|
| 1396 |
+
[[
|
| 1397 |
+
anno::description("EyeAdaptationInverseLookup"),
|
| 1398 |
+
anno::noinline()
|
| 1399 |
+
]]
|
| 1400 |
+
{
|
| 1401 |
+
float Adaptation = 1.0f;
|
| 1402 |
+
|
| 1403 |
+
// When Alpha=0.0, we want to multiply by 1.0. when Alpha = 1.0, we want to multiply by 1/Adaptation.
|
| 1404 |
+
// So the lerped value is:
|
| 1405 |
+
// LerpLogScale = Lerp(log(1),log(1/Adaptaiton),T)
|
| 1406 |
+
// Which is simplified as:
|
| 1407 |
+
// LerpLogScale = Lerp(0,-log(Adaptation),T)
|
| 1408 |
+
// LerpLogScale = -T * logAdaptation;
|
| 1409 |
+
|
| 1410 |
+
float LerpLogScale = -Alpha * math::log(Adaptation);
|
| 1411 |
+
float Scale = math::exp(LerpLogScale);
|
| 1412 |
+
return LightValue * Scale;
|
| 1413 |
+
}
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/OmniUe4Translucent.mdl
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
//* 1.0.0 - first version
|
| 30 |
+
//* 1.0.1 - Emissive color affected by opacity
|
| 31 |
+
// - Support opacity mask
|
| 32 |
+
//* 1.0.2 - Unlit translucent
|
| 33 |
+
//* 1.0.3 - specular bsdf instead of microfacet ggx smith bsdf
|
| 34 |
+
//* 1.0.4 - using absolute import paths when importing standard modules
|
| 35 |
+
|
| 36 |
+
mdl 1.3;
|
| 37 |
+
|
| 38 |
+
import ::df::*;
|
| 39 |
+
import ::state::*;
|
| 40 |
+
import ::math::*;
|
| 41 |
+
import ::tex::*;
|
| 42 |
+
import ::anno::*;
|
| 43 |
+
|
| 44 |
+
float emissive_multiplier()
|
| 45 |
+
[[
|
| 46 |
+
anno::description("the multiplier to convert UE4 emissive to raw data"),
|
| 47 |
+
anno::noinline()
|
| 48 |
+
]]
|
| 49 |
+
{
|
| 50 |
+
return 20.0f * 128.0f;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
color get_translucent_tint(color base_color, float opacity)
|
| 54 |
+
[[
|
| 55 |
+
anno::description("base color of UE4 translucent"),
|
| 56 |
+
anno::noinline()
|
| 57 |
+
]]
|
| 58 |
+
{
|
| 59 |
+
return math::lerp(color(1.0), base_color, opacity);
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
// Just for UE4 distilling
|
| 63 |
+
float get_translucent_opacity(float opacity)
|
| 64 |
+
[[
|
| 65 |
+
anno::noinline()
|
| 66 |
+
]]
|
| 67 |
+
{
|
| 68 |
+
return opacity;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
color get_emissive_intensity(color emissive, float opacity)
|
| 72 |
+
[[
|
| 73 |
+
anno::description("emissive color of UE4 translucent"),
|
| 74 |
+
anno::noinline()
|
| 75 |
+
]]
|
| 76 |
+
{
|
| 77 |
+
return emissive * opacity;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
float3 tangent_space_normal(
|
| 81 |
+
float3 normal = float3(0.0,0.0,1.0),
|
| 82 |
+
float3 tangent_u = state::texture_tangent_u(0),
|
| 83 |
+
float3 tangent_v = state::texture_tangent_v(0)
|
| 84 |
+
)
|
| 85 |
+
[[
|
| 86 |
+
anno::description("Interprets the vector in tangent space"),
|
| 87 |
+
anno::noinline()
|
| 88 |
+
]]
|
| 89 |
+
{
|
| 90 |
+
return math::normalize(
|
| 91 |
+
tangent_u * normal.x -
|
| 92 |
+
tangent_v * normal.y + /* flip_tangent_v */
|
| 93 |
+
state::normal() * (normal.z));
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
float3 world_space_normal(
|
| 97 |
+
float3 normal = float3(0.0,0.0,1.0),
|
| 98 |
+
float3 tangent_u = state::texture_tangent_u(0),
|
| 99 |
+
float3 tangent_v = state::texture_tangent_v(0)
|
| 100 |
+
)
|
| 101 |
+
[[
|
| 102 |
+
anno::description("Interprets the vector in world space"),
|
| 103 |
+
anno::noinline()
|
| 104 |
+
]]
|
| 105 |
+
{
|
| 106 |
+
return tangent_space_normal(
|
| 107 |
+
math::normalize(
|
| 108 |
+
normal.x * float3(tangent_u.x, tangent_v.x, state::normal().x) -
|
| 109 |
+
normal.y * float3(tangent_u.y, tangent_v.y, state::normal().y) +
|
| 110 |
+
normal.z * float3(tangent_u.z, tangent_v.z, state::normal().z)),
|
| 111 |
+
tangent_u,
|
| 112 |
+
tangent_v
|
| 113 |
+
);
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
export material OmniUe4Translucent(
|
| 117 |
+
float3 base_color = float3(0.0, 0.0, 0.0),
|
| 118 |
+
float metallic = 0.0,
|
| 119 |
+
float roughness = 0.5,
|
| 120 |
+
float specular = 0.5,
|
| 121 |
+
float3 normal = float3(0.0,0.0,1.0),
|
| 122 |
+
uniform bool enable_opacity = true,
|
| 123 |
+
float opacity = 1.0,
|
| 124 |
+
float opacity_mask = 1.0,
|
| 125 |
+
float3 emissive_color = float3(0.0, 0.0, 0.0),
|
| 126 |
+
float3 displacement = float3(0.0),
|
| 127 |
+
uniform float refraction = 1.0,
|
| 128 |
+
uniform bool two_sided = false,
|
| 129 |
+
uniform bool is_tangent_space_normal = true,
|
| 130 |
+
uniform bool is_unlit = false
|
| 131 |
+
)
|
| 132 |
+
[[
|
| 133 |
+
anno::display_name("Omni UE4 Translucent"),
|
| 134 |
+
anno::description("Omni UE4 Translucent, supports UE4 Translucent shading model"),
|
| 135 |
+
anno::version( 1, 0, 0),
|
| 136 |
+
anno::author("NVIDIA CORPORATION"),
|
| 137 |
+
anno::key_words(string[]("omni", "UE4", "omniverse", "translucent"))
|
| 138 |
+
]]
|
| 139 |
+
= let {
|
| 140 |
+
color final_base_color = math::saturate(base_color);
|
| 141 |
+
float final_metallic = math::min(math::max(metallic, 0.0f), 0.99f);
|
| 142 |
+
float final_roughness = math::saturate(roughness);
|
| 143 |
+
float final_specular = math::saturate(specular);
|
| 144 |
+
color final_emissive_color = math::max(emissive_color, 0.0f) * emissive_multiplier(); /*factor for converting ue4 emissive to raw value*/
|
| 145 |
+
float final_opacity = math::saturate(opacity);
|
| 146 |
+
float3 final_normal = math::normalize(normal);
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
// - compute final roughness by squaring the "roughness" parameter
|
| 150 |
+
float alpha = final_roughness * final_roughness;
|
| 151 |
+
// reduce the reflectivity at grazing angles to avoid "dark edges" for high roughness due to the layering
|
| 152 |
+
float grazing_refl = math::max((1.0 - final_roughness), 0.0);
|
| 153 |
+
|
| 154 |
+
float3 the_normal = is_unlit ? state::normal() :
|
| 155 |
+
(is_tangent_space_normal ?
|
| 156 |
+
tangent_space_normal(
|
| 157 |
+
normal: final_normal,
|
| 158 |
+
tangent_u: state::texture_tangent_u(0),
|
| 159 |
+
tangent_v: state::texture_tangent_v(0)
|
| 160 |
+
) : world_space_normal(
|
| 161 |
+
normal: final_normal,
|
| 162 |
+
tangent_u: state::texture_tangent_u(0),
|
| 163 |
+
tangent_v: state::texture_tangent_v(0)
|
| 164 |
+
));
|
| 165 |
+
|
| 166 |
+
// for the dielectric component we layer the glossy component on top of the diffuse one,
|
| 167 |
+
// the glossy layer has no color tint
|
| 168 |
+
|
| 169 |
+
bsdf dielectric_component = df::custom_curve_layer(
|
| 170 |
+
weight: final_specular,
|
| 171 |
+
normal_reflectivity: 0.08,
|
| 172 |
+
grazing_reflectivity: grazing_refl,
|
| 173 |
+
layer: df::microfacet_ggx_smith_bsdf(roughness_u: alpha),
|
| 174 |
+
base: df::diffuse_reflection_bsdf(tint: final_base_color));
|
| 175 |
+
|
| 176 |
+
// the metallic component doesn't have a diffuse component, it's only glossy
|
| 177 |
+
// base_color is applied to tint it
|
| 178 |
+
bsdf metallic_component = df::microfacet_ggx_smith_bsdf(tint: final_base_color, roughness_u: alpha);
|
| 179 |
+
|
| 180 |
+
// final BSDF is a linear blend between dielectric and metallic component
|
| 181 |
+
bsdf dielectric_metal_mix =
|
| 182 |
+
df::normalized_mix(
|
| 183 |
+
components:
|
| 184 |
+
df::bsdf_component[](
|
| 185 |
+
df::bsdf_component(
|
| 186 |
+
component: metallic_component,
|
| 187 |
+
weight: final_metallic),
|
| 188 |
+
df::bsdf_component(
|
| 189 |
+
component: dielectric_component,
|
| 190 |
+
weight: 1.0-final_metallic)
|
| 191 |
+
)
|
| 192 |
+
);
|
| 193 |
+
|
| 194 |
+
bsdf frosted_bsdf = df::specular_bsdf(
|
| 195 |
+
tint: color(1),
|
| 196 |
+
mode: df::scatter_reflect_transmit
|
| 197 |
+
);
|
| 198 |
+
|
| 199 |
+
bsdf final_mix_bsdf =
|
| 200 |
+
is_unlit ? df::specular_bsdf(
|
| 201 |
+
tint: get_translucent_tint(base_color: final_base_color, opacity: final_opacity),
|
| 202 |
+
mode: df::scatter_reflect_transmit
|
| 203 |
+
)
|
| 204 |
+
: df::normalized_mix(
|
| 205 |
+
components:
|
| 206 |
+
df::bsdf_component[](
|
| 207 |
+
df::bsdf_component(
|
| 208 |
+
component: dielectric_metal_mix,
|
| 209 |
+
weight: get_translucent_opacity(final_opacity)),
|
| 210 |
+
df::bsdf_component(
|
| 211 |
+
component: frosted_bsdf,
|
| 212 |
+
weight: 1.0-get_translucent_opacity(final_opacity))
|
| 213 |
+
)
|
| 214 |
+
);
|
| 215 |
+
}
|
| 216 |
+
in material(
|
| 217 |
+
thin_walled: two_sided, // Graphene?
|
| 218 |
+
ior: color(refraction), //refraction
|
| 219 |
+
surface: material_surface(
|
| 220 |
+
scattering: final_mix_bsdf,
|
| 221 |
+
emission:
|
| 222 |
+
material_emission (
|
| 223 |
+
emission: df::diffuse_edf (),
|
| 224 |
+
intensity: get_emissive_intensity(emissive: final_emissive_color, opacity: final_opacity)
|
| 225 |
+
)
|
| 226 |
+
),
|
| 227 |
+
|
| 228 |
+
geometry: material_geometry(
|
| 229 |
+
displacement: displacement,
|
| 230 |
+
normal: the_normal,
|
| 231 |
+
cutout_opacity: enable_opacity ? opacity_mask : 1.0
|
| 232 |
+
)
|
| 233 |
+
);
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/Materials/WorldGridMaterial.mdl
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mdl 1.6;
|
| 2 |
+
|
| 3 |
+
import ::math::*;
|
| 4 |
+
import ::state::*;
|
| 5 |
+
import ::tex::*;
|
| 6 |
+
import ::anno::*;
|
| 7 |
+
using .::OmniUe4Function import *;
|
| 8 |
+
using .::OmniUe4Base import *;
|
| 9 |
+
|
| 10 |
+
export annotation sampler_color();
|
| 11 |
+
export annotation sampler_normal();
|
| 12 |
+
export annotation sampler_grayscale();
|
| 13 |
+
export annotation sampler_alpha();
|
| 14 |
+
export annotation sampler_masks();
|
| 15 |
+
export annotation sampler_distancefield();
|
| 16 |
+
export annotation dither_masked_off();
|
| 17 |
+
export annotation world_space_normal();
|
| 18 |
+
|
| 19 |
+
export material WorldGridMaterial(
|
| 20 |
+
int MaxTexCoordIndex = 3
|
| 21 |
+
[[
|
| 22 |
+
anno::hidden()
|
| 23 |
+
]])
|
| 24 |
+
=
|
| 25 |
+
let {
|
| 26 |
+
float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0);
|
| 27 |
+
float2 CustomizedUV0_mdl = float2(state::texture_coordinate(math::min(0,MaxTexCoordIndex)).x,1.0-state::texture_coordinate(math::min(0,MaxTexCoordIndex)).y);
|
| 28 |
+
|
| 29 |
+
float2 Local0 = (CustomizedUV0_mdl / 2.0);
|
| 30 |
+
float2 Local1 = (Local0 / 0.05);
|
| 31 |
+
float4 Local2 = ::unpack_normal_map(tex::lookup_float4(texture_2d("./Textures/T_Default_Material_Grid_N.png",::tex::gamma_linear),float2(Local1.x,1.0-Local1.y),tex::wrap_repeat,tex::wrap_repeat));
|
| 32 |
+
float3 Local3 = (float3(Local2.x,Local2.y,Local2.z) * float3(0.3,0.3,1.0));
|
| 33 |
+
|
| 34 |
+
float3 Normal_mdl = Local3;
|
| 35 |
+
|
| 36 |
+
float2 Local4 = (CustomizedUV0_mdl * 20.0);
|
| 37 |
+
float4 Local5 = tex::lookup_float4(texture_2d("./Textures/T_Default_Material_Grid_M.png",::tex::gamma_linear),float2(Local4.x,1.0-Local4.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 38 |
+
float Local6 = math::lerp(0.4,1.0,Local5.x);
|
| 39 |
+
float Local7 = (1.0 - Local6);
|
| 40 |
+
float2 Local8 = (Local0 / 0.1);
|
| 41 |
+
float4 Local9 = tex::lookup_float4(texture_2d("./Textures/T_Default_Material_Grid_M.png",::tex::gamma_linear),float2(Local8.x,1.0-Local8.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 42 |
+
float Local10 = math::lerp(Local9.y,1.0,0.0);
|
| 43 |
+
float Local11 = math::lerp(Local6,Local7,Local10);
|
| 44 |
+
float4 Local12 = tex::lookup_float4(texture_2d("./Textures/T_Default_Material_Grid_M.png",::tex::gamma_linear),float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat);
|
| 45 |
+
float Local13 = math::lerp(Local9.y,0.0,0.0);
|
| 46 |
+
float Local14 = (Local12.y + Local13);
|
| 47 |
+
float Local15 = math::lerp(Local14,0.5,0.5);
|
| 48 |
+
float Local16 = math::lerp(0.295,0.66,Local15);
|
| 49 |
+
float Local17 = (Local16 * 0.5);
|
| 50 |
+
float Local18 = (Local11 * Local17);
|
| 51 |
+
float Local19 = math::lerp(0.0,0.5,Local12.y);
|
| 52 |
+
float Local20 = math::lerp(0.7,1.0,Local9.y);
|
| 53 |
+
float Local21 = math::lerp(Local20,1.0,0.0);
|
| 54 |
+
float Local22 = (Local21 * 1.0);
|
| 55 |
+
float Local23 = (Local19 + Local22);
|
| 56 |
+
float Local24 = math::min(math::max(Local23,0.0),1.0);
|
| 57 |
+
|
| 58 |
+
float3 EmissiveColor_mdl = float3(0.0,0.0,0.0);
|
| 59 |
+
float OpacityMask_mdl = 1.0;
|
| 60 |
+
float3 BaseColor_mdl = float3(Local18,Local18,Local18);
|
| 61 |
+
float Metallic_mdl = 0.0;
|
| 62 |
+
float Specular_mdl = 0.5;
|
| 63 |
+
float Roughness_mdl = Local24;
|
| 64 |
+
|
| 65 |
+
} in
|
| 66 |
+
::OmniUe4Base(
|
| 67 |
+
base_color: BaseColor_mdl,
|
| 68 |
+
metallic: Metallic_mdl,
|
| 69 |
+
roughness: Roughness_mdl,
|
| 70 |
+
specular: Specular_mdl,
|
| 71 |
+
normal: Normal_mdl,
|
| 72 |
+
opacity: OpacityMask_mdl,
|
| 73 |
+
emissive_color: EmissiveColor_mdl,
|
| 74 |
+
displacement: WorldPositionOffset_mdl,
|
| 75 |
+
two_sided: false);
|
assets/art/open_the_microwave_from_scratch/microwave/microwave_0013/keypoints_final.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"blue": [
|
| 4 |
+
9.159219241961479,
|
| 5 |
+
-20.09128980636597,
|
| 6 |
+
8.835433890932132
|
| 7 |
+
],
|
| 8 |
+
"red": [
|
| 9 |
+
9.010834653982085,
|
| 10 |
+
-20.09128980636597,
|
| 11 |
+
8.618268850373086
|
| 12 |
+
],
|
| 13 |
+
"yellow": [
|
| 14 |
+
-23.042504040053334,
|
| 15 |
+
-20.091289806365975,
|
| 16 |
+
8.657721718328466
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"scale": [
|
| 20 |
+
0.007926725892163465,
|
| 21 |
+
0.007926725892163465,
|
| 22 |
+
0.007926725892163465,
|
| 23 |
+
1.0
|
| 24 |
+
]
|
| 25 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture11/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# StorageFurniture11
|
| 2 |
+
|
| 3 |
+
模型文件:instance.usd。默认姿态的 Z 向上包围盒尺寸(毫米):[870.3931, 1191.894, 1522.975]。
|
| 4 |
+
|
| 5 |
+
模型显式质量(千克):未标注。预览中物体像素的中位 RGB:[240, 234, 214]。摩擦系数按 USD 物理材质记录在 asset.json,空值表示未标注。
|
assets/art/storagefurniture_bottom/StorageFurniture11/asset.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "instance.usd",
|
| 3 |
+
"source_models": [
|
| 4 |
+
"instance.usd"
|
| 5 |
+
],
|
| 6 |
+
"preview": "preview.png",
|
| 7 |
+
"size_mm_z_up": [
|
| 8 |
+
870.3931,
|
| 9 |
+
1191.894,
|
| 10 |
+
1522.975
|
| 11 |
+
],
|
| 12 |
+
"mass_kg": null,
|
| 13 |
+
"physics_materials": [],
|
| 14 |
+
"appearance_median_srgb": [
|
| 15 |
+
240,
|
| 16 |
+
234,
|
| 17 |
+
214
|
| 18 |
+
],
|
| 19 |
+
"source_up_axis": "Z"
|
| 20 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture11/bbox_info.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bbox_world": [[[0.23024655346841316, -0.5971801444994399, -0.09447452962300729], [-0.42153270145092303, -0.5971800668012979, -0.09447452962301192], [-0.42153256109919757, 0.5801755406153053, -0.09447452962301192], [0.23024669382013868, 0.5801754629171634, -0.09447452962300729], [0.23024655346841674, -0.5971801444994399, -0.5990730472115796], [-0.4215327014509195, -0.5971800668012979, -0.5990730472115843], [-0.4215325610991939, 0.5801755406153053, -0.5990730472115843], [0.23024669382014226, 0.5801754629171634, -0.5990730472115796]], [[0.23024674462540617, -0.5971800195057689, 0.3908414638239563], [-0.4215325581983154, -0.5971800972038471, 0.3908415415220485], [-0.42153269854816294, 0.5801608076271763, 0.3908415415220485], [0.2302466042755587, 0.5801608853252544, 0.3908414638239563], [0.2302466884535646, -0.5971800195057756, -0.08036243180347151], [-0.42153261437015704, -0.5971800972038538, -0.0803623541053793], [-0.42153275472000445, 0.5801608076271696, -0.0803623541053793], [0.23024654810371714, 0.5801608853252478, -0.08036243180347151]], [[0.23154551359853773, -0.597180046289724, 0.7109107548489524], [-0.42153320956493096, -0.5971800462897101, 0.7109108327019843], [-0.421533209564906, 0.5800886257283306, 0.7109108327019843], [0.23154551359856274, 0.5800886257283168, 0.7109107548489524], [0.23154547716777854, -0.597180046289724, 0.40530732380724593], [-0.42153324599569025, -0.5971800462897101, 0.4053074016602779], [-0.42153324599566516, 0.5800886257283306, 0.4053074016602779], [0.23154547716780355, 0.5800886257283168, 0.40530732380724593]], [[-0.4639191097707638, -0.18638314237692596, -0.329926293825375], [-0.4639191097707638, -0.41929331696854216, -0.329926293825375], [-0.4639191097707638, -0.41929331696854216, -0.3760430353354209], [-0.4639191097707638, -0.18638314237692596, -0.3760430353354209], [-0.4156513486990354, -0.18638314237692596, -0.329926293825375], [-0.4156513486990354, -0.41929331696854216, -0.329926293825375], [-0.4156513486990354, -0.41929331696854216, -0.3760430353354209], [-0.4156513486990354, -0.18638314237692596, -0.3760430353354209]], [[-0.46391907190101345, 0.4012087616531872, -0.330089655291686], [-0.46391907190101345, 0.16837672205992857, -0.330089655291686], [-0.46391907190101345, 0.16837672205992857, -0.37604295369550766], [-0.46391907190101345, 0.4012087616531872, -0.37604295369550766], [-0.4157271260694414, 0.4012087616531872, -0.330089655291686], [-0.4157271260694414, 0.16837672205992857, -0.330089655291686], [-0.4157271260694414, 0.16837672205992857, -0.37604295369550766], [-0.4157271260694414, 0.4012087616531872, -0.37604295369550766]], [[-0.4639191085325503, -0.1863923369972915, 0.1721839490458872], [-0.4639191085325503, -0.4192933455132592, 0.1721839490458872], [-0.4639191085325503, -0.4192933455132592, 0.12609799138430136], [-0.4639191085325503, -0.1863923369972915, 0.12609799138430136], [-0.4156538263640171, -0.1863923369972915, 0.1721839490458872], [-0.4156538263640171, -0.4192933455132592, 0.1721839490458872], [-0.4156538263640171, -0.4192933455132592, 0.12609799138430136], [-0.4156538263640171, -0.1863923369972915, 0.12609799138430136]], [[-0.46391903386331007, 0.40119799826231317, 0.1720259110503651], [-0.46391903386331007, 0.16837669429920488, 0.1720259110503651], [-0.46391903386331007, 0.16837669429920488, 0.12609807036380935], [-0.46391903386331007, 0.40119799826231317, 0.12609807036380935], [-0.4158032395138019, 0.40119799826231317, 0.1720259110503651], [-0.4158032395138019, 0.16837669429920488, 0.1720259110503651], [-0.4158032395138019, 0.16837669429920488, 0.12609807036380935], [-0.4158032395138019, 0.40119799826231317, 0.12609807036380935]], [[-0.4503987963208072, -0.18645967050171416, 0.5748656991490962], [-0.4503987963208072, -0.4192933005144831, 0.5748656991490962], [-0.4503987963208072, -0.4192933005144831, 0.5289140967456233], [-0.4503987963208072, -0.18645967050171416, 0.5289140967456233], [-0.4027585620590462, -0.18645967050171416, 0.5748656991490962], [-0.4027585620590462, -0.4192933005144831, 0.5748656991490962], [-0.4027585620590462, -0.4192933005144831, 0.5289140967456233], [-0.4027585620590462, -0.18645967050171416, 0.5289140967456233]], [[-0.4503988863965443, 0.40113475201736676, 0.5747215599780257], [-0.4503988863965443, 0.16837673725537247, 0.5747215599780257], [-0.4503988863965443, 0.16837673725537247, 0.528914168779192], [-0.4503988863965443, 0.40113475201736676, 0.528914168779192], [-0.402578320508914, 0.40113475201736676, 0.5747215599780257], [-0.402578320508914, 0.16837673725537247, 0.5747215599780257], [-0.402578320508914, 0.16837673725537247, 0.528914168779192], [-0.402578320508914, 0.40113475201736676, 0.528914168779192]]], "link_name": ["link_0", "link_1", "link_2", "handle_0", "handle_0_1", "handle_2", "handle_2_1", "handle_4", "handle_4_1"], "parent_joint_name": ["joint_0", "joint_1", "joint_2", "handlejoint_0", "handlejoint_0_1", "handlejoint_2", "handlejoint_2_1", "handlejoint_4", "handlejoint_4_1"], "class_name": ["slider_drawer", "slider_drawer", "slider_drawer", "line_fixed_handle", "line_fixed_handle", "line_fixed_handle", "line_fixed_handle", "line_fixed_handle", "line_fixed_handle"], "parent_joint_type": ["prismatic", "prismatic", "prismatic", "fixed", "fixed", "fixed", "fixed", "fixed", "fixed"], "axis_xyz_world": [[-0.0, -0.014525268534366281, -0.3483115743302161], [-0.0, -0.0, 0.0], [-0.0, -0.0, 0.0], [-0.0, -0.014525268534366281, -0.3483115743302161], [-0.0, -0.014525268534366281, -0.3483115743302161], [-0.0, -0.0, 0.0], [-0.0, -0.0, 0.0], [-0.0, -0.0, 0.0], [-0.0, -0.0, 0.0]], "axis_dir_world": [[-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0]], "class_id": [6, 6, 6, 1, 1, 1, 1, 1, 1], "instance_id ": [1, 4, 7, 2, 3, 5, 6, 8, 9]}
|
assets/art/storagefurniture_bottom/StorageFurniture11/bounding_box.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"min": [-0.587025, -0.805747, -0.406498], "max": [0.604869, 0.717228, 0.463895]}
|
assets/art/storagefurniture_bottom/StorageFurniture11/config.yaml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
asset_path: /home/liyaping/Code/Banana_close/assets/drawer_final/StorageFurniture-46537-link_0-handle_0-joint_0-handlejoint_0/mobility.urdf
|
| 2 |
+
usd_dir: /home/liyaping/Code/Banana_close/assets/drawer_final/StorageFurniture-46537-link_0-handle_0-joint_0-handlejoint_0
|
| 3 |
+
usd_file_name: instance.usd
|
| 4 |
+
force_usd_conversion: true
|
| 5 |
+
make_instanceable: true
|
| 6 |
+
import_inertia_tensor: true
|
| 7 |
+
fix_base: false
|
| 8 |
+
merge_fixed_joints: true
|
| 9 |
+
self_collision: false
|
| 10 |
+
default_drive_type: none
|
| 11 |
+
override_joint_dynamics: false
|
| 12 |
+
default_drive_stiffness: 0.0
|
| 13 |
+
default_drive_damping: 0.0
|
| 14 |
+
link_density: 0.0
|
| 15 |
+
convex_decompose_mesh: false
|
| 16 |
+
##
|
| 17 |
+
# Generated by UrdfConverter on 2025-02-14 at 21:19:03.
|
| 18 |
+
##
|
assets/art/storagefurniture_bottom/StorageFurniture11/info.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_keypoints": {
|
| 3 |
+
"link_contact_point": [
|
| 4 |
+
-0.024861274844418756,
|
| 5 |
+
0.16391113434014504,
|
| 6 |
+
0.41877447275805557
|
| 7 |
+
],
|
| 8 |
+
"base_contact_point": [
|
| 9 |
+
-0.4187744782834,
|
| 10 |
+
0.010336065173690179,
|
| 11 |
+
-0.18440039497489724
|
| 12 |
+
]
|
| 13 |
+
},
|
| 14 |
+
"object_scale": [
|
| 15 |
+
0.2510525967751211,
|
| 16 |
+
0.2510525967751211,
|
| 17 |
+
0.2510525967751211,
|
| 18 |
+
1.0
|
| 19 |
+
],
|
| 20 |
+
"object_name": "StorageFurniture11",
|
| 21 |
+
"object_usd": "assets/drawer_final/StorageFurniture-46537_2/instance.usd",
|
| 22 |
+
"object_link_path": "/StorageFurniture11/instance/contact_link2",
|
| 23 |
+
"object_base_path": "/StorageFurniture11/instance/base",
|
| 24 |
+
"object_prim_path": "/StorageFurniture11",
|
| 25 |
+
"object_joint_path": "/StorageFurniture11/instance/base/contact_link_prismatic2",
|
| 26 |
+
"object_link0_move_axis": "-z",
|
| 27 |
+
"object_link0_contact_axis": "-x",
|
| 28 |
+
"object_base_front_axis": "-x",
|
| 29 |
+
"joint_index": 0
|
| 30 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture11/keypoints.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"red": [
|
| 4 |
+
-0.4187744782834,
|
| 5 |
+
0.010336065173690179,
|
| 6 |
+
-0.18440039497489724
|
| 7 |
+
],
|
| 8 |
+
"yellow": [
|
| 9 |
+
-0.4187744782834,
|
| 10 |
+
0.010336065173690179,
|
| 11 |
+
-0.18440039497489724
|
| 12 |
+
]
|
| 13 |
+
}
|
| 14 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture11/keypoints_final.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"red": [
|
| 4 |
+
-0.024861274844418756,
|
| 5 |
+
0.16391113434014504,
|
| 6 |
+
0.41877447275805557
|
| 7 |
+
],
|
| 8 |
+
"yellow": [
|
| 9 |
+
-0.4187744782834,
|
| 10 |
+
0.010336065173690179,
|
| 11 |
+
-0.18440039497489724
|
| 12 |
+
]
|
| 13 |
+
},
|
| 14 |
+
"scale": [
|
| 15 |
+
0.2510525967751211,
|
| 16 |
+
0.2510525967751211,
|
| 17 |
+
0.2510525967751211,
|
| 18 |
+
1.0
|
| 19 |
+
]
|
| 20 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture11/meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"model_id": "5f7b88ac9256976cc59350d819542ec7", "anno_id": "46537", "user_id": "face++chendan", "time_in_sec": "455", "version": "4", "model_cat": "StorageFurniture"}
|
assets/art/storagefurniture_bottom/StorageFurniture11/mobility.urdf
ADDED
|
@@ -0,0 +1,962 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
| 1 |
+
<?xml version="1.0" ?>
|
| 2 |
+
<robot name="partnet_5f7b88ac9256976cc59350d819542ec7">
|
| 3 |
+
<link name="base"/>
|
| 4 |
+
<link name="link_0">
|
| 5 |
+
<visual name="drawer_front-30">
|
| 6 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 7 |
+
<geometry>
|
| 8 |
+
<mesh filename="textured_objs/original-43.obj"/>
|
| 9 |
+
</geometry>
|
| 10 |
+
</visual>
|
| 11 |
+
<visual name="drawer_front-30">
|
| 12 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 13 |
+
<geometry>
|
| 14 |
+
<mesh filename="textured_objs/original-38.obj"/>
|
| 15 |
+
</geometry>
|
| 16 |
+
</visual>
|
| 17 |
+
<visual name="drawer_front-30">
|
| 18 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 19 |
+
<geometry>
|
| 20 |
+
<mesh filename="textured_objs/original-34.obj"/>
|
| 21 |
+
</geometry>
|
| 22 |
+
</visual>
|
| 23 |
+
<visual name="drawer_front-30">
|
| 24 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 25 |
+
<geometry>
|
| 26 |
+
<mesh filename="textured_objs/original-40.obj"/>
|
| 27 |
+
</geometry>
|
| 28 |
+
</visual>
|
| 29 |
+
<visual name="drawer_front-30">
|
| 30 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 31 |
+
<geometry>
|
| 32 |
+
<mesh filename="textured_objs/original-37.obj"/>
|
| 33 |
+
</geometry>
|
| 34 |
+
</visual>
|
| 35 |
+
<visual name="drawer_front-30">
|
| 36 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 37 |
+
<geometry>
|
| 38 |
+
<mesh filename="textured_objs/original-39.obj"/>
|
| 39 |
+
</geometry>
|
| 40 |
+
</visual>
|
| 41 |
+
<visual name="drawer_front-30">
|
| 42 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 43 |
+
<geometry>
|
| 44 |
+
<mesh filename="textured_objs/original-36.obj"/>
|
| 45 |
+
</geometry>
|
| 46 |
+
</visual>
|
| 47 |
+
<visual name="drawer_front-30">
|
| 48 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 49 |
+
<geometry>
|
| 50 |
+
<mesh filename="textured_objs/original-41.obj"/>
|
| 51 |
+
</geometry>
|
| 52 |
+
</visual>
|
| 53 |
+
<visual name="drawer_front-30">
|
| 54 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 55 |
+
<geometry>
|
| 56 |
+
<mesh filename="textured_objs/original-35.obj"/>
|
| 57 |
+
</geometry>
|
| 58 |
+
</visual>
|
| 59 |
+
<visual name="drawer_front-30">
|
| 60 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 61 |
+
<geometry>
|
| 62 |
+
<mesh filename="textured_objs/original-44.obj"/>
|
| 63 |
+
</geometry>
|
| 64 |
+
</visual>
|
| 65 |
+
<visual name="drawer_front-30">
|
| 66 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 67 |
+
<geometry>
|
| 68 |
+
<mesh filename="textured_objs/original-26.obj"/>
|
| 69 |
+
</geometry>
|
| 70 |
+
</visual>
|
| 71 |
+
<visual name="drawer_side-31">
|
| 72 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 73 |
+
<geometry>
|
| 74 |
+
<mesh filename="textured_objs/original-30.obj"/>
|
| 75 |
+
</geometry>
|
| 76 |
+
</visual>
|
| 77 |
+
<visual name="drawer_side-32">
|
| 78 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 79 |
+
<geometry>
|
| 80 |
+
<mesh filename="textured_objs/original-25.obj"/>
|
| 81 |
+
</geometry>
|
| 82 |
+
</visual>
|
| 83 |
+
<visual name="drawer_back-33">
|
| 84 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 85 |
+
<geometry>
|
| 86 |
+
<mesh filename="textured_objs/original-31.obj"/>
|
| 87 |
+
</geometry>
|
| 88 |
+
</visual>
|
| 89 |
+
<visual name="drawer_bottom-34">
|
| 90 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 91 |
+
<geometry>
|
| 92 |
+
<mesh filename="textured_objs/original-29.obj"/>
|
| 93 |
+
</geometry>
|
| 94 |
+
</visual>
|
| 95 |
+
<visual name="drawer_bottom-34">
|
| 96 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 97 |
+
<geometry>
|
| 98 |
+
<mesh filename="textured_objs/original-28.obj"/>
|
| 99 |
+
</geometry>
|
| 100 |
+
</visual>
|
| 101 |
+
<visual name="other_leaf-37">
|
| 102 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 103 |
+
<geometry>
|
| 104 |
+
<mesh filename="textured_objs/original-32.obj"/>
|
| 105 |
+
</geometry>
|
| 106 |
+
</visual>
|
| 107 |
+
<visual name="handle-28">
|
| 108 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 109 |
+
<geometry>
|
| 110 |
+
<mesh filename="textured_objs/original-46.obj"/>
|
| 111 |
+
</geometry>
|
| 112 |
+
</visual>
|
| 113 |
+
<visual name="handle-29">
|
| 114 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 115 |
+
<geometry>
|
| 116 |
+
<mesh filename="textured_objs/original-45.obj"/>
|
| 117 |
+
</geometry>
|
| 118 |
+
</visual>
|
| 119 |
+
<collision>
|
| 120 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 121 |
+
<geometry>
|
| 122 |
+
<mesh filename="textured_objs/original-43.obj"/>
|
| 123 |
+
</geometry>
|
| 124 |
+
</collision>
|
| 125 |
+
<collision>
|
| 126 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 127 |
+
<geometry>
|
| 128 |
+
<mesh filename="textured_objs/original-38.obj"/>
|
| 129 |
+
</geometry>
|
| 130 |
+
</collision>
|
| 131 |
+
<collision>
|
| 132 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 133 |
+
<geometry>
|
| 134 |
+
<mesh filename="textured_objs/original-34.obj"/>
|
| 135 |
+
</geometry>
|
| 136 |
+
</collision>
|
| 137 |
+
<collision>
|
| 138 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 139 |
+
<geometry>
|
| 140 |
+
<mesh filename="textured_objs/original-40.obj"/>
|
| 141 |
+
</geometry>
|
| 142 |
+
</collision>
|
| 143 |
+
<collision>
|
| 144 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 145 |
+
<geometry>
|
| 146 |
+
<mesh filename="textured_objs/original-37.obj"/>
|
| 147 |
+
</geometry>
|
| 148 |
+
</collision>
|
| 149 |
+
<collision>
|
| 150 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 151 |
+
<geometry>
|
| 152 |
+
<mesh filename="textured_objs/original-39.obj"/>
|
| 153 |
+
</geometry>
|
| 154 |
+
</collision>
|
| 155 |
+
<collision>
|
| 156 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 157 |
+
<geometry>
|
| 158 |
+
<mesh filename="textured_objs/original-36.obj"/>
|
| 159 |
+
</geometry>
|
| 160 |
+
</collision>
|
| 161 |
+
<collision>
|
| 162 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 163 |
+
<geometry>
|
| 164 |
+
<mesh filename="textured_objs/original-41.obj"/>
|
| 165 |
+
</geometry>
|
| 166 |
+
</collision>
|
| 167 |
+
<collision>
|
| 168 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 169 |
+
<geometry>
|
| 170 |
+
<mesh filename="textured_objs/original-35.obj"/>
|
| 171 |
+
</geometry>
|
| 172 |
+
</collision>
|
| 173 |
+
<collision>
|
| 174 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 175 |
+
<geometry>
|
| 176 |
+
<mesh filename="textured_objs/original-44.obj"/>
|
| 177 |
+
</geometry>
|
| 178 |
+
</collision>
|
| 179 |
+
<collision>
|
| 180 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 181 |
+
<geometry>
|
| 182 |
+
<mesh filename="textured_objs/original-26.obj"/>
|
| 183 |
+
</geometry>
|
| 184 |
+
</collision>
|
| 185 |
+
<collision>
|
| 186 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 187 |
+
<geometry>
|
| 188 |
+
<mesh filename="textured_objs/original-30.obj"/>
|
| 189 |
+
</geometry>
|
| 190 |
+
</collision>
|
| 191 |
+
<collision>
|
| 192 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 193 |
+
<geometry>
|
| 194 |
+
<mesh filename="textured_objs/original-25.obj"/>
|
| 195 |
+
</geometry>
|
| 196 |
+
</collision>
|
| 197 |
+
<collision>
|
| 198 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 199 |
+
<geometry>
|
| 200 |
+
<mesh filename="textured_objs/original-31.obj"/>
|
| 201 |
+
</geometry>
|
| 202 |
+
</collision>
|
| 203 |
+
<collision>
|
| 204 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 205 |
+
<geometry>
|
| 206 |
+
<mesh filename="textured_objs/original-29.obj"/>
|
| 207 |
+
</geometry>
|
| 208 |
+
</collision>
|
| 209 |
+
<collision>
|
| 210 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 211 |
+
<geometry>
|
| 212 |
+
<mesh filename="textured_objs/original-28.obj"/>
|
| 213 |
+
</geometry>
|
| 214 |
+
</collision>
|
| 215 |
+
<collision>
|
| 216 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 217 |
+
<geometry>
|
| 218 |
+
<mesh filename="textured_objs/original-32.obj"/>
|
| 219 |
+
</geometry>
|
| 220 |
+
</collision>
|
| 221 |
+
<collision>
|
| 222 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 223 |
+
<geometry>
|
| 224 |
+
<mesh filename="textured_objs/original-46.obj"/>
|
| 225 |
+
</geometry>
|
| 226 |
+
</collision>
|
| 227 |
+
<collision>
|
| 228 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 229 |
+
<geometry>
|
| 230 |
+
<mesh filename="textured_objs/original-45.obj"/>
|
| 231 |
+
</geometry>
|
| 232 |
+
</collision>
|
| 233 |
+
</link>
|
| 234 |
+
<joint name="joint_0" type="prismatic">
|
| 235 |
+
<origin xyz="0.014525268534366281 -0.3483115743302161 0"/>
|
| 236 |
+
<axis xyz="0 0 1"/>
|
| 237 |
+
<child link="link_0"/>
|
| 238 |
+
<parent link="link_3"/>
|
| 239 |
+
<limit lower="0" upper="0.57"/>
|
| 240 |
+
</joint>
|
| 241 |
+
<link name="link_1">
|
| 242 |
+
<visual name="drawer_front-20">
|
| 243 |
+
<origin xyz="0 0 0"/>
|
| 244 |
+
<geometry>
|
| 245 |
+
<mesh filename="textured_objs/original-67.obj"/>
|
| 246 |
+
</geometry>
|
| 247 |
+
</visual>
|
| 248 |
+
<visual name="drawer_front-20">
|
| 249 |
+
<origin xyz="0 0 0"/>
|
| 250 |
+
<geometry>
|
| 251 |
+
<mesh filename="textured_objs/original-62.obj"/>
|
| 252 |
+
</geometry>
|
| 253 |
+
</visual>
|
| 254 |
+
<visual name="drawer_front-20">
|
| 255 |
+
<origin xyz="0 0 0"/>
|
| 256 |
+
<geometry>
|
| 257 |
+
<mesh filename="textured_objs/original-58.obj"/>
|
| 258 |
+
</geometry>
|
| 259 |
+
</visual>
|
| 260 |
+
<visual name="drawer_front-20">
|
| 261 |
+
<origin xyz="0 0 0"/>
|
| 262 |
+
<geometry>
|
| 263 |
+
<mesh filename="textured_objs/original-64.obj"/>
|
| 264 |
+
</geometry>
|
| 265 |
+
</visual>
|
| 266 |
+
<visual name="drawer_front-20">
|
| 267 |
+
<origin xyz="0 0 0"/>
|
| 268 |
+
<geometry>
|
| 269 |
+
<mesh filename="textured_objs/original-61.obj"/>
|
| 270 |
+
</geometry>
|
| 271 |
+
</visual>
|
| 272 |
+
<visual name="drawer_front-20">
|
| 273 |
+
<origin xyz="0 0 0"/>
|
| 274 |
+
<geometry>
|
| 275 |
+
<mesh filename="textured_objs/original-63.obj"/>
|
| 276 |
+
</geometry>
|
| 277 |
+
</visual>
|
| 278 |
+
<visual name="drawer_front-20">
|
| 279 |
+
<origin xyz="0 0 0"/>
|
| 280 |
+
<geometry>
|
| 281 |
+
<mesh filename="textured_objs/original-60.obj"/>
|
| 282 |
+
</geometry>
|
| 283 |
+
</visual>
|
| 284 |
+
<visual name="drawer_front-20">
|
| 285 |
+
<origin xyz="0 0 0"/>
|
| 286 |
+
<geometry>
|
| 287 |
+
<mesh filename="textured_objs/original-65.obj"/>
|
| 288 |
+
</geometry>
|
| 289 |
+
</visual>
|
| 290 |
+
<visual name="drawer_front-20">
|
| 291 |
+
<origin xyz="0 0 0"/>
|
| 292 |
+
<geometry>
|
| 293 |
+
<mesh filename="textured_objs/original-59.obj"/>
|
| 294 |
+
</geometry>
|
| 295 |
+
</visual>
|
| 296 |
+
<visual name="drawer_front-20">
|
| 297 |
+
<origin xyz="0 0 0"/>
|
| 298 |
+
<geometry>
|
| 299 |
+
<mesh filename="textured_objs/original-68.obj"/>
|
| 300 |
+
</geometry>
|
| 301 |
+
</visual>
|
| 302 |
+
<visual name="drawer_front-20">
|
| 303 |
+
<origin xyz="0 0 0"/>
|
| 304 |
+
<geometry>
|
| 305 |
+
<mesh filename="textured_objs/original-50.obj"/>
|
| 306 |
+
</geometry>
|
| 307 |
+
</visual>
|
| 308 |
+
<visual name="drawer_side-21">
|
| 309 |
+
<origin xyz="0 0 0"/>
|
| 310 |
+
<geometry>
|
| 311 |
+
<mesh filename="textured_objs/original-49.obj"/>
|
| 312 |
+
</geometry>
|
| 313 |
+
</visual>
|
| 314 |
+
<visual name="drawer_side-22">
|
| 315 |
+
<origin xyz="0 0 0"/>
|
| 316 |
+
<geometry>
|
| 317 |
+
<mesh filename="textured_objs/original-54.obj"/>
|
| 318 |
+
</geometry>
|
| 319 |
+
</visual>
|
| 320 |
+
<visual name="drawer_back-23">
|
| 321 |
+
<origin xyz="0 0 0"/>
|
| 322 |
+
<geometry>
|
| 323 |
+
<mesh filename="textured_objs/original-55.obj"/>
|
| 324 |
+
</geometry>
|
| 325 |
+
</visual>
|
| 326 |
+
<visual name="drawer_bottom-24">
|
| 327 |
+
<origin xyz="0 0 0"/>
|
| 328 |
+
<geometry>
|
| 329 |
+
<mesh filename="textured_objs/original-53.obj"/>
|
| 330 |
+
</geometry>
|
| 331 |
+
</visual>
|
| 332 |
+
<visual name="drawer_bottom-24">
|
| 333 |
+
<origin xyz="0 0 0"/>
|
| 334 |
+
<geometry>
|
| 335 |
+
<mesh filename="textured_objs/original-52.obj"/>
|
| 336 |
+
</geometry>
|
| 337 |
+
</visual>
|
| 338 |
+
<visual name="other_leaf-26">
|
| 339 |
+
<origin xyz="0 0 0"/>
|
| 340 |
+
<geometry>
|
| 341 |
+
<mesh filename="textured_objs/original-56.obj"/>
|
| 342 |
+
</geometry>
|
| 343 |
+
</visual>
|
| 344 |
+
<visual name="handle-18">
|
| 345 |
+
<origin xyz="0 0 0"/>
|
| 346 |
+
<geometry>
|
| 347 |
+
<mesh filename="textured_objs/original-70.obj"/>
|
| 348 |
+
</geometry>
|
| 349 |
+
</visual>
|
| 350 |
+
<visual name="handle-19">
|
| 351 |
+
<origin xyz="0 0 0"/>
|
| 352 |
+
<geometry>
|
| 353 |
+
<mesh filename="textured_objs/original-69.obj"/>
|
| 354 |
+
</geometry>
|
| 355 |
+
</visual>
|
| 356 |
+
<collision>
|
| 357 |
+
<origin xyz="0 0 0"/>
|
| 358 |
+
<geometry>
|
| 359 |
+
<mesh filename="textured_objs/original-67.obj"/>
|
| 360 |
+
</geometry>
|
| 361 |
+
</collision>
|
| 362 |
+
<collision>
|
| 363 |
+
<origin xyz="0 0 0"/>
|
| 364 |
+
<geometry>
|
| 365 |
+
<mesh filename="textured_objs/original-62.obj"/>
|
| 366 |
+
</geometry>
|
| 367 |
+
</collision>
|
| 368 |
+
<collision>
|
| 369 |
+
<origin xyz="0 0 0"/>
|
| 370 |
+
<geometry>
|
| 371 |
+
<mesh filename="textured_objs/original-58.obj"/>
|
| 372 |
+
</geometry>
|
| 373 |
+
</collision>
|
| 374 |
+
<collision>
|
| 375 |
+
<origin xyz="0 0 0"/>
|
| 376 |
+
<geometry>
|
| 377 |
+
<mesh filename="textured_objs/original-64.obj"/>
|
| 378 |
+
</geometry>
|
| 379 |
+
</collision>
|
| 380 |
+
<collision>
|
| 381 |
+
<origin xyz="0 0 0"/>
|
| 382 |
+
<geometry>
|
| 383 |
+
<mesh filename="textured_objs/original-61.obj"/>
|
| 384 |
+
</geometry>
|
| 385 |
+
</collision>
|
| 386 |
+
<collision>
|
| 387 |
+
<origin xyz="0 0 0"/>
|
| 388 |
+
<geometry>
|
| 389 |
+
<mesh filename="textured_objs/original-63.obj"/>
|
| 390 |
+
</geometry>
|
| 391 |
+
</collision>
|
| 392 |
+
<collision>
|
| 393 |
+
<origin xyz="0 0 0"/>
|
| 394 |
+
<geometry>
|
| 395 |
+
<mesh filename="textured_objs/original-60.obj"/>
|
| 396 |
+
</geometry>
|
| 397 |
+
</collision>
|
| 398 |
+
<collision>
|
| 399 |
+
<origin xyz="0 0 0"/>
|
| 400 |
+
<geometry>
|
| 401 |
+
<mesh filename="textured_objs/original-65.obj"/>
|
| 402 |
+
</geometry>
|
| 403 |
+
</collision>
|
| 404 |
+
<collision>
|
| 405 |
+
<origin xyz="0 0 0"/>
|
| 406 |
+
<geometry>
|
| 407 |
+
<mesh filename="textured_objs/original-59.obj"/>
|
| 408 |
+
</geometry>
|
| 409 |
+
</collision>
|
| 410 |
+
<collision>
|
| 411 |
+
<origin xyz="0 0 0"/>
|
| 412 |
+
<geometry>
|
| 413 |
+
<mesh filename="textured_objs/original-68.obj"/>
|
| 414 |
+
</geometry>
|
| 415 |
+
</collision>
|
| 416 |
+
<collision>
|
| 417 |
+
<origin xyz="0 0 0"/>
|
| 418 |
+
<geometry>
|
| 419 |
+
<mesh filename="textured_objs/original-50.obj"/>
|
| 420 |
+
</geometry>
|
| 421 |
+
</collision>
|
| 422 |
+
<collision>
|
| 423 |
+
<origin xyz="0 0 0"/>
|
| 424 |
+
<geometry>
|
| 425 |
+
<mesh filename="textured_objs/original-49.obj"/>
|
| 426 |
+
</geometry>
|
| 427 |
+
</collision>
|
| 428 |
+
<collision>
|
| 429 |
+
<origin xyz="0 0 0"/>
|
| 430 |
+
<geometry>
|
| 431 |
+
<mesh filename="textured_objs/original-54.obj"/>
|
| 432 |
+
</geometry>
|
| 433 |
+
</collision>
|
| 434 |
+
<collision>
|
| 435 |
+
<origin xyz="0 0 0"/>
|
| 436 |
+
<geometry>
|
| 437 |
+
<mesh filename="textured_objs/original-55.obj"/>
|
| 438 |
+
</geometry>
|
| 439 |
+
</collision>
|
| 440 |
+
<collision>
|
| 441 |
+
<origin xyz="0 0 0"/>
|
| 442 |
+
<geometry>
|
| 443 |
+
<mesh filename="textured_objs/original-53.obj"/>
|
| 444 |
+
</geometry>
|
| 445 |
+
</collision>
|
| 446 |
+
<collision>
|
| 447 |
+
<origin xyz="0 0 0"/>
|
| 448 |
+
<geometry>
|
| 449 |
+
<mesh filename="textured_objs/original-52.obj"/>
|
| 450 |
+
</geometry>
|
| 451 |
+
</collision>
|
| 452 |
+
<collision>
|
| 453 |
+
<origin xyz="0 0 0"/>
|
| 454 |
+
<geometry>
|
| 455 |
+
<mesh filename="textured_objs/original-56.obj"/>
|
| 456 |
+
</geometry>
|
| 457 |
+
</collision>
|
| 458 |
+
<collision>
|
| 459 |
+
<origin xyz="0 0 0"/>
|
| 460 |
+
<geometry>
|
| 461 |
+
<mesh filename="textured_objs/original-70.obj"/>
|
| 462 |
+
</geometry>
|
| 463 |
+
</collision>
|
| 464 |
+
<collision>
|
| 465 |
+
<origin xyz="0 0 0"/>
|
| 466 |
+
<geometry>
|
| 467 |
+
<mesh filename="textured_objs/original-69.obj"/>
|
| 468 |
+
</geometry>
|
| 469 |
+
</collision>
|
| 470 |
+
</link>
|
| 471 |
+
<joint name="joint_1" type="prismatic">
|
| 472 |
+
<origin xyz="0 0 0"/>
|
| 473 |
+
<axis xyz="0 0 1"/>
|
| 474 |
+
<child link="link_1"/>
|
| 475 |
+
<parent link="link_3"/>
|
| 476 |
+
<limit lower="0" upper="0.57"/>
|
| 477 |
+
</joint>
|
| 478 |
+
<link name="link_2">
|
| 479 |
+
<visual name="drawer_front-10">
|
| 480 |
+
<origin xyz="0 0 0"/>
|
| 481 |
+
<geometry>
|
| 482 |
+
<mesh filename="textured_objs/original-92.obj"/>
|
| 483 |
+
</geometry>
|
| 484 |
+
</visual>
|
| 485 |
+
<visual name="drawer_front-10">
|
| 486 |
+
<origin xyz="0 0 0"/>
|
| 487 |
+
<geometry>
|
| 488 |
+
<mesh filename="textured_objs/original-86.obj"/>
|
| 489 |
+
</geometry>
|
| 490 |
+
</visual>
|
| 491 |
+
<visual name="drawer_front-10">
|
| 492 |
+
<origin xyz="0 0 0"/>
|
| 493 |
+
<geometry>
|
| 494 |
+
<mesh filename="textured_objs/original-82.obj"/>
|
| 495 |
+
</geometry>
|
| 496 |
+
</visual>
|
| 497 |
+
<visual name="drawer_front-10">
|
| 498 |
+
<origin xyz="0 0 0"/>
|
| 499 |
+
<geometry>
|
| 500 |
+
<mesh filename="textured_objs/original-88.obj"/>
|
| 501 |
+
</geometry>
|
| 502 |
+
</visual>
|
| 503 |
+
<visual name="drawer_front-10">
|
| 504 |
+
<origin xyz="0 0 0"/>
|
| 505 |
+
<geometry>
|
| 506 |
+
<mesh filename="textured_objs/original-85.obj"/>
|
| 507 |
+
</geometry>
|
| 508 |
+
</visual>
|
| 509 |
+
<visual name="drawer_front-10">
|
| 510 |
+
<origin xyz="0 0 0"/>
|
| 511 |
+
<geometry>
|
| 512 |
+
<mesh filename="textured_objs/original-87.obj"/>
|
| 513 |
+
</geometry>
|
| 514 |
+
</visual>
|
| 515 |
+
<visual name="drawer_front-10">
|
| 516 |
+
<origin xyz="0 0 0"/>
|
| 517 |
+
<geometry>
|
| 518 |
+
<mesh filename="textured_objs/original-84.obj"/>
|
| 519 |
+
</geometry>
|
| 520 |
+
</visual>
|
| 521 |
+
<visual name="drawer_front-10">
|
| 522 |
+
<origin xyz="0 0 0"/>
|
| 523 |
+
<geometry>
|
| 524 |
+
<mesh filename="textured_objs/original-89.obj"/>
|
| 525 |
+
</geometry>
|
| 526 |
+
</visual>
|
| 527 |
+
<visual name="drawer_front-10">
|
| 528 |
+
<origin xyz="0 0 0"/>
|
| 529 |
+
<geometry>
|
| 530 |
+
<mesh filename="textured_objs/original-83.obj"/>
|
| 531 |
+
</geometry>
|
| 532 |
+
</visual>
|
| 533 |
+
<visual name="drawer_front-10">
|
| 534 |
+
<origin xyz="0 0 0"/>
|
| 535 |
+
<geometry>
|
| 536 |
+
<mesh filename="textured_objs/original-74.obj"/>
|
| 537 |
+
</geometry>
|
| 538 |
+
</visual>
|
| 539 |
+
<visual name="drawer_front-10">
|
| 540 |
+
<origin xyz="0 0 0"/>
|
| 541 |
+
<geometry>
|
| 542 |
+
<mesh filename="textured_objs/original-91.obj"/>
|
| 543 |
+
</geometry>
|
| 544 |
+
</visual>
|
| 545 |
+
<visual name="drawer_side-11">
|
| 546 |
+
<origin xyz="0 0 0"/>
|
| 547 |
+
<geometry>
|
| 548 |
+
<mesh filename="textured_objs/original-78.obj"/>
|
| 549 |
+
</geometry>
|
| 550 |
+
</visual>
|
| 551 |
+
<visual name="drawer_side-12">
|
| 552 |
+
<origin xyz="0 0 0"/>
|
| 553 |
+
<geometry>
|
| 554 |
+
<mesh filename="textured_objs/original-73.obj"/>
|
| 555 |
+
</geometry>
|
| 556 |
+
</visual>
|
| 557 |
+
<visual name="drawer_back-13">
|
| 558 |
+
<origin xyz="0 0 0"/>
|
| 559 |
+
<geometry>
|
| 560 |
+
<mesh filename="textured_objs/original-79.obj"/>
|
| 561 |
+
</geometry>
|
| 562 |
+
</visual>
|
| 563 |
+
<visual name="drawer_bottom-14">
|
| 564 |
+
<origin xyz="0 0 0"/>
|
| 565 |
+
<geometry>
|
| 566 |
+
<mesh filename="textured_objs/original-77.obj"/>
|
| 567 |
+
</geometry>
|
| 568 |
+
</visual>
|
| 569 |
+
<visual name="drawer_bottom-14">
|
| 570 |
+
<origin xyz="0 0 0"/>
|
| 571 |
+
<geometry>
|
| 572 |
+
<mesh filename="textured_objs/original-76.obj"/>
|
| 573 |
+
</geometry>
|
| 574 |
+
</visual>
|
| 575 |
+
<visual name="handle-8">
|
| 576 |
+
<origin xyz="0 0 0"/>
|
| 577 |
+
<geometry>
|
| 578 |
+
<mesh filename="textured_objs/original-94.obj"/>
|
| 579 |
+
</geometry>
|
| 580 |
+
</visual>
|
| 581 |
+
<visual name="handle-9">
|
| 582 |
+
<origin xyz="0 0 0"/>
|
| 583 |
+
<geometry>
|
| 584 |
+
<mesh filename="textured_objs/original-93.obj"/>
|
| 585 |
+
</geometry>
|
| 586 |
+
</visual>
|
| 587 |
+
<visual name="other_leaf-16">
|
| 588 |
+
<origin xyz="0 0 0"/>
|
| 589 |
+
<geometry>
|
| 590 |
+
<mesh filename="textured_objs/original-80.obj"/>
|
| 591 |
+
</geometry>
|
| 592 |
+
</visual>
|
| 593 |
+
<collision>
|
| 594 |
+
<origin xyz="0 0 0"/>
|
| 595 |
+
<geometry>
|
| 596 |
+
<mesh filename="textured_objs/original-92.obj"/>
|
| 597 |
+
</geometry>
|
| 598 |
+
</collision>
|
| 599 |
+
<collision>
|
| 600 |
+
<origin xyz="0 0 0"/>
|
| 601 |
+
<geometry>
|
| 602 |
+
<mesh filename="textured_objs/original-86.obj"/>
|
| 603 |
+
</geometry>
|
| 604 |
+
</collision>
|
| 605 |
+
<collision>
|
| 606 |
+
<origin xyz="0 0 0"/>
|
| 607 |
+
<geometry>
|
| 608 |
+
<mesh filename="textured_objs/original-82.obj"/>
|
| 609 |
+
</geometry>
|
| 610 |
+
</collision>
|
| 611 |
+
<collision>
|
| 612 |
+
<origin xyz="0 0 0"/>
|
| 613 |
+
<geometry>
|
| 614 |
+
<mesh filename="textured_objs/original-88.obj"/>
|
| 615 |
+
</geometry>
|
| 616 |
+
</collision>
|
| 617 |
+
<collision>
|
| 618 |
+
<origin xyz="0 0 0"/>
|
| 619 |
+
<geometry>
|
| 620 |
+
<mesh filename="textured_objs/original-85.obj"/>
|
| 621 |
+
</geometry>
|
| 622 |
+
</collision>
|
| 623 |
+
<collision>
|
| 624 |
+
<origin xyz="0 0 0"/>
|
| 625 |
+
<geometry>
|
| 626 |
+
<mesh filename="textured_objs/original-87.obj"/>
|
| 627 |
+
</geometry>
|
| 628 |
+
</collision>
|
| 629 |
+
<collision>
|
| 630 |
+
<origin xyz="0 0 0"/>
|
| 631 |
+
<geometry>
|
| 632 |
+
<mesh filename="textured_objs/original-84.obj"/>
|
| 633 |
+
</geometry>
|
| 634 |
+
</collision>
|
| 635 |
+
<collision>
|
| 636 |
+
<origin xyz="0 0 0"/>
|
| 637 |
+
<geometry>
|
| 638 |
+
<mesh filename="textured_objs/original-89.obj"/>
|
| 639 |
+
</geometry>
|
| 640 |
+
</collision>
|
| 641 |
+
<collision>
|
| 642 |
+
<origin xyz="0 0 0"/>
|
| 643 |
+
<geometry>
|
| 644 |
+
<mesh filename="textured_objs/original-83.obj"/>
|
| 645 |
+
</geometry>
|
| 646 |
+
</collision>
|
| 647 |
+
<collision>
|
| 648 |
+
<origin xyz="0 0 0"/>
|
| 649 |
+
<geometry>
|
| 650 |
+
<mesh filename="textured_objs/original-74.obj"/>
|
| 651 |
+
</geometry>
|
| 652 |
+
</collision>
|
| 653 |
+
<collision>
|
| 654 |
+
<origin xyz="0 0 0"/>
|
| 655 |
+
<geometry>
|
| 656 |
+
<mesh filename="textured_objs/original-91.obj"/>
|
| 657 |
+
</geometry>
|
| 658 |
+
</collision>
|
| 659 |
+
<collision>
|
| 660 |
+
<origin xyz="0 0 0"/>
|
| 661 |
+
<geometry>
|
| 662 |
+
<mesh filename="textured_objs/original-78.obj"/>
|
| 663 |
+
</geometry>
|
| 664 |
+
</collision>
|
| 665 |
+
<collision>
|
| 666 |
+
<origin xyz="0 0 0"/>
|
| 667 |
+
<geometry>
|
| 668 |
+
<mesh filename="textured_objs/original-73.obj"/>
|
| 669 |
+
</geometry>
|
| 670 |
+
</collision>
|
| 671 |
+
<collision>
|
| 672 |
+
<origin xyz="0 0 0"/>
|
| 673 |
+
<geometry>
|
| 674 |
+
<mesh filename="textured_objs/original-79.obj"/>
|
| 675 |
+
</geometry>
|
| 676 |
+
</collision>
|
| 677 |
+
<collision>
|
| 678 |
+
<origin xyz="0 0 0"/>
|
| 679 |
+
<geometry>
|
| 680 |
+
<mesh filename="textured_objs/original-77.obj"/>
|
| 681 |
+
</geometry>
|
| 682 |
+
</collision>
|
| 683 |
+
<collision>
|
| 684 |
+
<origin xyz="0 0 0"/>
|
| 685 |
+
<geometry>
|
| 686 |
+
<mesh filename="textured_objs/original-76.obj"/>
|
| 687 |
+
</geometry>
|
| 688 |
+
</collision>
|
| 689 |
+
<collision>
|
| 690 |
+
<origin xyz="0 0 0"/>
|
| 691 |
+
<geometry>
|
| 692 |
+
<mesh filename="textured_objs/original-94.obj"/>
|
| 693 |
+
</geometry>
|
| 694 |
+
</collision>
|
| 695 |
+
<collision>
|
| 696 |
+
<origin xyz="0 0 0"/>
|
| 697 |
+
<geometry>
|
| 698 |
+
<mesh filename="textured_objs/original-93.obj"/>
|
| 699 |
+
</geometry>
|
| 700 |
+
</collision>
|
| 701 |
+
<collision>
|
| 702 |
+
<origin xyz="0 0 0"/>
|
| 703 |
+
<geometry>
|
| 704 |
+
<mesh filename="textured_objs/original-80.obj"/>
|
| 705 |
+
</geometry>
|
| 706 |
+
</collision>
|
| 707 |
+
</link>
|
| 708 |
+
<joint name="joint_2" type="prismatic">
|
| 709 |
+
<origin xyz="0 0 0"/>
|
| 710 |
+
<axis xyz="0 0 1"/>
|
| 711 |
+
<child link="link_2"/>
|
| 712 |
+
<parent link="link_3"/>
|
| 713 |
+
<limit lower="0" upper="0.57"/>
|
| 714 |
+
</joint>
|
| 715 |
+
<link name="link_3">
|
| 716 |
+
<visual name="frame_vertical_bar-49">
|
| 717 |
+
<origin xyz="0 0 0"/>
|
| 718 |
+
<geometry>
|
| 719 |
+
<mesh filename="textured_objs/original-3.obj"/>
|
| 720 |
+
</geometry>
|
| 721 |
+
</visual>
|
| 722 |
+
<visual name="frame_vertical_bar-50">
|
| 723 |
+
<origin xyz="0 0 0"/>
|
| 724 |
+
<geometry>
|
| 725 |
+
<mesh filename="textured_objs/original-7.obj"/>
|
| 726 |
+
</geometry>
|
| 727 |
+
</visual>
|
| 728 |
+
<visual name="frame_horizontal_bar-51">
|
| 729 |
+
<origin xyz="0 0 0"/>
|
| 730 |
+
<geometry>
|
| 731 |
+
<mesh filename="textured_objs/original-4.obj"/>
|
| 732 |
+
</geometry>
|
| 733 |
+
</visual>
|
| 734 |
+
<visual name="frame_horizontal_bar-52">
|
| 735 |
+
<origin xyz="0 0 0"/>
|
| 736 |
+
<geometry>
|
| 737 |
+
<mesh filename="textured_objs/original-21.obj"/>
|
| 738 |
+
</geometry>
|
| 739 |
+
</visual>
|
| 740 |
+
<visual name="frame_horizontal_bar-53">
|
| 741 |
+
<origin xyz="0 0 0"/>
|
| 742 |
+
<geometry>
|
| 743 |
+
<mesh filename="textured_objs/original-20.obj"/>
|
| 744 |
+
</geometry>
|
| 745 |
+
</visual>
|
| 746 |
+
<visual name="frame_horizontal_bar-54">
|
| 747 |
+
<origin xyz="0 0 0"/>
|
| 748 |
+
<geometry>
|
| 749 |
+
<mesh filename="textured_objs/original-8.obj"/>
|
| 750 |
+
</geometry>
|
| 751 |
+
</visual>
|
| 752 |
+
<visual name="frame_horizontal_bar-55">
|
| 753 |
+
<origin xyz="0 0 0"/>
|
| 754 |
+
<geometry>
|
| 755 |
+
<mesh filename="textured_objs/original-22.obj"/>
|
| 756 |
+
</geometry>
|
| 757 |
+
</visual>
|
| 758 |
+
<visual name="frame_horizontal_bar-56">
|
| 759 |
+
<origin xyz="0 0 0"/>
|
| 760 |
+
<geometry>
|
| 761 |
+
<mesh filename="textured_objs/original-17.obj"/>
|
| 762 |
+
</geometry>
|
| 763 |
+
</visual>
|
| 764 |
+
<visual name="frame_horizontal_bar-57">
|
| 765 |
+
<origin xyz="0 0 0"/>
|
| 766 |
+
<geometry>
|
| 767 |
+
<mesh filename="textured_objs/original-6.obj"/>
|
| 768 |
+
</geometry>
|
| 769 |
+
</visual>
|
| 770 |
+
<visual name="vertical_side_panel-58">
|
| 771 |
+
<origin xyz="0 0 0"/>
|
| 772 |
+
<geometry>
|
| 773 |
+
<mesh filename="textured_objs/original-11.obj"/>
|
| 774 |
+
</geometry>
|
| 775 |
+
</visual>
|
| 776 |
+
<visual name="vertical_side_panel-58">
|
| 777 |
+
<origin xyz="0 0 0"/>
|
| 778 |
+
<geometry>
|
| 779 |
+
<mesh filename="textured_objs/original-10.obj"/>
|
| 780 |
+
</geometry>
|
| 781 |
+
</visual>
|
| 782 |
+
<visual name="vertical_side_panel-59">
|
| 783 |
+
<origin xyz="0 0 0"/>
|
| 784 |
+
<geometry>
|
| 785 |
+
<mesh filename="textured_objs/original-15.obj"/>
|
| 786 |
+
</geometry>
|
| 787 |
+
</visual>
|
| 788 |
+
<visual name="vertical_side_panel-59">
|
| 789 |
+
<origin xyz="0 0 0"/>
|
| 790 |
+
<geometry>
|
| 791 |
+
<mesh filename="textured_objs/original-14.obj"/>
|
| 792 |
+
</geometry>
|
| 793 |
+
</visual>
|
| 794 |
+
<visual name="back_panel-60">
|
| 795 |
+
<origin xyz="0 0 0"/>
|
| 796 |
+
<geometry>
|
| 797 |
+
<mesh filename="textured_objs/original-5.obj"/>
|
| 798 |
+
</geometry>
|
| 799 |
+
</visual>
|
| 800 |
+
<visual name="bottom_panel-61">
|
| 801 |
+
<origin xyz="0 0 0"/>
|
| 802 |
+
<geometry>
|
| 803 |
+
<mesh filename="textured_objs/original-2.obj"/>
|
| 804 |
+
</geometry>
|
| 805 |
+
</visual>
|
| 806 |
+
<visual name="other_leaf-63">
|
| 807 |
+
<origin xyz="0 0 0"/>
|
| 808 |
+
<geometry>
|
| 809 |
+
<mesh filename="textured_objs/original-95.obj"/>
|
| 810 |
+
</geometry>
|
| 811 |
+
</visual>
|
| 812 |
+
<visual name="base_side_panel-39">
|
| 813 |
+
<origin xyz="0 0 0"/>
|
| 814 |
+
<geometry>
|
| 815 |
+
<mesh filename="textured_objs/original-12.obj"/>
|
| 816 |
+
</geometry>
|
| 817 |
+
</visual>
|
| 818 |
+
<visual name="base_side_panel-40">
|
| 819 |
+
<origin xyz="0 0 0"/>
|
| 820 |
+
<geometry>
|
| 821 |
+
<mesh filename="textured_objs/original-18.obj"/>
|
| 822 |
+
</geometry>
|
| 823 |
+
</visual>
|
| 824 |
+
<visual name="base_side_panel-41">
|
| 825 |
+
<origin xyz="0 0 0"/>
|
| 826 |
+
<geometry>
|
| 827 |
+
<mesh filename="textured_objs/original-16.obj"/>
|
| 828 |
+
</geometry>
|
| 829 |
+
</visual>
|
| 830 |
+
<visual name="base_side_panel-42">
|
| 831 |
+
<origin xyz="0 0 0"/>
|
| 832 |
+
<geometry>
|
| 833 |
+
<mesh filename="textured_objs/original-19.obj"/>
|
| 834 |
+
</geometry>
|
| 835 |
+
</visual>
|
| 836 |
+
<collision>
|
| 837 |
+
<origin xyz="0 0 0"/>
|
| 838 |
+
<geometry>
|
| 839 |
+
<mesh filename="textured_objs/original-3.obj"/>
|
| 840 |
+
</geometry>
|
| 841 |
+
</collision>
|
| 842 |
+
<collision>
|
| 843 |
+
<origin xyz="0 0 0"/>
|
| 844 |
+
<geometry>
|
| 845 |
+
<mesh filename="textured_objs/original-7.obj"/>
|
| 846 |
+
</geometry>
|
| 847 |
+
</collision>
|
| 848 |
+
<collision>
|
| 849 |
+
<origin xyz="0 0 0"/>
|
| 850 |
+
<geometry>
|
| 851 |
+
<mesh filename="textured_objs/original-4.obj"/>
|
| 852 |
+
</geometry>
|
| 853 |
+
</collision>
|
| 854 |
+
<collision>
|
| 855 |
+
<origin xyz="0 0 0"/>
|
| 856 |
+
<geometry>
|
| 857 |
+
<mesh filename="textured_objs/original-21.obj"/>
|
| 858 |
+
</geometry>
|
| 859 |
+
</collision>
|
| 860 |
+
<collision>
|
| 861 |
+
<origin xyz="0 0 0"/>
|
| 862 |
+
<geometry>
|
| 863 |
+
<mesh filename="textured_objs/original-20.obj"/>
|
| 864 |
+
</geometry>
|
| 865 |
+
</collision>
|
| 866 |
+
<collision>
|
| 867 |
+
<origin xyz="0 0 0"/>
|
| 868 |
+
<geometry>
|
| 869 |
+
<mesh filename="textured_objs/original-8.obj"/>
|
| 870 |
+
</geometry>
|
| 871 |
+
</collision>
|
| 872 |
+
<collision>
|
| 873 |
+
<origin xyz="0 0 0"/>
|
| 874 |
+
<geometry>
|
| 875 |
+
<mesh filename="textured_objs/original-22.obj"/>
|
| 876 |
+
</geometry>
|
| 877 |
+
</collision>
|
| 878 |
+
<collision>
|
| 879 |
+
<origin xyz="0 0 0"/>
|
| 880 |
+
<geometry>
|
| 881 |
+
<mesh filename="textured_objs/original-17.obj"/>
|
| 882 |
+
</geometry>
|
| 883 |
+
</collision>
|
| 884 |
+
<collision>
|
| 885 |
+
<origin xyz="0 0 0"/>
|
| 886 |
+
<geometry>
|
| 887 |
+
<mesh filename="textured_objs/original-6.obj"/>
|
| 888 |
+
</geometry>
|
| 889 |
+
</collision>
|
| 890 |
+
<collision>
|
| 891 |
+
<origin xyz="0 0 0"/>
|
| 892 |
+
<geometry>
|
| 893 |
+
<mesh filename="textured_objs/original-11.obj"/>
|
| 894 |
+
</geometry>
|
| 895 |
+
</collision>
|
| 896 |
+
<collision>
|
| 897 |
+
<origin xyz="0 0 0"/>
|
| 898 |
+
<geometry>
|
| 899 |
+
<mesh filename="textured_objs/original-10.obj"/>
|
| 900 |
+
</geometry>
|
| 901 |
+
</collision>
|
| 902 |
+
<collision>
|
| 903 |
+
<origin xyz="0 0 0"/>
|
| 904 |
+
<geometry>
|
| 905 |
+
<mesh filename="textured_objs/original-15.obj"/>
|
| 906 |
+
</geometry>
|
| 907 |
+
</collision>
|
| 908 |
+
<collision>
|
| 909 |
+
<origin xyz="0 0 0"/>
|
| 910 |
+
<geometry>
|
| 911 |
+
<mesh filename="textured_objs/original-14.obj"/>
|
| 912 |
+
</geometry>
|
| 913 |
+
</collision>
|
| 914 |
+
<collision>
|
| 915 |
+
<origin xyz="0 0 0"/>
|
| 916 |
+
<geometry>
|
| 917 |
+
<mesh filename="textured_objs/original-5.obj"/>
|
| 918 |
+
</geometry>
|
| 919 |
+
</collision>
|
| 920 |
+
<collision>
|
| 921 |
+
<origin xyz="0 0 0"/>
|
| 922 |
+
<geometry>
|
| 923 |
+
<mesh filename="textured_objs/original-2.obj"/>
|
| 924 |
+
</geometry>
|
| 925 |
+
</collision>
|
| 926 |
+
<collision>
|
| 927 |
+
<origin xyz="0 0 0"/>
|
| 928 |
+
<geometry>
|
| 929 |
+
<mesh filename="textured_objs/original-95.obj"/>
|
| 930 |
+
</geometry>
|
| 931 |
+
</collision>
|
| 932 |
+
<collision>
|
| 933 |
+
<origin xyz="0 0 0"/>
|
| 934 |
+
<geometry>
|
| 935 |
+
<mesh filename="textured_objs/original-12.obj"/>
|
| 936 |
+
</geometry>
|
| 937 |
+
</collision>
|
| 938 |
+
<collision>
|
| 939 |
+
<origin xyz="0 0 0"/>
|
| 940 |
+
<geometry>
|
| 941 |
+
<mesh filename="textured_objs/original-18.obj"/>
|
| 942 |
+
</geometry>
|
| 943 |
+
</collision>
|
| 944 |
+
<collision>
|
| 945 |
+
<origin xyz="0 0 0"/>
|
| 946 |
+
<geometry>
|
| 947 |
+
<mesh filename="textured_objs/original-16.obj"/>
|
| 948 |
+
</geometry>
|
| 949 |
+
</collision>
|
| 950 |
+
<collision>
|
| 951 |
+
<origin xyz="0 0 0"/>
|
| 952 |
+
<geometry>
|
| 953 |
+
<mesh filename="textured_objs/original-19.obj"/>
|
| 954 |
+
</geometry>
|
| 955 |
+
</collision>
|
| 956 |
+
</link>
|
| 957 |
+
<joint name="joint_3" type="fixed">
|
| 958 |
+
<origin rpy="1.570796326794897 0 -1.570796326794897" xyz="0 0 0"/>
|
| 959 |
+
<child link="link_3"/>
|
| 960 |
+
<parent link="base"/>
|
| 961 |
+
</joint>
|
| 962 |
+
</robot>
|
assets/art/storagefurniture_bottom/StorageFurniture11/mobility_new.urdf
ADDED
|
@@ -0,0 +1,1004 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" ?>
|
| 2 |
+
<robot name="partnet_5f7b88ac9256976cc59350d819542ec7">
|
| 3 |
+
<link name="base"/>
|
| 4 |
+
<link name="link_0">
|
| 5 |
+
<visual name="drawer_front-30">
|
| 6 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 7 |
+
<geometry>
|
| 8 |
+
<mesh filename="textured_objs/original-43.obj"/>
|
| 9 |
+
</geometry>
|
| 10 |
+
</visual>
|
| 11 |
+
<visual name="drawer_front-30">
|
| 12 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 13 |
+
<geometry>
|
| 14 |
+
<mesh filename="textured_objs/original-38.obj"/>
|
| 15 |
+
</geometry>
|
| 16 |
+
</visual>
|
| 17 |
+
<visual name="drawer_front-30">
|
| 18 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 19 |
+
<geometry>
|
| 20 |
+
<mesh filename="textured_objs/original-34.obj"/>
|
| 21 |
+
</geometry>
|
| 22 |
+
</visual>
|
| 23 |
+
<visual name="drawer_front-30">
|
| 24 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 25 |
+
<geometry>
|
| 26 |
+
<mesh filename="textured_objs/original-40.obj"/>
|
| 27 |
+
</geometry>
|
| 28 |
+
</visual>
|
| 29 |
+
<visual name="drawer_front-30">
|
| 30 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 31 |
+
<geometry>
|
| 32 |
+
<mesh filename="textured_objs/original-37.obj"/>
|
| 33 |
+
</geometry>
|
| 34 |
+
</visual>
|
| 35 |
+
<visual name="drawer_front-30">
|
| 36 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 37 |
+
<geometry>
|
| 38 |
+
<mesh filename="textured_objs/original-39.obj"/>
|
| 39 |
+
</geometry>
|
| 40 |
+
</visual>
|
| 41 |
+
<visual name="drawer_front-30">
|
| 42 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 43 |
+
<geometry>
|
| 44 |
+
<mesh filename="textured_objs/original-36.obj"/>
|
| 45 |
+
</geometry>
|
| 46 |
+
</visual>
|
| 47 |
+
<visual name="drawer_front-30">
|
| 48 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 49 |
+
<geometry>
|
| 50 |
+
<mesh filename="textured_objs/original-41.obj"/>
|
| 51 |
+
</geometry>
|
| 52 |
+
</visual>
|
| 53 |
+
<visual name="drawer_front-30">
|
| 54 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 55 |
+
<geometry>
|
| 56 |
+
<mesh filename="textured_objs/original-35.obj"/>
|
| 57 |
+
</geometry>
|
| 58 |
+
</visual>
|
| 59 |
+
<visual name="drawer_front-30">
|
| 60 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 61 |
+
<geometry>
|
| 62 |
+
<mesh filename="textured_objs/original-44.obj"/>
|
| 63 |
+
</geometry>
|
| 64 |
+
</visual>
|
| 65 |
+
<visual name="drawer_front-30">
|
| 66 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 67 |
+
<geometry>
|
| 68 |
+
<mesh filename="textured_objs/original-26.obj"/>
|
| 69 |
+
</geometry>
|
| 70 |
+
</visual>
|
| 71 |
+
<visual name="drawer_side-31">
|
| 72 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 73 |
+
<geometry>
|
| 74 |
+
<mesh filename="textured_objs/original-30.obj"/>
|
| 75 |
+
</geometry>
|
| 76 |
+
</visual>
|
| 77 |
+
<visual name="drawer_side-32">
|
| 78 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 79 |
+
<geometry>
|
| 80 |
+
<mesh filename="textured_objs/original-25.obj"/>
|
| 81 |
+
</geometry>
|
| 82 |
+
</visual>
|
| 83 |
+
<visual name="drawer_back-33">
|
| 84 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 85 |
+
<geometry>
|
| 86 |
+
<mesh filename="textured_objs/original-31.obj"/>
|
| 87 |
+
</geometry>
|
| 88 |
+
</visual>
|
| 89 |
+
<visual name="drawer_bottom-34">
|
| 90 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 91 |
+
<geometry>
|
| 92 |
+
<mesh filename="textured_objs/original-29.obj"/>
|
| 93 |
+
</geometry>
|
| 94 |
+
</visual>
|
| 95 |
+
<visual name="drawer_bottom-34">
|
| 96 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 97 |
+
<geometry>
|
| 98 |
+
<mesh filename="textured_objs/original-28.obj"/>
|
| 99 |
+
</geometry>
|
| 100 |
+
</visual>
|
| 101 |
+
<visual name="other_leaf-37">
|
| 102 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 103 |
+
<geometry>
|
| 104 |
+
<mesh filename="textured_objs/original-32.obj"/>
|
| 105 |
+
</geometry>
|
| 106 |
+
</visual>
|
| 107 |
+
<collision>
|
| 108 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 109 |
+
<geometry>
|
| 110 |
+
<mesh filename="textured_objs/original-43.obj"/>
|
| 111 |
+
</geometry>
|
| 112 |
+
</collision>
|
| 113 |
+
<collision>
|
| 114 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 115 |
+
<geometry>
|
| 116 |
+
<mesh filename="textured_objs/original-38.obj"/>
|
| 117 |
+
</geometry>
|
| 118 |
+
</collision>
|
| 119 |
+
<collision>
|
| 120 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 121 |
+
<geometry>
|
| 122 |
+
<mesh filename="textured_objs/original-34.obj"/>
|
| 123 |
+
</geometry>
|
| 124 |
+
</collision>
|
| 125 |
+
<collision>
|
| 126 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 127 |
+
<geometry>
|
| 128 |
+
<mesh filename="textured_objs/original-40.obj"/>
|
| 129 |
+
</geometry>
|
| 130 |
+
</collision>
|
| 131 |
+
<collision>
|
| 132 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 133 |
+
<geometry>
|
| 134 |
+
<mesh filename="textured_objs/original-37.obj"/>
|
| 135 |
+
</geometry>
|
| 136 |
+
</collision>
|
| 137 |
+
<collision>
|
| 138 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 139 |
+
<geometry>
|
| 140 |
+
<mesh filename="textured_objs/original-39.obj"/>
|
| 141 |
+
</geometry>
|
| 142 |
+
</collision>
|
| 143 |
+
<collision>
|
| 144 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 145 |
+
<geometry>
|
| 146 |
+
<mesh filename="textured_objs/original-36.obj"/>
|
| 147 |
+
</geometry>
|
| 148 |
+
</collision>
|
| 149 |
+
<collision>
|
| 150 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 151 |
+
<geometry>
|
| 152 |
+
<mesh filename="textured_objs/original-41.obj"/>
|
| 153 |
+
</geometry>
|
| 154 |
+
</collision>
|
| 155 |
+
<collision>
|
| 156 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 157 |
+
<geometry>
|
| 158 |
+
<mesh filename="textured_objs/original-35.obj"/>
|
| 159 |
+
</geometry>
|
| 160 |
+
</collision>
|
| 161 |
+
<collision>
|
| 162 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 163 |
+
<geometry>
|
| 164 |
+
<mesh filename="textured_objs/original-44.obj"/>
|
| 165 |
+
</geometry>
|
| 166 |
+
</collision>
|
| 167 |
+
<collision>
|
| 168 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 169 |
+
<geometry>
|
| 170 |
+
<mesh filename="textured_objs/original-26.obj"/>
|
| 171 |
+
</geometry>
|
| 172 |
+
</collision>
|
| 173 |
+
<collision>
|
| 174 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 175 |
+
<geometry>
|
| 176 |
+
<mesh filename="textured_objs/original-30.obj"/>
|
| 177 |
+
</geometry>
|
| 178 |
+
</collision>
|
| 179 |
+
<collision>
|
| 180 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 181 |
+
<geometry>
|
| 182 |
+
<mesh filename="textured_objs/original-25.obj"/>
|
| 183 |
+
</geometry>
|
| 184 |
+
</collision>
|
| 185 |
+
<collision>
|
| 186 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 187 |
+
<geometry>
|
| 188 |
+
<mesh filename="textured_objs/original-31.obj"/>
|
| 189 |
+
</geometry>
|
| 190 |
+
</collision>
|
| 191 |
+
<collision>
|
| 192 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 193 |
+
<geometry>
|
| 194 |
+
<mesh filename="textured_objs/original-29.obj"/>
|
| 195 |
+
</geometry>
|
| 196 |
+
</collision>
|
| 197 |
+
<collision>
|
| 198 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 199 |
+
<geometry>
|
| 200 |
+
<mesh filename="textured_objs/original-28.obj"/>
|
| 201 |
+
</geometry>
|
| 202 |
+
</collision>
|
| 203 |
+
<collision>
|
| 204 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 205 |
+
<geometry>
|
| 206 |
+
<mesh filename="textured_objs/original-32.obj"/>
|
| 207 |
+
</geometry>
|
| 208 |
+
</collision>
|
| 209 |
+
<collision>
|
| 210 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 211 |
+
<geometry>
|
| 212 |
+
<mesh filename="textured_objs/original-46.obj"/>
|
| 213 |
+
</geometry>
|
| 214 |
+
</collision>
|
| 215 |
+
<collision>
|
| 216 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 217 |
+
<geometry>
|
| 218 |
+
<mesh filename="textured_objs/original-45.obj"/>
|
| 219 |
+
</geometry>
|
| 220 |
+
</collision>
|
| 221 |
+
</link>
|
| 222 |
+
<link name="handle_0">
|
| 223 |
+
<visual name="handle_1-28">
|
| 224 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 225 |
+
<geometry>
|
| 226 |
+
<mesh filename="textured_objs/original-46.obj"/>
|
| 227 |
+
</geometry>
|
| 228 |
+
</visual>
|
| 229 |
+
</link>
|
| 230 |
+
<link name="handle_0_1">
|
| 231 |
+
<visual name="handle_2-29">
|
| 232 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 233 |
+
<geometry>
|
| 234 |
+
<mesh filename="textured_objs/original-45.obj"/>
|
| 235 |
+
</geometry>
|
| 236 |
+
</visual>
|
| 237 |
+
</link>
|
| 238 |
+
<joint name="handlejoint_0" type="fixed">
|
| 239 |
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
| 240 |
+
<child link="handle_0"/>
|
| 241 |
+
<parent link="link_0"/>
|
| 242 |
+
</joint>
|
| 243 |
+
<joint name="handlejoint_0_1" type="fixed">
|
| 244 |
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
| 245 |
+
<child link="handle_0_1"/>
|
| 246 |
+
<parent link="link_0"/>
|
| 247 |
+
</joint>
|
| 248 |
+
<joint name="joint_0" type="prismatic">
|
| 249 |
+
<origin xyz="0.014525268534366281 -0.3483115743302161 0"/>
|
| 250 |
+
<axis xyz="0 0 1"/>
|
| 251 |
+
<child link="link_0"/>
|
| 252 |
+
<parent link="link_3"/>
|
| 253 |
+
<limit lower="0" upper="0.57"/>
|
| 254 |
+
</joint>
|
| 255 |
+
<link name="link_1">
|
| 256 |
+
<visual name="drawer_front-20">
|
| 257 |
+
<origin xyz="0 0 0"/>
|
| 258 |
+
<geometry>
|
| 259 |
+
<mesh filename="textured_objs/original-67.obj"/>
|
| 260 |
+
</geometry>
|
| 261 |
+
</visual>
|
| 262 |
+
<visual name="drawer_front-20">
|
| 263 |
+
<origin xyz="0 0 0"/>
|
| 264 |
+
<geometry>
|
| 265 |
+
<mesh filename="textured_objs/original-62.obj"/>
|
| 266 |
+
</geometry>
|
| 267 |
+
</visual>
|
| 268 |
+
<visual name="drawer_front-20">
|
| 269 |
+
<origin xyz="0 0 0"/>
|
| 270 |
+
<geometry>
|
| 271 |
+
<mesh filename="textured_objs/original-58.obj"/>
|
| 272 |
+
</geometry>
|
| 273 |
+
</visual>
|
| 274 |
+
<visual name="drawer_front-20">
|
| 275 |
+
<origin xyz="0 0 0"/>
|
| 276 |
+
<geometry>
|
| 277 |
+
<mesh filename="textured_objs/original-64.obj"/>
|
| 278 |
+
</geometry>
|
| 279 |
+
</visual>
|
| 280 |
+
<visual name="drawer_front-20">
|
| 281 |
+
<origin xyz="0 0 0"/>
|
| 282 |
+
<geometry>
|
| 283 |
+
<mesh filename="textured_objs/original-61.obj"/>
|
| 284 |
+
</geometry>
|
| 285 |
+
</visual>
|
| 286 |
+
<visual name="drawer_front-20">
|
| 287 |
+
<origin xyz="0 0 0"/>
|
| 288 |
+
<geometry>
|
| 289 |
+
<mesh filename="textured_objs/original-63.obj"/>
|
| 290 |
+
</geometry>
|
| 291 |
+
</visual>
|
| 292 |
+
<visual name="drawer_front-20">
|
| 293 |
+
<origin xyz="0 0 0"/>
|
| 294 |
+
<geometry>
|
| 295 |
+
<mesh filename="textured_objs/original-60.obj"/>
|
| 296 |
+
</geometry>
|
| 297 |
+
</visual>
|
| 298 |
+
<visual name="drawer_front-20">
|
| 299 |
+
<origin xyz="0 0 0"/>
|
| 300 |
+
<geometry>
|
| 301 |
+
<mesh filename="textured_objs/original-65.obj"/>
|
| 302 |
+
</geometry>
|
| 303 |
+
</visual>
|
| 304 |
+
<visual name="drawer_front-20">
|
| 305 |
+
<origin xyz="0 0 0"/>
|
| 306 |
+
<geometry>
|
| 307 |
+
<mesh filename="textured_objs/original-59.obj"/>
|
| 308 |
+
</geometry>
|
| 309 |
+
</visual>
|
| 310 |
+
<visual name="drawer_front-20">
|
| 311 |
+
<origin xyz="0 0 0"/>
|
| 312 |
+
<geometry>
|
| 313 |
+
<mesh filename="textured_objs/original-68.obj"/>
|
| 314 |
+
</geometry>
|
| 315 |
+
</visual>
|
| 316 |
+
<visual name="drawer_front-20">
|
| 317 |
+
<origin xyz="0 0 0"/>
|
| 318 |
+
<geometry>
|
| 319 |
+
<mesh filename="textured_objs/original-50.obj"/>
|
| 320 |
+
</geometry>
|
| 321 |
+
</visual>
|
| 322 |
+
<visual name="drawer_side-21">
|
| 323 |
+
<origin xyz="0 0 0"/>
|
| 324 |
+
<geometry>
|
| 325 |
+
<mesh filename="textured_objs/original-49.obj"/>
|
| 326 |
+
</geometry>
|
| 327 |
+
</visual>
|
| 328 |
+
<visual name="drawer_side-22">
|
| 329 |
+
<origin xyz="0 0 0"/>
|
| 330 |
+
<geometry>
|
| 331 |
+
<mesh filename="textured_objs/original-54.obj"/>
|
| 332 |
+
</geometry>
|
| 333 |
+
</visual>
|
| 334 |
+
<visual name="drawer_back-23">
|
| 335 |
+
<origin xyz="0 0 0"/>
|
| 336 |
+
<geometry>
|
| 337 |
+
<mesh filename="textured_objs/original-55.obj"/>
|
| 338 |
+
</geometry>
|
| 339 |
+
</visual>
|
| 340 |
+
<visual name="drawer_bottom-24">
|
| 341 |
+
<origin xyz="0 0 0"/>
|
| 342 |
+
<geometry>
|
| 343 |
+
<mesh filename="textured_objs/original-53.obj"/>
|
| 344 |
+
</geometry>
|
| 345 |
+
</visual>
|
| 346 |
+
<visual name="drawer_bottom-24">
|
| 347 |
+
<origin xyz="0 0 0"/>
|
| 348 |
+
<geometry>
|
| 349 |
+
<mesh filename="textured_objs/original-52.obj"/>
|
| 350 |
+
</geometry>
|
| 351 |
+
</visual>
|
| 352 |
+
<visual name="other_leaf-26">
|
| 353 |
+
<origin xyz="0 0 0"/>
|
| 354 |
+
<geometry>
|
| 355 |
+
<mesh filename="textured_objs/original-56.obj"/>
|
| 356 |
+
</geometry>
|
| 357 |
+
</visual>
|
| 358 |
+
<collision>
|
| 359 |
+
<origin xyz="0 0 0"/>
|
| 360 |
+
<geometry>
|
| 361 |
+
<mesh filename="textured_objs/original-67.obj"/>
|
| 362 |
+
</geometry>
|
| 363 |
+
</collision>
|
| 364 |
+
<collision>
|
| 365 |
+
<origin xyz="0 0 0"/>
|
| 366 |
+
<geometry>
|
| 367 |
+
<mesh filename="textured_objs/original-62.obj"/>
|
| 368 |
+
</geometry>
|
| 369 |
+
</collision>
|
| 370 |
+
<collision>
|
| 371 |
+
<origin xyz="0 0 0"/>
|
| 372 |
+
<geometry>
|
| 373 |
+
<mesh filename="textured_objs/original-58.obj"/>
|
| 374 |
+
</geometry>
|
| 375 |
+
</collision>
|
| 376 |
+
<collision>
|
| 377 |
+
<origin xyz="0 0 0"/>
|
| 378 |
+
<geometry>
|
| 379 |
+
<mesh filename="textured_objs/original-64.obj"/>
|
| 380 |
+
</geometry>
|
| 381 |
+
</collision>
|
| 382 |
+
<collision>
|
| 383 |
+
<origin xyz="0 0 0"/>
|
| 384 |
+
<geometry>
|
| 385 |
+
<mesh filename="textured_objs/original-61.obj"/>
|
| 386 |
+
</geometry>
|
| 387 |
+
</collision>
|
| 388 |
+
<collision>
|
| 389 |
+
<origin xyz="0 0 0"/>
|
| 390 |
+
<geometry>
|
| 391 |
+
<mesh filename="textured_objs/original-63.obj"/>
|
| 392 |
+
</geometry>
|
| 393 |
+
</collision>
|
| 394 |
+
<collision>
|
| 395 |
+
<origin xyz="0 0 0"/>
|
| 396 |
+
<geometry>
|
| 397 |
+
<mesh filename="textured_objs/original-60.obj"/>
|
| 398 |
+
</geometry>
|
| 399 |
+
</collision>
|
| 400 |
+
<collision>
|
| 401 |
+
<origin xyz="0 0 0"/>
|
| 402 |
+
<geometry>
|
| 403 |
+
<mesh filename="textured_objs/original-65.obj"/>
|
| 404 |
+
</geometry>
|
| 405 |
+
</collision>
|
| 406 |
+
<collision>
|
| 407 |
+
<origin xyz="0 0 0"/>
|
| 408 |
+
<geometry>
|
| 409 |
+
<mesh filename="textured_objs/original-59.obj"/>
|
| 410 |
+
</geometry>
|
| 411 |
+
</collision>
|
| 412 |
+
<collision>
|
| 413 |
+
<origin xyz="0 0 0"/>
|
| 414 |
+
<geometry>
|
| 415 |
+
<mesh filename="textured_objs/original-68.obj"/>
|
| 416 |
+
</geometry>
|
| 417 |
+
</collision>
|
| 418 |
+
<collision>
|
| 419 |
+
<origin xyz="0 0 0"/>
|
| 420 |
+
<geometry>
|
| 421 |
+
<mesh filename="textured_objs/original-50.obj"/>
|
| 422 |
+
</geometry>
|
| 423 |
+
</collision>
|
| 424 |
+
<collision>
|
| 425 |
+
<origin xyz="0 0 0"/>
|
| 426 |
+
<geometry>
|
| 427 |
+
<mesh filename="textured_objs/original-49.obj"/>
|
| 428 |
+
</geometry>
|
| 429 |
+
</collision>
|
| 430 |
+
<collision>
|
| 431 |
+
<origin xyz="0 0 0"/>
|
| 432 |
+
<geometry>
|
| 433 |
+
<mesh filename="textured_objs/original-54.obj"/>
|
| 434 |
+
</geometry>
|
| 435 |
+
</collision>
|
| 436 |
+
<collision>
|
| 437 |
+
<origin xyz="0 0 0"/>
|
| 438 |
+
<geometry>
|
| 439 |
+
<mesh filename="textured_objs/original-55.obj"/>
|
| 440 |
+
</geometry>
|
| 441 |
+
</collision>
|
| 442 |
+
<collision>
|
| 443 |
+
<origin xyz="0 0 0"/>
|
| 444 |
+
<geometry>
|
| 445 |
+
<mesh filename="textured_objs/original-53.obj"/>
|
| 446 |
+
</geometry>
|
| 447 |
+
</collision>
|
| 448 |
+
<collision>
|
| 449 |
+
<origin xyz="0 0 0"/>
|
| 450 |
+
<geometry>
|
| 451 |
+
<mesh filename="textured_objs/original-52.obj"/>
|
| 452 |
+
</geometry>
|
| 453 |
+
</collision>
|
| 454 |
+
<collision>
|
| 455 |
+
<origin xyz="0 0 0"/>
|
| 456 |
+
<geometry>
|
| 457 |
+
<mesh filename="textured_objs/original-56.obj"/>
|
| 458 |
+
</geometry>
|
| 459 |
+
</collision>
|
| 460 |
+
<collision>
|
| 461 |
+
<origin xyz="0 0 0"/>
|
| 462 |
+
<geometry>
|
| 463 |
+
<mesh filename="textured_objs/original-70.obj"/>
|
| 464 |
+
</geometry>
|
| 465 |
+
</collision>
|
| 466 |
+
<collision>
|
| 467 |
+
<origin xyz="0 0 0"/>
|
| 468 |
+
<geometry>
|
| 469 |
+
<mesh filename="textured_objs/original-69.obj"/>
|
| 470 |
+
</geometry>
|
| 471 |
+
</collision>
|
| 472 |
+
</link>
|
| 473 |
+
<link name="handle_2">
|
| 474 |
+
<visual name="handle_1-18">
|
| 475 |
+
<origin xyz="0 0 0"/>
|
| 476 |
+
<geometry>
|
| 477 |
+
<mesh filename="textured_objs/original-70.obj"/>
|
| 478 |
+
</geometry>
|
| 479 |
+
</visual>
|
| 480 |
+
</link>
|
| 481 |
+
<link name="handle_2_1">
|
| 482 |
+
<visual name="handle_2-19">
|
| 483 |
+
<origin xyz="0 0 0"/>
|
| 484 |
+
<geometry>
|
| 485 |
+
<mesh filename="textured_objs/original-69.obj"/>
|
| 486 |
+
</geometry>
|
| 487 |
+
</visual>
|
| 488 |
+
</link>
|
| 489 |
+
<joint name="handlejoint_2" type="fixed">
|
| 490 |
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
| 491 |
+
<child link="handle_2"/>
|
| 492 |
+
<parent link="link_1"/>
|
| 493 |
+
</joint>
|
| 494 |
+
<joint name="handlejoint_2_1" type="fixed">
|
| 495 |
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
| 496 |
+
<child link="handle_2_1"/>
|
| 497 |
+
<parent link="link_1"/>
|
| 498 |
+
</joint>
|
| 499 |
+
<joint name="joint_1" type="prismatic">
|
| 500 |
+
<origin xyz="0 0 0"/>
|
| 501 |
+
<axis xyz="0 0 1"/>
|
| 502 |
+
<child link="link_1"/>
|
| 503 |
+
<parent link="link_3"/>
|
| 504 |
+
<limit lower="0" upper="0.57"/>
|
| 505 |
+
</joint>
|
| 506 |
+
<link name="link_2">
|
| 507 |
+
<visual name="drawer_front-10">
|
| 508 |
+
<origin xyz="0 0 0"/>
|
| 509 |
+
<geometry>
|
| 510 |
+
<mesh filename="textured_objs/original-92.obj"/>
|
| 511 |
+
</geometry>
|
| 512 |
+
</visual>
|
| 513 |
+
<visual name="drawer_front-10">
|
| 514 |
+
<origin xyz="0 0 0"/>
|
| 515 |
+
<geometry>
|
| 516 |
+
<mesh filename="textured_objs/original-86.obj"/>
|
| 517 |
+
</geometry>
|
| 518 |
+
</visual>
|
| 519 |
+
<visual name="drawer_front-10">
|
| 520 |
+
<origin xyz="0 0 0"/>
|
| 521 |
+
<geometry>
|
| 522 |
+
<mesh filename="textured_objs/original-82.obj"/>
|
| 523 |
+
</geometry>
|
| 524 |
+
</visual>
|
| 525 |
+
<visual name="drawer_front-10">
|
| 526 |
+
<origin xyz="0 0 0"/>
|
| 527 |
+
<geometry>
|
| 528 |
+
<mesh filename="textured_objs/original-88.obj"/>
|
| 529 |
+
</geometry>
|
| 530 |
+
</visual>
|
| 531 |
+
<visual name="drawer_front-10">
|
| 532 |
+
<origin xyz="0 0 0"/>
|
| 533 |
+
<geometry>
|
| 534 |
+
<mesh filename="textured_objs/original-85.obj"/>
|
| 535 |
+
</geometry>
|
| 536 |
+
</visual>
|
| 537 |
+
<visual name="drawer_front-10">
|
| 538 |
+
<origin xyz="0 0 0"/>
|
| 539 |
+
<geometry>
|
| 540 |
+
<mesh filename="textured_objs/original-87.obj"/>
|
| 541 |
+
</geometry>
|
| 542 |
+
</visual>
|
| 543 |
+
<visual name="drawer_front-10">
|
| 544 |
+
<origin xyz="0 0 0"/>
|
| 545 |
+
<geometry>
|
| 546 |
+
<mesh filename="textured_objs/original-84.obj"/>
|
| 547 |
+
</geometry>
|
| 548 |
+
</visual>
|
| 549 |
+
<visual name="drawer_front-10">
|
| 550 |
+
<origin xyz="0 0 0"/>
|
| 551 |
+
<geometry>
|
| 552 |
+
<mesh filename="textured_objs/original-89.obj"/>
|
| 553 |
+
</geometry>
|
| 554 |
+
</visual>
|
| 555 |
+
<visual name="drawer_front-10">
|
| 556 |
+
<origin xyz="0 0 0"/>
|
| 557 |
+
<geometry>
|
| 558 |
+
<mesh filename="textured_objs/original-83.obj"/>
|
| 559 |
+
</geometry>
|
| 560 |
+
</visual>
|
| 561 |
+
<visual name="drawer_front-10">
|
| 562 |
+
<origin xyz="0 0 0"/>
|
| 563 |
+
<geometry>
|
| 564 |
+
<mesh filename="textured_objs/original-74.obj"/>
|
| 565 |
+
</geometry>
|
| 566 |
+
</visual>
|
| 567 |
+
<visual name="drawer_front-10">
|
| 568 |
+
<origin xyz="0 0 0"/>
|
| 569 |
+
<geometry>
|
| 570 |
+
<mesh filename="textured_objs/original-91.obj"/>
|
| 571 |
+
</geometry>
|
| 572 |
+
</visual>
|
| 573 |
+
<visual name="drawer_side-11">
|
| 574 |
+
<origin xyz="0 0 0"/>
|
| 575 |
+
<geometry>
|
| 576 |
+
<mesh filename="textured_objs/original-78.obj"/>
|
| 577 |
+
</geometry>
|
| 578 |
+
</visual>
|
| 579 |
+
<visual name="drawer_side-12">
|
| 580 |
+
<origin xyz="0 0 0"/>
|
| 581 |
+
<geometry>
|
| 582 |
+
<mesh filename="textured_objs/original-73.obj"/>
|
| 583 |
+
</geometry>
|
| 584 |
+
</visual>
|
| 585 |
+
<visual name="drawer_back-13">
|
| 586 |
+
<origin xyz="0 0 0"/>
|
| 587 |
+
<geometry>
|
| 588 |
+
<mesh filename="textured_objs/original-79.obj"/>
|
| 589 |
+
</geometry>
|
| 590 |
+
</visual>
|
| 591 |
+
<visual name="drawer_bottom-14">
|
| 592 |
+
<origin xyz="0 0 0"/>
|
| 593 |
+
<geometry>
|
| 594 |
+
<mesh filename="textured_objs/original-77.obj"/>
|
| 595 |
+
</geometry>
|
| 596 |
+
</visual>
|
| 597 |
+
<visual name="drawer_bottom-14">
|
| 598 |
+
<origin xyz="0 0 0"/>
|
| 599 |
+
<geometry>
|
| 600 |
+
<mesh filename="textured_objs/original-76.obj"/>
|
| 601 |
+
</geometry>
|
| 602 |
+
</visual>
|
| 603 |
+
<visual name="other_leaf-16">
|
| 604 |
+
<origin xyz="0 0 0"/>
|
| 605 |
+
<geometry>
|
| 606 |
+
<mesh filename="textured_objs/original-80.obj"/>
|
| 607 |
+
</geometry>
|
| 608 |
+
</visual>
|
| 609 |
+
<collision>
|
| 610 |
+
<origin xyz="0 0 0"/>
|
| 611 |
+
<geometry>
|
| 612 |
+
<mesh filename="textured_objs/original-92.obj"/>
|
| 613 |
+
</geometry>
|
| 614 |
+
</collision>
|
| 615 |
+
<collision>
|
| 616 |
+
<origin xyz="0 0 0"/>
|
| 617 |
+
<geometry>
|
| 618 |
+
<mesh filename="textured_objs/original-86.obj"/>
|
| 619 |
+
</geometry>
|
| 620 |
+
</collision>
|
| 621 |
+
<collision>
|
| 622 |
+
<origin xyz="0 0 0"/>
|
| 623 |
+
<geometry>
|
| 624 |
+
<mesh filename="textured_objs/original-82.obj"/>
|
| 625 |
+
</geometry>
|
| 626 |
+
</collision>
|
| 627 |
+
<collision>
|
| 628 |
+
<origin xyz="0 0 0"/>
|
| 629 |
+
<geometry>
|
| 630 |
+
<mesh filename="textured_objs/original-88.obj"/>
|
| 631 |
+
</geometry>
|
| 632 |
+
</collision>
|
| 633 |
+
<collision>
|
| 634 |
+
<origin xyz="0 0 0"/>
|
| 635 |
+
<geometry>
|
| 636 |
+
<mesh filename="textured_objs/original-85.obj"/>
|
| 637 |
+
</geometry>
|
| 638 |
+
</collision>
|
| 639 |
+
<collision>
|
| 640 |
+
<origin xyz="0 0 0"/>
|
| 641 |
+
<geometry>
|
| 642 |
+
<mesh filename="textured_objs/original-87.obj"/>
|
| 643 |
+
</geometry>
|
| 644 |
+
</collision>
|
| 645 |
+
<collision>
|
| 646 |
+
<origin xyz="0 0 0"/>
|
| 647 |
+
<geometry>
|
| 648 |
+
<mesh filename="textured_objs/original-84.obj"/>
|
| 649 |
+
</geometry>
|
| 650 |
+
</collision>
|
| 651 |
+
<collision>
|
| 652 |
+
<origin xyz="0 0 0"/>
|
| 653 |
+
<geometry>
|
| 654 |
+
<mesh filename="textured_objs/original-89.obj"/>
|
| 655 |
+
</geometry>
|
| 656 |
+
</collision>
|
| 657 |
+
<collision>
|
| 658 |
+
<origin xyz="0 0 0"/>
|
| 659 |
+
<geometry>
|
| 660 |
+
<mesh filename="textured_objs/original-83.obj"/>
|
| 661 |
+
</geometry>
|
| 662 |
+
</collision>
|
| 663 |
+
<collision>
|
| 664 |
+
<origin xyz="0 0 0"/>
|
| 665 |
+
<geometry>
|
| 666 |
+
<mesh filename="textured_objs/original-74.obj"/>
|
| 667 |
+
</geometry>
|
| 668 |
+
</collision>
|
| 669 |
+
<collision>
|
| 670 |
+
<origin xyz="0 0 0"/>
|
| 671 |
+
<geometry>
|
| 672 |
+
<mesh filename="textured_objs/original-91.obj"/>
|
| 673 |
+
</geometry>
|
| 674 |
+
</collision>
|
| 675 |
+
<collision>
|
| 676 |
+
<origin xyz="0 0 0"/>
|
| 677 |
+
<geometry>
|
| 678 |
+
<mesh filename="textured_objs/original-78.obj"/>
|
| 679 |
+
</geometry>
|
| 680 |
+
</collision>
|
| 681 |
+
<collision>
|
| 682 |
+
<origin xyz="0 0 0"/>
|
| 683 |
+
<geometry>
|
| 684 |
+
<mesh filename="textured_objs/original-73.obj"/>
|
| 685 |
+
</geometry>
|
| 686 |
+
</collision>
|
| 687 |
+
<collision>
|
| 688 |
+
<origin xyz="0 0 0"/>
|
| 689 |
+
<geometry>
|
| 690 |
+
<mesh filename="textured_objs/original-79.obj"/>
|
| 691 |
+
</geometry>
|
| 692 |
+
</collision>
|
| 693 |
+
<collision>
|
| 694 |
+
<origin xyz="0 0 0"/>
|
| 695 |
+
<geometry>
|
| 696 |
+
<mesh filename="textured_objs/original-77.obj"/>
|
| 697 |
+
</geometry>
|
| 698 |
+
</collision>
|
| 699 |
+
<collision>
|
| 700 |
+
<origin xyz="0 0 0"/>
|
| 701 |
+
<geometry>
|
| 702 |
+
<mesh filename="textured_objs/original-76.obj"/>
|
| 703 |
+
</geometry>
|
| 704 |
+
</collision>
|
| 705 |
+
<collision>
|
| 706 |
+
<origin xyz="0 0 0"/>
|
| 707 |
+
<geometry>
|
| 708 |
+
<mesh filename="textured_objs/original-94.obj"/>
|
| 709 |
+
</geometry>
|
| 710 |
+
</collision>
|
| 711 |
+
<collision>
|
| 712 |
+
<origin xyz="0 0 0"/>
|
| 713 |
+
<geometry>
|
| 714 |
+
<mesh filename="textured_objs/original-93.obj"/>
|
| 715 |
+
</geometry>
|
| 716 |
+
</collision>
|
| 717 |
+
<collision>
|
| 718 |
+
<origin xyz="0 0 0"/>
|
| 719 |
+
<geometry>
|
| 720 |
+
<mesh filename="textured_objs/original-80.obj"/>
|
| 721 |
+
</geometry>
|
| 722 |
+
</collision>
|
| 723 |
+
</link>
|
| 724 |
+
<link name="handle_4">
|
| 725 |
+
<visual name="handle_1-8">
|
| 726 |
+
<origin xyz="0 0 0"/>
|
| 727 |
+
<geometry>
|
| 728 |
+
<mesh filename="textured_objs/original-94.obj"/>
|
| 729 |
+
</geometry>
|
| 730 |
+
</visual>
|
| 731 |
+
</link>
|
| 732 |
+
<link name="handle_4_1">
|
| 733 |
+
<visual name="handle_2-9">
|
| 734 |
+
<origin xyz="0 0 0"/>
|
| 735 |
+
<geometry>
|
| 736 |
+
<mesh filename="textured_objs/original-93.obj"/>
|
| 737 |
+
</geometry>
|
| 738 |
+
</visual>
|
| 739 |
+
</link>
|
| 740 |
+
<joint name="handlejoint_4" type="fixed">
|
| 741 |
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
| 742 |
+
<child link="handle_4"/>
|
| 743 |
+
<parent link="link_2"/>
|
| 744 |
+
</joint>
|
| 745 |
+
<joint name="handlejoint_4_1" type="fixed">
|
| 746 |
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
| 747 |
+
<child link="handle_4_1"/>
|
| 748 |
+
<parent link="link_2"/>
|
| 749 |
+
</joint>
|
| 750 |
+
<joint name="joint_2" type="prismatic">
|
| 751 |
+
<origin xyz="0 0 0"/>
|
| 752 |
+
<axis xyz="0 0 1"/>
|
| 753 |
+
<child link="link_2"/>
|
| 754 |
+
<parent link="link_3"/>
|
| 755 |
+
<limit lower="0" upper="0.57"/>
|
| 756 |
+
</joint>
|
| 757 |
+
<link name="link_3">
|
| 758 |
+
<visual name="frame_vertical_bar-49">
|
| 759 |
+
<origin xyz="0 0 0"/>
|
| 760 |
+
<geometry>
|
| 761 |
+
<mesh filename="textured_objs/original-3.obj"/>
|
| 762 |
+
</geometry>
|
| 763 |
+
</visual>
|
| 764 |
+
<visual name="frame_vertical_bar-50">
|
| 765 |
+
<origin xyz="0 0 0"/>
|
| 766 |
+
<geometry>
|
| 767 |
+
<mesh filename="textured_objs/original-7.obj"/>
|
| 768 |
+
</geometry>
|
| 769 |
+
</visual>
|
| 770 |
+
<visual name="frame_horizontal_bar-51">
|
| 771 |
+
<origin xyz="0 0 0"/>
|
| 772 |
+
<geometry>
|
| 773 |
+
<mesh filename="textured_objs/original-4.obj"/>
|
| 774 |
+
</geometry>
|
| 775 |
+
</visual>
|
| 776 |
+
<visual name="frame_horizontal_bar-52">
|
| 777 |
+
<origin xyz="0 0 0"/>
|
| 778 |
+
<geometry>
|
| 779 |
+
<mesh filename="textured_objs/original-21.obj"/>
|
| 780 |
+
</geometry>
|
| 781 |
+
</visual>
|
| 782 |
+
<visual name="frame_horizontal_bar-53">
|
| 783 |
+
<origin xyz="0 0 0"/>
|
| 784 |
+
<geometry>
|
| 785 |
+
<mesh filename="textured_objs/original-20.obj"/>
|
| 786 |
+
</geometry>
|
| 787 |
+
</visual>
|
| 788 |
+
<visual name="frame_horizontal_bar-54">
|
| 789 |
+
<origin xyz="0 0 0"/>
|
| 790 |
+
<geometry>
|
| 791 |
+
<mesh filename="textured_objs/original-8.obj"/>
|
| 792 |
+
</geometry>
|
| 793 |
+
</visual>
|
| 794 |
+
<visual name="frame_horizontal_bar-55">
|
| 795 |
+
<origin xyz="0 0 0"/>
|
| 796 |
+
<geometry>
|
| 797 |
+
<mesh filename="textured_objs/original-22.obj"/>
|
| 798 |
+
</geometry>
|
| 799 |
+
</visual>
|
| 800 |
+
<visual name="frame_horizontal_bar-56">
|
| 801 |
+
<origin xyz="0 0 0"/>
|
| 802 |
+
<geometry>
|
| 803 |
+
<mesh filename="textured_objs/original-17.obj"/>
|
| 804 |
+
</geometry>
|
| 805 |
+
</visual>
|
| 806 |
+
<visual name="frame_horizontal_bar-57">
|
| 807 |
+
<origin xyz="0 0 0"/>
|
| 808 |
+
<geometry>
|
| 809 |
+
<mesh filename="textured_objs/original-6.obj"/>
|
| 810 |
+
</geometry>
|
| 811 |
+
</visual>
|
| 812 |
+
<visual name="vertical_side_panel-58">
|
| 813 |
+
<origin xyz="0 0 0"/>
|
| 814 |
+
<geometry>
|
| 815 |
+
<mesh filename="textured_objs/original-11.obj"/>
|
| 816 |
+
</geometry>
|
| 817 |
+
</visual>
|
| 818 |
+
<visual name="vertical_side_panel-58">
|
| 819 |
+
<origin xyz="0 0 0"/>
|
| 820 |
+
<geometry>
|
| 821 |
+
<mesh filename="textured_objs/original-10.obj"/>
|
| 822 |
+
</geometry>
|
| 823 |
+
</visual>
|
| 824 |
+
<visual name="vertical_side_panel-59">
|
| 825 |
+
<origin xyz="0 0 0"/>
|
| 826 |
+
<geometry>
|
| 827 |
+
<mesh filename="textured_objs/original-15.obj"/>
|
| 828 |
+
</geometry>
|
| 829 |
+
</visual>
|
| 830 |
+
<visual name="vertical_side_panel-59">
|
| 831 |
+
<origin xyz="0 0 0"/>
|
| 832 |
+
<geometry>
|
| 833 |
+
<mesh filename="textured_objs/original-14.obj"/>
|
| 834 |
+
</geometry>
|
| 835 |
+
</visual>
|
| 836 |
+
<visual name="back_panel-60">
|
| 837 |
+
<origin xyz="0 0 0"/>
|
| 838 |
+
<geometry>
|
| 839 |
+
<mesh filename="textured_objs/original-5.obj"/>
|
| 840 |
+
</geometry>
|
| 841 |
+
</visual>
|
| 842 |
+
<visual name="bottom_panel-61">
|
| 843 |
+
<origin xyz="0 0 0"/>
|
| 844 |
+
<geometry>
|
| 845 |
+
<mesh filename="textured_objs/original-2.obj"/>
|
| 846 |
+
</geometry>
|
| 847 |
+
</visual>
|
| 848 |
+
<visual name="other_leaf-63">
|
| 849 |
+
<origin xyz="0 0 0"/>
|
| 850 |
+
<geometry>
|
| 851 |
+
<mesh filename="textured_objs/original-95.obj"/>
|
| 852 |
+
</geometry>
|
| 853 |
+
</visual>
|
| 854 |
+
<visual name="base_side_panel-39">
|
| 855 |
+
<origin xyz="0 0 0"/>
|
| 856 |
+
<geometry>
|
| 857 |
+
<mesh filename="textured_objs/original-12.obj"/>
|
| 858 |
+
</geometry>
|
| 859 |
+
</visual>
|
| 860 |
+
<visual name="base_side_panel-40">
|
| 861 |
+
<origin xyz="0 0 0"/>
|
| 862 |
+
<geometry>
|
| 863 |
+
<mesh filename="textured_objs/original-18.obj"/>
|
| 864 |
+
</geometry>
|
| 865 |
+
</visual>
|
| 866 |
+
<visual name="base_side_panel-41">
|
| 867 |
+
<origin xyz="0 0 0"/>
|
| 868 |
+
<geometry>
|
| 869 |
+
<mesh filename="textured_objs/original-16.obj"/>
|
| 870 |
+
</geometry>
|
| 871 |
+
</visual>
|
| 872 |
+
<visual name="base_side_panel-42">
|
| 873 |
+
<origin xyz="0 0 0"/>
|
| 874 |
+
<geometry>
|
| 875 |
+
<mesh filename="textured_objs/original-19.obj"/>
|
| 876 |
+
</geometry>
|
| 877 |
+
</visual>
|
| 878 |
+
<collision>
|
| 879 |
+
<origin xyz="0 0 0"/>
|
| 880 |
+
<geometry>
|
| 881 |
+
<mesh filename="textured_objs/original-3.obj"/>
|
| 882 |
+
</geometry>
|
| 883 |
+
</collision>
|
| 884 |
+
<collision>
|
| 885 |
+
<origin xyz="0 0 0"/>
|
| 886 |
+
<geometry>
|
| 887 |
+
<mesh filename="textured_objs/original-7.obj"/>
|
| 888 |
+
</geometry>
|
| 889 |
+
</collision>
|
| 890 |
+
<collision>
|
| 891 |
+
<origin xyz="0 0 0"/>
|
| 892 |
+
<geometry>
|
| 893 |
+
<mesh filename="textured_objs/original-4.obj"/>
|
| 894 |
+
</geometry>
|
| 895 |
+
</collision>
|
| 896 |
+
<collision>
|
| 897 |
+
<origin xyz="0 0 0"/>
|
| 898 |
+
<geometry>
|
| 899 |
+
<mesh filename="textured_objs/original-21.obj"/>
|
| 900 |
+
</geometry>
|
| 901 |
+
</collision>
|
| 902 |
+
<collision>
|
| 903 |
+
<origin xyz="0 0 0"/>
|
| 904 |
+
<geometry>
|
| 905 |
+
<mesh filename="textured_objs/original-20.obj"/>
|
| 906 |
+
</geometry>
|
| 907 |
+
</collision>
|
| 908 |
+
<collision>
|
| 909 |
+
<origin xyz="0 0 0"/>
|
| 910 |
+
<geometry>
|
| 911 |
+
<mesh filename="textured_objs/original-8.obj"/>
|
| 912 |
+
</geometry>
|
| 913 |
+
</collision>
|
| 914 |
+
<collision>
|
| 915 |
+
<origin xyz="0 0 0"/>
|
| 916 |
+
<geometry>
|
| 917 |
+
<mesh filename="textured_objs/original-22.obj"/>
|
| 918 |
+
</geometry>
|
| 919 |
+
</collision>
|
| 920 |
+
<collision>
|
| 921 |
+
<origin xyz="0 0 0"/>
|
| 922 |
+
<geometry>
|
| 923 |
+
<mesh filename="textured_objs/original-17.obj"/>
|
| 924 |
+
</geometry>
|
| 925 |
+
</collision>
|
| 926 |
+
<collision>
|
| 927 |
+
<origin xyz="0 0 0"/>
|
| 928 |
+
<geometry>
|
| 929 |
+
<mesh filename="textured_objs/original-6.obj"/>
|
| 930 |
+
</geometry>
|
| 931 |
+
</collision>
|
| 932 |
+
<collision>
|
| 933 |
+
<origin xyz="0 0 0"/>
|
| 934 |
+
<geometry>
|
| 935 |
+
<mesh filename="textured_objs/original-11.obj"/>
|
| 936 |
+
</geometry>
|
| 937 |
+
</collision>
|
| 938 |
+
<collision>
|
| 939 |
+
<origin xyz="0 0 0"/>
|
| 940 |
+
<geometry>
|
| 941 |
+
<mesh filename="textured_objs/original-10.obj"/>
|
| 942 |
+
</geometry>
|
| 943 |
+
</collision>
|
| 944 |
+
<collision>
|
| 945 |
+
<origin xyz="0 0 0"/>
|
| 946 |
+
<geometry>
|
| 947 |
+
<mesh filename="textured_objs/original-15.obj"/>
|
| 948 |
+
</geometry>
|
| 949 |
+
</collision>
|
| 950 |
+
<collision>
|
| 951 |
+
<origin xyz="0 0 0"/>
|
| 952 |
+
<geometry>
|
| 953 |
+
<mesh filename="textured_objs/original-14.obj"/>
|
| 954 |
+
</geometry>
|
| 955 |
+
</collision>
|
| 956 |
+
<collision>
|
| 957 |
+
<origin xyz="0 0 0"/>
|
| 958 |
+
<geometry>
|
| 959 |
+
<mesh filename="textured_objs/original-5.obj"/>
|
| 960 |
+
</geometry>
|
| 961 |
+
</collision>
|
| 962 |
+
<collision>
|
| 963 |
+
<origin xyz="0 0 0"/>
|
| 964 |
+
<geometry>
|
| 965 |
+
<mesh filename="textured_objs/original-2.obj"/>
|
| 966 |
+
</geometry>
|
| 967 |
+
</collision>
|
| 968 |
+
<collision>
|
| 969 |
+
<origin xyz="0 0 0"/>
|
| 970 |
+
<geometry>
|
| 971 |
+
<mesh filename="textured_objs/original-95.obj"/>
|
| 972 |
+
</geometry>
|
| 973 |
+
</collision>
|
| 974 |
+
<collision>
|
| 975 |
+
<origin xyz="0 0 0"/>
|
| 976 |
+
<geometry>
|
| 977 |
+
<mesh filename="textured_objs/original-12.obj"/>
|
| 978 |
+
</geometry>
|
| 979 |
+
</collision>
|
| 980 |
+
<collision>
|
| 981 |
+
<origin xyz="0 0 0"/>
|
| 982 |
+
<geometry>
|
| 983 |
+
<mesh filename="textured_objs/original-18.obj"/>
|
| 984 |
+
</geometry>
|
| 985 |
+
</collision>
|
| 986 |
+
<collision>
|
| 987 |
+
<origin xyz="0 0 0"/>
|
| 988 |
+
<geometry>
|
| 989 |
+
<mesh filename="textured_objs/original-16.obj"/>
|
| 990 |
+
</geometry>
|
| 991 |
+
</collision>
|
| 992 |
+
<collision>
|
| 993 |
+
<origin xyz="0 0 0"/>
|
| 994 |
+
<geometry>
|
| 995 |
+
<mesh filename="textured_objs/original-19.obj"/>
|
| 996 |
+
</geometry>
|
| 997 |
+
</collision>
|
| 998 |
+
</link>
|
| 999 |
+
<joint name="joint_3" type="fixed">
|
| 1000 |
+
<origin rpy="1.570796326794897 0 -1.570796326794897" xyz="0 0 0"/>
|
| 1001 |
+
<child link="link_3"/>
|
| 1002 |
+
<parent link="base"/>
|
| 1003 |
+
</joint>
|
| 1004 |
+
</robot>
|
assets/art/storagefurniture_bottom/StorageFurniture11/mobility_relabel.urdf
ADDED
|
@@ -0,0 +1,962 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" ?>
|
| 2 |
+
<robot name="partnet_5f7b88ac9256976cc59350d819542ec7">
|
| 3 |
+
<link name="base"/>
|
| 4 |
+
<link name="link_0">
|
| 5 |
+
<visual name="drawer_front-30">
|
| 6 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 7 |
+
<geometry>
|
| 8 |
+
<mesh filename="textured_objs/original-43.obj"/>
|
| 9 |
+
</geometry>
|
| 10 |
+
</visual>
|
| 11 |
+
<visual name="drawer_front-30">
|
| 12 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 13 |
+
<geometry>
|
| 14 |
+
<mesh filename="textured_objs/original-38.obj"/>
|
| 15 |
+
</geometry>
|
| 16 |
+
</visual>
|
| 17 |
+
<visual name="drawer_front-30">
|
| 18 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 19 |
+
<geometry>
|
| 20 |
+
<mesh filename="textured_objs/original-34.obj"/>
|
| 21 |
+
</geometry>
|
| 22 |
+
</visual>
|
| 23 |
+
<visual name="drawer_front-30">
|
| 24 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 25 |
+
<geometry>
|
| 26 |
+
<mesh filename="textured_objs/original-40.obj"/>
|
| 27 |
+
</geometry>
|
| 28 |
+
</visual>
|
| 29 |
+
<visual name="drawer_front-30">
|
| 30 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 31 |
+
<geometry>
|
| 32 |
+
<mesh filename="textured_objs/original-37.obj"/>
|
| 33 |
+
</geometry>
|
| 34 |
+
</visual>
|
| 35 |
+
<visual name="drawer_front-30">
|
| 36 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 37 |
+
<geometry>
|
| 38 |
+
<mesh filename="textured_objs/original-39.obj"/>
|
| 39 |
+
</geometry>
|
| 40 |
+
</visual>
|
| 41 |
+
<visual name="drawer_front-30">
|
| 42 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 43 |
+
<geometry>
|
| 44 |
+
<mesh filename="textured_objs/original-36.obj"/>
|
| 45 |
+
</geometry>
|
| 46 |
+
</visual>
|
| 47 |
+
<visual name="drawer_front-30">
|
| 48 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 49 |
+
<geometry>
|
| 50 |
+
<mesh filename="textured_objs/original-41.obj"/>
|
| 51 |
+
</geometry>
|
| 52 |
+
</visual>
|
| 53 |
+
<visual name="drawer_front-30">
|
| 54 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 55 |
+
<geometry>
|
| 56 |
+
<mesh filename="textured_objs/original-35.obj"/>
|
| 57 |
+
</geometry>
|
| 58 |
+
</visual>
|
| 59 |
+
<visual name="drawer_front-30">
|
| 60 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 61 |
+
<geometry>
|
| 62 |
+
<mesh filename="textured_objs/original-44.obj"/>
|
| 63 |
+
</geometry>
|
| 64 |
+
</visual>
|
| 65 |
+
<visual name="drawer_front-30">
|
| 66 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 67 |
+
<geometry>
|
| 68 |
+
<mesh filename="textured_objs/original-26.obj"/>
|
| 69 |
+
</geometry>
|
| 70 |
+
</visual>
|
| 71 |
+
<visual name="drawer_side-31">
|
| 72 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 73 |
+
<geometry>
|
| 74 |
+
<mesh filename="textured_objs/original-30.obj"/>
|
| 75 |
+
</geometry>
|
| 76 |
+
</visual>
|
| 77 |
+
<visual name="drawer_side-32">
|
| 78 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 79 |
+
<geometry>
|
| 80 |
+
<mesh filename="textured_objs/original-25.obj"/>
|
| 81 |
+
</geometry>
|
| 82 |
+
</visual>
|
| 83 |
+
<visual name="drawer_back-33">
|
| 84 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 85 |
+
<geometry>
|
| 86 |
+
<mesh filename="textured_objs/original-31.obj"/>
|
| 87 |
+
</geometry>
|
| 88 |
+
</visual>
|
| 89 |
+
<visual name="drawer_bottom-34">
|
| 90 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 91 |
+
<geometry>
|
| 92 |
+
<mesh filename="textured_objs/original-29.obj"/>
|
| 93 |
+
</geometry>
|
| 94 |
+
</visual>
|
| 95 |
+
<visual name="drawer_bottom-34">
|
| 96 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 97 |
+
<geometry>
|
| 98 |
+
<mesh filename="textured_objs/original-28.obj"/>
|
| 99 |
+
</geometry>
|
| 100 |
+
</visual>
|
| 101 |
+
<visual name="other_leaf-37">
|
| 102 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 103 |
+
<geometry>
|
| 104 |
+
<mesh filename="textured_objs/original-32.obj"/>
|
| 105 |
+
</geometry>
|
| 106 |
+
</visual>
|
| 107 |
+
<visual name="handle_1-28">
|
| 108 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 109 |
+
<geometry>
|
| 110 |
+
<mesh filename="textured_objs/original-46.obj"/>
|
| 111 |
+
</geometry>
|
| 112 |
+
</visual>
|
| 113 |
+
<visual name="handle_2-29">
|
| 114 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 115 |
+
<geometry>
|
| 116 |
+
<mesh filename="textured_objs/original-45.obj"/>
|
| 117 |
+
</geometry>
|
| 118 |
+
</visual>
|
| 119 |
+
<collision>
|
| 120 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 121 |
+
<geometry>
|
| 122 |
+
<mesh filename="textured_objs/original-43.obj"/>
|
| 123 |
+
</geometry>
|
| 124 |
+
</collision>
|
| 125 |
+
<collision>
|
| 126 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 127 |
+
<geometry>
|
| 128 |
+
<mesh filename="textured_objs/original-38.obj"/>
|
| 129 |
+
</geometry>
|
| 130 |
+
</collision>
|
| 131 |
+
<collision>
|
| 132 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 133 |
+
<geometry>
|
| 134 |
+
<mesh filename="textured_objs/original-34.obj"/>
|
| 135 |
+
</geometry>
|
| 136 |
+
</collision>
|
| 137 |
+
<collision>
|
| 138 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 139 |
+
<geometry>
|
| 140 |
+
<mesh filename="textured_objs/original-40.obj"/>
|
| 141 |
+
</geometry>
|
| 142 |
+
</collision>
|
| 143 |
+
<collision>
|
| 144 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 145 |
+
<geometry>
|
| 146 |
+
<mesh filename="textured_objs/original-37.obj"/>
|
| 147 |
+
</geometry>
|
| 148 |
+
</collision>
|
| 149 |
+
<collision>
|
| 150 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 151 |
+
<geometry>
|
| 152 |
+
<mesh filename="textured_objs/original-39.obj"/>
|
| 153 |
+
</geometry>
|
| 154 |
+
</collision>
|
| 155 |
+
<collision>
|
| 156 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 157 |
+
<geometry>
|
| 158 |
+
<mesh filename="textured_objs/original-36.obj"/>
|
| 159 |
+
</geometry>
|
| 160 |
+
</collision>
|
| 161 |
+
<collision>
|
| 162 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 163 |
+
<geometry>
|
| 164 |
+
<mesh filename="textured_objs/original-41.obj"/>
|
| 165 |
+
</geometry>
|
| 166 |
+
</collision>
|
| 167 |
+
<collision>
|
| 168 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 169 |
+
<geometry>
|
| 170 |
+
<mesh filename="textured_objs/original-35.obj"/>
|
| 171 |
+
</geometry>
|
| 172 |
+
</collision>
|
| 173 |
+
<collision>
|
| 174 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 175 |
+
<geometry>
|
| 176 |
+
<mesh filename="textured_objs/original-44.obj"/>
|
| 177 |
+
</geometry>
|
| 178 |
+
</collision>
|
| 179 |
+
<collision>
|
| 180 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 181 |
+
<geometry>
|
| 182 |
+
<mesh filename="textured_objs/original-26.obj"/>
|
| 183 |
+
</geometry>
|
| 184 |
+
</collision>
|
| 185 |
+
<collision>
|
| 186 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 187 |
+
<geometry>
|
| 188 |
+
<mesh filename="textured_objs/original-30.obj"/>
|
| 189 |
+
</geometry>
|
| 190 |
+
</collision>
|
| 191 |
+
<collision>
|
| 192 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 193 |
+
<geometry>
|
| 194 |
+
<mesh filename="textured_objs/original-25.obj"/>
|
| 195 |
+
</geometry>
|
| 196 |
+
</collision>
|
| 197 |
+
<collision>
|
| 198 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 199 |
+
<geometry>
|
| 200 |
+
<mesh filename="textured_objs/original-31.obj"/>
|
| 201 |
+
</geometry>
|
| 202 |
+
</collision>
|
| 203 |
+
<collision>
|
| 204 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 205 |
+
<geometry>
|
| 206 |
+
<mesh filename="textured_objs/original-29.obj"/>
|
| 207 |
+
</geometry>
|
| 208 |
+
</collision>
|
| 209 |
+
<collision>
|
| 210 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 211 |
+
<geometry>
|
| 212 |
+
<mesh filename="textured_objs/original-28.obj"/>
|
| 213 |
+
</geometry>
|
| 214 |
+
</collision>
|
| 215 |
+
<collision>
|
| 216 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 217 |
+
<geometry>
|
| 218 |
+
<mesh filename="textured_objs/original-32.obj"/>
|
| 219 |
+
</geometry>
|
| 220 |
+
</collision>
|
| 221 |
+
<collision>
|
| 222 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 223 |
+
<geometry>
|
| 224 |
+
<mesh filename="textured_objs/original-46.obj"/>
|
| 225 |
+
</geometry>
|
| 226 |
+
</collision>
|
| 227 |
+
<collision>
|
| 228 |
+
<origin xyz="-0.014525268534366281 0.3483115743302161 0"/>
|
| 229 |
+
<geometry>
|
| 230 |
+
<mesh filename="textured_objs/original-45.obj"/>
|
| 231 |
+
</geometry>
|
| 232 |
+
</collision>
|
| 233 |
+
</link>
|
| 234 |
+
<joint name="joint_0" type="prismatic">
|
| 235 |
+
<origin xyz="0.014525268534366281 -0.3483115743302161 0"/>
|
| 236 |
+
<axis xyz="0 0 1"/>
|
| 237 |
+
<child link="link_0"/>
|
| 238 |
+
<parent link="link_3"/>
|
| 239 |
+
<limit lower="0" upper="0.57"/>
|
| 240 |
+
</joint>
|
| 241 |
+
<link name="link_1">
|
| 242 |
+
<visual name="drawer_front-20">
|
| 243 |
+
<origin xyz="0 0 0"/>
|
| 244 |
+
<geometry>
|
| 245 |
+
<mesh filename="textured_objs/original-67.obj"/>
|
| 246 |
+
</geometry>
|
| 247 |
+
</visual>
|
| 248 |
+
<visual name="drawer_front-20">
|
| 249 |
+
<origin xyz="0 0 0"/>
|
| 250 |
+
<geometry>
|
| 251 |
+
<mesh filename="textured_objs/original-62.obj"/>
|
| 252 |
+
</geometry>
|
| 253 |
+
</visual>
|
| 254 |
+
<visual name="drawer_front-20">
|
| 255 |
+
<origin xyz="0 0 0"/>
|
| 256 |
+
<geometry>
|
| 257 |
+
<mesh filename="textured_objs/original-58.obj"/>
|
| 258 |
+
</geometry>
|
| 259 |
+
</visual>
|
| 260 |
+
<visual name="drawer_front-20">
|
| 261 |
+
<origin xyz="0 0 0"/>
|
| 262 |
+
<geometry>
|
| 263 |
+
<mesh filename="textured_objs/original-64.obj"/>
|
| 264 |
+
</geometry>
|
| 265 |
+
</visual>
|
| 266 |
+
<visual name="drawer_front-20">
|
| 267 |
+
<origin xyz="0 0 0"/>
|
| 268 |
+
<geometry>
|
| 269 |
+
<mesh filename="textured_objs/original-61.obj"/>
|
| 270 |
+
</geometry>
|
| 271 |
+
</visual>
|
| 272 |
+
<visual name="drawer_front-20">
|
| 273 |
+
<origin xyz="0 0 0"/>
|
| 274 |
+
<geometry>
|
| 275 |
+
<mesh filename="textured_objs/original-63.obj"/>
|
| 276 |
+
</geometry>
|
| 277 |
+
</visual>
|
| 278 |
+
<visual name="drawer_front-20">
|
| 279 |
+
<origin xyz="0 0 0"/>
|
| 280 |
+
<geometry>
|
| 281 |
+
<mesh filename="textured_objs/original-60.obj"/>
|
| 282 |
+
</geometry>
|
| 283 |
+
</visual>
|
| 284 |
+
<visual name="drawer_front-20">
|
| 285 |
+
<origin xyz="0 0 0"/>
|
| 286 |
+
<geometry>
|
| 287 |
+
<mesh filename="textured_objs/original-65.obj"/>
|
| 288 |
+
</geometry>
|
| 289 |
+
</visual>
|
| 290 |
+
<visual name="drawer_front-20">
|
| 291 |
+
<origin xyz="0 0 0"/>
|
| 292 |
+
<geometry>
|
| 293 |
+
<mesh filename="textured_objs/original-59.obj"/>
|
| 294 |
+
</geometry>
|
| 295 |
+
</visual>
|
| 296 |
+
<visual name="drawer_front-20">
|
| 297 |
+
<origin xyz="0 0 0"/>
|
| 298 |
+
<geometry>
|
| 299 |
+
<mesh filename="textured_objs/original-68.obj"/>
|
| 300 |
+
</geometry>
|
| 301 |
+
</visual>
|
| 302 |
+
<visual name="drawer_front-20">
|
| 303 |
+
<origin xyz="0 0 0"/>
|
| 304 |
+
<geometry>
|
| 305 |
+
<mesh filename="textured_objs/original-50.obj"/>
|
| 306 |
+
</geometry>
|
| 307 |
+
</visual>
|
| 308 |
+
<visual name="drawer_side-21">
|
| 309 |
+
<origin xyz="0 0 0"/>
|
| 310 |
+
<geometry>
|
| 311 |
+
<mesh filename="textured_objs/original-49.obj"/>
|
| 312 |
+
</geometry>
|
| 313 |
+
</visual>
|
| 314 |
+
<visual name="drawer_side-22">
|
| 315 |
+
<origin xyz="0 0 0"/>
|
| 316 |
+
<geometry>
|
| 317 |
+
<mesh filename="textured_objs/original-54.obj"/>
|
| 318 |
+
</geometry>
|
| 319 |
+
</visual>
|
| 320 |
+
<visual name="drawer_back-23">
|
| 321 |
+
<origin xyz="0 0 0"/>
|
| 322 |
+
<geometry>
|
| 323 |
+
<mesh filename="textured_objs/original-55.obj"/>
|
| 324 |
+
</geometry>
|
| 325 |
+
</visual>
|
| 326 |
+
<visual name="drawer_bottom-24">
|
| 327 |
+
<origin xyz="0 0 0"/>
|
| 328 |
+
<geometry>
|
| 329 |
+
<mesh filename="textured_objs/original-53.obj"/>
|
| 330 |
+
</geometry>
|
| 331 |
+
</visual>
|
| 332 |
+
<visual name="drawer_bottom-24">
|
| 333 |
+
<origin xyz="0 0 0"/>
|
| 334 |
+
<geometry>
|
| 335 |
+
<mesh filename="textured_objs/original-52.obj"/>
|
| 336 |
+
</geometry>
|
| 337 |
+
</visual>
|
| 338 |
+
<visual name="other_leaf-26">
|
| 339 |
+
<origin xyz="0 0 0"/>
|
| 340 |
+
<geometry>
|
| 341 |
+
<mesh filename="textured_objs/original-56.obj"/>
|
| 342 |
+
</geometry>
|
| 343 |
+
</visual>
|
| 344 |
+
<visual name="handle_1-18">
|
| 345 |
+
<origin xyz="0 0 0"/>
|
| 346 |
+
<geometry>
|
| 347 |
+
<mesh filename="textured_objs/original-70.obj"/>
|
| 348 |
+
</geometry>
|
| 349 |
+
</visual>
|
| 350 |
+
<visual name="handle_2-19">
|
| 351 |
+
<origin xyz="0 0 0"/>
|
| 352 |
+
<geometry>
|
| 353 |
+
<mesh filename="textured_objs/original-69.obj"/>
|
| 354 |
+
</geometry>
|
| 355 |
+
</visual>
|
| 356 |
+
<collision>
|
| 357 |
+
<origin xyz="0 0 0"/>
|
| 358 |
+
<geometry>
|
| 359 |
+
<mesh filename="textured_objs/original-67.obj"/>
|
| 360 |
+
</geometry>
|
| 361 |
+
</collision>
|
| 362 |
+
<collision>
|
| 363 |
+
<origin xyz="0 0 0"/>
|
| 364 |
+
<geometry>
|
| 365 |
+
<mesh filename="textured_objs/original-62.obj"/>
|
| 366 |
+
</geometry>
|
| 367 |
+
</collision>
|
| 368 |
+
<collision>
|
| 369 |
+
<origin xyz="0 0 0"/>
|
| 370 |
+
<geometry>
|
| 371 |
+
<mesh filename="textured_objs/original-58.obj"/>
|
| 372 |
+
</geometry>
|
| 373 |
+
</collision>
|
| 374 |
+
<collision>
|
| 375 |
+
<origin xyz="0 0 0"/>
|
| 376 |
+
<geometry>
|
| 377 |
+
<mesh filename="textured_objs/original-64.obj"/>
|
| 378 |
+
</geometry>
|
| 379 |
+
</collision>
|
| 380 |
+
<collision>
|
| 381 |
+
<origin xyz="0 0 0"/>
|
| 382 |
+
<geometry>
|
| 383 |
+
<mesh filename="textured_objs/original-61.obj"/>
|
| 384 |
+
</geometry>
|
| 385 |
+
</collision>
|
| 386 |
+
<collision>
|
| 387 |
+
<origin xyz="0 0 0"/>
|
| 388 |
+
<geometry>
|
| 389 |
+
<mesh filename="textured_objs/original-63.obj"/>
|
| 390 |
+
</geometry>
|
| 391 |
+
</collision>
|
| 392 |
+
<collision>
|
| 393 |
+
<origin xyz="0 0 0"/>
|
| 394 |
+
<geometry>
|
| 395 |
+
<mesh filename="textured_objs/original-60.obj"/>
|
| 396 |
+
</geometry>
|
| 397 |
+
</collision>
|
| 398 |
+
<collision>
|
| 399 |
+
<origin xyz="0 0 0"/>
|
| 400 |
+
<geometry>
|
| 401 |
+
<mesh filename="textured_objs/original-65.obj"/>
|
| 402 |
+
</geometry>
|
| 403 |
+
</collision>
|
| 404 |
+
<collision>
|
| 405 |
+
<origin xyz="0 0 0"/>
|
| 406 |
+
<geometry>
|
| 407 |
+
<mesh filename="textured_objs/original-59.obj"/>
|
| 408 |
+
</geometry>
|
| 409 |
+
</collision>
|
| 410 |
+
<collision>
|
| 411 |
+
<origin xyz="0 0 0"/>
|
| 412 |
+
<geometry>
|
| 413 |
+
<mesh filename="textured_objs/original-68.obj"/>
|
| 414 |
+
</geometry>
|
| 415 |
+
</collision>
|
| 416 |
+
<collision>
|
| 417 |
+
<origin xyz="0 0 0"/>
|
| 418 |
+
<geometry>
|
| 419 |
+
<mesh filename="textured_objs/original-50.obj"/>
|
| 420 |
+
</geometry>
|
| 421 |
+
</collision>
|
| 422 |
+
<collision>
|
| 423 |
+
<origin xyz="0 0 0"/>
|
| 424 |
+
<geometry>
|
| 425 |
+
<mesh filename="textured_objs/original-49.obj"/>
|
| 426 |
+
</geometry>
|
| 427 |
+
</collision>
|
| 428 |
+
<collision>
|
| 429 |
+
<origin xyz="0 0 0"/>
|
| 430 |
+
<geometry>
|
| 431 |
+
<mesh filename="textured_objs/original-54.obj"/>
|
| 432 |
+
</geometry>
|
| 433 |
+
</collision>
|
| 434 |
+
<collision>
|
| 435 |
+
<origin xyz="0 0 0"/>
|
| 436 |
+
<geometry>
|
| 437 |
+
<mesh filename="textured_objs/original-55.obj"/>
|
| 438 |
+
</geometry>
|
| 439 |
+
</collision>
|
| 440 |
+
<collision>
|
| 441 |
+
<origin xyz="0 0 0"/>
|
| 442 |
+
<geometry>
|
| 443 |
+
<mesh filename="textured_objs/original-53.obj"/>
|
| 444 |
+
</geometry>
|
| 445 |
+
</collision>
|
| 446 |
+
<collision>
|
| 447 |
+
<origin xyz="0 0 0"/>
|
| 448 |
+
<geometry>
|
| 449 |
+
<mesh filename="textured_objs/original-52.obj"/>
|
| 450 |
+
</geometry>
|
| 451 |
+
</collision>
|
| 452 |
+
<collision>
|
| 453 |
+
<origin xyz="0 0 0"/>
|
| 454 |
+
<geometry>
|
| 455 |
+
<mesh filename="textured_objs/original-56.obj"/>
|
| 456 |
+
</geometry>
|
| 457 |
+
</collision>
|
| 458 |
+
<collision>
|
| 459 |
+
<origin xyz="0 0 0"/>
|
| 460 |
+
<geometry>
|
| 461 |
+
<mesh filename="textured_objs/original-70.obj"/>
|
| 462 |
+
</geometry>
|
| 463 |
+
</collision>
|
| 464 |
+
<collision>
|
| 465 |
+
<origin xyz="0 0 0"/>
|
| 466 |
+
<geometry>
|
| 467 |
+
<mesh filename="textured_objs/original-69.obj"/>
|
| 468 |
+
</geometry>
|
| 469 |
+
</collision>
|
| 470 |
+
</link>
|
| 471 |
+
<joint name="joint_1" type="prismatic">
|
| 472 |
+
<origin xyz="0 0 0"/>
|
| 473 |
+
<axis xyz="0 0 1"/>
|
| 474 |
+
<child link="link_1"/>
|
| 475 |
+
<parent link="link_3"/>
|
| 476 |
+
<limit lower="0" upper="0.57"/>
|
| 477 |
+
</joint>
|
| 478 |
+
<link name="link_2">
|
| 479 |
+
<visual name="drawer_front-10">
|
| 480 |
+
<origin xyz="0 0 0"/>
|
| 481 |
+
<geometry>
|
| 482 |
+
<mesh filename="textured_objs/original-92.obj"/>
|
| 483 |
+
</geometry>
|
| 484 |
+
</visual>
|
| 485 |
+
<visual name="drawer_front-10">
|
| 486 |
+
<origin xyz="0 0 0"/>
|
| 487 |
+
<geometry>
|
| 488 |
+
<mesh filename="textured_objs/original-86.obj"/>
|
| 489 |
+
</geometry>
|
| 490 |
+
</visual>
|
| 491 |
+
<visual name="drawer_front-10">
|
| 492 |
+
<origin xyz="0 0 0"/>
|
| 493 |
+
<geometry>
|
| 494 |
+
<mesh filename="textured_objs/original-82.obj"/>
|
| 495 |
+
</geometry>
|
| 496 |
+
</visual>
|
| 497 |
+
<visual name="drawer_front-10">
|
| 498 |
+
<origin xyz="0 0 0"/>
|
| 499 |
+
<geometry>
|
| 500 |
+
<mesh filename="textured_objs/original-88.obj"/>
|
| 501 |
+
</geometry>
|
| 502 |
+
</visual>
|
| 503 |
+
<visual name="drawer_front-10">
|
| 504 |
+
<origin xyz="0 0 0"/>
|
| 505 |
+
<geometry>
|
| 506 |
+
<mesh filename="textured_objs/original-85.obj"/>
|
| 507 |
+
</geometry>
|
| 508 |
+
</visual>
|
| 509 |
+
<visual name="drawer_front-10">
|
| 510 |
+
<origin xyz="0 0 0"/>
|
| 511 |
+
<geometry>
|
| 512 |
+
<mesh filename="textured_objs/original-87.obj"/>
|
| 513 |
+
</geometry>
|
| 514 |
+
</visual>
|
| 515 |
+
<visual name="drawer_front-10">
|
| 516 |
+
<origin xyz="0 0 0"/>
|
| 517 |
+
<geometry>
|
| 518 |
+
<mesh filename="textured_objs/original-84.obj"/>
|
| 519 |
+
</geometry>
|
| 520 |
+
</visual>
|
| 521 |
+
<visual name="drawer_front-10">
|
| 522 |
+
<origin xyz="0 0 0"/>
|
| 523 |
+
<geometry>
|
| 524 |
+
<mesh filename="textured_objs/original-89.obj"/>
|
| 525 |
+
</geometry>
|
| 526 |
+
</visual>
|
| 527 |
+
<visual name="drawer_front-10">
|
| 528 |
+
<origin xyz="0 0 0"/>
|
| 529 |
+
<geometry>
|
| 530 |
+
<mesh filename="textured_objs/original-83.obj"/>
|
| 531 |
+
</geometry>
|
| 532 |
+
</visual>
|
| 533 |
+
<visual name="drawer_front-10">
|
| 534 |
+
<origin xyz="0 0 0"/>
|
| 535 |
+
<geometry>
|
| 536 |
+
<mesh filename="textured_objs/original-74.obj"/>
|
| 537 |
+
</geometry>
|
| 538 |
+
</visual>
|
| 539 |
+
<visual name="drawer_front-10">
|
| 540 |
+
<origin xyz="0 0 0"/>
|
| 541 |
+
<geometry>
|
| 542 |
+
<mesh filename="textured_objs/original-91.obj"/>
|
| 543 |
+
</geometry>
|
| 544 |
+
</visual>
|
| 545 |
+
<visual name="drawer_side-11">
|
| 546 |
+
<origin xyz="0 0 0"/>
|
| 547 |
+
<geometry>
|
| 548 |
+
<mesh filename="textured_objs/original-78.obj"/>
|
| 549 |
+
</geometry>
|
| 550 |
+
</visual>
|
| 551 |
+
<visual name="drawer_side-12">
|
| 552 |
+
<origin xyz="0 0 0"/>
|
| 553 |
+
<geometry>
|
| 554 |
+
<mesh filename="textured_objs/original-73.obj"/>
|
| 555 |
+
</geometry>
|
| 556 |
+
</visual>
|
| 557 |
+
<visual name="drawer_back-13">
|
| 558 |
+
<origin xyz="0 0 0"/>
|
| 559 |
+
<geometry>
|
| 560 |
+
<mesh filename="textured_objs/original-79.obj"/>
|
| 561 |
+
</geometry>
|
| 562 |
+
</visual>
|
| 563 |
+
<visual name="drawer_bottom-14">
|
| 564 |
+
<origin xyz="0 0 0"/>
|
| 565 |
+
<geometry>
|
| 566 |
+
<mesh filename="textured_objs/original-77.obj"/>
|
| 567 |
+
</geometry>
|
| 568 |
+
</visual>
|
| 569 |
+
<visual name="drawer_bottom-14">
|
| 570 |
+
<origin xyz="0 0 0"/>
|
| 571 |
+
<geometry>
|
| 572 |
+
<mesh filename="textured_objs/original-76.obj"/>
|
| 573 |
+
</geometry>
|
| 574 |
+
</visual>
|
| 575 |
+
<visual name="handle_1-8">
|
| 576 |
+
<origin xyz="0 0 0"/>
|
| 577 |
+
<geometry>
|
| 578 |
+
<mesh filename="textured_objs/original-94.obj"/>
|
| 579 |
+
</geometry>
|
| 580 |
+
</visual>
|
| 581 |
+
<visual name="handle_2-9">
|
| 582 |
+
<origin xyz="0 0 0"/>
|
| 583 |
+
<geometry>
|
| 584 |
+
<mesh filename="textured_objs/original-93.obj"/>
|
| 585 |
+
</geometry>
|
| 586 |
+
</visual>
|
| 587 |
+
<visual name="other_leaf-16">
|
| 588 |
+
<origin xyz="0 0 0"/>
|
| 589 |
+
<geometry>
|
| 590 |
+
<mesh filename="textured_objs/original-80.obj"/>
|
| 591 |
+
</geometry>
|
| 592 |
+
</visual>
|
| 593 |
+
<collision>
|
| 594 |
+
<origin xyz="0 0 0"/>
|
| 595 |
+
<geometry>
|
| 596 |
+
<mesh filename="textured_objs/original-92.obj"/>
|
| 597 |
+
</geometry>
|
| 598 |
+
</collision>
|
| 599 |
+
<collision>
|
| 600 |
+
<origin xyz="0 0 0"/>
|
| 601 |
+
<geometry>
|
| 602 |
+
<mesh filename="textured_objs/original-86.obj"/>
|
| 603 |
+
</geometry>
|
| 604 |
+
</collision>
|
| 605 |
+
<collision>
|
| 606 |
+
<origin xyz="0 0 0"/>
|
| 607 |
+
<geometry>
|
| 608 |
+
<mesh filename="textured_objs/original-82.obj"/>
|
| 609 |
+
</geometry>
|
| 610 |
+
</collision>
|
| 611 |
+
<collision>
|
| 612 |
+
<origin xyz="0 0 0"/>
|
| 613 |
+
<geometry>
|
| 614 |
+
<mesh filename="textured_objs/original-88.obj"/>
|
| 615 |
+
</geometry>
|
| 616 |
+
</collision>
|
| 617 |
+
<collision>
|
| 618 |
+
<origin xyz="0 0 0"/>
|
| 619 |
+
<geometry>
|
| 620 |
+
<mesh filename="textured_objs/original-85.obj"/>
|
| 621 |
+
</geometry>
|
| 622 |
+
</collision>
|
| 623 |
+
<collision>
|
| 624 |
+
<origin xyz="0 0 0"/>
|
| 625 |
+
<geometry>
|
| 626 |
+
<mesh filename="textured_objs/original-87.obj"/>
|
| 627 |
+
</geometry>
|
| 628 |
+
</collision>
|
| 629 |
+
<collision>
|
| 630 |
+
<origin xyz="0 0 0"/>
|
| 631 |
+
<geometry>
|
| 632 |
+
<mesh filename="textured_objs/original-84.obj"/>
|
| 633 |
+
</geometry>
|
| 634 |
+
</collision>
|
| 635 |
+
<collision>
|
| 636 |
+
<origin xyz="0 0 0"/>
|
| 637 |
+
<geometry>
|
| 638 |
+
<mesh filename="textured_objs/original-89.obj"/>
|
| 639 |
+
</geometry>
|
| 640 |
+
</collision>
|
| 641 |
+
<collision>
|
| 642 |
+
<origin xyz="0 0 0"/>
|
| 643 |
+
<geometry>
|
| 644 |
+
<mesh filename="textured_objs/original-83.obj"/>
|
| 645 |
+
</geometry>
|
| 646 |
+
</collision>
|
| 647 |
+
<collision>
|
| 648 |
+
<origin xyz="0 0 0"/>
|
| 649 |
+
<geometry>
|
| 650 |
+
<mesh filename="textured_objs/original-74.obj"/>
|
| 651 |
+
</geometry>
|
| 652 |
+
</collision>
|
| 653 |
+
<collision>
|
| 654 |
+
<origin xyz="0 0 0"/>
|
| 655 |
+
<geometry>
|
| 656 |
+
<mesh filename="textured_objs/original-91.obj"/>
|
| 657 |
+
</geometry>
|
| 658 |
+
</collision>
|
| 659 |
+
<collision>
|
| 660 |
+
<origin xyz="0 0 0"/>
|
| 661 |
+
<geometry>
|
| 662 |
+
<mesh filename="textured_objs/original-78.obj"/>
|
| 663 |
+
</geometry>
|
| 664 |
+
</collision>
|
| 665 |
+
<collision>
|
| 666 |
+
<origin xyz="0 0 0"/>
|
| 667 |
+
<geometry>
|
| 668 |
+
<mesh filename="textured_objs/original-73.obj"/>
|
| 669 |
+
</geometry>
|
| 670 |
+
</collision>
|
| 671 |
+
<collision>
|
| 672 |
+
<origin xyz="0 0 0"/>
|
| 673 |
+
<geometry>
|
| 674 |
+
<mesh filename="textured_objs/original-79.obj"/>
|
| 675 |
+
</geometry>
|
| 676 |
+
</collision>
|
| 677 |
+
<collision>
|
| 678 |
+
<origin xyz="0 0 0"/>
|
| 679 |
+
<geometry>
|
| 680 |
+
<mesh filename="textured_objs/original-77.obj"/>
|
| 681 |
+
</geometry>
|
| 682 |
+
</collision>
|
| 683 |
+
<collision>
|
| 684 |
+
<origin xyz="0 0 0"/>
|
| 685 |
+
<geometry>
|
| 686 |
+
<mesh filename="textured_objs/original-76.obj"/>
|
| 687 |
+
</geometry>
|
| 688 |
+
</collision>
|
| 689 |
+
<collision>
|
| 690 |
+
<origin xyz="0 0 0"/>
|
| 691 |
+
<geometry>
|
| 692 |
+
<mesh filename="textured_objs/original-94.obj"/>
|
| 693 |
+
</geometry>
|
| 694 |
+
</collision>
|
| 695 |
+
<collision>
|
| 696 |
+
<origin xyz="0 0 0"/>
|
| 697 |
+
<geometry>
|
| 698 |
+
<mesh filename="textured_objs/original-93.obj"/>
|
| 699 |
+
</geometry>
|
| 700 |
+
</collision>
|
| 701 |
+
<collision>
|
| 702 |
+
<origin xyz="0 0 0"/>
|
| 703 |
+
<geometry>
|
| 704 |
+
<mesh filename="textured_objs/original-80.obj"/>
|
| 705 |
+
</geometry>
|
| 706 |
+
</collision>
|
| 707 |
+
</link>
|
| 708 |
+
<joint name="joint_2" type="prismatic">
|
| 709 |
+
<origin xyz="0 0 0"/>
|
| 710 |
+
<axis xyz="0 0 1"/>
|
| 711 |
+
<child link="link_2"/>
|
| 712 |
+
<parent link="link_3"/>
|
| 713 |
+
<limit lower="0" upper="0.57"/>
|
| 714 |
+
</joint>
|
| 715 |
+
<link name="link_3">
|
| 716 |
+
<visual name="frame_vertical_bar-49">
|
| 717 |
+
<origin xyz="0 0 0"/>
|
| 718 |
+
<geometry>
|
| 719 |
+
<mesh filename="textured_objs/original-3.obj"/>
|
| 720 |
+
</geometry>
|
| 721 |
+
</visual>
|
| 722 |
+
<visual name="frame_vertical_bar-50">
|
| 723 |
+
<origin xyz="0 0 0"/>
|
| 724 |
+
<geometry>
|
| 725 |
+
<mesh filename="textured_objs/original-7.obj"/>
|
| 726 |
+
</geometry>
|
| 727 |
+
</visual>
|
| 728 |
+
<visual name="frame_horizontal_bar-51">
|
| 729 |
+
<origin xyz="0 0 0"/>
|
| 730 |
+
<geometry>
|
| 731 |
+
<mesh filename="textured_objs/original-4.obj"/>
|
| 732 |
+
</geometry>
|
| 733 |
+
</visual>
|
| 734 |
+
<visual name="frame_horizontal_bar-52">
|
| 735 |
+
<origin xyz="0 0 0"/>
|
| 736 |
+
<geometry>
|
| 737 |
+
<mesh filename="textured_objs/original-21.obj"/>
|
| 738 |
+
</geometry>
|
| 739 |
+
</visual>
|
| 740 |
+
<visual name="frame_horizontal_bar-53">
|
| 741 |
+
<origin xyz="0 0 0"/>
|
| 742 |
+
<geometry>
|
| 743 |
+
<mesh filename="textured_objs/original-20.obj"/>
|
| 744 |
+
</geometry>
|
| 745 |
+
</visual>
|
| 746 |
+
<visual name="frame_horizontal_bar-54">
|
| 747 |
+
<origin xyz="0 0 0"/>
|
| 748 |
+
<geometry>
|
| 749 |
+
<mesh filename="textured_objs/original-8.obj"/>
|
| 750 |
+
</geometry>
|
| 751 |
+
</visual>
|
| 752 |
+
<visual name="frame_horizontal_bar-55">
|
| 753 |
+
<origin xyz="0 0 0"/>
|
| 754 |
+
<geometry>
|
| 755 |
+
<mesh filename="textured_objs/original-22.obj"/>
|
| 756 |
+
</geometry>
|
| 757 |
+
</visual>
|
| 758 |
+
<visual name="frame_horizontal_bar-56">
|
| 759 |
+
<origin xyz="0 0 0"/>
|
| 760 |
+
<geometry>
|
| 761 |
+
<mesh filename="textured_objs/original-17.obj"/>
|
| 762 |
+
</geometry>
|
| 763 |
+
</visual>
|
| 764 |
+
<visual name="frame_horizontal_bar-57">
|
| 765 |
+
<origin xyz="0 0 0"/>
|
| 766 |
+
<geometry>
|
| 767 |
+
<mesh filename="textured_objs/original-6.obj"/>
|
| 768 |
+
</geometry>
|
| 769 |
+
</visual>
|
| 770 |
+
<visual name="vertical_side_panel-58">
|
| 771 |
+
<origin xyz="0 0 0"/>
|
| 772 |
+
<geometry>
|
| 773 |
+
<mesh filename="textured_objs/original-11.obj"/>
|
| 774 |
+
</geometry>
|
| 775 |
+
</visual>
|
| 776 |
+
<visual name="vertical_side_panel-58">
|
| 777 |
+
<origin xyz="0 0 0"/>
|
| 778 |
+
<geometry>
|
| 779 |
+
<mesh filename="textured_objs/original-10.obj"/>
|
| 780 |
+
</geometry>
|
| 781 |
+
</visual>
|
| 782 |
+
<visual name="vertical_side_panel-59">
|
| 783 |
+
<origin xyz="0 0 0"/>
|
| 784 |
+
<geometry>
|
| 785 |
+
<mesh filename="textured_objs/original-15.obj"/>
|
| 786 |
+
</geometry>
|
| 787 |
+
</visual>
|
| 788 |
+
<visual name="vertical_side_panel-59">
|
| 789 |
+
<origin xyz="0 0 0"/>
|
| 790 |
+
<geometry>
|
| 791 |
+
<mesh filename="textured_objs/original-14.obj"/>
|
| 792 |
+
</geometry>
|
| 793 |
+
</visual>
|
| 794 |
+
<visual name="back_panel-60">
|
| 795 |
+
<origin xyz="0 0 0"/>
|
| 796 |
+
<geometry>
|
| 797 |
+
<mesh filename="textured_objs/original-5.obj"/>
|
| 798 |
+
</geometry>
|
| 799 |
+
</visual>
|
| 800 |
+
<visual name="bottom_panel-61">
|
| 801 |
+
<origin xyz="0 0 0"/>
|
| 802 |
+
<geometry>
|
| 803 |
+
<mesh filename="textured_objs/original-2.obj"/>
|
| 804 |
+
</geometry>
|
| 805 |
+
</visual>
|
| 806 |
+
<visual name="other_leaf-63">
|
| 807 |
+
<origin xyz="0 0 0"/>
|
| 808 |
+
<geometry>
|
| 809 |
+
<mesh filename="textured_objs/original-95.obj"/>
|
| 810 |
+
</geometry>
|
| 811 |
+
</visual>
|
| 812 |
+
<visual name="base_side_panel-39">
|
| 813 |
+
<origin xyz="0 0 0"/>
|
| 814 |
+
<geometry>
|
| 815 |
+
<mesh filename="textured_objs/original-12.obj"/>
|
| 816 |
+
</geometry>
|
| 817 |
+
</visual>
|
| 818 |
+
<visual name="base_side_panel-40">
|
| 819 |
+
<origin xyz="0 0 0"/>
|
| 820 |
+
<geometry>
|
| 821 |
+
<mesh filename="textured_objs/original-18.obj"/>
|
| 822 |
+
</geometry>
|
| 823 |
+
</visual>
|
| 824 |
+
<visual name="base_side_panel-41">
|
| 825 |
+
<origin xyz="0 0 0"/>
|
| 826 |
+
<geometry>
|
| 827 |
+
<mesh filename="textured_objs/original-16.obj"/>
|
| 828 |
+
</geometry>
|
| 829 |
+
</visual>
|
| 830 |
+
<visual name="base_side_panel-42">
|
| 831 |
+
<origin xyz="0 0 0"/>
|
| 832 |
+
<geometry>
|
| 833 |
+
<mesh filename="textured_objs/original-19.obj"/>
|
| 834 |
+
</geometry>
|
| 835 |
+
</visual>
|
| 836 |
+
<collision>
|
| 837 |
+
<origin xyz="0 0 0"/>
|
| 838 |
+
<geometry>
|
| 839 |
+
<mesh filename="textured_objs/original-3.obj"/>
|
| 840 |
+
</geometry>
|
| 841 |
+
</collision>
|
| 842 |
+
<collision>
|
| 843 |
+
<origin xyz="0 0 0"/>
|
| 844 |
+
<geometry>
|
| 845 |
+
<mesh filename="textured_objs/original-7.obj"/>
|
| 846 |
+
</geometry>
|
| 847 |
+
</collision>
|
| 848 |
+
<collision>
|
| 849 |
+
<origin xyz="0 0 0"/>
|
| 850 |
+
<geometry>
|
| 851 |
+
<mesh filename="textured_objs/original-4.obj"/>
|
| 852 |
+
</geometry>
|
| 853 |
+
</collision>
|
| 854 |
+
<collision>
|
| 855 |
+
<origin xyz="0 0 0"/>
|
| 856 |
+
<geometry>
|
| 857 |
+
<mesh filename="textured_objs/original-21.obj"/>
|
| 858 |
+
</geometry>
|
| 859 |
+
</collision>
|
| 860 |
+
<collision>
|
| 861 |
+
<origin xyz="0 0 0"/>
|
| 862 |
+
<geometry>
|
| 863 |
+
<mesh filename="textured_objs/original-20.obj"/>
|
| 864 |
+
</geometry>
|
| 865 |
+
</collision>
|
| 866 |
+
<collision>
|
| 867 |
+
<origin xyz="0 0 0"/>
|
| 868 |
+
<geometry>
|
| 869 |
+
<mesh filename="textured_objs/original-8.obj"/>
|
| 870 |
+
</geometry>
|
| 871 |
+
</collision>
|
| 872 |
+
<collision>
|
| 873 |
+
<origin xyz="0 0 0"/>
|
| 874 |
+
<geometry>
|
| 875 |
+
<mesh filename="textured_objs/original-22.obj"/>
|
| 876 |
+
</geometry>
|
| 877 |
+
</collision>
|
| 878 |
+
<collision>
|
| 879 |
+
<origin xyz="0 0 0"/>
|
| 880 |
+
<geometry>
|
| 881 |
+
<mesh filename="textured_objs/original-17.obj"/>
|
| 882 |
+
</geometry>
|
| 883 |
+
</collision>
|
| 884 |
+
<collision>
|
| 885 |
+
<origin xyz="0 0 0"/>
|
| 886 |
+
<geometry>
|
| 887 |
+
<mesh filename="textured_objs/original-6.obj"/>
|
| 888 |
+
</geometry>
|
| 889 |
+
</collision>
|
| 890 |
+
<collision>
|
| 891 |
+
<origin xyz="0 0 0"/>
|
| 892 |
+
<geometry>
|
| 893 |
+
<mesh filename="textured_objs/original-11.obj"/>
|
| 894 |
+
</geometry>
|
| 895 |
+
</collision>
|
| 896 |
+
<collision>
|
| 897 |
+
<origin xyz="0 0 0"/>
|
| 898 |
+
<geometry>
|
| 899 |
+
<mesh filename="textured_objs/original-10.obj"/>
|
| 900 |
+
</geometry>
|
| 901 |
+
</collision>
|
| 902 |
+
<collision>
|
| 903 |
+
<origin xyz="0 0 0"/>
|
| 904 |
+
<geometry>
|
| 905 |
+
<mesh filename="textured_objs/original-15.obj"/>
|
| 906 |
+
</geometry>
|
| 907 |
+
</collision>
|
| 908 |
+
<collision>
|
| 909 |
+
<origin xyz="0 0 0"/>
|
| 910 |
+
<geometry>
|
| 911 |
+
<mesh filename="textured_objs/original-14.obj"/>
|
| 912 |
+
</geometry>
|
| 913 |
+
</collision>
|
| 914 |
+
<collision>
|
| 915 |
+
<origin xyz="0 0 0"/>
|
| 916 |
+
<geometry>
|
| 917 |
+
<mesh filename="textured_objs/original-5.obj"/>
|
| 918 |
+
</geometry>
|
| 919 |
+
</collision>
|
| 920 |
+
<collision>
|
| 921 |
+
<origin xyz="0 0 0"/>
|
| 922 |
+
<geometry>
|
| 923 |
+
<mesh filename="textured_objs/original-2.obj"/>
|
| 924 |
+
</geometry>
|
| 925 |
+
</collision>
|
| 926 |
+
<collision>
|
| 927 |
+
<origin xyz="0 0 0"/>
|
| 928 |
+
<geometry>
|
| 929 |
+
<mesh filename="textured_objs/original-95.obj"/>
|
| 930 |
+
</geometry>
|
| 931 |
+
</collision>
|
| 932 |
+
<collision>
|
| 933 |
+
<origin xyz="0 0 0"/>
|
| 934 |
+
<geometry>
|
| 935 |
+
<mesh filename="textured_objs/original-12.obj"/>
|
| 936 |
+
</geometry>
|
| 937 |
+
</collision>
|
| 938 |
+
<collision>
|
| 939 |
+
<origin xyz="0 0 0"/>
|
| 940 |
+
<geometry>
|
| 941 |
+
<mesh filename="textured_objs/original-18.obj"/>
|
| 942 |
+
</geometry>
|
| 943 |
+
</collision>
|
| 944 |
+
<collision>
|
| 945 |
+
<origin xyz="0 0 0"/>
|
| 946 |
+
<geometry>
|
| 947 |
+
<mesh filename="textured_objs/original-16.obj"/>
|
| 948 |
+
</geometry>
|
| 949 |
+
</collision>
|
| 950 |
+
<collision>
|
| 951 |
+
<origin xyz="0 0 0"/>
|
| 952 |
+
<geometry>
|
| 953 |
+
<mesh filename="textured_objs/original-19.obj"/>
|
| 954 |
+
</geometry>
|
| 955 |
+
</collision>
|
| 956 |
+
</link>
|
| 957 |
+
<joint name="joint_3" type="fixed">
|
| 958 |
+
<origin rpy="1.570796326794897 0 -1.570796326794897" xyz="0 0 0"/>
|
| 959 |
+
<child link="link_3"/>
|
| 960 |
+
<parent link="base"/>
|
| 961 |
+
</joint>
|
| 962 |
+
</robot>
|
assets/art/storagefurniture_bottom/StorageFurniture11/mobility_v2.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"id":0,"parent":3,"joint":"slider","name":"drawer","parts":[{"id":30,"name":"drawer_front","children":[]},{"id":31,"name":"drawer_side","children":[]},{"id":32,"name":"drawer_side","children":[]},{"id":33,"name":"drawer_back","children":[]},{"id":34,"name":"drawer_bottom","children":[]},{"id":37,"name":"other_leaf","children":[]},{"id":28,"name":"handle","children":[]},{"id":29,"name":"handle","children":[]}],"jointData":{"axis":{"origin":[0.014525268534366281,-0.3483115743302161,0],"direction":[0,0,1]},"limit":{"a":0,"b":0.57,"noLimit":false}}},{"id":1,"parent":3,"joint":"slider","name":"drawer","parts":[{"id":20,"name":"drawer_front","children":[]},{"id":21,"name":"drawer_side","children":[]},{"id":22,"name":"drawer_side","children":[]},{"id":23,"name":"drawer_back","children":[]},{"id":24,"name":"drawer_bottom","children":[]},{"id":26,"name":"other_leaf","children":[]},{"id":18,"name":"handle","children":[]},{"id":19,"name":"handle","children":[]}],"jointData":{"axis":{"origin":[0,0,0],"direction":[0,0,1]},"limit":{"a":0,"b":0.57,"noLimit":false}}},{"id":2,"parent":3,"joint":"slider","name":"drawer","parts":[{"id":10,"name":"drawer_front","children":[]},{"id":11,"name":"drawer_side","children":[]},{"id":12,"name":"drawer_side","children":[]},{"id":13,"name":"drawer_back","children":[]},{"id":14,"name":"drawer_bottom","children":[]},{"id":8,"name":"handle","children":[]},{"id":9,"name":"handle","children":[]},{"id":16,"name":"other_leaf","children":[]}],"jointData":{"axis":{"origin":[0,0,0],"direction":[0,0,1]},"limit":{"a":0,"b":0.57,"noLimit":false}}},{"id":3,"parent":-1,"joint":"heavy","name":"cabinet_frame","parts":[{"id":49,"name":"frame_vertical_bar","children":[]},{"id":50,"name":"frame_vertical_bar","children":[]},{"id":51,"name":"frame_horizontal_bar","children":[]},{"id":52,"name":"frame_horizontal_bar","children":[]},{"id":53,"name":"frame_horizontal_bar","children":[]},{"id":54,"name":"frame_horizontal_bar","children":[]},{"id":55,"name":"frame_horizontal_bar","children":[]},{"id":56,"name":"frame_horizontal_bar","children":[]},{"id":57,"name":"frame_horizontal_bar","children":[]},{"id":58,"name":"vertical_side_panel","children":[]},{"id":59,"name":"vertical_side_panel","children":[]},{"id":60,"name":"back_panel","children":[]},{"id":61,"name":"bottom_panel","children":[]},{"id":63,"name":"other_leaf","children":[]},{"id":39,"name":"base_side_panel","children":[]},{"id":40,"name":"base_side_panel","children":[]},{"id":41,"name":"base_side_panel","children":[]},{"id":42,"name":"base_side_panel","children":[]}],"jointData":{}}]
|
assets/art/storagefurniture_bottom/StorageFurniture11/perception_info.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/art/storagefurniture_bottom/StorageFurniture11/result.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"text": "Storage Furniture", "children": [{"text": "Cabinet", "children": [{"text": "Cabinet frame", "children": [{"text": "Vertical support bar", "objs": ["original-3"], "id": 49, "name": "frame_vertical_bar"}, {"text": "Vertical support bar", "objs": ["original-7"], "id": 50, "name": "frame_vertical_bar"}, {"text": "Horizontal support bar", "objs": ["original-4"], "id": 51, "name": "frame_horizontal_bar"}, {"text": "Horizontal support bar", "objs": ["original-21"], "id": 52, "name": "frame_horizontal_bar"}, {"text": "Horizontal support bar", "objs": ["original-20"], "id": 53, "name": "frame_horizontal_bar"}, {"text": "Horizontal support bar", "objs": ["original-8"], "id": 54, "name": "frame_horizontal_bar"}, {"text": "Horizontal support bar", "objs": ["original-22"], "id": 55, "name": "frame_horizontal_bar"}, {"text": "Horizontal support bar", "objs": ["original-17"], "id": 56, "name": "frame_horizontal_bar"}, {"text": "Horizontal support bar", "objs": ["original-6"], "id": 57, "name": "frame_horizontal_bar"}, {"text": "Vertical side panel", "objs": ["original-11", "original-10"], "id": 58, "name": "vertical_side_panel"}, {"text": "Vertical side panel", "objs": ["original-15", "original-14"], "id": 59, "name": "vertical_side_panel"}, {"text": "Back panel", "objs": ["original-5"], "id": 60, "name": "back_panel"}, {"text": "Bottom panel", "objs": ["original-2"], "id": 61, "name": "bottom_panel"}, {"name": "other", "text": "rectangle (other)", "children": [{"objs": ["original-95"], "name": "other_leaf", "text": "other_leaf", "id": 63, "conf_score": "3", "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "conf_score": "3", "id": 62, "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "id": 2, "name": "cabinet_frame"}, {"text": "Cabinet Base", "children": [{"text": "Panel Base", "children": [{"text": "Base side panel", "objs": ["original-12"], "id": 39, "name": "base_side_panel"}, {"text": "Base side panel", "objs": ["original-18"], "id": 40, "name": "base_side_panel"}, {"text": "Base side panel", "objs": ["original-16"], "id": 41, "name": "base_side_panel"}, {"text": "Base side panel", "objs": ["original-19"], "id": 42, "name": "base_side_panel"}], "id": 38, "name": "panel_base"}], "id": 3, "name": "cabinet_base"}, {"text": "Drawer", "children": [{"text": "Drawer box", "children": [{"text": "Drawer front", "objs": ["original-43", "original-38", "original-34", "original-40", "original-37", "original-39", "original-36", "original-41", "original-35", "original-44", "original-26"], "id": 30, "name": "drawer_front"}, {"text": "Drawer side", "objs": ["original-30"], "id": 31, "name": "drawer_side"}, {"text": "Drawer side", "objs": ["original-25"], "id": 32, "name": "drawer_side"}, {"text": "Drawer back", "objs": ["original-31"], "id": 33, "name": "drawer_back"}, {"text": "Drawer bottom", "objs": ["original-29", "original-28"], "id": 34, "name": "drawer_bottom"}, {"name": "other", "text": "rectangle (other)", "children": [{"objs": ["original-32"], "name": "other_leaf", "text": "other_leaf", "id": 37, "conf_score": "3", "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "conf_score": "3", "id": 35, "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "id": 27, "name": "drawer_box"}, {"text": "Handle", "objs": ["original-46"], "id": 28, "name": "handle"}, {"text": "Handle", "objs": ["original-45"], "id": 29, "name": "handle"}], "id": 4, "name": "drawer"}, {"text": "Drawer", "children": [{"text": "Drawer box", "children": [{"text": "Drawer front", "objs": ["original-67", "original-62", "original-58", "original-64", "original-61", "original-63", "original-60", "original-65", "original-59", "original-68", "original-50"], "id": 20, "name": "drawer_front"}, {"text": "Drawer side", "objs": ["original-49"], "id": 21, "name": "drawer_side"}, {"text": "Drawer side", "objs": ["original-54"], "id": 22, "name": "drawer_side"}, {"text": "Drawer back", "objs": ["original-55"], "id": 23, "name": "drawer_back"}, {"text": "Drawer bottom", "objs": ["original-53", "original-52"], "id": 24, "name": "drawer_bottom"}, {"name": "other", "text": "rectangle (other)", "children": [{"objs": ["original-56"], "name": "other_leaf", "text": "other_leaf", "id": 26, "conf_score": "3", "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "conf_score": "3", "id": 25, "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "id": 17, "name": "drawer_box"}, {"text": "Handle", "objs": ["original-70"], "id": 18, "name": "handle"}, {"text": "Handle", "objs": ["original-69"], "id": 19, "name": "handle"}], "id": 5, "name": "drawer"}, {"text": "Drawer", "children": [{"text": "Drawer box", "children": [{"text": "Drawer front", "objs": ["original-92", "original-86", "original-82", "original-88", "original-85", "original-87", "original-84", "original-89", "original-83", "original-74", "original-91"], "id": 10, "name": "drawer_front"}, {"text": "Drawer side", "objs": ["original-78"], "id": 11, "name": "drawer_side"}, {"text": "Drawer side", "objs": ["original-73"], "id": 12, "name": "drawer_side"}, {"text": "Drawer back", "objs": ["original-79"], "id": 13, "name": "drawer_back"}, {"text": "Drawer bottom", "objs": ["original-77", "original-76"], "id": 14, "name": "drawer_bottom"}], "id": 7, "name": "drawer_box"}, {"text": "Handle", "objs": ["original-94"], "id": 8, "name": "handle"}, {"text": "Handle", "objs": ["original-93"], "id": 9, "name": "handle"}, {"name": "other", "text": "rectangle (other)", "children": [{"objs": ["original-80"], "name": "other_leaf", "text": "other_leaf", "id": 16, "conf_score": "3", "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "conf_score": "3", "id": 15, "low_conf_reason": "\u81ea\u5df1\u6807\u6ce8"}], "id": 6, "name": "drawer"}], "id": 1, "name": "cabinet"}], "id": 0, "name": "storage_furniture"}]
|
assets/art/storagefurniture_bottom/StorageFurniture11/result_after_merging.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"name": "storage_furniture", "ori_id": 0, "objs": ["original-3", "original-7", "original-4", "original-21", "original-20", "original-8", "original-22", "original-17", "original-6", "original-11", "original-10", "original-15", "original-14", "original-5", "original-2", "original-95", "original-12", "original-18", "original-16", "original-19", "original-43", "original-38", "original-34", "original-40", "original-37", "original-39", "original-36", "original-41", "original-35", "original-44", "original-26", "original-30", "original-25", "original-31", "original-29", "original-28", "original-32", "original-46", "original-45", "original-67", "original-62", "original-58", "original-64", "original-61", "original-63", "original-60", "original-65", "original-59", "original-68", "original-50", "original-49", "original-54", "original-55", "original-53", "original-52", "original-56", "original-70", "original-69", "original-92", "original-86", "original-82", "original-88", "original-85", "original-87", "original-84", "original-89", "original-83", "original-74", "original-91", "original-78", "original-73", "original-79", "original-77", "original-76", "original-94", "original-93", "original-80"], "text": "storage_furniture", "children": [{"name": "cabinet", "ori_id": 1, "objs": ["original-3", "original-7", "original-4", "original-21", "original-20", "original-8", "original-22", "original-17", "original-6", "original-11", "original-10", "original-15", "original-14", "original-5", "original-2", "original-95", "original-12", "original-18", "original-16", "original-19", "original-43", "original-38", "original-34", "original-40", "original-37", "original-39", "original-36", "original-41", "original-35", "original-44", "original-26", "original-30", "original-25", "original-31", "original-29", "original-28", "original-32", "original-46", "original-45", "original-67", "original-62", "original-58", "original-64", "original-61", "original-63", "original-60", "original-65", "original-59", "original-68", "original-50", "original-49", "original-54", "original-55", "original-53", "original-52", "original-56", "original-70", "original-69", "original-92", "original-86", "original-82", "original-88", "original-85", "original-87", "original-84", "original-89", "original-83", "original-74", "original-91", "original-78", "original-73", "original-79", "original-77", "original-76", "original-94", "original-93", "original-80"], "text": "cabinet", "children": [{"name": "cabinet_frame", "ori_id": 2, "objs": ["original-3", "original-7", "original-4", "original-21", "original-20", "original-8", "original-22", "original-17", "original-6", "original-11", "original-10", "original-15", "original-14", "original-5", "original-2", "original-95"], "text": "cabinet_frame", "children": [{"text": "frame_vertical_bar", "name": "frame_vertical_bar", "ori_id": 49, "id": 3, "objs": ["original-3"]}, {"text": "frame_vertical_bar", "name": "frame_vertical_bar", "ori_id": 50, "id": 4, "objs": ["original-7"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 51, "id": 5, "objs": ["original-4"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 52, "id": 6, "objs": ["original-21"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 53, "id": 7, "objs": ["original-20"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 54, "id": 8, "objs": ["original-8"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 55, "id": 9, "objs": ["original-22"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 56, "id": 10, "objs": ["original-17"]}, {"text": "frame_horizontal_bar", "name": "frame_horizontal_bar", "ori_id": 57, "id": 11, "objs": ["original-6"]}, {"text": "vertical_side_panel", "name": "vertical_side_panel", "ori_id": 58, "id": 12, "objs": ["original-11", "original-10"]}, {"text": "vertical_side_panel", "name": "vertical_side_panel", "ori_id": 59, "id": 13, "objs": ["original-15", "original-14"]}, {"text": "back_panel", "name": "back_panel", "ori_id": 60, "id": 14, "objs": ["original-5"]}, {"text": "bottom_panel", "name": "bottom_panel", "ori_id": 61, "id": 15, "objs": ["original-2"]}], "id": 2}, {"name": "cabinet_base", "ori_id": 3, "objs": ["original-12", "original-18", "original-16", "original-19"], "text": "cabinet_base", "children": [{"name": "panel_base", "ori_id": 38, "objs": ["original-12", "original-18", "original-16", "original-19"], "text": "panel_base", "children": [{"text": "base_side_panel", "name": "base_side_panel", "ori_id": 39, "id": 18, "objs": ["original-12"]}, {"text": "base_side_panel", "name": "base_side_panel", "ori_id": 40, "id": 19, "objs": ["original-18"]}, {"text": "base_side_panel", "name": "base_side_panel", "ori_id": 41, "id": 20, "objs": ["original-16"]}, {"text": "base_side_panel", "name": "base_side_panel", "ori_id": 42, "id": 21, "objs": ["original-19"]}], "id": 17}], "id": 16}, {"name": "drawer", "ori_id": 4, "objs": ["original-43", "original-38", "original-34", "original-40", "original-37", "original-39", "original-36", "original-41", "original-35", "original-44", "original-26", "original-30", "original-25", "original-31", "original-29", "original-28", "original-32", "original-46", "original-45"], "text": "drawer", "children": [{"name": "drawer_box", "ori_id": 27, "objs": ["original-43", "original-38", "original-34", "original-40", "original-37", "original-39", "original-36", "original-41", "original-35", "original-44", "original-26", "original-30", "original-25", "original-31", "original-29", "original-28", "original-32"], "text": "drawer_box", "children": [{"text": "drawer_front", "name": "drawer_front", "ori_id": 30, "id": 24, "objs": ["original-43", "original-38", "original-34", "original-40", "original-37", "original-39", "original-36", "original-41", "original-35", "original-44", "original-26"]}, {"text": "drawer_side", "name": "drawer_side", "ori_id": 31, "id": 25, "objs": ["original-30"]}, {"text": "drawer_side", "name": "drawer_side", "ori_id": 32, "id": 26, "objs": ["original-25"]}, {"text": "drawer_back", "name": "drawer_back", "ori_id": 33, "id": 27, "objs": ["original-31"]}, {"text": "drawer_bottom", "name": "drawer_bottom", "ori_id": 34, "id": 28, "objs": ["original-29", "original-28"]}], "id": 23}, {"text": "handle", "name": "handle", "ori_id": 28, "id": 29, "objs": ["original-46"]}, {"text": "handle", "name": "handle", "ori_id": 29, "id": 30, "objs": ["original-45"]}], "id": 22}, {"name": "drawer", "ori_id": 5, "objs": ["original-67", "original-62", "original-58", "original-64", "original-61", "original-63", "original-60", "original-65", "original-59", "original-68", "original-50", "original-49", "original-54", "original-55", "original-53", "original-52", "original-56", "original-70", "original-69"], "text": "drawer", "children": [{"name": "drawer_box", "ori_id": 17, "objs": ["original-67", "original-62", "original-58", "original-64", "original-61", "original-63", "original-60", "original-65", "original-59", "original-68", "original-50", "original-49", "original-54", "original-55", "original-53", "original-52", "original-56"], "text": "drawer_box", "children": [{"text": "drawer_front", "name": "drawer_front", "ori_id": 20, "id": 33, "objs": ["original-67", "original-62", "original-58", "original-64", "original-61", "original-63", "original-60", "original-65", "original-59", "original-68", "original-50"]}, {"text": "drawer_side", "name": "drawer_side", "ori_id": 21, "id": 34, "objs": ["original-49"]}, {"text": "drawer_side", "name": "drawer_side", "ori_id": 22, "id": 35, "objs": ["original-54"]}, {"text": "drawer_back", "name": "drawer_back", "ori_id": 23, "id": 36, "objs": ["original-55"]}, {"text": "drawer_bottom", "name": "drawer_bottom", "ori_id": 24, "id": 37, "objs": ["original-53", "original-52"]}], "id": 32}, {"text": "handle", "name": "handle", "ori_id": 18, "id": 38, "objs": ["original-70"]}, {"text": "handle", "name": "handle", "ori_id": 19, "id": 39, "objs": ["original-69"]}], "id": 31}, {"name": "drawer", "ori_id": 6, "objs": ["original-92", "original-86", "original-82", "original-88", "original-85", "original-87", "original-84", "original-89", "original-83", "original-74", "original-91", "original-78", "original-73", "original-79", "original-77", "original-76", "original-94", "original-93", "original-80"], "text": "drawer", "children": [{"name": "drawer_box", "ori_id": 7, "objs": ["original-92", "original-86", "original-82", "original-88", "original-85", "original-87", "original-84", "original-89", "original-83", "original-74", "original-91", "original-78", "original-73", "original-79", "original-77", "original-76"], "text": "drawer_box", "children": [{"text": "drawer_front", "name": "drawer_front", "ori_id": 10, "id": 42, "objs": ["original-92", "original-86", "original-82", "original-88", "original-85", "original-87", "original-84", "original-89", "original-83", "original-74", "original-91"]}, {"text": "drawer_side", "name": "drawer_side", "ori_id": 11, "id": 43, "objs": ["original-78"]}, {"text": "drawer_side", "name": "drawer_side", "ori_id": 12, "id": 44, "objs": ["original-73"]}, {"text": "drawer_back", "name": "drawer_back", "ori_id": 13, "id": 45, "objs": ["original-79"]}, {"text": "drawer_bottom", "name": "drawer_bottom", "ori_id": 14, "id": 46, "objs": ["original-77", "original-76"]}], "id": 41}, {"text": "handle", "name": "handle", "ori_id": 8, "id": 47, "objs": ["original-94"]}, {"text": "handle", "name": "handle", "ori_id": 9, "id": 48, "objs": ["original-93"]}], "id": 40}], "id": 1}], "id": 0}]
|
assets/art/storagefurniture_bottom/StorageFurniture11/semantics.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
link_0 slider drawer
|
| 2 |
+
link_1 slider drawer
|
| 3 |
+
link_2 slider drawer
|
| 4 |
+
link_3 heavy furniture_body
|
assets/art/storagefurniture_bottom/StorageFurniture11/semantics_relabel.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
link_0 slider drawer
|
| 2 |
+
link_1 slider drawer
|
| 3 |
+
link_2 slider drawer
|
| 4 |
+
link_3 heavy furniture_body
|
assets/art/storagefurniture_bottom/StorageFurniture11/tree_hier.html
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html><head><meta charset="UTF-8"><title>Simple Viewer</title><style>table {table-layout: fixed; }th, td { width: 100px; }</style></head><body>
|
| 2 |
+
<table><tr><td><p>0 storage_furniture Storage Furniture</p><a href="parts_render/0.png"><img src="parts_render/0.png" width="100px" height="100px"/></a></td></tr><tr><td><p>1 cabinet Cabinet</p><a href="parts_render/1.png"><img src="parts_render/1.png" width="100px" height="100px"/></a></td></tr><tr><td><p>2 cabinet_frame Cabinet frame</p><a href="parts_render/2.png"><img src="parts_render/2.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>3 cabinet_base Cabinet Base</p><a href="parts_render/3.png"><img src="parts_render/3.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>4 drawer Drawer</p><a href="parts_render/4.png"><img src="parts_render/4.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>5 drawer Drawer</p><a href="parts_render/5.png"><img src="parts_render/5.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>6 drawer Drawer</p><a href="parts_render/6.png"><img src="parts_render/6.png" width="100px" height="100px"/></a></td></tr><tr><td><p>49 frame_vertical_bar Vertical support bar</p><a href="parts_render/49.png"><img src="parts_render/49.png" width="100px" height="100px"/></a></td><td></td><td><p>50 frame_vertical_bar Vertical support bar</p><a href="parts_render/50.png"><img src="parts_render/50.png" width="100px" height="100px"/></a></td><td></td><td><p>51 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/51.png"><img src="parts_render/51.png" width="100px" height="100px"/></a></td><td></td><td><p>52 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/52.png"><img src="parts_render/52.png" width="100px" height="100px"/></a></td><td></td><td><p>53 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/53.png"><img src="parts_render/53.png" width="100px" height="100px"/></a></td><td></td><td><p>54 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/54.png"><img src="parts_render/54.png" width="100px" height="100px"/></a></td><td></td><td><p>55 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/55.png"><img src="parts_render/55.png" width="100px" height="100px"/></a></td><td></td><td><p>56 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/56.png"><img src="parts_render/56.png" width="100px" height="100px"/></a></td><td></td><td><p>57 frame_horizontal_bar Horizontal support bar</p><a href="parts_render/57.png"><img src="parts_render/57.png" width="100px" height="100px"/></a></td><td></td><td><p>58 vertical_side_panel Vertical side panel</p><a href="parts_render/58.png"><img src="parts_render/58.png" width="100px" height="100px"/></a></td><td></td><td><p>59 vertical_side_panel Vertical side panel</p><a href="parts_render/59.png"><img src="parts_render/59.png" width="100px" height="100px"/></a></td><td></td><td><p>60 back_panel Back panel</p><a href="parts_render/60.png"><img src="parts_render/60.png" width="100px" height="100px"/></a></td><td></td><td><p>61 bottom_panel Bottom panel</p><a href="parts_render/61.png"><img src="parts_render/61.png" width="100px" height="100px"/></a></td><td></td><td><p>62 other rectangle (other)</p><a href="parts_render/62.png"><img src="parts_render/62.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td><p>38 panel_base Panel Base</p><a href="parts_render/38.png"><img src="parts_render/38.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>27 drawer_box Drawer box</p><a href="parts_render/27.png"><img src="parts_render/27.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>28 handle Handle</p><a href="parts_render/28.png"><img src="parts_render/28.png" width="100px" height="100px"/></a></td><td></td><td><p>29 handle Handle</p><a href="parts_render/29.png"><img src="parts_render/29.png" width="100px" height="100px"/></a></td><td></td><td></td><td><p>17 drawer_box Drawer box</p><a href="parts_render/17.png"><img src="parts_render/17.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>18 handle Handle</p><a href="parts_render/18.png"><img src="parts_render/18.png" width="100px" height="100px"/></a></td><td></td><td><p>19 handle Handle</p><a href="parts_render/19.png"><img src="parts_render/19.png" width="100px" height="100px"/></a></td><td></td><td></td><td><p>7 drawer_box Drawer box</p><a href="parts_render/7.png"><img src="parts_render/7.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>8 handle Handle</p><a href="parts_render/8.png"><img src="parts_render/8.png" width="100px" height="100px"/></a></td><td></td><td><p>9 handle Handle</p><a href="parts_render/9.png"><img src="parts_render/9.png" width="100px" height="100px"/></a></td><td></td><td><p>15 other rectangle (other)</p><a href="parts_render/15.png"><img src="parts_render/15.png" width="100px" height="100px"/></a></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>63 other_leaf other_leaf</p><a href="parts_render/63.png"><img src="parts_render/63.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td><p>39 base_side_panel Base side panel</p><a href="parts_render/39.png"><img src="parts_render/39.png" width="100px" height="100px"/></a></td><td></td><td><p>40 base_side_panel Base side panel</p><a href="parts_render/40.png"><img src="parts_render/40.png" width="100px" height="100px"/></a></td><td></td><td><p>41 base_side_panel Base side panel</p><a href="parts_render/41.png"><img src="parts_render/41.png" width="100px" height="100px"/></a></td><td></td><td><p>42 base_side_panel Base side panel</p><a href="parts_render/42.png"><img src="parts_render/42.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td><p>30 drawer_front Drawer front</p><a href="parts_render/30.png"><img src="parts_render/30.png" width="100px" height="100px"/></a></td><td></td><td><p>31 drawer_side Drawer side</p><a href="parts_render/31.png"><img src="parts_render/31.png" width="100px" height="100px"/></a></td><td></td><td><p>32 drawer_side Drawer side</p><a href="parts_render/32.png"><img src="parts_render/32.png" width="100px" height="100px"/></a></td><td></td><td><p>33 drawer_back Drawer back</p><a href="parts_render/33.png"><img src="parts_render/33.png" width="100px" height="100px"/></a></td><td></td><td><p>34 drawer_bottom Drawer bottom</p><a href="parts_render/34.png"><img src="parts_render/34.png" width="100px" height="100px"/></a></td><td></td><td><p>35 other rectangle (other)</p><a href="parts_render/35.png"><img src="parts_render/35.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>20 drawer_front Drawer front</p><a href="parts_render/20.png"><img src="parts_render/20.png" width="100px" height="100px"/></a></td><td></td><td><p>21 drawer_side Drawer side</p><a href="parts_render/21.png"><img src="parts_render/21.png" width="100px" height="100px"/></a></td><td></td><td><p>22 drawer_side Drawer side</p><a href="parts_render/22.png"><img src="parts_render/22.png" width="100px" height="100px"/></a></td><td></td><td><p>23 drawer_back Drawer back</p><a href="parts_render/23.png"><img src="parts_render/23.png" width="100px" height="100px"/></a></td><td></td><td><p>24 drawer_bottom Drawer bottom</p><a href="parts_render/24.png"><img src="parts_render/24.png" width="100px" height="100px"/></a></td><td></td><td><p>25 other rectangle (other)</p><a href="parts_render/25.png"><img src="parts_render/25.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>10 drawer_front Drawer front</p><a href="parts_render/10.png"><img src="parts_render/10.png" width="100px" height="100px"/></a></td><td></td><td><p>11 drawer_side Drawer side</p><a href="parts_render/11.png"><img src="parts_render/11.png" width="100px" height="100px"/></a></td><td></td><td><p>12 drawer_side Drawer side</p><a href="parts_render/12.png"><img src="parts_render/12.png" width="100px" height="100px"/></a></td><td></td><td><p>13 drawer_back Drawer back</p><a href="parts_render/13.png"><img src="parts_render/13.png" width="100px" height="100px"/></a></td><td></td><td><p>14 drawer_bottom Drawer bottom</p><a href="parts_render/14.png"><img src="parts_render/14.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>16 other_leaf other_leaf</p><a href="parts_render/16.png"><img src="parts_render/16.png" width="100px" height="100px"/></a></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>37 other_leaf other_leaf</p><a href="parts_render/37.png"><img src="parts_render/37.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>26 other_leaf other_leaf</p><a href="parts_render/26.png"><img src="parts_render/26.png" width="100px" height="100px"/></a></td></tr></table></body></html>
|
assets/art/storagefurniture_bottom/StorageFurniture11/tree_hier_after_merging.html
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html><head><meta charset="UTF-8"><title>Simple Viewer</title><style>table {table-layout: fixed; }th, td { width: 100px; }</style></head><body>
|
| 2 |
+
<table><tr><td><p>0 storage_furniture storage_furniture</p><a href="parts_render_after_merging/0.png"><img src="parts_render_after_merging/0.png" width="100px" height="100px"/></a></td></tr><tr><td><p>1 cabinet cabinet</p><a href="parts_render_after_merging/1.png"><img src="parts_render_after_merging/1.png" width="100px" height="100px"/></a></td></tr><tr><td><p>2 cabinet_frame cabinet_frame</p><a href="parts_render_after_merging/2.png"><img src="parts_render_after_merging/2.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>16 cabinet_base cabinet_base</p><a href="parts_render_after_merging/16.png"><img src="parts_render_after_merging/16.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>22 drawer drawer</p><a href="parts_render_after_merging/22.png"><img src="parts_render_after_merging/22.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>31 drawer drawer</p><a href="parts_render_after_merging/31.png"><img src="parts_render_after_merging/31.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>40 drawer drawer</p><a href="parts_render_after_merging/40.png"><img src="parts_render_after_merging/40.png" width="100px" height="100px"/></a></td></tr><tr><td><p>3 frame_vertical_bar frame_vertical_bar</p><a href="parts_render_after_merging/3.png"><img src="parts_render_after_merging/3.png" width="100px" height="100px"/></a></td><td></td><td><p>4 frame_vertical_bar frame_vertical_bar</p><a href="parts_render_after_merging/4.png"><img src="parts_render_after_merging/4.png" width="100px" height="100px"/></a></td><td></td><td><p>5 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/5.png"><img src="parts_render_after_merging/5.png" width="100px" height="100px"/></a></td><td></td><td><p>6 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/6.png"><img src="parts_render_after_merging/6.png" width="100px" height="100px"/></a></td><td></td><td><p>7 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/7.png"><img src="parts_render_after_merging/7.png" width="100px" height="100px"/></a></td><td></td><td><p>8 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/8.png"><img src="parts_render_after_merging/8.png" width="100px" height="100px"/></a></td><td></td><td><p>9 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/9.png"><img src="parts_render_after_merging/9.png" width="100px" height="100px"/></a></td><td></td><td><p>10 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/10.png"><img src="parts_render_after_merging/10.png" width="100px" height="100px"/></a></td><td></td><td><p>11 frame_horizontal_bar frame_horizontal_bar</p><a href="parts_render_after_merging/11.png"><img src="parts_render_after_merging/11.png" width="100px" height="100px"/></a></td><td></td><td><p>12 vertical_side_panel vertical_side_panel</p><a href="parts_render_after_merging/12.png"><img src="parts_render_after_merging/12.png" width="100px" height="100px"/></a></td><td></td><td><p>13 vertical_side_panel vertical_side_panel</p><a href="parts_render_after_merging/13.png"><img src="parts_render_after_merging/13.png" width="100px" height="100px"/></a></td><td></td><td><p>14 back_panel back_panel</p><a href="parts_render_after_merging/14.png"><img src="parts_render_after_merging/14.png" width="100px" height="100px"/></a></td><td></td><td><p>15 bottom_panel bottom_panel</p><a href="parts_render_after_merging/15.png"><img src="parts_render_after_merging/15.png" width="100px" height="100px"/></a></td><td></td><td></td><td><p>17 panel_base panel_base</p><a href="parts_render_after_merging/17.png"><img src="parts_render_after_merging/17.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>23 drawer_box drawer_box</p><a href="parts_render_after_merging/23.png"><img src="parts_render_after_merging/23.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>29 handle handle</p><a href="parts_render_after_merging/29.png"><img src="parts_render_after_merging/29.png" width="100px" height="100px"/></a></td><td></td><td><p>30 handle handle</p><a href="parts_render_after_merging/30.png"><img src="parts_render_after_merging/30.png" width="100px" height="100px"/></a></td><td></td><td></td><td><p>32 drawer_box drawer_box</p><a href="parts_render_after_merging/32.png"><img src="parts_render_after_merging/32.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>38 handle handle</p><a href="parts_render_after_merging/38.png"><img src="parts_render_after_merging/38.png" width="100px" height="100px"/></a></td><td></td><td><p>39 handle handle</p><a href="parts_render_after_merging/39.png"><img src="parts_render_after_merging/39.png" width="100px" height="100px"/></a></td><td></td><td></td><td><p>41 drawer_box drawer_box</p><a href="parts_render_after_merging/41.png"><img src="parts_render_after_merging/41.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>47 handle handle</p><a href="parts_render_after_merging/47.png"><img src="parts_render_after_merging/47.png" width="100px" height="100px"/></a></td><td></td><td><p>48 handle handle</p><a href="parts_render_after_merging/48.png"><img src="parts_render_after_merging/48.png" width="100px" height="100px"/></a></td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>18 base_side_panel base_side_panel</p><a href="parts_render_after_merging/18.png"><img src="parts_render_after_merging/18.png" width="100px" height="100px"/></a></td><td></td><td><p>19 base_side_panel base_side_panel</p><a href="parts_render_after_merging/19.png"><img src="parts_render_after_merging/19.png" width="100px" height="100px"/></a></td><td></td><td><p>20 base_side_panel base_side_panel</p><a href="parts_render_after_merging/20.png"><img src="parts_render_after_merging/20.png" width="100px" height="100px"/></a></td><td></td><td><p>21 base_side_panel base_side_panel</p><a href="parts_render_after_merging/21.png"><img src="parts_render_after_merging/21.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td><p>24 drawer_front drawer_front</p><a href="parts_render_after_merging/24.png"><img src="parts_render_after_merging/24.png" width="100px" height="100px"/></a></td><td></td><td><p>25 drawer_side drawer_side</p><a href="parts_render_after_merging/25.png"><img src="parts_render_after_merging/25.png" width="100px" height="100px"/></a></td><td></td><td><p>26 drawer_side drawer_side</p><a href="parts_render_after_merging/26.png"><img src="parts_render_after_merging/26.png" width="100px" height="100px"/></a></td><td></td><td><p>27 drawer_back drawer_back</p><a href="parts_render_after_merging/27.png"><img src="parts_render_after_merging/27.png" width="100px" height="100px"/></a></td><td></td><td><p>28 drawer_bottom drawer_bottom</p><a href="parts_render_after_merging/28.png"><img src="parts_render_after_merging/28.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>33 drawer_front drawer_front</p><a href="parts_render_after_merging/33.png"><img src="parts_render_after_merging/33.png" width="100px" height="100px"/></a></td><td></td><td><p>34 drawer_side drawer_side</p><a href="parts_render_after_merging/34.png"><img src="parts_render_after_merging/34.png" width="100px" height="100px"/></a></td><td></td><td><p>35 drawer_side drawer_side</p><a href="parts_render_after_merging/35.png"><img src="parts_render_after_merging/35.png" width="100px" height="100px"/></a></td><td></td><td><p>36 drawer_back drawer_back</p><a href="parts_render_after_merging/36.png"><img src="parts_render_after_merging/36.png" width="100px" height="100px"/></a></td><td></td><td><p>37 drawer_bottom drawer_bottom</p><a href="parts_render_after_merging/37.png"><img src="parts_render_after_merging/37.png" width="100px" height="100px"/></a></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td><p>42 drawer_front drawer_front</p><a href="parts_render_after_merging/42.png"><img src="parts_render_after_merging/42.png" width="100px" height="100px"/></a></td><td></td><td><p>43 drawer_side drawer_side</p><a href="parts_render_after_merging/43.png"><img src="parts_render_after_merging/43.png" width="100px" height="100px"/></a></td><td></td><td><p>44 drawer_side drawer_side</p><a href="parts_render_after_merging/44.png"><img src="parts_render_after_merging/44.png" width="100px" height="100px"/></a></td><td></td><td><p>45 drawer_back drawer_back</p><a href="parts_render_after_merging/45.png"><img src="parts_render_after_merging/45.png" width="100px" height="100px"/></a></td><td></td><td><p>46 drawer_bottom drawer_bottom</p><a href="parts_render_after_merging/46.png"><img src="parts_render_after_merging/46.png" width="100px" height="100px"/></a></td></tr></table></body></html>
|
assets/art/storagefurniture_bottom/StorageFurniture14/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# StorageFurniture14
|
| 2 |
+
|
| 3 |
+
模型文件:instance.usd。默认姿态的 Z 向上包围盒尺寸(毫米):[1269.993, 882.408, 1593.236]。
|
| 4 |
+
|
| 5 |
+
模型显式质量(千克):未标注。预览中物体像素的中位 RGB:[241, 239, 237]。摩擦系数按 USD 物理材质记录在 asset.json,空值表示未标注。
|
assets/art/storagefurniture_bottom/StorageFurniture14/asset.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "instance.usd",
|
| 3 |
+
"source_models": [
|
| 4 |
+
"instance.usd"
|
| 5 |
+
],
|
| 6 |
+
"preview": "preview.png",
|
| 7 |
+
"size_mm_z_up": [
|
| 8 |
+
1269.993,
|
| 9 |
+
882.408,
|
| 10 |
+
1593.236
|
| 11 |
+
],
|
| 12 |
+
"mass_kg": null,
|
| 13 |
+
"physics_materials": [],
|
| 14 |
+
"appearance_median_srgb": [
|
| 15 |
+
241,
|
| 16 |
+
239,
|
| 17 |
+
237
|
| 18 |
+
],
|
| 19 |
+
"source_up_axis": "Z"
|
| 20 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture14/bbox_info.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bbox_world": [[[0.4011596002141094, -0.38411566318781165, 0.019754821279553712], [-0.6170766570094245, -0.38411566318780443, 0.019754699896332894], [-0.6170766570094189, 0.40199603880448964, 0.019754699896332894], [0.40115960021411495, 0.4019960388044824, 0.019754821279553712], [0.401159650086357, -0.38411566318781165, -0.39860391365370046], [-0.617076607137177, -0.38411566318780443, -0.39860403503692127], [-0.6170766071371713, 0.40199603880448964, -0.39860403503692127], [0.40115965008636256, 0.4019960388044824, -0.39860391365370046]], [[0.4011597394787062, -0.38411556806223585, 0.3383171383739489], [-0.6170766059572522, -0.3841157501370646, 0.3383171383739417], [-0.6170767465057422, 0.4018884528470775, 0.3383171383739417], [0.4011595989302163, 0.40188863492190635, 0.3383171383739489], [0.4011597394787083, -0.38411556806223585, 0.042660319271179095], [-0.6170766059572502, -0.3841157501370646, 0.04266031927117186], [-0.6170767465057402, 0.4018884528470775, 0.04266031927117186], [0.4011595989302184, 0.40188863492190635, 0.042660319271179095]], [[0.40259285997700234, -0.3841155566835936, 0.6569982873828825], [-0.6170773233619731, -0.38411567823773723, 0.6569982873828752], [-0.6170774170639446, 0.4019135234607549, 0.6569982873828752], [0.4025927662750308, 0.4019136450148985, 0.6569982873828825], [0.40259285997700445, -0.3841155566835936, 0.36130730220520985], [-0.6170773233619709, -0.38411567823773723, 0.3613073022052026], [-0.6170774170639424, 0.4019135234607549, 0.3613073022052026], [0.40259276627503293, 0.4019136450148985, 0.36130730220520985]], [[-0.6732798179653624, 0.15732193940151246, -0.1767448766405076], [-0.6732798179653624, -0.13903302945496954, -0.1767448766405076], [-0.6732798179653624, -0.13903302945496954, -0.2023178359956591], [-0.6732798179653624, 0.15732193940151246, -0.2023178359956591], [-0.6155862513024962, 0.15732193940151246, -0.1767448766405076], [-0.6155862513024962, -0.13903302945496954, -0.1767448766405076], [-0.6155862513024962, -0.13903302945496954, -0.2023178359956591], [-0.6155862513024962, 0.15732193940151246, -0.2023178359956591]], [[-0.6732798182378147, 0.15732677830769576, 0.20325977722384095], [-0.6732798182378147, -0.1390331690615616, 0.20325977722384095], [-0.6732798182378147, -0.1390331690615616, 0.1776081870178737], [-0.6732798182378147, 0.15732677830769576, 0.1776081870178737], [-0.6155857061082727, 0.15732677830769576, 0.20325977722384095], [-0.6155857061082727, -0.1390331690615616, 0.20325977722384095], [-0.6155857061082727, -0.1390331690615616, 0.1776081870178737], [-0.6155857061082727, 0.15732677830769576, 0.1776081870178737]], [[-0.6732798897753203, 0.15692977959138252, 0.5219402419783863], [-0.6732798897753203, -0.13903288740861744, 0.5219402419783863], [-0.6732798897753203, -0.13903288740861744, 0.4962551702938607], [-0.6732798897753203, 0.15692977959138252, 0.4962551702938607], [-0.6154425595780066, 0.15692977959138252, 0.5219402419783863], [-0.6154425595780066, -0.13903288740861744, 0.5219402419783863], [-0.6154425595780066, -0.13903288740861744, 0.4962551702938607], [-0.6154425595780066, 0.15692977959138252, 0.4962551702938607]]], "link_name": ["link_0", "link_1", "link_2", "handle_0", "handle_1", "handle_2"], "parent_joint_name": ["joint_0", "joint_1", "joint_2", "handlejoint_0", "handlejoint_1", "handlejoint_2"], "class_name": ["slider_drawer", "slider_drawer", "slider_drawer", "line_fixed_handle", "line_fixed_handle", "line_fixed_handle"], "parent_joint_type": ["prismatic", "prismatic", "prismatic", "fixed", "fixed", "fixed"], "axis_xyz_world": [[-0.6165680289268493, -0.0036911215974584164, -0.17221879713404625], [-0.6165680289268493, -0.0036911215974584164, -0.17221879713404625], [-0.6165680289268493, -0.0036911215974584164, -0.17221879713404625], [-0.6165680289268493, -0.0036911215974584164, -0.17221879713404625], [-0.6165680289268493, -0.0036911215974584164, -0.17221879713404625], [-0.6165680289268493, -0.0036911215974584164, -0.17221879713404625]], "axis_dir_world": [[-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0], [-1.0, -0.0, 0.0]], "class_id": [6, 6, 6, 1, 1, 1], "instance_id ": [1, 3, 5, 2, 4, 6]}
|
assets/art/storagefurniture_bottom/StorageFurniture14/bounding_box.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"min": [-0.449662, -0.888622, -0.596742], "max": [0.432746, 0.704614, 0.673251]}
|
assets/art/storagefurniture_bottom/StorageFurniture14/config.yaml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
asset_path: /home/liyaping/Code/Banana_close/assets/drawer_final/StorageFurniture-47296-link_0-handle_0-joint_0-handlejoint_0/mobility.urdf
|
| 2 |
+
usd_dir: /home/liyaping/Code/Banana_close/assets/drawer_final/StorageFurniture-47296-link_0-handle_0-joint_0-handlejoint_0
|
| 3 |
+
usd_file_name: instance.usd
|
| 4 |
+
force_usd_conversion: true
|
| 5 |
+
make_instanceable: true
|
| 6 |
+
import_inertia_tensor: true
|
| 7 |
+
fix_base: false
|
| 8 |
+
merge_fixed_joints: true
|
| 9 |
+
self_collision: false
|
| 10 |
+
default_drive_type: none
|
| 11 |
+
override_joint_dynamics: false
|
| 12 |
+
default_drive_stiffness: 0.0
|
| 13 |
+
default_drive_damping: 0.0
|
| 14 |
+
link_density: 0.0
|
| 15 |
+
convex_decompose_mesh: false
|
| 16 |
+
##
|
| 17 |
+
# Generated by UrdfConverter on 2025-02-14 at 21:22:12.
|
| 18 |
+
##
|
assets/art/storagefurniture_bottom/StorageFurniture14/info.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"object_keypoints": {
|
| 3 |
+
"link_contact_point": [
|
| 4 |
+
-0.02298008868184968,
|
| 5 |
+
0.10638420053207577,
|
| 6 |
+
0.0
|
| 7 |
+
],
|
| 8 |
+
"base_contact_point": [
|
| 9 |
+
-0.6165679728193965,
|
| 10 |
+
0.021324913048812955,
|
| 11 |
+
-0.059193118229056145
|
| 12 |
+
]
|
| 13 |
+
},
|
| 14 |
+
"object_scale": [
|
| 15 |
+
0.24102552501531704,
|
| 16 |
+
0.24102552501531704,
|
| 17 |
+
0.24102552501531704,
|
| 18 |
+
1.0
|
| 19 |
+
],
|
| 20 |
+
"object_name": "StorageFurniture14",
|
| 21 |
+
"object_usd": "assets/drawer_final/StorageFurniture-47296_2/instance.usd",
|
| 22 |
+
"object_link_path": "/StorageFurniture14/instance/contact_link2",
|
| 23 |
+
"object_base_path": "/StorageFurniture14/instance/base",
|
| 24 |
+
"object_prim_path": "/StorageFurniture14",
|
| 25 |
+
"object_joint_path": "/StorageFurniture14/instance/base/contact_link_prismatic2",
|
| 26 |
+
"object_link0_move_axis": "-z",
|
| 27 |
+
"object_link0_contact_axis": "-x",
|
| 28 |
+
"object_base_front_axis": "-x",
|
| 29 |
+
"joint_index": 0
|
| 30 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture14/keypoints.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"red": [
|
| 4 |
+
-0.6165679726363863,
|
| 5 |
+
0.019288977419838205,
|
| 6 |
+
-0.06583465775048691
|
| 7 |
+
],
|
| 8 |
+
"yellow": [
|
| 9 |
+
-0.6165679728193965,
|
| 10 |
+
0.021324913048812955,
|
| 11 |
+
-0.059193118229056145
|
| 12 |
+
]
|
| 13 |
+
}
|
| 14 |
+
}
|
assets/art/storagefurniture_bottom/StorageFurniture14/keypoints_final.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"keypoints": {
|
| 3 |
+
"red": [
|
| 4 |
+
-0.02298008868184968,
|
| 5 |
+
0.10638420053207577,
|
| 6 |
+
0.0
|
| 7 |
+
],
|
| 8 |
+
"yellow": [
|
| 9 |
+
-0.6165679728193965,
|
| 10 |
+
0.021324913048812955,
|
| 11 |
+
-0.059193118229056145
|
| 12 |
+
]
|
| 13 |
+
},
|
| 14 |
+
"scale": [
|
| 15 |
+
0.24102552501531704,
|
| 16 |
+
0.24102552501531704,
|
| 17 |
+
0.24102552501531704,
|
| 18 |
+
1.0
|
| 19 |
+
]
|
| 20 |
+
}
|