Axi404 commited on
Commit
03cafd8
·
verified ·
1 Parent(s): f37195b

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. assets/miscs/curobo/R5a/CMakeLists.txt +14 -0
  2. assets/miscs/curobo/R5a/export.log +13 -0
  3. assets/miscs/curobo/R5a/package.xml +21 -0
  4. assets/miscs/curobo/R5a/r5a_left_arm.yml +152 -0
  5. assets/miscs/curobo/R5a/r5a_right_arm.yml +152 -0
  6. assets/object_usds/custom_usd/ebench_usds/can/1a837cbc14624a558841610ffcbfb445/.collect.mapping.json +23 -0
  7. assets/object_usds/custom_usd/ebench_usds/can/1a837cbc14624a558841610ffcbfb445/1a837cbc14624a558841610ffcbfb445_annotation.json +18 -0
  8. assets/object_usds/custom_usd/ebench_usds/can/2a29aa47ffd74b6395d07cd270db4735/.collect.mapping.json +23 -0
  9. assets/object_usds/custom_usd/ebench_usds/can/2a29aa47ffd74b6395d07cd270db4735/2a29aa47ffd74b6395d07cd270db4735_annotation.json +17 -0
  10. assets/object_usds/custom_usd/ebench_usds/can/64c92f3d7bfb40c78c6cff9f01d666e5/.collect.mapping.json +17 -0
  11. assets/object_usds/custom_usd/ebench_usds/can/64c92f3d7bfb40c78c6cff9f01d666e5/64c92f3d7bfb40c78c6cff9f01d666e5.usd +0 -0
  12. assets/object_usds/custom_usd/ebench_usds/can/64c92f3d7bfb40c78c6cff9f01d666e5/64c92f3d7bfb40c78c6cff9f01d666e5_annotation.json +17 -0
  13. assets/object_usds/custom_usd/ebench_usds/can/755cb0b535ba4e6cad5ad29d20a6cfe1/.collect.mapping.json +23 -0
  14. assets/object_usds/custom_usd/ebench_usds/can/755cb0b535ba4e6cad5ad29d20a6cfe1/755cb0b535ba4e6cad5ad29d20a6cfe1_annotation.json +18 -0
  15. assets/object_usds/custom_usd/ebench_usds/can/c659eb6b84b548ab8b90f5fef0d278fd/.collect.mapping.json +23 -0
  16. assets/object_usds/custom_usd/ebench_usds/can/c659eb6b84b548ab8b90f5fef0d278fd/c659eb6b84b548ab8b90f5fef0d278fd_annotation.json +18 -0
  17. assets/object_usds/custom_usd/ebench_usds/can/dd526577-60ca-4ba5-b1ee-278756f1014c/dd526577-60ca-4ba5-b1ee-278756f1014c_annotation.json +17 -0
  18. assets/object_usds/custom_usd/ebench_usds/fork/ae486289-2b6c-4dff-ba76-44c38ca48c24/.collect.mapping.json +11 -0
  19. assets/object_usds/custom_usd/ebench_usds/fork/ae486289-2b6c-4dff-ba76-44c38ca48c24/ae486289-2b6c-4dff-ba76-44c38ca48c24_annotation.json +18 -0
  20. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork3/.collect.mapping.json +35 -0
  21. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork3/fork3_annotation.json +4 -0
  22. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork4/.collect.mapping.json +11 -0
  23. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork4/fork4.usd +0 -0
  24. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork4/fork4_annotation.json +4 -0
  25. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork5/.collect.mapping.json +23 -0
  26. assets/object_usds/custom_usd/ebench_usds/fork/ready/fork5/fork5_annotation.json +4 -0
  27. assets/object_usds/custom_usd/ebench_usds/fork/train/1c8b9162b30d42b2b89e86c64e869f37/.collect.mapping.json +35 -0
  28. assets/object_usds/custom_usd/ebench_usds/fork/train/1c8b9162b30d42b2b89e86c64e869f37/1c8b9162b30d42b2b89e86c64e869f37.usd +0 -0
  29. assets/object_usds/custom_usd/ebench_usds/fork/train/1c8b9162b30d42b2b89e86c64e869f37/1c8b9162b30d42b2b89e86c64e869f37_annotation.json +17 -0
  30. assets/object_usds/custom_usd/ebench_usds/fork/train/2520e09a1d6b480ead03aa9ec0db677b/.collect.mapping.json +23 -0
  31. assets/object_usds/custom_usd/ebench_usds/fork/train/2520e09a1d6b480ead03aa9ec0db677b/2520e09a1d6b480ead03aa9ec0db677b.usd +0 -0
  32. assets/object_usds/custom_usd/ebench_usds/fork/train/2520e09a1d6b480ead03aa9ec0db677b/2520e09a1d6b480ead03aa9ec0db677b_annotation.json +17 -0
  33. assets/object_usds/custom_usd/ebench_usds/fork/train/fork0/.collect.mapping.json +35 -0
  34. assets/object_usds/custom_usd/ebench_usds/fork/train/fork0/fork0_annotation.json +4 -0
  35. assets/object_usds/custom_usd/ebench_usds/fork/train/fork1/.collect.mapping.json +11 -0
  36. assets/object_usds/custom_usd/ebench_usds/fork/train/fork1/fork1_annotation.json +4 -0
  37. assets/object_usds/custom_usd/ebench_usds/fork/train/fork2/.collect.mapping.json +35 -0
  38. assets/object_usds/custom_usd/ebench_usds/fork/train/fork2/fork2_annotation.json +4 -0
  39. assets/object_usds/custom_usd/ebench_usds/perfume_bottle/d5497e00-97c2-4556-b732-beb6ae566c79/d5497e00-97c2-4556-b732-beb6ae566c79_annotation.json +17 -0
  40. assets/object_usds/custom_usd/ebench_usds/perfume_bottle/e710c0ceb48df47a45de627fbd17e4d6/.collect.mapping.json +35 -0
  41. assets/object_usds/custom_usd/ebench_usds/salt_bottle/0309dcb2f1cff82e56b5928b8258b489/SubUSDs/materials/Num5d4e3b9f0340ad000170b34b.mdl +284 -0
  42. assets/object_usds/custom_usd/ebench_usds/salt_bottle/0309dcb2f1cff82e56b5928b8258b489/SubUSDs/materials/Num6526327829931a0001adab0d.mdl +307 -0
  43. assets/object_usds/custom_usd/ebench_usds/salt_bottle/23f1d3ecc9f811bdcd7b4f9a169f9f9f/SubUSDs/materials/Num5c42abdd0b160a309e6794aa.mdl +284 -0
  44. assets/object_usds/custom_usd/ebench_usds/salt_bottle/23f1d3ecc9f811bdcd7b4f9a169f9f9f/SubUSDs/materials/Num5d56604a620e2c0001aa6833.mdl +307 -0
  45. assets/object_usds/custom_usd/ebench_usds/salt_bottle/6bbab9de-26d1-4136-a232-72d4fdf0d4cb/6bbab9de-26d1-4136-a232-72d4fdf0d4cb_annotation.json +18 -0
  46. assets/object_usds/custom_usd/ebench_usds/salt_bottle/7218c60ede56775d76d74bf9a709cd7e/SubUSDs/materials/Num5d4e3b9f0340ad000170b34b.mdl +284 -0
  47. assets/object_usds/custom_usd/ebench_usds/salt_bottle/7218c60ede56775d76d74bf9a709cd7e/SubUSDs/materials/Num6526327829931a0001adab0d.mdl +307 -0
  48. assets/object_usds/custom_usd/ebench_usds/salt_bottle/ready/5ba5959ecc044c5fa44dded4c75ea25a/.collect.mapping.json +35 -0
  49. assets/object_usds/custom_usd/ebench_usds/salt_bottle/ready/5ba5959ecc044c5fa44dded4c75ea25a/5ba5959ecc044c5fa44dded4c75ea25a.usd +0 -0
  50. assets/object_usds/custom_usd/ebench_usds/salt_bottle/ready/5ba5959ecc044c5fa44dded4c75ea25a/5ba5959ecc044c5fa44dded4c75ea25a_annotation.json +17 -0
assets/miscs/curobo/R5a/CMakeLists.txt ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 2.8.3)
2
+
3
+ project(R5a)
4
+
5
+ find_package(catkin REQUIRED)
6
+
7
+ catkin_package()
8
+
9
+ find_package(roslaunch)
10
+
11
+ foreach(dir config launch meshes urdf)
12
+ install(DIRECTORY ${dir}/
13
+ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${dir})
14
+ endforeach(dir)
assets/miscs/curobo/R5a/export.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2024-11-10 10:47:47,046 INFO Logger.cs: 70 -
2
+ --------------------------------------------------------------------------------
3
+ 2024-11-10 10:47:47,073 INFO Logger.cs: 71 - Logging commencing for SW2URDF exporter
4
+ 2024-11-10 10:47:47,073 INFO Logger.cs: 73 - Commit version 1.6.0-4-g7f85cfe
5
+ 2024-11-10 10:47:47,074 INFO Logger.cs: 74 - Build version 1.6.7995.38578
6
+ 2024-11-10 10:47:47,075 INFO SwAddin.cs: 192 - Attempting to connect to SW
7
+ 2024-11-10 10:47:47,075 INFO SwAddin.cs: 197 - Setting up callbacks
8
+ 2024-11-10 10:47:47,076 INFO SwAddin.cs: 201 - Setting up command manager
9
+ 2024-11-10 10:47:47,076 INFO SwAddin.cs: 204 - Adding command manager
10
+ 2024-11-10 10:47:47,078 INFO SwAddin.cs: 263 - Adding Assembly export to file menu
11
+ 2024-11-10 10:47:47,078 INFO SwAddin.cs: 272 - Adding Part export to file menu
12
+ 2024-11-10 10:47:47,078 INFO SwAddin.cs: 210 - Adding event handlers
13
+ 2024-11-10 10:47:47,080 INFO SwAddin.cs: 217 - Connecting plugin to SolidWorks
assets/miscs/curobo/R5a/package.xml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <package format="2">
2
+ <name>R5a</name>
3
+ <version>1.0.0</version>
4
+ <description>
5
+ <p>URDF Description package for R5a</p>
6
+ <p>This package contains configuration data, 3D models and launch files
7
+ for R5a robot</p>
8
+ </description>
9
+ <author>TODO</author>
10
+ <maintainer email="TODO@email.com" />
11
+ <license>BSD</license>
12
+ <buildtool_depend>catkin</buildtool_depend>
13
+ <depend>roslaunch</depend>
14
+ <depend>robot_state_publisher</depend>
15
+ <depend>rviz</depend>
16
+ <depend>joint_state_publisher_gui</depend>
17
+ <depend>gazebo</depend>
18
+ <export>
19
+ <architecture_independent />
20
+ </export>
21
+ </package>
assets/miscs/curobo/R5a/r5a_left_arm.yml ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ##
3
+ ## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4
+ ##
5
+ ## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
+ ## property and proprietary rights in and to this material, related
7
+ ## documentation and any modifications thereto. Any use, reproduction,
8
+ ## disclosure or distribution of this material and related documentation
9
+ ## without an express license agreement from NVIDIA CORPORATION or
10
+ ## its affiliates is strictly prohibited.
11
+ ##
12
+
13
+ robot_cfg:
14
+ kinematics:
15
+ usd_path: "${ASSETS_DIR}/miscs/curobo/R5a/R5a/R5a.usd"
16
+ usd_robot_root: "/robot"
17
+ isaac_usd_path: ""
18
+ usd_flip_joints: {}
19
+ usd_flip_joint_limits: []
20
+
21
+ urdf_path: "${ASSETS_DIR}/miscs/curobo/R5a/R5a.urdf"
22
+ asset_root_path: "robot"
23
+
24
+ base_link: "base_link"
25
+ ee_link: "link6"
26
+
27
+ extra_links: {"attached_object":{"parent_link_name": "link6" ,
28
+ "link_name": "attached_object", "fixed_transform": [0,0,0,1,0,0,0], "joint_type":"FIXED",
29
+ "joint_name": "attach_joint" }}
30
+
31
+
32
+ collision_link_names:
33
+ [
34
+ "base_link",
35
+ "link1",
36
+ "link2",
37
+ "link3",
38
+ "link4",
39
+ "link5",
40
+ "link6",
41
+ "link7",
42
+ "link8",
43
+ "attached_object",
44
+ ]
45
+ collision_spheres:
46
+ link1:
47
+ - "center": [-0.002, 0.003, 0.037]
48
+ "radius": 0.02
49
+ base_link:
50
+ - "center": [-0.003, -0.0, 0.036]
51
+ "radius": 0.02
52
+ link2:
53
+ - "center": [-0.008, 0.0, -0.001]
54
+ "radius": 0.02929
55
+ - "center": [-0.264, -0.001, 0.01]
56
+ "radius": 0.02864
57
+ - "center": [-0.272, 0.003, -0.009]
58
+ "radius": 0.02602
59
+ - "center": [-0.178, 0.002, -0.002]
60
+ "radius": 0.02733
61
+ - "center": [-0.1, -0.003, -0.005]
62
+ "radius": 0.0208
63
+ link3:
64
+ - "center": [0.025, 0.001, -0.063]
65
+ "radius": 0.02861
66
+ - "center": [0.085, -0.003, -0.062]
67
+ "radius": 0.02274
68
+ - "center": [0.165, -0.008, -0.057]
69
+ "radius": 0.02144
70
+ - "center": [-0.005, -0.019, -0.014]
71
+ "radius": 0.02013
72
+ - "center": [0.091, -0.004, -0.072]
73
+ "radius": 0.01883
74
+ - "center": [0.239, 0.012, -0.073]
75
+ "radius": 0.01883
76
+ link4:
77
+ - "center": [0.016, -0.001, 0.001]
78
+ "radius": 0.02437
79
+ - "center": [0.071, 0.003, -0.052]
80
+ "radius": 0.02302
81
+ link5:
82
+ - "center": [-0.002, 0.006, 0.021]
83
+ "radius": 0.02754
84
+ - "center": [0.003, 0.009, 0.08]
85
+ "radius": 0.02697
86
+ link6:
87
+ - "center": [0.055, 0.001, -0.001]
88
+ "radius": 0.02822
89
+ - "center": [0.035, -0.001, -0.0]
90
+ "radius": 0.02587
91
+ link7:
92
+ - "center": [0.036, -0.015, -0.006]
93
+ "radius": 0.0137
94
+ - "center": [-0.007, -0.003, -0.011]
95
+ "radius": 0.0137
96
+ link8:
97
+ - "center": [0.039, 0.016, -0.005]
98
+ "radius": 0.0137
99
+ - "center": [-0.007, 0.002, -0.009]
100
+ "radius": 0.0137
101
+ collision_sphere_buffer: 0.004
102
+ extra_collision_spheres: {"attached_object": 4}
103
+ self_collision_ignore:
104
+ {
105
+ "base_link": ["link1", "link2", "link3", "link4", "link5", "link6", "link7", "link8", "attached_object"],
106
+ "link1": ["link2", "link3", "link4", "link5", "link6", "link7", "link8", "attached_object"],
107
+ "link2": ["link3", "link4", "link5", "link6", "link7", "link8", "attached_object"],
108
+ "link3": ["link4", "link5", "link6", "link7", "link8", "attached_object"],
109
+ "link4": ["link5", "link6", "link7", "link8", "attached_object"],
110
+ "link5": ["link6", "link7", "link8", "attached_object"],
111
+ "link6": ["link7", "link8", "attached_object"],
112
+ "link7": ["link8", "attached_object"]
113
+ }
114
+ self_collision_buffer:
115
+ {
116
+ "base_link": 0.1,
117
+ "link1": 0.05,
118
+ "link2": 0.05,
119
+ "link3": 0.05,
120
+ "link4": 0.05,
121
+ "link5": 0.05,
122
+ "link6": 0.05,
123
+ "link7": 0.02,
124
+ "link8": 0.02,
125
+ "attached_object": 0.0,
126
+ }
127
+ use_global_cumul: True
128
+ mesh_link_names:
129
+ [
130
+ "base_link",
131
+ "link1",
132
+ "link2",
133
+ "link3",
134
+ "link4",
135
+ "link5",
136
+ "link6",
137
+ "link7",
138
+ "link8"
139
+ ]
140
+ external_asset_path: null # Use this to add path for externally located assets/robot folder.
141
+ lock_joints: {"joint7": 0.044, "joint8": 0.044}
142
+
143
+ cspace:
144
+ joint_names: ["joint1","joint2","joint3","joint4", "joint5", "joint6","joint7","joint8"]
145
+ # retract_config: [0.0, 0.35, -0.35, 0.0, 0.0, 0.0, 0.0, 0.0]
146
+ retract_config: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
147
+ null_space_weight: [1,1,1,1,1,1,1,1]
148
+ cspace_distance_weight: [1,1,1,1,1,1,1,1]
149
+ max_acceleration: 15.0
150
+ max_jerk: 500.0
151
+
152
+
assets/miscs/curobo/R5a/r5a_right_arm.yml ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ##
3
+ ## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4
+ ##
5
+ ## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
+ ## property and proprietary rights in and to this material, related
7
+ ## documentation and any modifications thereto. Any use, reproduction,
8
+ ## disclosure or distribution of this material and related documentation
9
+ ## without an express license agreement from NVIDIA CORPORATION or
10
+ ## its affiliates is strictly prohibited.
11
+ ##
12
+
13
+ robot_cfg:
14
+ kinematics:
15
+ usd_path: "${ASSETS_DIR}/miscs/curobo/R5a/R5a/R5a.usd"
16
+ usd_robot_root: "/robot"
17
+ isaac_usd_path: ""
18
+ usd_flip_joints: {}
19
+ usd_flip_joint_limits: []
20
+
21
+ urdf_path: "${ASSETS_DIR}/miscs/curobo/R5a/R5a.urdf"
22
+ asset_root_path: "robot"
23
+
24
+ base_link: "base_link"
25
+ ee_link: "link6"
26
+
27
+ extra_links: {"attached_object":{"parent_link_name": "link6" ,
28
+ "link_name": "attached_object", "fixed_transform": [0,0,0,1,0,0,0], "joint_type":"FIXED",
29
+ "joint_name": "attach_joint" }}
30
+
31
+
32
+ collision_link_names:
33
+ [
34
+ "base_link",
35
+ "link1",
36
+ "link2",
37
+ "link3",
38
+ "link4",
39
+ "link5",
40
+ "link6",
41
+ "link7",
42
+ "link8",
43
+ "attached_object",
44
+ ]
45
+ collision_spheres:
46
+ link1:
47
+ - "center": [-0.002, 0.003, 0.037]
48
+ "radius": 0.02
49
+ base_link:
50
+ - "center": [-0.003, -0.0, 0.036]
51
+ "radius": 0.02
52
+ link2:
53
+ - "center": [-0.008, 0.0, -0.001]
54
+ "radius": 0.02929
55
+ - "center": [-0.264, -0.001, 0.01]
56
+ "radius": 0.02864
57
+ - "center": [-0.272, 0.003, -0.009]
58
+ "radius": 0.02602
59
+ - "center": [-0.178, 0.002, -0.002]
60
+ "radius": 0.02733
61
+ - "center": [-0.1, -0.003, -0.005]
62
+ "radius": 0.0208
63
+ link3:
64
+ - "center": [0.025, 0.001, -0.063]
65
+ "radius": 0.02861
66
+ - "center": [0.085, -0.003, -0.062]
67
+ "radius": 0.02274
68
+ - "center": [0.165, -0.008, -0.057]
69
+ "radius": 0.02144
70
+ - "center": [-0.005, -0.019, -0.014]
71
+ "radius": 0.02013
72
+ - "center": [0.091, -0.004, -0.072]
73
+ "radius": 0.01883
74
+ - "center": [0.239, 0.012, -0.073]
75
+ "radius": 0.01883
76
+ link4:
77
+ - "center": [0.016, -0.001, 0.001]
78
+ "radius": 0.02437
79
+ - "center": [0.071, 0.003, -0.052]
80
+ "radius": 0.02302
81
+ link5:
82
+ - "center": [-0.002, 0.006, 0.021]
83
+ "radius": 0.02754
84
+ - "center": [0.003, 0.009, 0.08]
85
+ "radius": 0.02697
86
+ link6:
87
+ - "center": [0.055, 0.001, -0.001]
88
+ "radius": 0.02822
89
+ - "center": [0.035, -0.001, -0.0]
90
+ "radius": 0.02587
91
+ link7:
92
+ - "center": [0.036, -0.015, -0.006]
93
+ "radius": 0.0137
94
+ - "center": [-0.007, -0.003, -0.011]
95
+ "radius": 0.0137
96
+ link8:
97
+ - "center": [0.039, 0.016, -0.005]
98
+ "radius": 0.0137
99
+ - "center": [-0.007, 0.002, -0.009]
100
+ "radius": 0.0137
101
+ collision_sphere_buffer: 0.004
102
+ extra_collision_spheres: {"attached_object": 4}
103
+ self_collision_ignore:
104
+ {
105
+ "base_link": ["link1", "link2", "link3", "link4", "link5", "link6", "link7", "link8", "attached_object"],
106
+ "link1": ["link2", "link3", "link4", "link5", "link6", "link7", "link8", "attached_object"],
107
+ "link2": ["link3", "link4", "link5", "link6", "link7", "link8", "attached_object"],
108
+ "link3": ["link4", "link5", "link6", "link7", "link8", "attached_object"],
109
+ "link4": ["link5", "link6", "link7", "link8", "attached_object"],
110
+ "link5": ["link6", "link7", "link8", "attached_object"],
111
+ "link6": ["link7", "link8", "attached_object"],
112
+ "link7": ["link8", "attached_object"]
113
+ }
114
+ self_collision_buffer:
115
+ {
116
+ "base_link": 0.1,
117
+ "link1": 0.05,
118
+ "link2": 0.05,
119
+ "link3": 0.05,
120
+ "link4": 0.05,
121
+ "link5": 0.05,
122
+ "link6": 0.05,
123
+ "link7": 0.02,
124
+ "link8": 0.02,
125
+ "attached_object": 0.0,
126
+ }
127
+ use_global_cumul: True
128
+ mesh_link_names:
129
+ [
130
+ "base_link",
131
+ "link1",
132
+ "link2",
133
+ "link3",
134
+ "link4",
135
+ "link5",
136
+ "link6",
137
+ "link7",
138
+ "link8"
139
+ ]
140
+ external_asset_path: null # Use this to add path for externally located assets/robot folder.
141
+ lock_joints: {"joint7": 0.044, "joint8": 0.044}
142
+
143
+ cspace:
144
+ joint_names: ["joint1","joint2","joint3","joint4", "joint5", "joint6","joint7","joint8"]
145
+ # retract_config: [0.0, 0.35, -0.35, 0.0, 0.0, 0.0, 0.0, 0.0]
146
+ retract_config: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
147
+ null_space_weight: [1,1,1,1,1,1,1,1]
148
+ cspace_distance_weight: [1,1,1,1,1,1,1,1]
149
+ max_acceleration: 15.0
150
+ max_jerk: 500.0
151
+
152
+
assets/object_usds/custom_usd/ebench_usds/can/1a837cbc14624a558841610ffcbfb445/.collect.mapping.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/1a837cbc14624a558841610ffcbfb445/usd/1a837cbc14624a558841610ffcbfb445.usd",
6
+ "source_hash": "a909e744718e97a9efe4469a58a35712391a588a",
7
+ "target_url": "./1a837cbc14624a558841610ffcbfb445.usd",
8
+ "target_hash": "b777d5d207a191386f22da892f357ef55cc78e06"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/1a837cbc14624a558841610ffcbfb445/usd/textures/1a837cbc14624a558841610ffcbfb445_texture0.png",
12
+ "source_hash": "66d3685f263c7cd777bd1faf6b54276d40ef0446",
13
+ "target_url": "./SubUSDs/textures/1a837cbc14624a558841610ffcbfb445_texture0.png",
14
+ "target_hash": "765280667ba1fcf81bc4a33b46e7d9be533da530"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/1a837cbc14624a558841610ffcbfb445/usd/textures/1a837cbc14624a558841610ffcbfb445_texture1.png",
18
+ "source_hash": "e303f12fc7c26a66646f6ad9a625da722fda5be7",
19
+ "target_url": "./SubUSDs/textures/1a837cbc14624a558841610ffcbfb445_texture1.png",
20
+ "target_hash": "642ee76340138a094dfb140410bb1de51bb19db2"
21
+ }
22
+ ]
23
+ }
assets/object_usds/custom_usd/ebench_usds/can/1a837cbc14624a558841610ffcbfb445/1a837cbc14624a558841610ffcbfb445_annotation.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "1a837cbc14624a558841610ffcbfb445",
3
+ "category": "can",
4
+ "description": "Red cylindrical beverage can with glossy finish, pull-tab lid, and simple graphics.",
5
+ "material": "metal, plastic",
6
+ "dimensions": "0.065 * 0.065 * 0.12",
7
+ "mass": 0.038,
8
+ "placement": [
9
+ "OnFloor",
10
+ "OnObject",
11
+ "OnTable"
12
+ ],
13
+ "asset_type": "rigid",
14
+ "glb_size": 1.71,
15
+ "usd_size": 2.29,
16
+ "usd_material_softlink": false,
17
+ "source": "holodeck"
18
+ }
assets/object_usds/custom_usd/ebench_usds/can/2a29aa47ffd74b6395d07cd270db4735/.collect.mapping.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/2a29aa47ffd74b6395d07cd270db4735/usd/2a29aa47ffd74b6395d07cd270db4735.usd",
6
+ "source_hash": "7664914e5510413400ccbd5d041457ec2aa17b2a",
7
+ "target_url": "./2a29aa47ffd74b6395d07cd270db4735.usd",
8
+ "target_hash": "184d31848489edfe6930b2d5f9945739d93a2e3b"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/2a29aa47ffd74b6395d07cd270db4735/usd/textures/2a29aa47ffd74b6395d07cd270db4735_texture0.png",
12
+ "source_hash": "3a4e75c2c90d30d8f42177e14a1e77118e92d2c0",
13
+ "target_url": "./SubUSDs/textures/2a29aa47ffd74b6395d07cd270db4735_texture0.png",
14
+ "target_hash": "ce1abf64147ccbb8193593ecfff8b678f1eb272f"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/2a29aa47ffd74b6395d07cd270db4735/usd/textures/2a29aa47ffd74b6395d07cd270db4735_texture1.png",
18
+ "source_hash": "17d221651a2138975ddb3fda6c2cfac3feca3174",
19
+ "target_url": "./SubUSDs/textures/2a29aa47ffd74b6395d07cd270db4735_texture1.png",
20
+ "target_hash": "dc53af3709703e3e37d26b0a3c6568e57640b539"
21
+ }
22
+ ]
23
+ }
assets/object_usds/custom_usd/ebench_usds/can/2a29aa47ffd74b6395d07cd270db4735/2a29aa47ffd74b6395d07cd270db4735_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "2a29aa47ffd74b6395d07cd270db4735",
3
+ "category": "can",
4
+ "description": "Tall, cylindrical aluminum can with metallic finish, rounded edges, and pull-tab top.",
5
+ "material": "aluminum, printed graphic, plastic",
6
+ "dimensions": "0.065 * 0.065 * 0.12",
7
+ "mass": 0.35,
8
+ "placement": [
9
+ "OnFloor",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 3.02,
14
+ "usd_size": 3.29,
15
+ "usd_material_softlink": false,
16
+ "source": "holodeck"
17
+ }
assets/object_usds/custom_usd/ebench_usds/can/64c92f3d7bfb40c78c6cff9f01d666e5/.collect.mapping.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/64c92f3d7bfb40c78c6cff9f01d666e5/usd/64c92f3d7bfb40c78c6cff9f01d666e5.usd",
6
+ "source_hash": "4697e9e37b95f4ced50938fc9033f7218131a1e5",
7
+ "target_url": "./64c92f3d7bfb40c78c6cff9f01d666e5.usd",
8
+ "target_hash": "e85c966ee235bbf6a47b12537dc8e374cb2330cd"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/64c92f3d7bfb40c78c6cff9f01d666e5/usd/textures/64c92f3d7bfb40c78c6cff9f01d666e5_texture0.png",
12
+ "source_hash": "e049dcde6de617e7d8d873141b46167462c4fe70",
13
+ "target_url": "./SubUSDs/textures/64c92f3d7bfb40c78c6cff9f01d666e5_texture0.png",
14
+ "target_hash": "a72bd0fa15e6d5a8e45f08295fbb62de1d74f068"
15
+ }
16
+ ]
17
+ }
assets/object_usds/custom_usd/ebench_usds/can/64c92f3d7bfb40c78c6cff9f01d666e5/64c92f3d7bfb40c78c6cff9f01d666e5.usd ADDED
Binary file (21.5 kB). View file
 
assets/object_usds/custom_usd/ebench_usds/can/64c92f3d7bfb40c78c6cff9f01d666e5/64c92f3d7bfb40c78c6cff9f01d666e5_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "64c92f3d7bfb40c78c6cff9f01d666e5",
3
+ "category": "can",
4
+ "description": "Tall, cylindrical aluminum can with a vibrant pink design and intricate graphics.",
5
+ "material": "aluminum, ink, plastic",
6
+ "dimensions": "0.06 * 0.06 * 0.15",
7
+ "mass": 0.35,
8
+ "placement": [
9
+ "OnFloor",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 0.78,
14
+ "usd_size": 0.79,
15
+ "usd_material_softlink": false,
16
+ "source": "holodeck"
17
+ }
assets/object_usds/custom_usd/ebench_usds/can/755cb0b535ba4e6cad5ad29d20a6cfe1/.collect.mapping.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/755cb0b535ba4e6cad5ad29d20a6cfe1/usd/755cb0b535ba4e6cad5ad29d20a6cfe1.usd",
6
+ "source_hash": "b3d662f9bf86ca868deee2245209f0318d08e2f4",
7
+ "target_url": "./755cb0b535ba4e6cad5ad29d20a6cfe1.usd",
8
+ "target_hash": "da5e068a8c57b624be73f1fe009fbc41577531b7"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/755cb0b535ba4e6cad5ad29d20a6cfe1/usd/textures/755cb0b535ba4e6cad5ad29d20a6cfe1_texture0.png",
12
+ "source_hash": "ad842332516278f4f3f3445a3f40ea95d09a6f80",
13
+ "target_url": "./SubUSDs/textures/755cb0b535ba4e6cad5ad29d20a6cfe1_texture0.png",
14
+ "target_hash": "8de11d6d3eebb912c816e8a851e8af7a5ce082e1"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/755cb0b535ba4e6cad5ad29d20a6cfe1/usd/textures/755cb0b535ba4e6cad5ad29d20a6cfe1_texture1.png",
18
+ "source_hash": "b938921974ab4d0f59e2f761a07b6221e7897ce1",
19
+ "target_url": "./SubUSDs/textures/755cb0b535ba4e6cad5ad29d20a6cfe1_texture1.png",
20
+ "target_hash": "9902e3239bb278b28831baf6c97253527e68917b"
21
+ }
22
+ ]
23
+ }
assets/object_usds/custom_usd/ebench_usds/can/755cb0b535ba4e6cad5ad29d20a6cfe1/755cb0b535ba4e6cad5ad29d20a6cfe1_annotation.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "755cb0b535ba4e6cad5ad29d20a6cfe1",
3
+ "category": "can",
4
+ "description": "Cylindrical bottle, sleek design, white with purple and yellow accents, label with logos.",
5
+ "material": "plastic, paper, ink",
6
+ "dimensions": "0.15 * 0.08 * 0.22",
7
+ "mass": 0.18,
8
+ "placement": [
9
+ "OnFloor",
10
+ "OnObject",
11
+ "OnTable"
12
+ ],
13
+ "asset_type": "rigid",
14
+ "glb_size": 0.87,
15
+ "usd_size": 0.9,
16
+ "usd_material_softlink": false,
17
+ "source": "holodeck"
18
+ }
assets/object_usds/custom_usd/ebench_usds/can/c659eb6b84b548ab8b90f5fef0d278fd/.collect.mapping.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/c659eb6b84b548ab8b90f5fef0d278fd/usd/c659eb6b84b548ab8b90f5fef0d278fd.usd",
6
+ "source_hash": "fa8ea3c5a33bda2c5cfeb871c10653b7aa7e8682",
7
+ "target_url": "./c659eb6b84b548ab8b90f5fef0d278fd.usd",
8
+ "target_hash": "adb6ec48a84bccc04cacf75f8fc96d34ccac691a"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/c659eb6b84b548ab8b90f5fef0d278fd/usd/textures/c659eb6b84b548ab8b90f5fef0d278fd_texture0.png",
12
+ "source_hash": "5e0159c8fddd5af8a455d8001223ad68072ff531",
13
+ "target_url": "./SubUSDs/textures/c659eb6b84b548ab8b90f5fef0d278fd_texture0.png",
14
+ "target_hash": "35bb6723442455b1f6be7ccacd88cb41279e28f0"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/can/c659eb6b84b548ab8b90f5fef0d278fd/usd/textures/c659eb6b84b548ab8b90f5fef0d278fd_texture1.png",
18
+ "source_hash": "8bed4c901817b5fd67cdab45ef79b7e8daba82b1",
19
+ "target_url": "./SubUSDs/textures/c659eb6b84b548ab8b90f5fef0d278fd_texture1.png",
20
+ "target_hash": "8446240215df600b806334312b5cde54c89c49db"
21
+ }
22
+ ]
23
+ }
assets/object_usds/custom_usd/ebench_usds/can/c659eb6b84b548ab8b90f5fef0d278fd/c659eb6b84b548ab8b90f5fef0d278fd_annotation.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "c659eb6b84b548ab8b90f5fef0d278fd",
3
+ "category": "can",
4
+ "description": "Round metal can, cylindrical shape, colorful yellow and white labels, pull-tab lid.",
5
+ "material": "metal, paper",
6
+ "dimensions": "0.11 * 0.11 * 0.06",
7
+ "mass": 0.15,
8
+ "placement": [
9
+ "OnFloor",
10
+ "OnObject",
11
+ "OnTable"
12
+ ],
13
+ "asset_type": "rigid",
14
+ "glb_size": 3.33,
15
+ "usd_size": 4.81,
16
+ "usd_material_softlink": false,
17
+ "source": "holodeck"
18
+ }
assets/object_usds/custom_usd/ebench_usds/can/dd526577-60ca-4ba5-b1ee-278756f1014c/dd526577-60ca-4ba5-b1ee-278756f1014c_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "dd526577-60ca-4ba5-b1ee-278756f1014c",
3
+ "category": "can",
4
+ "description": "Cylindrical can with vivid yellow label, bright graphics, and metal lid. Fresh appearance.",
5
+ "material": "metal, paper, plastic",
6
+ "dimensions": "0.1 * 0.1 * 0.15",
7
+ "mass": 0.2,
8
+ "placement": [
9
+ "OnTable"
10
+ ],
11
+ "asset_type": "rigid",
12
+ "glb_size": 10.77,
13
+ "usd_size": 10.84,
14
+ "usd_material_softlink": false,
15
+ "source": "blenderkit",
16
+ "internal": true
17
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ae486289-2b6c-4dff-ba76-44c38ca48c24/.collect.mapping.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/ae486289-2b6c-4dff-ba76-44c38ca48c24/usd/ae486289-2b6c-4dff-ba76-44c38ca48c24.usd",
6
+ "source_hash": "cee3e0526c82e458af8750822ab6dfc4ed19f210",
7
+ "target_url": "./ae486289-2b6c-4dff-ba76-44c38ca48c24.usd",
8
+ "target_hash": "c0ca5ed11e764dcc0ea9b8fb08501c254cf97b7c"
9
+ }
10
+ ]
11
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ae486289-2b6c-4dff-ba76-44c38ca48c24/ae486289-2b6c-4dff-ba76-44c38ca48c24_annotation.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "ae486289-2b6c-4dff-ba76-44c38ca48c24",
3
+ "category": "fork",
4
+ "description": "Stainless steel fork with polished finish, four prongs, and a slender tapering handle.",
5
+ "material": "stainless steel",
6
+ "dimensions": "0.2 * 0.03 * 0.01",
7
+ "mass": 0.02,
8
+ "placement": [
9
+ "OnObject",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 0.33,
14
+ "usd_size": 0.5,
15
+ "usd_material_softlink": false,
16
+ "source": "blenderkit",
17
+ "internal": true
18
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork3/.collect.mapping.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork3/usd/fork3.usd",
6
+ "source_hash": "2881375f1e7799a7036efd8728946083c70a4102",
7
+ "target_url": "./fork3.usd",
8
+ "target_hash": "5de6aabfc8eff7f85d036774a7f28d29e23518b9"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork3/usd/textures/fork3_texture0.png",
12
+ "source_hash": "64f8c321b2963859f6410bc109ca7db39a612e9e",
13
+ "target_url": "./SubUSDs/textures/fork3_texture0.png",
14
+ "target_hash": "9fdeab56b0933e2e30b04da5178c24a933aca19f"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork3/usd/textures/fork3_texture1.png",
18
+ "source_hash": "3879a5d14cf91ee373534dceeddbc33a9aec49c3",
19
+ "target_url": "./SubUSDs/textures/fork3_texture1.png",
20
+ "target_hash": "326064fed48faf10ac7bfaadc2face766b9068c7"
21
+ },
22
+ {
23
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork3/usd/textures/fork3_texture2.png",
24
+ "source_hash": "763f4dfb3203791ad4dd0536d6ac7e054d243e72",
25
+ "target_url": "./SubUSDs/textures/fork3_texture2.png",
26
+ "target_hash": "cfed298819d877865b6da30c84e32fcf8ed376ef"
27
+ },
28
+ {
29
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork3/usd/textures/fork3_texture3.png",
30
+ "source_hash": "9113ef0385ee8ad048ea5dd8fb44da22c064ac43",
31
+ "target_url": "./SubUSDs/textures/fork3_texture3.png",
32
+ "target_hash": "e19469f5462d1db5d8c5aad7353c44cb821c1cd1"
33
+ }
34
+ ]
35
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork3/fork3_annotation.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "dimensions": "0.03 * 0.23 * 0.02",
3
+ "category": "fork"
4
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork4/.collect.mapping.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork4/usd/fork4.usd",
6
+ "source_hash": "4b2cf74dc1c282c0f4a06a000c5b957086c33185",
7
+ "target_url": "./fork4.usd",
8
+ "target_hash": "6a2ca35652fc407eadbb7bee72b2451737a77dd6"
9
+ }
10
+ ]
11
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork4/fork4.usd ADDED
Binary file (90.8 kB). View file
 
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork4/fork4_annotation.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "dimensions": "0.23 * 0.02 * 0.03",
3
+ "category": "fork"
4
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork5/.collect.mapping.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork5/usd/fork5.usd",
6
+ "source_hash": "f8a203ccd126ff55f78cbdb5f94bcf22230424c0",
7
+ "target_url": "./fork5.usd",
8
+ "target_hash": "e15f43f226c1ca8fc45e6862a2333e874cc9c2f6"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork5/usd/textures/fork5_texture0.png",
12
+ "source_hash": "762bbeafb3c4ca8fd027475d0ca9c5ffe3925bee",
13
+ "target_url": "./SubUSDs/textures/fork5_texture0.png",
14
+ "target_hash": "1a6142cfd4585e95bf245b1715656ff2319c05f2"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork5/usd/textures/fork5_texture1.png",
18
+ "source_hash": "46070ddb68b2d3332ff8d9448223f79c9a4da210",
19
+ "target_url": "./SubUSDs/textures/fork5_texture1.png",
20
+ "target_hash": "84d4ac61366c0dfcb0cf11df2a4d631430d122f8"
21
+ }
22
+ ]
23
+ }
assets/object_usds/custom_usd/ebench_usds/fork/ready/fork5/fork5_annotation.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "dimensions": "0.02 * 0.21 * 0.01",
3
+ "category": "fork"
4
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/1c8b9162b30d42b2b89e86c64e869f37/.collect.mapping.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/1c8b9162b30d42b2b89e86c64e869f37/usd/1c8b9162b30d42b2b89e86c64e869f37.usd",
6
+ "source_hash": "44f9714e9daadd5cfd675d085476d737bc8ddd2a",
7
+ "target_url": "./1c8b9162b30d42b2b89e86c64e869f37.usd",
8
+ "target_hash": "23fabe5aab3352ee935a60ec87c7b879b34ab9e5"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/1c8b9162b30d42b2b89e86c64e869f37/usd/textures/1c8b9162b30d42b2b89e86c64e869f37_texture0.png",
12
+ "source_hash": "a927c9e69d8de7e4f9e49aa626fb3a68dcddf616",
13
+ "target_url": "./SubUSDs/textures/1c8b9162b30d42b2b89e86c64e869f37_texture0.png",
14
+ "target_hash": "55fde28f1aead40d5eefd82c90783c9121aae508"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/1c8b9162b30d42b2b89e86c64e869f37/usd/textures/1c8b9162b30d42b2b89e86c64e869f37_texture1.png",
18
+ "source_hash": "48348428b5a578d0adb7e2d4c5aefb2230d4d4f8",
19
+ "target_url": "./SubUSDs/textures/1c8b9162b30d42b2b89e86c64e869f37_texture1.png",
20
+ "target_hash": "bdca70b0586066a332de21a9f6029bb5267cd617"
21
+ },
22
+ {
23
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/1c8b9162b30d42b2b89e86c64e869f37/usd/textures/1c8b9162b30d42b2b89e86c64e869f37_texture2.png",
24
+ "source_hash": "9bd12d998cc1b14f42d54ccd0fb12c7355af079d",
25
+ "target_url": "./SubUSDs/textures/1c8b9162b30d42b2b89e86c64e869f37_texture2.png",
26
+ "target_hash": "fc84615b80a789487d11371aa4c535c7db293d69"
27
+ },
28
+ {
29
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/1c8b9162b30d42b2b89e86c64e869f37/usd/textures/1c8b9162b30d42b2b89e86c64e869f37_texture3.png",
30
+ "source_hash": "52a250607cf7f1ec1cea402bae7fb0dec4d5ab6a",
31
+ "target_url": "./SubUSDs/textures/1c8b9162b30d42b2b89e86c64e869f37_texture3.png",
32
+ "target_hash": "619948c31b5e81ba4d5fa7028ca93108da9ef9a0"
33
+ }
34
+ ]
35
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/1c8b9162b30d42b2b89e86c64e869f37/1c8b9162b30d42b2b89e86c64e869f37.usd ADDED
Binary file (15.4 kB). View file
 
assets/object_usds/custom_usd/ebench_usds/fork/train/1c8b9162b30d42b2b89e86c64e869f37/1c8b9162b30d42b2b89e86c64e869f37_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "1c8b9162b30d42b2b89e86c64e869f37",
3
+ "category": "fork",
4
+ "description": "Metallic fork with a shiny finish, long slender handle, and four tines.",
5
+ "material": "metal, stainless steel",
6
+ "dimensions": "0.25 * 0.02 * 0.02",
7
+ "mass": 0.02,
8
+ "placement": [
9
+ "OnObject",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 2.03,
14
+ "usd_size": 2.6,
15
+ "usd_material_softlink": false,
16
+ "source": "holodeck"
17
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/2520e09a1d6b480ead03aa9ec0db677b/.collect.mapping.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/2520e09a1d6b480ead03aa9ec0db677b/usd/2520e09a1d6b480ead03aa9ec0db677b.usd",
6
+ "source_hash": "7944c0a1eb484e64125763e630deaabc51b34278",
7
+ "target_url": "./2520e09a1d6b480ead03aa9ec0db677b.usd",
8
+ "target_hash": "1656e659f840d116b5d8b08a1ab6e77e78c68036"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/2520e09a1d6b480ead03aa9ec0db677b/usd/textures/2520e09a1d6b480ead03aa9ec0db677b_texture0.png",
12
+ "source_hash": "7071f1332469aa5feca3e88086707329ea5e2b26",
13
+ "target_url": "./SubUSDs/textures/2520e09a1d6b480ead03aa9ec0db677b_texture0.png",
14
+ "target_hash": "a3584103e8ad037ceacd1565dde4d119cdcbcf62"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/2520e09a1d6b480ead03aa9ec0db677b/usd/textures/2520e09a1d6b480ead03aa9ec0db677b_texture1.png",
18
+ "source_hash": "0d30f067f7d80ce8972aa08fb3129f1d6e708bd6",
19
+ "target_url": "./SubUSDs/textures/2520e09a1d6b480ead03aa9ec0db677b_texture1.png",
20
+ "target_hash": "08b70a0f69d97461113b04c5d728cc219728686c"
21
+ }
22
+ ]
23
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/2520e09a1d6b480ead03aa9ec0db677b/2520e09a1d6b480ead03aa9ec0db677b.usd ADDED
Binary file (28.8 kB). View file
 
assets/object_usds/custom_usd/ebench_usds/fork/train/2520e09a1d6b480ead03aa9ec0db677b/2520e09a1d6b480ead03aa9ec0db677b_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "2520e09a1d6b480ead03aa9ec0db677b",
3
+ "category": "fork",
4
+ "description": "Set of shiny stainless steel forks with four prongs and decorative handles.",
5
+ "material": "stainless steel",
6
+ "dimensions": "0.22 * 0.03 * 0.01",
7
+ "mass": 0.01,
8
+ "placement": [
9
+ "OnObject",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 0.02,
14
+ "usd_size": 0.03,
15
+ "usd_material_softlink": false,
16
+ "source": "holodeck"
17
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/fork0/.collect.mapping.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork0/usd/fork0.usd",
6
+ "source_hash": "4151965106a9182c629278148d37e82f422cdaf9",
7
+ "target_url": "./fork0.usd",
8
+ "target_hash": "07e9187936f48c6ddf738d9a9fa631dd682aecee"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork0/usd/textures/fork0_texture0.png",
12
+ "source_hash": "de41050afdadee9c311e49d1d0c46e160f5e7c63",
13
+ "target_url": "./SubUSDs/textures/fork0_texture0.png",
14
+ "target_hash": "0fb513cc2f5c7d0b3f4084f5c7c48a3d926188d9"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork0/usd/textures/fork0_texture1.png",
18
+ "source_hash": "fdb3726bf0aefb1c30a38cf87c6c0ba22f40c211",
19
+ "target_url": "./SubUSDs/textures/fork0_texture1.png",
20
+ "target_hash": "8214690108611e8207bd2b457e9e6d835ccd43c4"
21
+ },
22
+ {
23
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork0/usd/textures/fork0_texture2.png",
24
+ "source_hash": "eef968adec7a4bea9c4ada1e61b6d67067ad9b7c",
25
+ "target_url": "./SubUSDs/textures/fork0_texture2.png",
26
+ "target_hash": "926b55e9e728beef97e1fca8f4e26a1d1c5ffccb"
27
+ },
28
+ {
29
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork0/usd/textures/fork0_texture3.png",
30
+ "source_hash": "a5c9f1ab1cdb3d1ace59a1684c1f05d916e86dd9",
31
+ "target_url": "./SubUSDs/textures/fork0_texture3.png",
32
+ "target_hash": "9aafbda77a27b55fe059b6f858a4d923d02f8b3b"
33
+ }
34
+ ]
35
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/fork0/fork0_annotation.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "dimensions": "0.03 * 0.20 * 0.01",
3
+ "category": "fork"
4
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/fork1/.collect.mapping.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork1/usd/fork1.usd",
6
+ "source_hash": "25af9dce847e96b1217575f99aabecdc990a898d",
7
+ "target_url": "./fork1.usd",
8
+ "target_hash": "ed2f5df807d46b7b97d7c7fc2c05803bc9ee31e0"
9
+ }
10
+ ]
11
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/fork1/fork1_annotation.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "dimensions": "0.22 * 0.05 * 0.03",
3
+ "category": "fork"
4
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/fork2/.collect.mapping.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork2/usd/fork2.usd",
6
+ "source_hash": "71f412ebbda517fa47a21e3c8a9b1fea2bf3eb9d",
7
+ "target_url": "./fork2.usd",
8
+ "target_hash": "37d31fd6208e4346a646e0acedadb08303e19b18"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork2/usd/textures/fork2_texture0.png",
12
+ "source_hash": "c4ae7c8f56a7d6e8d05fc272d92ef9ba3ad63f00",
13
+ "target_url": "./SubUSDs/textures/fork2_texture0.png",
14
+ "target_hash": "5d21b37235812a728d00a7b50cbef3040d5e9d03"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork2/usd/textures/fork2_texture1.png",
18
+ "source_hash": "caf7541f8be2a3a9c9a7f5237456087f18960c0f",
19
+ "target_url": "./SubUSDs/textures/fork2_texture1.png",
20
+ "target_hash": "e79d9b7c778f6d666ebd6ae1dbf630195acf8268"
21
+ },
22
+ {
23
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork2/usd/textures/fork2_texture2.png",
24
+ "source_hash": "4de92bac1232db22b70ec084d1a0b8c4d43c5b69",
25
+ "target_url": "./SubUSDs/textures/fork2_texture2.png",
26
+ "target_hash": "afb34dabd2ee7aa612c4fe4cdf550ea54e43368b"
27
+ },
28
+ {
29
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/fork/fork2/usd/textures/fork2_texture3.png",
30
+ "source_hash": "b5138467020adbfc8c5f076d95e454225cff61e8",
31
+ "target_url": "./SubUSDs/textures/fork2_texture3.png",
32
+ "target_hash": "de94d4cda6f4f0b076e0d59da75197121441490b"
33
+ }
34
+ ]
35
+ }
assets/object_usds/custom_usd/ebench_usds/fork/train/fork2/fork2_annotation.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "dimensions": "0.02 * 0.23 * 0.02",
3
+ "category": "fork"
4
+ }
assets/object_usds/custom_usd/ebench_usds/perfume_bottle/d5497e00-97c2-4556-b732-beb6ae566c79/d5497e00-97c2-4556-b732-beb6ae566c79_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "d5497e00-97c2-4556-b732-beb6ae566c79",
3
+ "category": "body-care_products",
4
+ "description": "Elegant bottle with a smooth white body and a glossy golden orb cap, cylindrical shape.",
5
+ "material": "ceramic, gold",
6
+ "dimensions": "0.1 * 0.1 * 0.2",
7
+ "mass": 0.2,
8
+ "placement": [
9
+ "OnTable"
10
+ ],
11
+ "asset_type": "rigid",
12
+ "glb_size": 0.92,
13
+ "usd_size": 1.36,
14
+ "usd_material_softlink": false,
15
+ "source": "blenderkit",
16
+ "internal": true
17
+ }
assets/object_usds/custom_usd/ebench_usds/perfume_bottle/e710c0ceb48df47a45de627fbd17e4d6/.collect.mapping.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/perfume_bottle/GRScenes/GRScenes_assets/bottle/e710c0ceb48df47a45de627fbd17e4d6/usd/e710c0ceb48df47a45de627fbd17e4d6.usd",
6
+ "source_hash": "e052f2a640b30564b32486ee22172d48c31baa2b",
7
+ "target_url": "./e710c0ceb48df47a45de627fbd17e4d6.usd",
8
+ "target_hash": "30acd66a541b1fc764a7d0668ad794880232cfcb"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/perfume_bottle/GRScenes/Material/mdl/textures/black.png",
12
+ "source_hash": "a421350dd337dd607f6c1bbb918125c8657796bd",
13
+ "target_url": "./SubUSDs/textures/black.png",
14
+ "target_hash": "3ca22660931f81f30947f2bdcc76cb6fcf583175"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/perfume_bottle/GRScenes/Material/mdl/textures/normal.png",
18
+ "source_hash": "bd6b893195ebc338cec627e82ec76315df0335f7",
19
+ "target_url": "./SubUSDs/textures/normal.png",
20
+ "target_hash": "a3e6a8c0f9826ac3f7bd268fc235e551096a605a"
21
+ },
22
+ {
23
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/perfume_bottle/GRScenes/Material/mdl/textures/white.png",
24
+ "source_hash": "7b8d1639cb8ba746dcbab446dae727d00e6d0ff4",
25
+ "target_url": "./SubUSDs/textures/white.png",
26
+ "target_hash": "1f8c18b3542e1b53da9bc782a12c73e0d97e2aac"
27
+ },
28
+ {
29
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/perfume_bottle/GRScenes/Material/mdl/Num5cede1060340ad24b4d886a0.mdl",
30
+ "source_hash": "d2c65a5d50c645b6c2db069582f4e2de6cb0b60e",
31
+ "target_url": "./SubUSDs/materials/Num5cede1060340ad24b4d886a0.mdl",
32
+ "target_hash": "d3e27d1e2f1e59b99e1d8af2beee9534c4798a0c"
33
+ }
34
+ ]
35
+ }
assets/object_usds/custom_usd/ebench_usds/salt_bottle/0309dcb2f1cff82e56b5928b8258b489/SubUSDs/materials/Num5d4e3b9f0340ad000170b34b.mdl ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Num5d4e3b9f0340ad000170b34b(
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/object_usds/custom_usd/ebench_usds/salt_bottle/0309dcb2f1cff82e56b5928b8258b489/SubUSDs/materials/Num6526327829931a0001adab0d.mdl ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Num6526327829931a0001adab0d(
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/object_usds/custom_usd/ebench_usds/salt_bottle/23f1d3ecc9f811bdcd7b4f9a169f9f9f/SubUSDs/materials/Num5c42abdd0b160a309e6794aa.mdl ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Num5c42abdd0b160a309e6794aa(
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/object_usds/custom_usd/ebench_usds/salt_bottle/23f1d3ecc9f811bdcd7b4f9a169f9f9f/SubUSDs/materials/Num5d56604a620e2c0001aa6833.mdl ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Num5d56604a620e2c0001aa6833(
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/object_usds/custom_usd/ebench_usds/salt_bottle/6bbab9de-26d1-4136-a232-72d4fdf0d4cb/6bbab9de-26d1-4136-a232-72d4fdf0d4cb_annotation.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "6bbab9de-26d1-4136-a232-72d4fdf0d4cb",
3
+ "category": "others",
4
+ "description": "Modern sugar bowl with a cylindrical white body, wooden lid, and circular metallic base.",
5
+ "material": "ceramic, wood, metal",
6
+ "dimensions": "0.2 * 0.2 * 0.15",
7
+ "mass": 0.35,
8
+ "placement": [
9
+ "OnObject",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 1.36,
14
+ "usd_size": 1.45,
15
+ "usd_material_softlink": false,
16
+ "source": "blenderkit",
17
+ "internal": true
18
+ }
assets/object_usds/custom_usd/ebench_usds/salt_bottle/7218c60ede56775d76d74bf9a709cd7e/SubUSDs/materials/Num5d4e3b9f0340ad000170b34b.mdl ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Num5d4e3b9f0340ad000170b34b(
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/object_usds/custom_usd/ebench_usds/salt_bottle/7218c60ede56775d76d74bf9a709cd7e/SubUSDs/materials/Num6526327829931a0001adab0d.mdl ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Num6526327829931a0001adab0d(
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/object_usds/custom_usd/ebench_usds/salt_bottle/ready/5ba5959ecc044c5fa44dded4c75ea25a/.collect.mapping.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "file_records": [
4
+ {
5
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/salt_bottle/5ba5959ecc044c5fa44dded4c75ea25a/usd/5ba5959ecc044c5fa44dded4c75ea25a.usd",
6
+ "source_hash": "4493858fcac8c36779b28ee66bde107efef9a101",
7
+ "target_url": "./5ba5959ecc044c5fa44dded4c75ea25a.usd",
8
+ "target_hash": "1571943e6132bfaf48a4fb98d53a5ecd67dff614"
9
+ },
10
+ {
11
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/salt_bottle/5ba5959ecc044c5fa44dded4c75ea25a/usd/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture0.png",
12
+ "source_hash": "eebc55a65059b15ac25faf35be0e244bb2394568",
13
+ "target_url": "./SubUSDs/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture0.png",
14
+ "target_hash": "210724ad570cf33ddac32c1d19798a40637ab2f3"
15
+ },
16
+ {
17
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/salt_bottle/5ba5959ecc044c5fa44dded4c75ea25a/usd/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture1.png",
18
+ "source_hash": "125880af9fb0dc6e8049015408956cf1eb012890",
19
+ "target_url": "./SubUSDs/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture1.png",
20
+ "target_hash": "68e9a4c28a43e753ffc092a40a31d6e8490b60f4"
21
+ },
22
+ {
23
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/salt_bottle/5ba5959ecc044c5fa44dded4c75ea25a/usd/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture2.png",
24
+ "source_hash": "42ae89be0353ae5690d47827742f3e438ba331f8",
25
+ "target_url": "./SubUSDs/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture2.png",
26
+ "target_hash": "4ca0734df0a27903be536cfcd436188b4c29a697"
27
+ },
28
+ {
29
+ "source_url": "/cpfs/shared/simulation/maojian/benchmark_use_processed/salt_bottle/5ba5959ecc044c5fa44dded4c75ea25a/usd/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture3.png",
30
+ "source_hash": "60c46b4995ba9049ee9136a9f5f49834f090ccf9",
31
+ "target_url": "./SubUSDs/textures/5ba5959ecc044c5fa44dded4c75ea25a_texture3.png",
32
+ "target_hash": "872ea55182c242257ffdfe15b9aff417945d97e5"
33
+ }
34
+ ]
35
+ }
assets/object_usds/custom_usd/ebench_usds/salt_bottle/ready/5ba5959ecc044c5fa44dded4c75ea25a/5ba5959ecc044c5fa44dded4c75ea25a.usd ADDED
Binary file (27.9 kB). View file
 
assets/object_usds/custom_usd/ebench_usds/salt_bottle/ready/5ba5959ecc044c5fa44dded4c75ea25a/5ba5959ecc044c5fa44dded4c75ea25a_annotation.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "uid": "5ba5959ecc044c5fa44dded4c75ea25a",
3
+ "category": "bottle",
4
+ "description": "Classic salt shaker, cylindrical shape, metallic cap with holes, frosted glass body, smooth appearance.",
5
+ "material": "glass, metal",
6
+ "dimensions": "0.08 * 0.08 * 0.18",
7
+ "mass": 0.05,
8
+ "placement": [
9
+ "OnFloor",
10
+ "OnTable"
11
+ ],
12
+ "asset_type": "rigid",
13
+ "glb_size": 1.25,
14
+ "usd_size": 1.72,
15
+ "usd_material_softlink": false,
16
+ "source": "holodeck"
17
+ }