volodymyrsvirhun commited on
Commit
effe524
·
verified ·
1 Parent(s): 9a0b968

Add SimReady package: cd_case

Browse files
.gitattributes CHANGED
@@ -334,3 +334,4 @@ binoculars/simready_usd/binoculars.usd filter=lfs diff=lfs merge=lfs -text
334
  jack_in_the_box/simready_usd/jack_in_the_box.usd filter=lfs diff=lfs merge=lfs -text
335
  caulking_gun/simready_usd/caulking_gun.usd filter=lfs diff=lfs merge=lfs -text
336
  jewelry_box/simready_usd/jewelry_box.usd filter=lfs diff=lfs merge=lfs -text
 
 
334
  jack_in_the_box/simready_usd/jack_in_the_box.usd filter=lfs diff=lfs merge=lfs -text
335
  caulking_gun/simready_usd/caulking_gun.usd filter=lfs diff=lfs merge=lfs -text
336
  jewelry_box/simready_usd/jewelry_box.usd filter=lfs diff=lfs merge=lfs -text
337
+ cd_case/simready_usd/cd_case.usd filter=lfs diff=lfs merge=lfs -text
cd_case/.metadata/cd_case_benchmark.json ADDED
@@ -0,0 +1,2100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "1.0",
3
+ "asset": "cd_case",
4
+ "run_timestamp": "2026-11-20T12:12:26Z",
5
+ "passed": true,
6
+ "results": [
7
+ {
8
+ "test_name": "culling_xz",
9
+ "engine": "isaac_sim",
10
+ "engine_version": "6.1.0.0",
11
+ "status": "pass",
12
+ "passed": true,
13
+ "duration": 17.277,
14
+ "message": "",
15
+ "metrics": {
16
+ "_timing_capture_frame_total_s": {
17
+ "value": 3.577,
18
+ "unit": null
19
+ },
20
+ "_timing_capture_frame_count": {
21
+ "value": 16,
22
+ "unit": null
23
+ },
24
+ "_timing_capture_frame_avg_ms": {
25
+ "value": 223.59,
26
+ "unit": null
27
+ },
28
+ "_timing_encode_video_total_s": {
29
+ "value": 2.721,
30
+ "unit": null
31
+ },
32
+ "_timing_encode_video_count": {
33
+ "value": 2,
34
+ "unit": null
35
+ },
36
+ "_render_blank_retry_count": {
37
+ "value": 0,
38
+ "unit": null
39
+ },
40
+ "_render_blank_retry_unrecovered": {
41
+ "value": 0,
42
+ "unit": null
43
+ },
44
+ "culling_xz_max_diff": {
45
+ "value": 0.0,
46
+ "unit": null
47
+ },
48
+ "culling_xz_mean_diff": {
49
+ "value": 0.0,
50
+ "unit": null
51
+ },
52
+ "culling_xz_worst_angle": {
53
+ "value": 0.0,
54
+ "unit": null
55
+ },
56
+ "culling_xz_passed": {
57
+ "value": 1,
58
+ "unit": null
59
+ }
60
+ },
61
+ "kit_logs": [
62
+ {
63
+ "level": "error",
64
+ "channel": "omni.kit.app._impl",
65
+ "message": "[py stderr]: Traceback (most recent call last):"
66
+ },
67
+ {
68
+ "level": "error",
69
+ "channel": "omni.kit.app._impl",
70
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
71
+ },
72
+ {
73
+ "level": "error",
74
+ "channel": "omni.kit.app._impl",
75
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
76
+ },
77
+ {
78
+ "level": "error",
79
+ "channel": "omni.kit.app._impl",
80
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
81
+ },
82
+ {
83
+ "level": "error",
84
+ "channel": "omni.kit.app._impl",
85
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
86
+ },
87
+ {
88
+ "level": "error",
89
+ "channel": "omni.kit.app._impl",
90
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
91
+ },
92
+ {
93
+ "level": "error",
94
+ "channel": "omni.kit.app._impl",
95
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
96
+ },
97
+ {
98
+ "level": "error",
99
+ "channel": "omni.kit.app._impl",
100
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
101
+ },
102
+ {
103
+ "level": "error",
104
+ "channel": "omni.kit.app._impl",
105
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
106
+ },
107
+ {
108
+ "level": "error",
109
+ "channel": "omni.kit.app._impl",
110
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
111
+ },
112
+ {
113
+ "level": "error",
114
+ "channel": "omni.kit.app._impl",
115
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
116
+ },
117
+ {
118
+ "level": "error",
119
+ "channel": "omni.kit.app._impl",
120
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
121
+ },
122
+ {
123
+ "level": "error",
124
+ "channel": "omni.kit.app._impl",
125
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "test_name": "culling_xz",
131
+ "engine": "isaac_sim_newton",
132
+ "engine_version": "6.1.0.0",
133
+ "status": "pass",
134
+ "passed": true,
135
+ "duration": 13.134,
136
+ "message": "",
137
+ "metrics": {
138
+ "_timing_capture_frame_total_s": {
139
+ "value": 3.61,
140
+ "unit": null
141
+ },
142
+ "_timing_capture_frame_count": {
143
+ "value": 16,
144
+ "unit": null
145
+ },
146
+ "_timing_capture_frame_avg_ms": {
147
+ "value": 225.63,
148
+ "unit": null
149
+ },
150
+ "_timing_encode_video_total_s": {
151
+ "value": 2.697,
152
+ "unit": null
153
+ },
154
+ "_timing_encode_video_count": {
155
+ "value": 2,
156
+ "unit": null
157
+ },
158
+ "_render_blank_retry_count": {
159
+ "value": 0,
160
+ "unit": null
161
+ },
162
+ "_render_blank_retry_unrecovered": {
163
+ "value": 0,
164
+ "unit": null
165
+ },
166
+ "culling_xz_max_diff": {
167
+ "value": 0.0,
168
+ "unit": null
169
+ },
170
+ "culling_xz_mean_diff": {
171
+ "value": 0.0,
172
+ "unit": null
173
+ },
174
+ "culling_xz_worst_angle": {
175
+ "value": 0.0,
176
+ "unit": null
177
+ },
178
+ "culling_xz_passed": {
179
+ "value": 1,
180
+ "unit": null
181
+ }
182
+ },
183
+ "kit_logs": [
184
+ {
185
+ "level": "error",
186
+ "channel": "omni.kit.app._impl",
187
+ "message": "[py stderr]: Traceback (most recent call last):"
188
+ },
189
+ {
190
+ "level": "error",
191
+ "channel": "omni.kit.app._impl",
192
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
193
+ },
194
+ {
195
+ "level": "error",
196
+ "channel": "omni.kit.app._impl",
197
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
198
+ },
199
+ {
200
+ "level": "error",
201
+ "channel": "omni.kit.app._impl",
202
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
203
+ },
204
+ {
205
+ "level": "error",
206
+ "channel": "omni.kit.app._impl",
207
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
208
+ },
209
+ {
210
+ "level": "error",
211
+ "channel": "omni.kit.app._impl",
212
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
213
+ },
214
+ {
215
+ "level": "error",
216
+ "channel": "omni.kit.app._impl",
217
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
218
+ },
219
+ {
220
+ "level": "error",
221
+ "channel": "omni.kit.app._impl",
222
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
223
+ },
224
+ {
225
+ "level": "error",
226
+ "channel": "omni.kit.app._impl",
227
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
228
+ },
229
+ {
230
+ "level": "error",
231
+ "channel": "omni.kit.app._impl",
232
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
233
+ },
234
+ {
235
+ "level": "error",
236
+ "channel": "omni.kit.app._impl",
237
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
238
+ },
239
+ {
240
+ "level": "error",
241
+ "channel": "omni.kit.app._impl",
242
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
243
+ },
244
+ {
245
+ "level": "error",
246
+ "channel": "omni.kit.app._impl",
247
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "test_name": "ground_drop",
253
+ "engine": "isaac_sim",
254
+ "engine_version": "6.1.0.0",
255
+ "status": "pass",
256
+ "passed": true,
257
+ "duration": 65.589,
258
+ "message": "",
259
+ "metrics": {
260
+ "ground_drop_initial_z_min": {
261
+ "value": 0.2,
262
+ "unit": null
263
+ },
264
+ "ground_drop_bbox_height": {
265
+ "value": 0.125,
266
+ "unit": null
267
+ },
268
+ "ground_drop_effective_fall": {
269
+ "value": 0.1,
270
+ "unit": null
271
+ },
272
+ "_timing_capture_frame_total_s": {
273
+ "value": 15.377,
274
+ "unit": null
275
+ },
276
+ "_timing_capture_frame_count": {
277
+ "value": 49,
278
+ "unit": null
279
+ },
280
+ "_timing_capture_frame_avg_ms": {
281
+ "value": 313.81,
282
+ "unit": null
283
+ },
284
+ "_timing_encode_video_total_s": {
285
+ "value": 5.184,
286
+ "unit": null
287
+ },
288
+ "_timing_encode_video_count": {
289
+ "value": 1,
290
+ "unit": null
291
+ },
292
+ "_render_blank_retry_count": {
293
+ "value": 0,
294
+ "unit": null
295
+ },
296
+ "_render_blank_retry_unrecovered": {
297
+ "value": 0,
298
+ "unit": null
299
+ },
300
+ "ground_drop_touched": {
301
+ "value": 1,
302
+ "unit": null
303
+ },
304
+ "ground_drop_penetrated": {
305
+ "value": 0,
306
+ "unit": null
307
+ },
308
+ "ground_drop_stable": {
309
+ "value": 1,
310
+ "unit": null
311
+ },
312
+ "ground_drop_passed": {
313
+ "value": 1,
314
+ "unit": null
315
+ },
316
+ "ground_drop_touch_time": {
317
+ "value": 0.129,
318
+ "unit": null
319
+ },
320
+ "ground_drop_rest_time": {
321
+ "value": 2.712,
322
+ "unit": null
323
+ }
324
+ },
325
+ "kit_logs": []
326
+ },
327
+ {
328
+ "test_name": "joint_movement",
329
+ "engine": "isaac_sim",
330
+ "engine_version": "6.1.0.0",
331
+ "status": "pass",
332
+ "passed": true,
333
+ "duration": 94.165,
334
+ "message": "",
335
+ "metrics": {
336
+ "_timing_capture_frame_total_s": {
337
+ "value": 15.227,
338
+ "unit": null
339
+ },
340
+ "_timing_capture_frame_count": {
341
+ "value": 45,
342
+ "unit": null
343
+ },
344
+ "_timing_capture_frame_avg_ms": {
345
+ "value": 338.37,
346
+ "unit": null
347
+ },
348
+ "_timing_encode_video_total_s": {
349
+ "value": 3.63,
350
+ "unit": null
351
+ },
352
+ "_timing_encode_video_count": {
353
+ "value": 1,
354
+ "unit": null
355
+ },
356
+ "_render_blank_retry_count": {
357
+ "value": 0,
358
+ "unit": null
359
+ },
360
+ "_render_blank_retry_unrecovered": {
361
+ "value": 0,
362
+ "unit": null
363
+ },
364
+ "jm_joint_lid_hinge_rot_deg": {
365
+ "value": 179.922,
366
+ "unit": null
367
+ },
368
+ "jm_joint_lid_hinge_trans_pct": {
369
+ "value": 37.4,
370
+ "unit": null
371
+ },
372
+ "jm_joint_lid_hinge_bbox_m": {
373
+ "value": 0.1832,
374
+ "unit": null
375
+ },
376
+ "jm_joint_lid_hinge_pct_of_travel": {
377
+ "value": 100.0,
378
+ "unit": null
379
+ },
380
+ "jm_joints_total": {
381
+ "value": 1,
382
+ "unit": null
383
+ },
384
+ "jm_joints_passed": {
385
+ "value": 1,
386
+ "unit": null
387
+ },
388
+ "jm_joints_failed": {
389
+ "value": 0,
390
+ "unit": null
391
+ },
392
+ "jm_joint_lid_hinge_status": {
393
+ "value": "passed",
394
+ "unit": null
395
+ }
396
+ },
397
+ "kit_logs": []
398
+ },
399
+ {
400
+ "test_name": "light_response",
401
+ "engine": "isaac_sim",
402
+ "engine_version": "6.1.0.0",
403
+ "status": "pass",
404
+ "passed": true,
405
+ "duration": 18.404,
406
+ "message": "",
407
+ "metrics": {
408
+ "_timing_capture_frame_total_s": {
409
+ "value": 6.297,
410
+ "unit": null
411
+ },
412
+ "_timing_capture_frame_count": {
413
+ "value": 30,
414
+ "unit": null
415
+ },
416
+ "_timing_capture_frame_avg_ms": {
417
+ "value": 209.89,
418
+ "unit": null
419
+ },
420
+ "_timing_encode_video_total_s": {
421
+ "value": 3.157,
422
+ "unit": null
423
+ },
424
+ "_timing_encode_video_count": {
425
+ "value": 1,
426
+ "unit": null
427
+ },
428
+ "_render_blank_retry_count": {
429
+ "value": 0,
430
+ "unit": null
431
+ },
432
+ "_render_blank_retry_unrecovered": {
433
+ "value": 0,
434
+ "unit": null
435
+ },
436
+ "light_response_variation_ratio": {
437
+ "value": 0.344828,
438
+ "unit": null
439
+ },
440
+ "light_response_blank_ratio": {
441
+ "value": 0.0,
442
+ "unit": null
443
+ },
444
+ "light_response_blank_frames": {
445
+ "value": 0,
446
+ "unit": null
447
+ },
448
+ "light_response_total_frames": {
449
+ "value": 30,
450
+ "unit": null
451
+ },
452
+ "light_response_total_pairs": {
453
+ "value": 29,
454
+ "unit": null
455
+ },
456
+ "light_response_different_pairs": {
457
+ "value": 10,
458
+ "unit": null
459
+ },
460
+ "light_response_passed": {
461
+ "value": 1,
462
+ "unit": null
463
+ },
464
+ "light_response_max_pair_change": {
465
+ "value": 0.80856,
466
+ "unit": null
467
+ },
468
+ "light_response_min_pair_change": {
469
+ "value": 0.000542,
470
+ "unit": null
471
+ }
472
+ },
473
+ "kit_logs": [
474
+ {
475
+ "level": "error",
476
+ "channel": "omni.kit.app._impl",
477
+ "message": "[py stderr]: Traceback (most recent call last):"
478
+ },
479
+ {
480
+ "level": "error",
481
+ "channel": "omni.kit.app._impl",
482
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
483
+ },
484
+ {
485
+ "level": "error",
486
+ "channel": "omni.kit.app._impl",
487
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
488
+ },
489
+ {
490
+ "level": "error",
491
+ "channel": "omni.kit.app._impl",
492
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
493
+ },
494
+ {
495
+ "level": "error",
496
+ "channel": "omni.kit.app._impl",
497
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
498
+ },
499
+ {
500
+ "level": "error",
501
+ "channel": "omni.kit.app._impl",
502
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
503
+ },
504
+ {
505
+ "level": "error",
506
+ "channel": "omni.kit.app._impl",
507
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
508
+ },
509
+ {
510
+ "level": "error",
511
+ "channel": "omni.kit.app._impl",
512
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
513
+ },
514
+ {
515
+ "level": "error",
516
+ "channel": "omni.kit.app._impl",
517
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
518
+ },
519
+ {
520
+ "level": "error",
521
+ "channel": "omni.kit.app._impl",
522
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
523
+ },
524
+ {
525
+ "level": "error",
526
+ "channel": "omni.kit.app._impl",
527
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
528
+ },
529
+ {
530
+ "level": "error",
531
+ "channel": "omni.kit.app._impl",
532
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
533
+ },
534
+ {
535
+ "level": "error",
536
+ "channel": "omni.kit.app._impl",
537
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
538
+ }
539
+ ]
540
+ },
541
+ {
542
+ "test_name": "light_response",
543
+ "engine": "isaac_sim_newton",
544
+ "engine_version": "6.1.0.0",
545
+ "status": "pass",
546
+ "passed": true,
547
+ "duration": 18.532,
548
+ "message": "",
549
+ "metrics": {
550
+ "_timing_capture_frame_total_s": {
551
+ "value": 6.321,
552
+ "unit": null
553
+ },
554
+ "_timing_capture_frame_count": {
555
+ "value": 30,
556
+ "unit": null
557
+ },
558
+ "_timing_capture_frame_avg_ms": {
559
+ "value": 210.7,
560
+ "unit": null
561
+ },
562
+ "_timing_encode_video_total_s": {
563
+ "value": 2.896,
564
+ "unit": null
565
+ },
566
+ "_timing_encode_video_count": {
567
+ "value": 1,
568
+ "unit": null
569
+ },
570
+ "_render_blank_retry_count": {
571
+ "value": 0,
572
+ "unit": null
573
+ },
574
+ "_render_blank_retry_unrecovered": {
575
+ "value": 0,
576
+ "unit": null
577
+ },
578
+ "light_response_variation_ratio": {
579
+ "value": 0.344828,
580
+ "unit": null
581
+ },
582
+ "light_response_blank_ratio": {
583
+ "value": 0.0,
584
+ "unit": null
585
+ },
586
+ "light_response_blank_frames": {
587
+ "value": 0,
588
+ "unit": null
589
+ },
590
+ "light_response_total_frames": {
591
+ "value": 30,
592
+ "unit": null
593
+ },
594
+ "light_response_total_pairs": {
595
+ "value": 29,
596
+ "unit": null
597
+ },
598
+ "light_response_different_pairs": {
599
+ "value": 10,
600
+ "unit": null
601
+ },
602
+ "light_response_passed": {
603
+ "value": 1,
604
+ "unit": null
605
+ },
606
+ "light_response_max_pair_change": {
607
+ "value": 0.807992,
608
+ "unit": null
609
+ },
610
+ "light_response_min_pair_change": {
611
+ "value": 0.000747,
612
+ "unit": null
613
+ }
614
+ },
615
+ "kit_logs": [
616
+ {
617
+ "level": "error",
618
+ "channel": "omni.kit.app._impl",
619
+ "message": "[py stderr]: Traceback (most recent call last):"
620
+ },
621
+ {
622
+ "level": "error",
623
+ "channel": "omni.kit.app._impl",
624
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
625
+ },
626
+ {
627
+ "level": "error",
628
+ "channel": "omni.kit.app._impl",
629
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
630
+ },
631
+ {
632
+ "level": "error",
633
+ "channel": "omni.kit.app._impl",
634
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
635
+ },
636
+ {
637
+ "level": "error",
638
+ "channel": "omni.kit.app._impl",
639
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
640
+ },
641
+ {
642
+ "level": "error",
643
+ "channel": "omni.kit.app._impl",
644
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
645
+ },
646
+ {
647
+ "level": "error",
648
+ "channel": "omni.kit.app._impl",
649
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
650
+ },
651
+ {
652
+ "level": "error",
653
+ "channel": "omni.kit.app._impl",
654
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
655
+ },
656
+ {
657
+ "level": "error",
658
+ "channel": "omni.kit.app._impl",
659
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
660
+ },
661
+ {
662
+ "level": "error",
663
+ "channel": "omni.kit.app._impl",
664
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
665
+ },
666
+ {
667
+ "level": "error",
668
+ "channel": "omni.kit.app._impl",
669
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
670
+ },
671
+ {
672
+ "level": "error",
673
+ "channel": "omni.kit.app._impl",
674
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
675
+ },
676
+ {
677
+ "level": "error",
678
+ "channel": "omni.kit.app._impl",
679
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "test_name": "normals_xz",
685
+ "engine": "isaac_sim",
686
+ "engine_version": "6.1.0.0",
687
+ "status": "pass",
688
+ "passed": true,
689
+ "duration": 6.674,
690
+ "message": "",
691
+ "metrics": {
692
+ "_timing_capture_frame_total_s": {
693
+ "value": 1.879,
694
+ "unit": null
695
+ },
696
+ "_timing_capture_frame_count": {
697
+ "value": 8,
698
+ "unit": null
699
+ },
700
+ "_timing_capture_frame_avg_ms": {
701
+ "value": 234.87,
702
+ "unit": null
703
+ },
704
+ "_timing_encode_video_total_s": {
705
+ "value": 0.93,
706
+ "unit": null
707
+ },
708
+ "_timing_encode_video_count": {
709
+ "value": 1,
710
+ "unit": null
711
+ },
712
+ "_render_blank_retry_count": {
713
+ "value": 0,
714
+ "unit": null
715
+ },
716
+ "_render_blank_retry_unrecovered": {
717
+ "value": 0,
718
+ "unit": null
719
+ },
720
+ "normals_xz_avg_dark": {
721
+ "value": 0.007731,
722
+ "unit": null
723
+ },
724
+ "normals_xz_max_dark": {
725
+ "value": 0.035395,
726
+ "unit": null
727
+ },
728
+ "normals_xz_problem_frames": {
729
+ "value": 0,
730
+ "unit": null
731
+ },
732
+ "normals_xz_passed": {
733
+ "value": 1,
734
+ "unit": null
735
+ }
736
+ },
737
+ "kit_logs": [
738
+ {
739
+ "level": "error",
740
+ "channel": "omni.kit.app._impl",
741
+ "message": "[py stderr]: Traceback (most recent call last):"
742
+ },
743
+ {
744
+ "level": "error",
745
+ "channel": "omni.kit.app._impl",
746
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
747
+ },
748
+ {
749
+ "level": "error",
750
+ "channel": "omni.kit.app._impl",
751
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
752
+ },
753
+ {
754
+ "level": "error",
755
+ "channel": "omni.kit.app._impl",
756
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
757
+ },
758
+ {
759
+ "level": "error",
760
+ "channel": "omni.kit.app._impl",
761
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
762
+ },
763
+ {
764
+ "level": "error",
765
+ "channel": "omni.kit.app._impl",
766
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
767
+ },
768
+ {
769
+ "level": "error",
770
+ "channel": "omni.kit.app._impl",
771
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
772
+ },
773
+ {
774
+ "level": "error",
775
+ "channel": "omni.kit.app._impl",
776
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
777
+ },
778
+ {
779
+ "level": "error",
780
+ "channel": "omni.kit.app._impl",
781
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
782
+ },
783
+ {
784
+ "level": "error",
785
+ "channel": "omni.kit.app._impl",
786
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
787
+ },
788
+ {
789
+ "level": "error",
790
+ "channel": "omni.kit.app._impl",
791
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
792
+ },
793
+ {
794
+ "level": "error",
795
+ "channel": "omni.kit.app._impl",
796
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
797
+ },
798
+ {
799
+ "level": "error",
800
+ "channel": "omni.kit.app._impl",
801
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
802
+ }
803
+ ]
804
+ },
805
+ {
806
+ "test_name": "normals_xz",
807
+ "engine": "isaac_sim_newton",
808
+ "engine_version": "6.1.0.0",
809
+ "status": "pass",
810
+ "passed": true,
811
+ "duration": 6.507,
812
+ "message": "",
813
+ "metrics": {
814
+ "_timing_capture_frame_total_s": {
815
+ "value": 1.787,
816
+ "unit": null
817
+ },
818
+ "_timing_capture_frame_count": {
819
+ "value": 8,
820
+ "unit": null
821
+ },
822
+ "_timing_capture_frame_avg_ms": {
823
+ "value": 223.39,
824
+ "unit": null
825
+ },
826
+ "_timing_encode_video_total_s": {
827
+ "value": 1.116,
828
+ "unit": null
829
+ },
830
+ "_timing_encode_video_count": {
831
+ "value": 1,
832
+ "unit": null
833
+ },
834
+ "_render_blank_retry_count": {
835
+ "value": 0,
836
+ "unit": null
837
+ },
838
+ "_render_blank_retry_unrecovered": {
839
+ "value": 0,
840
+ "unit": null
841
+ },
842
+ "normals_xz_avg_dark": {
843
+ "value": 0.007871,
844
+ "unit": null
845
+ },
846
+ "normals_xz_max_dark": {
847
+ "value": 0.035315,
848
+ "unit": null
849
+ },
850
+ "normals_xz_problem_frames": {
851
+ "value": 0,
852
+ "unit": null
853
+ },
854
+ "normals_xz_passed": {
855
+ "value": 1,
856
+ "unit": null
857
+ }
858
+ },
859
+ "kit_logs": [
860
+ {
861
+ "level": "error",
862
+ "channel": "omni.kit.app._impl",
863
+ "message": "[py stderr]: Traceback (most recent call last):"
864
+ },
865
+ {
866
+ "level": "error",
867
+ "channel": "omni.kit.app._impl",
868
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
869
+ },
870
+ {
871
+ "level": "error",
872
+ "channel": "omni.kit.app._impl",
873
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
874
+ },
875
+ {
876
+ "level": "error",
877
+ "channel": "omni.kit.app._impl",
878
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
879
+ },
880
+ {
881
+ "level": "error",
882
+ "channel": "omni.kit.app._impl",
883
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
884
+ },
885
+ {
886
+ "level": "error",
887
+ "channel": "omni.kit.app._impl",
888
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
889
+ },
890
+ {
891
+ "level": "error",
892
+ "channel": "omni.kit.app._impl",
893
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
894
+ },
895
+ {
896
+ "level": "error",
897
+ "channel": "omni.kit.app._impl",
898
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
899
+ },
900
+ {
901
+ "level": "error",
902
+ "channel": "omni.kit.app._impl",
903
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
904
+ },
905
+ {
906
+ "level": "error",
907
+ "channel": "omni.kit.app._impl",
908
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
909
+ },
910
+ {
911
+ "level": "error",
912
+ "channel": "omni.kit.app._impl",
913
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
914
+ },
915
+ {
916
+ "level": "error",
917
+ "channel": "omni.kit.app._impl",
918
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
919
+ },
920
+ {
921
+ "level": "error",
922
+ "channel": "omni.kit.app._impl",
923
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
924
+ }
925
+ ]
926
+ },
927
+ {
928
+ "test_name": "pivot",
929
+ "engine": "isaac_sim",
930
+ "engine_version": "6.1.0.0",
931
+ "status": "pass",
932
+ "passed": true,
933
+ "duration": 16.835,
934
+ "message": "",
935
+ "metrics": {
936
+ "_timing_capture_frame_total_s": {
937
+ "value": 4.776,
938
+ "unit": null
939
+ },
940
+ "_timing_capture_frame_count": {
941
+ "value": 20,
942
+ "unit": null
943
+ },
944
+ "_timing_capture_frame_avg_ms": {
945
+ "value": 238.79,
946
+ "unit": null
947
+ },
948
+ "_timing_encode_video_total_s": {
949
+ "value": 2.462,
950
+ "unit": null
951
+ },
952
+ "_timing_encode_video_count": {
953
+ "value": 2,
954
+ "unit": null
955
+ },
956
+ "_render_blank_retry_count": {
957
+ "value": 0,
958
+ "unit": null
959
+ },
960
+ "_render_blank_retry_unrecovered": {
961
+ "value": 0,
962
+ "unit": null
963
+ },
964
+ "pivot_score": {
965
+ "value": 1.0,
966
+ "unit": null
967
+ },
968
+ "pivot_pivot_height_pct": {
969
+ "value": -1.2,
970
+ "unit": null
971
+ },
972
+ "pivot_pivot_at_base": {
973
+ "value": 1,
974
+ "unit": null
975
+ },
976
+ "pivot_pivot_centered_xy": {
977
+ "value": 1,
978
+ "unit": null
979
+ },
980
+ "pivot_ground_penetration": {
981
+ "value": 0,
982
+ "unit": null
983
+ },
984
+ "pivot_orbital_motion": {
985
+ "value": 0,
986
+ "unit": null
987
+ },
988
+ "pivot_passed": {
989
+ "value": 1,
990
+ "unit": null
991
+ }
992
+ },
993
+ "kit_logs": []
994
+ },
995
+ {
996
+ "test_name": "pivot",
997
+ "engine": "isaac_sim_newton",
998
+ "engine_version": "6.1.0.0",
999
+ "status": "pass",
1000
+ "passed": true,
1001
+ "duration": 15.973,
1002
+ "message": "",
1003
+ "metrics": {
1004
+ "_timing_capture_frame_total_s": {
1005
+ "value": 4.535,
1006
+ "unit": null
1007
+ },
1008
+ "_timing_capture_frame_count": {
1009
+ "value": 20,
1010
+ "unit": null
1011
+ },
1012
+ "_timing_capture_frame_avg_ms": {
1013
+ "value": 226.73,
1014
+ "unit": null
1015
+ },
1016
+ "_timing_encode_video_total_s": {
1017
+ "value": 2.345,
1018
+ "unit": null
1019
+ },
1020
+ "_timing_encode_video_count": {
1021
+ "value": 2,
1022
+ "unit": null
1023
+ },
1024
+ "_render_blank_retry_count": {
1025
+ "value": 0,
1026
+ "unit": null
1027
+ },
1028
+ "_render_blank_retry_unrecovered": {
1029
+ "value": 0,
1030
+ "unit": null
1031
+ },
1032
+ "pivot_score": {
1033
+ "value": 1.0,
1034
+ "unit": null
1035
+ },
1036
+ "pivot_pivot_height_pct": {
1037
+ "value": -1.2,
1038
+ "unit": null
1039
+ },
1040
+ "pivot_pivot_at_base": {
1041
+ "value": 1,
1042
+ "unit": null
1043
+ },
1044
+ "pivot_pivot_centered_xy": {
1045
+ "value": 1,
1046
+ "unit": null
1047
+ },
1048
+ "pivot_ground_penetration": {
1049
+ "value": 0,
1050
+ "unit": null
1051
+ },
1052
+ "pivot_orbital_motion": {
1053
+ "value": 0,
1054
+ "unit": null
1055
+ },
1056
+ "pivot_passed": {
1057
+ "value": 1,
1058
+ "unit": null
1059
+ }
1060
+ },
1061
+ "kit_logs": [
1062
+ {
1063
+ "level": "error",
1064
+ "channel": "omni.kit.app._impl",
1065
+ "message": "[py stderr]: Traceback (most recent call last):"
1066
+ },
1067
+ {
1068
+ "level": "error",
1069
+ "channel": "omni.kit.app._impl",
1070
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1071
+ },
1072
+ {
1073
+ "level": "error",
1074
+ "channel": "omni.kit.app._impl",
1075
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1076
+ },
1077
+ {
1078
+ "level": "error",
1079
+ "channel": "omni.kit.app._impl",
1080
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1081
+ },
1082
+ {
1083
+ "level": "error",
1084
+ "channel": "omni.kit.app._impl",
1085
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1086
+ },
1087
+ {
1088
+ "level": "error",
1089
+ "channel": "omni.kit.app._impl",
1090
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1091
+ },
1092
+ {
1093
+ "level": "error",
1094
+ "channel": "omni.kit.app._impl",
1095
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1096
+ },
1097
+ {
1098
+ "level": "error",
1099
+ "channel": "omni.kit.app._impl",
1100
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1101
+ },
1102
+ {
1103
+ "level": "error",
1104
+ "channel": "omni.kit.app._impl",
1105
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1106
+ },
1107
+ {
1108
+ "level": "error",
1109
+ "channel": "omni.kit.app._impl",
1110
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1111
+ },
1112
+ {
1113
+ "level": "error",
1114
+ "channel": "omni.kit.app._impl",
1115
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1116
+ },
1117
+ {
1118
+ "level": "error",
1119
+ "channel": "omni.kit.app._impl",
1120
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1121
+ },
1122
+ {
1123
+ "level": "error",
1124
+ "channel": "omni.kit.app._impl",
1125
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ "test_name": "presence",
1131
+ "engine": "isaac_sim",
1132
+ "engine_version": "6.1.0.0",
1133
+ "status": "pass",
1134
+ "passed": true,
1135
+ "duration": 2.061,
1136
+ "message": "",
1137
+ "metrics": {
1138
+ "_timing_capture_frame_total_s": {
1139
+ "value": 0.422,
1140
+ "unit": null
1141
+ },
1142
+ "_timing_capture_frame_count": {
1143
+ "value": 2,
1144
+ "unit": null
1145
+ },
1146
+ "_timing_capture_frame_avg_ms": {
1147
+ "value": 210.86,
1148
+ "unit": null
1149
+ },
1150
+ "_timing_encode_video_total_s": {
1151
+ "value": 0.0,
1152
+ "unit": null
1153
+ },
1154
+ "_timing_encode_video_count": {
1155
+ "value": 0,
1156
+ "unit": null
1157
+ },
1158
+ "_render_blank_retry_count": {
1159
+ "value": 0,
1160
+ "unit": null
1161
+ },
1162
+ "_render_blank_retry_unrecovered": {
1163
+ "value": 0,
1164
+ "unit": null
1165
+ },
1166
+ "presence_diff_ratio": {
1167
+ "value": 0.250293,
1168
+ "unit": null
1169
+ },
1170
+ "presence_passed": {
1171
+ "value": 1,
1172
+ "unit": null
1173
+ }
1174
+ },
1175
+ "kit_logs": [
1176
+ {
1177
+ "level": "error",
1178
+ "channel": "omni.kit.app._impl",
1179
+ "message": "[py stderr]: Traceback (most recent call last):"
1180
+ },
1181
+ {
1182
+ "level": "error",
1183
+ "channel": "omni.kit.app._impl",
1184
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1185
+ },
1186
+ {
1187
+ "level": "error",
1188
+ "channel": "omni.kit.app._impl",
1189
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1190
+ },
1191
+ {
1192
+ "level": "error",
1193
+ "channel": "omni.kit.app._impl",
1194
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1195
+ },
1196
+ {
1197
+ "level": "error",
1198
+ "channel": "omni.kit.app._impl",
1199
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1200
+ },
1201
+ {
1202
+ "level": "error",
1203
+ "channel": "omni.kit.app._impl",
1204
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1205
+ },
1206
+ {
1207
+ "level": "error",
1208
+ "channel": "omni.kit.app._impl",
1209
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1210
+ },
1211
+ {
1212
+ "level": "error",
1213
+ "channel": "omni.kit.app._impl",
1214
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1215
+ },
1216
+ {
1217
+ "level": "error",
1218
+ "channel": "omni.kit.app._impl",
1219
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1220
+ },
1221
+ {
1222
+ "level": "error",
1223
+ "channel": "omni.kit.app._impl",
1224
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1225
+ },
1226
+ {
1227
+ "level": "error",
1228
+ "channel": "omni.kit.app._impl",
1229
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1230
+ },
1231
+ {
1232
+ "level": "error",
1233
+ "channel": "omni.kit.app._impl",
1234
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1235
+ },
1236
+ {
1237
+ "level": "error",
1238
+ "channel": "omni.kit.app._impl",
1239
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "test_name": "presence",
1245
+ "engine": "isaac_sim_newton",
1246
+ "engine_version": "6.1.0.0",
1247
+ "status": "pass",
1248
+ "passed": true,
1249
+ "duration": 2.208,
1250
+ "message": "",
1251
+ "metrics": {
1252
+ "_timing_capture_frame_total_s": {
1253
+ "value": 0.377,
1254
+ "unit": null
1255
+ },
1256
+ "_timing_capture_frame_count": {
1257
+ "value": 2,
1258
+ "unit": null
1259
+ },
1260
+ "_timing_capture_frame_avg_ms": {
1261
+ "value": 188.5,
1262
+ "unit": null
1263
+ },
1264
+ "_timing_encode_video_total_s": {
1265
+ "value": 0.0,
1266
+ "unit": null
1267
+ },
1268
+ "_timing_encode_video_count": {
1269
+ "value": 0,
1270
+ "unit": null
1271
+ },
1272
+ "_render_blank_retry_count": {
1273
+ "value": 0,
1274
+ "unit": null
1275
+ },
1276
+ "_render_blank_retry_unrecovered": {
1277
+ "value": 0,
1278
+ "unit": null
1279
+ },
1280
+ "presence_diff_ratio": {
1281
+ "value": 0.250348,
1282
+ "unit": null
1283
+ },
1284
+ "presence_passed": {
1285
+ "value": 1,
1286
+ "unit": null
1287
+ }
1288
+ },
1289
+ "kit_logs": [
1290
+ {
1291
+ "level": "error",
1292
+ "channel": "omni.kit.app._impl",
1293
+ "message": "[py stderr]: Traceback (most recent call last):"
1294
+ },
1295
+ {
1296
+ "level": "error",
1297
+ "channel": "omni.kit.app._impl",
1298
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1299
+ },
1300
+ {
1301
+ "level": "error",
1302
+ "channel": "omni.kit.app._impl",
1303
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1304
+ },
1305
+ {
1306
+ "level": "error",
1307
+ "channel": "omni.kit.app._impl",
1308
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1309
+ },
1310
+ {
1311
+ "level": "error",
1312
+ "channel": "omni.kit.app._impl",
1313
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1314
+ },
1315
+ {
1316
+ "level": "error",
1317
+ "channel": "omni.kit.app._impl",
1318
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1319
+ },
1320
+ {
1321
+ "level": "error",
1322
+ "channel": "omni.kit.app._impl",
1323
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1324
+ },
1325
+ {
1326
+ "level": "error",
1327
+ "channel": "omni.kit.app._impl",
1328
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1329
+ },
1330
+ {
1331
+ "level": "error",
1332
+ "channel": "omni.kit.app._impl",
1333
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1334
+ },
1335
+ {
1336
+ "level": "error",
1337
+ "channel": "omni.kit.app._impl",
1338
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1339
+ },
1340
+ {
1341
+ "level": "error",
1342
+ "channel": "omni.kit.app._impl",
1343
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1344
+ },
1345
+ {
1346
+ "level": "error",
1347
+ "channel": "omni.kit.app._impl",
1348
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1349
+ },
1350
+ {
1351
+ "level": "error",
1352
+ "channel": "omni.kit.app._impl",
1353
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1354
+ }
1355
+ ]
1356
+ },
1357
+ {
1358
+ "test_name": "preview_surface_renders",
1359
+ "engine": "isaac_sim",
1360
+ "engine_version": "6.1.0.0",
1361
+ "status": "pass",
1362
+ "passed": true,
1363
+ "duration": 4.402,
1364
+ "message": "",
1365
+ "metrics": {
1366
+ "_timing_capture_frame_total_s": {
1367
+ "value": 1.305,
1368
+ "unit": null
1369
+ },
1370
+ "_timing_capture_frame_count": {
1371
+ "value": 4,
1372
+ "unit": null
1373
+ },
1374
+ "_timing_capture_frame_avg_ms": {
1375
+ "value": 326.32,
1376
+ "unit": null
1377
+ },
1378
+ "_timing_encode_video_total_s": {
1379
+ "value": 0.0,
1380
+ "unit": null
1381
+ },
1382
+ "_timing_encode_video_count": {
1383
+ "value": 0,
1384
+ "unit": null
1385
+ },
1386
+ "_render_blank_retry_count": {
1387
+ "value": 0,
1388
+ "unit": null
1389
+ },
1390
+ "_render_blank_retry_unrecovered": {
1391
+ "value": 0,
1392
+ "unit": null
1393
+ },
1394
+ "universal_surface_materials_with_universal": {
1395
+ "value": 20,
1396
+ "unit": null
1397
+ },
1398
+ "universal_surface_materials_with_mdl": {
1399
+ "value": 18,
1400
+ "unit": null
1401
+ },
1402
+ "universal_surface_materials_with_mtlx": {
1403
+ "value": 2,
1404
+ "unit": null
1405
+ },
1406
+ "universal_surface_materials_total": {
1407
+ "value": 20,
1408
+ "unit": null
1409
+ },
1410
+ "universal_surface_asset_root": {
1411
+ "value": "/World/AssetRoot/Asset",
1412
+ "unit": null
1413
+ },
1414
+ "universal_surface_contexts_present": {
1415
+ "value": "mdl, mtlx, universal",
1416
+ "unit": null
1417
+ },
1418
+ "universal_surface_render_context_order": {
1419
+ "value": "universal",
1420
+ "unit": null
1421
+ },
1422
+ "universal_surface_silhouette_pixels": {
1423
+ "value": 262225,
1424
+ "unit": null
1425
+ },
1426
+ "universal_surface_uncovered_pixels": {
1427
+ "value": 0,
1428
+ "unit": null
1429
+ },
1430
+ "universal_surface_coverage": {
1431
+ "value": 1.0,
1432
+ "unit": null
1433
+ }
1434
+ },
1435
+ "kit_logs": [
1436
+ {
1437
+ "level": "error",
1438
+ "channel": "omni.kit.app._impl",
1439
+ "message": "[py stderr]: Traceback (most recent call last):"
1440
+ },
1441
+ {
1442
+ "level": "error",
1443
+ "channel": "omni.kit.app._impl",
1444
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1445
+ },
1446
+ {
1447
+ "level": "error",
1448
+ "channel": "omni.kit.app._impl",
1449
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1450
+ },
1451
+ {
1452
+ "level": "error",
1453
+ "channel": "omni.kit.app._impl",
1454
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1455
+ },
1456
+ {
1457
+ "level": "error",
1458
+ "channel": "omni.kit.app._impl",
1459
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1460
+ },
1461
+ {
1462
+ "level": "error",
1463
+ "channel": "omni.kit.app._impl",
1464
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1465
+ },
1466
+ {
1467
+ "level": "error",
1468
+ "channel": "omni.kit.app._impl",
1469
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1470
+ },
1471
+ {
1472
+ "level": "error",
1473
+ "channel": "omni.kit.app._impl",
1474
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1475
+ },
1476
+ {
1477
+ "level": "error",
1478
+ "channel": "omni.kit.app._impl",
1479
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1480
+ },
1481
+ {
1482
+ "level": "error",
1483
+ "channel": "omni.kit.app._impl",
1484
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1485
+ },
1486
+ {
1487
+ "level": "error",
1488
+ "channel": "omni.kit.app._impl",
1489
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1490
+ },
1491
+ {
1492
+ "level": "error",
1493
+ "channel": "omni.kit.app._impl",
1494
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1495
+ },
1496
+ {
1497
+ "level": "error",
1498
+ "channel": "omni.kit.app._impl",
1499
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1500
+ }
1501
+ ]
1502
+ },
1503
+ {
1504
+ "test_name": "preview_surface_renders",
1505
+ "engine": "isaac_sim_newton",
1506
+ "engine_version": "6.1.0.0",
1507
+ "status": "pass",
1508
+ "passed": true,
1509
+ "duration": 6.202,
1510
+ "message": "",
1511
+ "metrics": {
1512
+ "_timing_capture_frame_total_s": {
1513
+ "value": 1.638,
1514
+ "unit": null
1515
+ },
1516
+ "_timing_capture_frame_count": {
1517
+ "value": 4,
1518
+ "unit": null
1519
+ },
1520
+ "_timing_capture_frame_avg_ms": {
1521
+ "value": 409.41,
1522
+ "unit": null
1523
+ },
1524
+ "_timing_encode_video_total_s": {
1525
+ "value": 0.0,
1526
+ "unit": null
1527
+ },
1528
+ "_timing_encode_video_count": {
1529
+ "value": 0,
1530
+ "unit": null
1531
+ },
1532
+ "_render_blank_retry_count": {
1533
+ "value": 0,
1534
+ "unit": null
1535
+ },
1536
+ "_render_blank_retry_unrecovered": {
1537
+ "value": 0,
1538
+ "unit": null
1539
+ },
1540
+ "universal_surface_materials_with_universal": {
1541
+ "value": 20,
1542
+ "unit": null
1543
+ },
1544
+ "universal_surface_materials_with_mdl": {
1545
+ "value": 18,
1546
+ "unit": null
1547
+ },
1548
+ "universal_surface_materials_with_mtlx": {
1549
+ "value": 2,
1550
+ "unit": null
1551
+ },
1552
+ "universal_surface_materials_total": {
1553
+ "value": 20,
1554
+ "unit": null
1555
+ },
1556
+ "universal_surface_asset_root": {
1557
+ "value": "/World/AssetRoot/Asset",
1558
+ "unit": null
1559
+ },
1560
+ "universal_surface_contexts_present": {
1561
+ "value": "mdl, mtlx, universal",
1562
+ "unit": null
1563
+ },
1564
+ "universal_surface_render_context_order": {
1565
+ "value": "universal",
1566
+ "unit": null
1567
+ },
1568
+ "universal_surface_silhouette_pixels": {
1569
+ "value": 262245,
1570
+ "unit": null
1571
+ },
1572
+ "universal_surface_uncovered_pixels": {
1573
+ "value": 0,
1574
+ "unit": null
1575
+ },
1576
+ "universal_surface_coverage": {
1577
+ "value": 1.0,
1578
+ "unit": null
1579
+ }
1580
+ },
1581
+ "kit_logs": [
1582
+ {
1583
+ "level": "error",
1584
+ "channel": "omni.kit.app._impl",
1585
+ "message": "[py stderr]: Traceback (most recent call last):"
1586
+ },
1587
+ {
1588
+ "level": "error",
1589
+ "channel": "omni.kit.app._impl",
1590
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1591
+ },
1592
+ {
1593
+ "level": "error",
1594
+ "channel": "omni.kit.app._impl",
1595
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1596
+ },
1597
+ {
1598
+ "level": "error",
1599
+ "channel": "omni.kit.app._impl",
1600
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1601
+ },
1602
+ {
1603
+ "level": "error",
1604
+ "channel": "omni.kit.app._impl",
1605
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1606
+ },
1607
+ {
1608
+ "level": "error",
1609
+ "channel": "omni.kit.app._impl",
1610
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1611
+ },
1612
+ {
1613
+ "level": "error",
1614
+ "channel": "omni.kit.app._impl",
1615
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1616
+ },
1617
+ {
1618
+ "level": "error",
1619
+ "channel": "omni.kit.app._impl",
1620
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1621
+ },
1622
+ {
1623
+ "level": "error",
1624
+ "channel": "omni.kit.app._impl",
1625
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1626
+ },
1627
+ {
1628
+ "level": "error",
1629
+ "channel": "omni.kit.app._impl",
1630
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1631
+ },
1632
+ {
1633
+ "level": "error",
1634
+ "channel": "omni.kit.app._impl",
1635
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1636
+ },
1637
+ {
1638
+ "level": "error",
1639
+ "channel": "omni.kit.app._impl",
1640
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1641
+ },
1642
+ {
1643
+ "level": "error",
1644
+ "channel": "omni.kit.app._impl",
1645
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1646
+ }
1647
+ ]
1648
+ },
1649
+ {
1650
+ "test_name": "semantic_labels_seg_labelled",
1651
+ "engine": "isaac_sim",
1652
+ "engine_version": "6.1.0.0",
1653
+ "status": "pass",
1654
+ "passed": true,
1655
+ "duration": 5.158,
1656
+ "message": "",
1657
+ "metrics": {
1658
+ "_timing_capture_frame_total_s": {
1659
+ "value": 2.068,
1660
+ "unit": null
1661
+ },
1662
+ "_timing_capture_frame_count": {
1663
+ "value": 1,
1664
+ "unit": null
1665
+ },
1666
+ "_timing_capture_frame_avg_ms": {
1667
+ "value": 2068.26,
1668
+ "unit": null
1669
+ },
1670
+ "_timing_encode_video_total_s": {
1671
+ "value": 0.0,
1672
+ "unit": null
1673
+ },
1674
+ "_timing_encode_video_count": {
1675
+ "value": 0,
1676
+ "unit": null
1677
+ },
1678
+ "_render_blank_retry_count": {
1679
+ "value": 1,
1680
+ "unit": null
1681
+ },
1682
+ "_render_blank_retry_unrecovered": {
1683
+ "value": 1,
1684
+ "unit": null
1685
+ },
1686
+ "_render_blank_retry[semantic_labels_rgb_001.png]": {
1687
+ "value": "attempts=6 recovered=False",
1688
+ "unit": null
1689
+ },
1690
+ "semantic_labels_on_coverage": {
1691
+ "value": 0.249584,
1692
+ "unit": null
1693
+ },
1694
+ "semantic_labels_labelled_passed": {
1695
+ "value": 1,
1696
+ "unit": null
1697
+ }
1698
+ },
1699
+ "kit_logs": [
1700
+ {
1701
+ "level": "error",
1702
+ "channel": "omni.kit.app._impl",
1703
+ "message": "[py stderr]: Traceback (most recent call last):"
1704
+ },
1705
+ {
1706
+ "level": "error",
1707
+ "channel": "omni.kit.app._impl",
1708
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1709
+ },
1710
+ {
1711
+ "level": "error",
1712
+ "channel": "omni.kit.app._impl",
1713
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1714
+ },
1715
+ {
1716
+ "level": "error",
1717
+ "channel": "omni.kit.app._impl",
1718
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1719
+ },
1720
+ {
1721
+ "level": "error",
1722
+ "channel": "omni.kit.app._impl",
1723
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1724
+ },
1725
+ {
1726
+ "level": "error",
1727
+ "channel": "omni.kit.app._impl",
1728
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1729
+ },
1730
+ {
1731
+ "level": "error",
1732
+ "channel": "omni.kit.app._impl",
1733
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1734
+ },
1735
+ {
1736
+ "level": "error",
1737
+ "channel": "omni.kit.app._impl",
1738
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1739
+ },
1740
+ {
1741
+ "level": "error",
1742
+ "channel": "omni.kit.app._impl",
1743
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1744
+ },
1745
+ {
1746
+ "level": "error",
1747
+ "channel": "omni.kit.app._impl",
1748
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1749
+ },
1750
+ {
1751
+ "level": "error",
1752
+ "channel": "omni.kit.app._impl",
1753
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1754
+ },
1755
+ {
1756
+ "level": "error",
1757
+ "channel": "omni.kit.app._impl",
1758
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1759
+ },
1760
+ {
1761
+ "level": "error",
1762
+ "channel": "omni.kit.app._impl",
1763
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1764
+ }
1765
+ ]
1766
+ },
1767
+ {
1768
+ "test_name": "semantic_labels_seg_labelled",
1769
+ "engine": "isaac_sim_newton",
1770
+ "engine_version": "6.1.0.0",
1771
+ "status": "pass",
1772
+ "passed": true,
1773
+ "duration": 5.146,
1774
+ "message": "",
1775
+ "metrics": {
1776
+ "_timing_capture_frame_total_s": {
1777
+ "value": 2.141,
1778
+ "unit": null
1779
+ },
1780
+ "_timing_capture_frame_count": {
1781
+ "value": 1,
1782
+ "unit": null
1783
+ },
1784
+ "_timing_capture_frame_avg_ms": {
1785
+ "value": 2140.54,
1786
+ "unit": null
1787
+ },
1788
+ "_timing_encode_video_total_s": {
1789
+ "value": 0.0,
1790
+ "unit": null
1791
+ },
1792
+ "_timing_encode_video_count": {
1793
+ "value": 0,
1794
+ "unit": null
1795
+ },
1796
+ "_render_blank_retry_count": {
1797
+ "value": 1,
1798
+ "unit": null
1799
+ },
1800
+ "_render_blank_retry_unrecovered": {
1801
+ "value": 1,
1802
+ "unit": null
1803
+ },
1804
+ "_render_blank_retry[semantic_labels_rgb_001.png]": {
1805
+ "value": "attempts=6 recovered=False",
1806
+ "unit": null
1807
+ },
1808
+ "semantic_labels_on_coverage": {
1809
+ "value": 0.249584,
1810
+ "unit": null
1811
+ },
1812
+ "semantic_labels_labelled_passed": {
1813
+ "value": 1,
1814
+ "unit": null
1815
+ }
1816
+ },
1817
+ "kit_logs": [
1818
+ {
1819
+ "level": "error",
1820
+ "channel": "omni.kit.app._impl",
1821
+ "message": "[py stderr]: Traceback (most recent call last):"
1822
+ },
1823
+ {
1824
+ "level": "error",
1825
+ "channel": "omni.kit.app._impl",
1826
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
1827
+ },
1828
+ {
1829
+ "level": "error",
1830
+ "channel": "omni.kit.app._impl",
1831
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1832
+ },
1833
+ {
1834
+ "level": "error",
1835
+ "channel": "omni.kit.app._impl",
1836
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
1837
+ },
1838
+ {
1839
+ "level": "error",
1840
+ "channel": "omni.kit.app._impl",
1841
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1842
+ },
1843
+ {
1844
+ "level": "error",
1845
+ "channel": "omni.kit.app._impl",
1846
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1847
+ },
1848
+ {
1849
+ "level": "error",
1850
+ "channel": "omni.kit.app._impl",
1851
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
1852
+ },
1853
+ {
1854
+ "level": "error",
1855
+ "channel": "omni.kit.app._impl",
1856
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1857
+ },
1858
+ {
1859
+ "level": "error",
1860
+ "channel": "omni.kit.app._impl",
1861
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1862
+ },
1863
+ {
1864
+ "level": "error",
1865
+ "channel": "omni.kit.app._impl",
1866
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
1867
+ },
1868
+ {
1869
+ "level": "error",
1870
+ "channel": "omni.kit.app._impl",
1871
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1872
+ },
1873
+ {
1874
+ "level": "error",
1875
+ "channel": "omni.kit.app._impl",
1876
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1877
+ },
1878
+ {
1879
+ "level": "error",
1880
+ "channel": "omni.kit.app._impl",
1881
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1882
+ }
1883
+ ]
1884
+ },
1885
+ {
1886
+ "test_name": "semantic_labels_seg_stripped",
1887
+ "engine": "isaac_sim",
1888
+ "engine_version": "6.1.0.0",
1889
+ "status": "pass",
1890
+ "passed": true,
1891
+ "duration": 3.014,
1892
+ "message": "",
1893
+ "metrics": {
1894
+ "semantic_labels_stripped_prims": {
1895
+ "value": 21,
1896
+ "unit": null
1897
+ },
1898
+ "semantic_labels_off_coverage": {
1899
+ "value": 0.0,
1900
+ "unit": null
1901
+ },
1902
+ "semantic_labels_stripped_passed": {
1903
+ "value": 1,
1904
+ "unit": null
1905
+ }
1906
+ },
1907
+ "kit_logs": []
1908
+ },
1909
+ {
1910
+ "test_name": "semantic_labels_seg_stripped",
1911
+ "engine": "isaac_sim_newton",
1912
+ "engine_version": "6.1.0.0",
1913
+ "status": "pass",
1914
+ "passed": true,
1915
+ "duration": 3.562,
1916
+ "message": "",
1917
+ "metrics": {
1918
+ "semantic_labels_stripped_prims": {
1919
+ "value": 21,
1920
+ "unit": null
1921
+ },
1922
+ "semantic_labels_off_coverage": {
1923
+ "value": 0.0,
1924
+ "unit": null
1925
+ },
1926
+ "semantic_labels_stripped_passed": {
1927
+ "value": 1,
1928
+ "unit": null
1929
+ }
1930
+ },
1931
+ "kit_logs": []
1932
+ },
1933
+ {
1934
+ "test_name": "slope_drop",
1935
+ "engine": "isaac_sim",
1936
+ "engine_version": "6.1.0.0",
1937
+ "status": "pass",
1938
+ "passed": true,
1939
+ "duration": 57.593,
1940
+ "message": "",
1941
+ "metrics": {
1942
+ "slope_drop_initial_cx": {
1943
+ "value": 0.0,
1944
+ "unit": null
1945
+ },
1946
+ "slope_drop_initial_cy": {
1947
+ "value": -0.5623,
1948
+ "unit": null
1949
+ },
1950
+ "slope_drop_initial_z_min": {
1951
+ "value": 1.536,
1952
+ "unit": null
1953
+ },
1954
+ "slope_drop_bbox_height": {
1955
+ "value": 0.125,
1956
+ "unit": null
1957
+ },
1958
+ "_timing_capture_frame_total_s": {
1959
+ "value": 14.036,
1960
+ "unit": null
1961
+ },
1962
+ "_timing_capture_frame_count": {
1963
+ "value": 49,
1964
+ "unit": null
1965
+ },
1966
+ "_timing_capture_frame_avg_ms": {
1967
+ "value": 286.46,
1968
+ "unit": null
1969
+ },
1970
+ "_timing_encode_video_total_s": {
1971
+ "value": 2.795,
1972
+ "unit": null
1973
+ },
1974
+ "_timing_encode_video_count": {
1975
+ "value": 1,
1976
+ "unit": null
1977
+ },
1978
+ "_render_blank_retry_count": {
1979
+ "value": 0,
1980
+ "unit": null
1981
+ },
1982
+ "_render_blank_retry_unrecovered": {
1983
+ "value": 0,
1984
+ "unit": null
1985
+ },
1986
+ "slope_drop_contact_detected": {
1987
+ "value": 1,
1988
+ "unit": null
1989
+ },
1990
+ "slope_drop_horiz_detected": {
1991
+ "value": 1,
1992
+ "unit": null
1993
+ },
1994
+ "slope_drop_penetrated": {
1995
+ "value": 0,
1996
+ "unit": null
1997
+ },
1998
+ "slope_drop_slope_penetrated": {
1999
+ "value": 0,
2000
+ "unit": null
2001
+ },
2002
+ "slope_drop_excessive_separation": {
2003
+ "value": 0,
2004
+ "unit": null
2005
+ },
2006
+ "slope_drop_uphill_motion": {
2007
+ "value": 0,
2008
+ "unit": null
2009
+ },
2010
+ "slope_drop_passed": {
2011
+ "value": 1,
2012
+ "unit": null
2013
+ },
2014
+ "slope_drop_max_clearance": {
2015
+ "value": 0.0187,
2016
+ "unit": "m"
2017
+ },
2018
+ "slope_drop_separation_frames": {
2019
+ "value": 0,
2020
+ "unit": null
2021
+ },
2022
+ "slope_drop_left_slope_frame": {
2023
+ "value": 241,
2024
+ "unit": null
2025
+ },
2026
+ "slope_drop_horiz_time": {
2027
+ "value": 0.208,
2028
+ "unit": null
2029
+ }
2030
+ },
2031
+ "kit_logs": [
2032
+ {
2033
+ "level": "error",
2034
+ "channel": "omni.kit.app._impl",
2035
+ "message": "[py stderr]: Traceback (most recent call last):"
2036
+ },
2037
+ {
2038
+ "level": "error",
2039
+ "channel": "omni.kit.app._impl",
2040
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/impl/texture.py\", line 377, in on_drawable_changed"
2041
+ },
2042
+ {
2043
+ "level": "error",
2044
+ "channel": "omni.kit.app._impl",
2045
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
2046
+ },
2047
+ {
2048
+ "level": "error",
2049
+ "channel": "omni.kit.app._impl",
2050
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
2051
+ },
2052
+ {
2053
+ "level": "error",
2054
+ "channel": "omni.kit.app._impl",
2055
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
2056
+ },
2057
+ {
2058
+ "level": "error",
2059
+ "channel": "omni.kit.app._impl",
2060
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2061
+ },
2062
+ {
2063
+ "level": "error",
2064
+ "channel": "omni.kit.app._impl",
2065
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
2066
+ },
2067
+ {
2068
+ "level": "error",
2069
+ "channel": "omni.kit.app._impl",
2070
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
2071
+ },
2072
+ {
2073
+ "level": "error",
2074
+ "channel": "omni.kit.app._impl",
2075
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2076
+ },
2077
+ {
2078
+ "level": "error",
2079
+ "channel": "omni.kit.app._impl",
2080
+ "message": "[py stderr]: File \"<home>/simready-bench/.venv-isaac/lib/python3.12/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.0+00c488ae/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
2081
+ },
2082
+ {
2083
+ "level": "error",
2084
+ "channel": "omni.kit.app._impl",
2085
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
2086
+ },
2087
+ {
2088
+ "level": "error",
2089
+ "channel": "omni.kit.app._impl",
2090
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
2091
+ },
2092
+ {
2093
+ "level": "error",
2094
+ "channel": "omni.kit.app._impl",
2095
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
2096
+ }
2097
+ ]
2098
+ }
2099
+ ]
2100
+ }
cd_case/.metadata/cd_case_validation.json ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "simready_usd/cd_case.usd": {
3
+ "features_summary": {
4
+ "FET_000_MUJOCO": {
5
+ "blocking_failure": false,
6
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
7
+ "optional requirements": "['com.nvidia.simready.RV.007']",
8
+ "passed": false,
9
+ "version": "0.1.0"
10
+ },
11
+ "FET_000_NEWTON": {
12
+ "blocking_failure": false,
13
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
14
+ "optional requirements": "['com.nvidia.simready.RV.004']",
15
+ "passed": false,
16
+ "version": "0.1.0"
17
+ },
18
+ "FET_000_PHYSX": {
19
+ "blocking_failure": false,
20
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
21
+ "optional requirements": "['com.nvidia.simready.RV.001']",
22
+ "passed": false,
23
+ "version": "0.1.0"
24
+ },
25
+ "FET_000_STANDARD": {
26
+ "blocking_failure": false,
27
+ "dependencies": "[]",
28
+ "passed": true,
29
+ "version": "0.2.0"
30
+ },
31
+ "FET_001_STANDARD": {
32
+ "blocking_failure": false,
33
+ "dependencies": "[]",
34
+ "passed": true,
35
+ "version": "1.0.1"
36
+ },
37
+ "FET_003_MUJOCO": {
38
+ "blocking_failure": false,
39
+ "dependencies": "[]",
40
+ "optional requirements": "['com.nvidia.simready.MUJOCO.COL.001']",
41
+ "passed": false,
42
+ "version": "0.1.0"
43
+ },
44
+ "FET_003_NEWTON": {
45
+ "blocking_failure": false,
46
+ "dependencies": "[]",
47
+ "optional requirements": "['com.nvidia.simready.NEWTON.COL.001']",
48
+ "passed": false,
49
+ "version": "0.1.0"
50
+ },
51
+ "FET_003_PHYSX": {
52
+ "blocking_failure": false,
53
+ "dependencies": "[]",
54
+ "passed": true,
55
+ "version": "0.4.0"
56
+ },
57
+ "FET_003_STANDARD": {
58
+ "blocking_failure": false,
59
+ "dependencies": "[]",
60
+ "passed": true,
61
+ "version": "0.2.0"
62
+ },
63
+ "FET_004_MUJOCO": {
64
+ "blocking_failure": false,
65
+ "dependencies": "[{'FET_003_MUJOCO': {'version': '0.1.0'}}]",
66
+ "optional requirements": "['com.nvidia.simready.MUJOCO.COL.001']",
67
+ "passed": false,
68
+ "version": "0.1.0"
69
+ },
70
+ "FET_004_NEWTON": {
71
+ "blocking_failure": false,
72
+ "dependencies": "[{'FET_003_NEWTON': {'version': '0.1.0'}}]",
73
+ "optional requirements": "['com.nvidia.simready.NEWTON.COL.001']",
74
+ "passed": false,
75
+ "version": "0.1.0"
76
+ },
77
+ "FET_004_PHYSX": {
78
+ "blocking_failure": false,
79
+ "dependencies": "[{'FET_003_PHYSX': {'version': '0.4.0'}}]",
80
+ "passed": true,
81
+ "version": "0.4.0"
82
+ },
83
+ "FET_004_STANDARD": {
84
+ "blocking_failure": false,
85
+ "dependencies": "[{'FET_003_STANDARD': {'version': '0.2.0'}}]",
86
+ "passed": true,
87
+ "version": "0.2.0"
88
+ },
89
+ "FET_005_STANDARD": {
90
+ "blocking_failure": false,
91
+ "dependencies": "[]",
92
+ "optional requirements": "['com.nvidia.simready.GSP.001']",
93
+ "passed": false,
94
+ "version": "0.1.0"
95
+ },
96
+ "FET_006_MDL": {
97
+ "blocking_failure": false,
98
+ "dependencies": "[]",
99
+ "optional requirements": "['com.nvidia.simready.VM.BIND.002', 'com.nvidia.simready.VM.MDL.003']",
100
+ "passed": false,
101
+ "version": "0.2.0"
102
+ },
103
+ "FET_006_OPENPBR": {
104
+ "blocking_failure": false,
105
+ "dependencies": "[]",
106
+ "optional requirements": "['com.nvidia.simready.VM.BIND.002', 'com.nvidia.simready.VM.PBR.001', 'com.nvidia.simready.VM.PBR.003']",
107
+ "passed": false,
108
+ "version": "0.1.0"
109
+ },
110
+ "FET_006_STANDARD": {
111
+ "blocking_failure": false,
112
+ "dependencies": "[]",
113
+ "passed": true,
114
+ "version": "0.2.0"
115
+ },
116
+ "FET_007_STANDARD": {
117
+ "blocking_failure": false,
118
+ "dependencies": "[]",
119
+ "optional requirements": "['com.nvidia.simready.NVM.001', 'com.nvidia.simready.NVM.002', 'com.nvidia.simready.NVM.003']",
120
+ "passed": false,
121
+ "version": "0.2.0"
122
+ },
123
+ "FET_010_STANDARD": {
124
+ "blocking_failure": false,
125
+ "dependencies": "[]",
126
+ "optional requirements": "['com.nvidia.simready.DISP.001']",
127
+ "passed": false,
128
+ "version": "0.1.0"
129
+ },
130
+ "FET_011_RTX": {
131
+ "blocking_failure": false,
132
+ "dependencies": "[{'FET_011_STANDARD': {'version': '0.2.0'}}]",
133
+ "passed": true,
134
+ "version": "0.1.0"
135
+ },
136
+ "FET_011_STANDARD": {
137
+ "blocking_failure": false,
138
+ "dependencies": "[]",
139
+ "passed": true,
140
+ "version": "0.2.0"
141
+ },
142
+ "FET_031_STANDARD": {
143
+ "blocking_failure": false,
144
+ "dependencies": "[]",
145
+ "passed": true,
146
+ "version": "0.1.0"
147
+ },
148
+ "FET_033_STANDARD": {
149
+ "blocking_failure": false,
150
+ "dependencies": "[{'FET_031_STANDARD': {'version': '0.1.0'}}]",
151
+ "passed": true,
152
+ "version": "0.4.0"
153
+ },
154
+ "FET_046_STANDARD": {
155
+ "blocking_failure": false,
156
+ "dependencies": "[{'FET_011_STANDARD': {'version': '0.2.0'}}]",
157
+ "passed": true,
158
+ "version": "0.1.0"
159
+ },
160
+ "FET_100_ISAAC": {
161
+ "blocking_failure": false,
162
+ "dependencies": "[{'FET_003_PHYSX': {'version': '0.4.0'}}]",
163
+ "optional requirements": "['com.nvidia.simready.ISA.001']",
164
+ "passed": false,
165
+ "version": "0.4.0"
166
+ }
167
+ },
168
+ "profile_id": "Robotics-Prop",
169
+ "profile_version": "4.0.0",
170
+ "simready_validate_version": "2026.8.0",
171
+ "tier_versions": {
172
+ "sensors": "2026.8.0",
173
+ "tier_aif": "2026.8.0",
174
+ "tier_core": "2026.8.0"
175
+ }
176
+ }
177
+ }
cd_case/.metadata/com.nvidia.simready.conformance.Package@1.0.0.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": "1.0",
3
+ "profile": "Package",
4
+ "profile_version": "1.0.0",
5
+ "timestamp": "2026-11-20T12:12:29",
6
+ "assets": [
7
+ {
8
+ "asset": "com.nvidia.simready.packaging.json",
9
+ "features": [
10
+ {
11
+ "FET_030_STANDARD": {
12
+ "version": "0.1.0",
13
+ "passed": true,
14
+ "failing_requirements": [],
15
+ "dependencies": []
16
+ }
17
+ },
18
+ {
19
+ "FET_032_STANDARD": {
20
+ "version": "0.1.0",
21
+ "passed": true,
22
+ "failing_requirements": [],
23
+ "dependencies": [
24
+ {
25
+ "FET_030_STANDARD": {
26
+ "version": "0.1.0"
27
+ }
28
+ }
29
+ ]
30
+ }
31
+ }
32
+ ]
33
+ }
34
+ ]
35
+ }
cd_case/.metadata/com.nvidia.simready.packaging.bom.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": "1.0",
3
+ "items": [
4
+ {
5
+ "relative_path": "simready_usd/.thumbs/256x256/cd_case.usd.png",
6
+ "size": 10893,
7
+ "hash": {
8
+ "sha256-flat-1mb": "9030bb8f224caedcf7a31ba57280304bce7e90e36bb408add99ee573ef27bc7f",
9
+ "sha256": "46ed809e899d699e8f0c7e4f052f7eb298f7a617cce0a9941afc9afe815f948e"
10
+ }
11
+ },
12
+ {
13
+ "relative_path": "simready_usd/.thumbs/256x256/cd_case.usd_light.png",
14
+ "size": 7742,
15
+ "hash": {
16
+ "sha256-flat-1mb": "352435f914c3d6675e6167ddd85e5ddd6996c7c2a26a8eeae74522b56c34be0b",
17
+ "sha256": "ca6267c116079f4af1ad1311a454e9853db58eba66ed0ac2eb02b7d62d9357a6"
18
+ }
19
+ },
20
+ {
21
+ "relative_path": "simready_usd/.thumbs/256x256/cd_case.usd_transparent.png",
22
+ "size": 11629,
23
+ "hash": {
24
+ "sha256-flat-1mb": "70528a6492c60a6915d122592fbcbaaf16a40cf84a222bcd83b2747200fd555f",
25
+ "sha256": "87cde651ba3566ce9dd7b800fb9a6e93e300fdbb1691a9488b2ed18d8930817f"
26
+ }
27
+ },
28
+ {
29
+ "relative_path": "simready_usd/cd_case.json",
30
+ "size": 13189,
31
+ "hash": {
32
+ "sha256-flat-1mb": "95e18e6c2867f161979cca14d71ee488e4a38e20b8caa9cfc283fb46eded7ccc",
33
+ "sha256": "f028695eb4918d6acda07f08df1ecb9208473b3fb1aaffea53b526d42fd73e1f"
34
+ }
35
+ },
36
+ {
37
+ "relative_path": "simready_usd/cd_case.usd",
38
+ "size": 1484943,
39
+ "hash": {
40
+ "sha256-flat-1mb": "d0cf1a8e4aa6e7ee099b2f8f445a8b81670454b5c054ff12a0f1b41f1de03218",
41
+ "sha256": "e2af8c3618c703d3f12d383c78a5b11156cb99bb71e265af38509e4fad9fb2c2",
42
+ "sha256-first1m": "bfcb487c5df8bf5b5ce068ade0de4fa7d8312681c8926eb0a8d79b36dd3a4d95"
43
+ }
44
+ },
45
+ {
46
+ "relative_path": "simready_usd/materials/OmniGlass.mdl",
47
+ "size": 10205,
48
+ "hash": {
49
+ "sha256-flat-1mb": "86cb6026c68465e4fdb90c3fad3fe4a872482e9434e7fdc9bc4f90dd7cdfbd15",
50
+ "sha256": "31a93eda2387572db4930a8b22f51e100716809e859505c97b82a17ac43d1e30"
51
+ }
52
+ },
53
+ {
54
+ "relative_path": "simready_usd/materials/OmniGlass_Opacity.mdl",
55
+ "size": 17706,
56
+ "hash": {
57
+ "sha256-flat-1mb": "92c7b8029c940d568fe2e10951ccbde9d2aaec638f42284f72d07cad01960a50",
58
+ "sha256": "b6110a46bb9e8cd94f20cf7d78992f6f81cd5546bbab277cf950256faae80261"
59
+ }
60
+ },
61
+ {
62
+ "relative_path": "simready_usd/materials/OmniPBRBase.mdl",
63
+ "size": 19369,
64
+ "hash": {
65
+ "sha256-flat-1mb": "001afd3ed8918a1fd8623689cf100e375bf3797f1398cb0a8a2727300e83016f",
66
+ "sha256": "a8fd9fe174e91892e94d06da90ba453a124024c2ce2c033be9d82c9e2f76a3b7"
67
+ }
68
+ },
69
+ {
70
+ "relative_path": "simready_usd/materials/qa-core-mdl/LICENSE",
71
+ "size": 1544,
72
+ "hash": {
73
+ "sha256-flat-1mb": "f05b2bab8d607c28f8e8ec04741daef7ac44c9f68e5abfeeece6acd82f6c5868",
74
+ "sha256": "96e3f1d933a7768a7d5a15d5af0895ab740b31bce57184096726d02315538154"
75
+ }
76
+ },
77
+ {
78
+ "relative_path": "simready_usd/materials/qa-core-mdl/OmniPBR.mdl",
79
+ "size": 13989,
80
+ "hash": {
81
+ "sha256-flat-1mb": "4d0f54d47017bfbe22cc483cb02c4fe7e2254ddd1119cd618cbaea553639d52c",
82
+ "sha256": "d384fc800f120e3cad1b7ca8837f9c554f9c34343d194813fca27caa493001f2"
83
+ }
84
+ },
85
+ {
86
+ "relative_path": "simready_usd/materials/qa-core-mdl/OmniPBRBase.mdl",
87
+ "size": 17274,
88
+ "hash": {
89
+ "sha256-flat-1mb": "4b54e7fb8bc92191512851b3acc6fc6fa9863f80d98ffece8f0cb9b99f5f4535",
90
+ "sha256": "701f37299b44106842bdbe025de52eedec391e35b038f61c4ed4d25bd98e7db1"
91
+ }
92
+ },
93
+ {
94
+ "relative_path": "simready_usd/materials/qa-core-mdl/OmniPBR_ClearCoat.mdl",
95
+ "size": 27453,
96
+ "hash": {
97
+ "sha256-flat-1mb": "0e35217542eb4ece0205fc09f74eb71aaa6bfb75b3b861d64693d317282df424",
98
+ "sha256": "687fce3f0693146b91495f04407a7c38c78f6b9262b63621f44b4b1f09110469"
99
+ }
100
+ },
101
+ {
102
+ "relative_path": "simready_usd/textures/cd_case_basecolor_texture0png.png",
103
+ "size": 1598117,
104
+ "hash": {
105
+ "sha256-flat-1mb": "d2b23126beaafc8639421f2445fb9c4f52242edc723042e4f729982234962499",
106
+ "sha256": "b4946e581e3a1ecaa16395c42c0fa2c8bf2e1ee9ba610038c5b2c89dad65c9e4",
107
+ "sha256-first1m": "d49915a6db27a63cf40c84aae6f42de98638a800ae62c18f1cb873f3d63a809c"
108
+ }
109
+ },
110
+ {
111
+ "relative_path": "simready_usd/textures/cd_case_metallic_texture0metallicpng.png",
112
+ "size": 19230,
113
+ "hash": {
114
+ "sha256-flat-1mb": "65614d42b1b7ba64d79b5c17e3849d361425dc3b8d19a18b3c303505017bea35",
115
+ "sha256": "4b255a3899fbc720b56b6808c9ff2687902afe404a902acd20c42717cb32572b"
116
+ }
117
+ },
118
+ {
119
+ "relative_path": "simready_usd/textures/cd_case_normal_texture0normalpng.png",
120
+ "size": 1163239,
121
+ "hash": {
122
+ "sha256-flat-1mb": "81276da5ba6ab6114459434650659821851cd12e57d5d78324d5c4c353cba6ed",
123
+ "sha256": "78d3a26870afb6a45afa7145d0b73b1f0dbb02897e4f5e0948eb4dd9c20ce40c",
124
+ "sha256-first1m": "5f0535aa71aa8a92776de19b76a2e3a9762e8b9279dc4fc46520a7e033131a7e"
125
+ }
126
+ },
127
+ {
128
+ "relative_path": "simready_usd/textures/cd_case_printed_paper.png",
129
+ "size": 1655482,
130
+ "hash": {
131
+ "sha256-flat-1mb": "4aa01ce76444fc197a860036a0c398ddd43d89ead32700113a893aa6b7c610d3",
132
+ "sha256": "ae01f2cf6323c0d9c2b8fecbdc9d7c79a0666063e72be14f253c1f5f7bdb0197",
133
+ "sha256-first1m": "a9c69b4af46ab9d2ebb67f986f837080e13f56741013a36d8c27778bba3527ed"
134
+ }
135
+ },
136
+ {
137
+ "relative_path": "simready_usd/textures/cd_case_roughness_texture0roughnesspng.png",
138
+ "size": 209520,
139
+ "hash": {
140
+ "sha256-flat-1mb": "f3b504d1c417e01f4d079bce440af6a0174c9561cf33cd11addcbaa12fdc6dea",
141
+ "sha256": "e96aaa56890e742eaf6ad94f9544ab5ac599414ddffedccfaa38a241ff4c4482"
142
+ }
143
+ }
144
+ ]
145
+ }
cd_case/com.nvidia.simready.packaging.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": "1.0",
3
+ "package_id": "simready.hf.projectsim.simready-assets.cd_case.2026.11.20_00",
4
+ "license": "cc-by-4.0",
5
+ "metadata": [
6
+ {
7
+ "name": "com.nvidia.simready.conformance.Package-Candidate@1.0.0.json",
8
+ "hash": {
9
+ "sha256": "15ac44fc2b22d8a0e63d2e246ad508a5d3ec97da057e8bbe19db7973108fe90d"
10
+ }
11
+ },
12
+ {
13
+ "name": "com.nvidia.simready.packaging.bom.json",
14
+ "hash": {
15
+ "sha256": "8d88fd9d0a793799cdbcd41e73cdb4ae35ea4d04eee44d2eaf8e0c110b80ea0a"
16
+ }
17
+ },
18
+ {
19
+ "name": "com.nvidia.simready.root_usds.json",
20
+ "hash": {
21
+ "sha256": "05b25b050b22d6e3b4ea8d99d33225becdfcfeec6603f67c1597d0c2f29a50e7"
22
+ }
23
+ }
24
+ ],
25
+ "content_hash": {
26
+ "sha256": "17add7ff88ebec9daecadd8d43853d692d25d4ebc9815756e8e7d58e21a3dbaa"
27
+ },
28
+ "package_hash": {
29
+ "sha256": "aa75df681fe3cfb55059313150124f266241eb1f7dbf54db8f964bc038977035"
30
+ }
31
+ }
cd_case/simready_usd/.thumbs/256x256/cd_case.usd.png ADDED

Git LFS Details

  • SHA256: 46ed809e899d699e8f0c7e4f052f7eb298f7a617cce0a9941afc9afe815f948e
  • Pointer size: 130 Bytes
  • Size of remote file: 10.9 kB
cd_case/simready_usd/.thumbs/256x256/cd_case.usd_light.png ADDED

Git LFS Details

  • SHA256: ca6267c116079f4af1ad1311a454e9853db58eba66ed0ac2eb02b7d62d9357a6
  • Pointer size: 129 Bytes
  • Size of remote file: 7.74 kB
cd_case/simready_usd/.thumbs/256x256/cd_case.usd_transparent.png ADDED

Git LFS Details

  • SHA256: 87cde651ba3566ce9dd7b800fb9a6e93e300fdbb1691a9488b2ed18d8930817f
  • Pointer size: 130 Bytes
  • Size of remote file: 11.6 kB
cd_case/simready_usd/cd_case.json ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "physics": {
3
+ "articulation": {
4
+ "schema_version": "articulation/3",
5
+ "base_mode_source": "handoff",
6
+ "collision_filter": {
7
+ "mode": "adjacent",
8
+ "explicit_excluded_link_pairs": [],
9
+ "handoff_excluded_link_pairs": [
10
+ [
11
+ "case",
12
+ "lid"
13
+ ]
14
+ ],
15
+ "excluded_link_pairs": [
16
+ [
17
+ "case",
18
+ "lid"
19
+ ]
20
+ ],
21
+ "representation": "UsdPhysics.FilteredPairsAPI plus joint collisionEnabled",
22
+ "external_contacts": "enabled",
23
+ "other_engine_validation": "not_run",
24
+ "rest_overlap_contact_kept": [
25
+ [
26
+ "case",
27
+ "cd",
28
+ 1.0
29
+ ]
30
+ ]
31
+ },
32
+ "collider_aggregation": "link",
33
+ "joint_count": 1,
34
+ "joint_types": {
35
+ "revolute": 1
36
+ },
37
+ "axis_rule": "physics:axis X; both joint frames rotated by the quaternion mapping +X onto the contract axis",
38
+ "links": {
39
+ "case": {
40
+ "prim": "/cd_case/case",
41
+ "mass_kg": 0.06109999865293503,
42
+ "mass_source": "VLM per-part estimate, 39 of 39 meshes",
43
+ "colliders": 1,
44
+ "collision": [
45
+ {
46
+ "prim": "/cd_case/case/Collisions/link_collision",
47
+ "approximation": "convexDecomposition",
48
+ "basis": "combined rigid link; bounded concave cook",
49
+ "source_mesh_count": 39,
50
+ "source_meshes": [
51
+ "/cd_case/case/case__visual_000/Cube_045",
52
+ "/cd_case/case/case__visual_001/Cube_046",
53
+ "/cd_case/case/case__visual_002/Cube_047",
54
+ "/cd_case/case/case__visual_003/Cube_048",
55
+ "/cd_case/case/case__visual_004/Cube_049",
56
+ "/cd_case/case/case__visual_005/Cube_050",
57
+ "/cd_case/case/case__visual_006/Cube_051",
58
+ "/cd_case/case/case__visual_007/Cube_052",
59
+ "/cd_case/case/case__visual_008/Cube_053",
60
+ "/cd_case/case/case__visual_009/Cube_054",
61
+ "/cd_case/case/case__visual_010/Cube_055",
62
+ "/cd_case/case/case__visual_011/Cube_056",
63
+ "/cd_case/case/case__visual_012/Cube_057",
64
+ "/cd_case/case/case__visual_013/Cube_058",
65
+ "/cd_case/case/case__visual_014/Cube_059",
66
+ "/cd_case/case/case__visual_015/Cube_060",
67
+ "/cd_case/case/case__visual_016/Cube_061",
68
+ "/cd_case/case/case__visual_017/Cube_062",
69
+ "/cd_case/case/case__visual_018/Cube_063",
70
+ "/cd_case/case/case__visual_019/Cube_064",
71
+ "/cd_case/case/case__visual_020/Cube_065",
72
+ "/cd_case/case/case__visual_021/Cube_066",
73
+ "/cd_case/case/case__visual_022/Cube_067",
74
+ "/cd_case/case/case__visual_023/Cube_068",
75
+ "/cd_case/case/case__visual_024/Low_support_annulus_001",
76
+ "/cd_case/case/case__visual_025/Cube_069",
77
+ "/cd_case/case/case__visual_026/Cube_070",
78
+ "/cd_case/case/case__visual_027/Cube_071",
79
+ "/cd_case/case/case__visual_028/Cube_072",
80
+ "/cd_case/case/case__visual_029/Cube_073",
81
+ "/cd_case/case/case__visual_030/Cube_074",
82
+ "/cd_case/case/case__visual_031/Cube_075",
83
+ "/cd_case/case/case__visual_032/Cube_076",
84
+ "/cd_case/case/case__visual_033/Cube_077",
85
+ "/cd_case/case/case__visual_034/Cube_078",
86
+ "/cd_case/case/case__visual_035/Cube_079",
87
+ "/cd_case/case/case__visual_036/Cube_080",
88
+ "/cd_case/case/case__visual_037/Cube_081",
89
+ "/cd_case/case/case__visual_038/Cube_082"
90
+ ],
91
+ "aggregation": "link",
92
+ "boolean_union": false,
93
+ "cooked_shape_count": null
94
+ }
95
+ ]
96
+ },
97
+ "lid": {
98
+ "prim": "/cd_case/lid",
99
+ "mass_kg": 0.02410000003874302,
100
+ "mass_source": "VLM per-part estimate, 13 of 13 meshes",
101
+ "colliders": 1,
102
+ "collision": [
103
+ {
104
+ "prim": "/cd_case/lid/Collisions/link_collision",
105
+ "approximation": "convexDecomposition",
106
+ "basis": "combined rigid link; bounded concave cook",
107
+ "source_mesh_count": 13,
108
+ "source_meshes": [
109
+ "/cd_case/lid/lid__visual_000/Cube_083",
110
+ "/cd_case/lid/lid__visual_001/Cube_084",
111
+ "/cd_case/lid/lid__visual_002/Cube_085",
112
+ "/cd_case/lid/lid__visual_003/Cube_086",
113
+ "/cd_case/lid/lid__visual_004/Cube_087",
114
+ "/cd_case/lid/lid__visual_005/Cylinder_005",
115
+ "/cd_case/lid/lid__visual_006/Cube_088",
116
+ "/cd_case/lid/lid__visual_007/Cylinder_006",
117
+ "/cd_case/lid/lid__visual_008/Semicircular_paper_retaining_tab_004",
118
+ "/cd_case/lid/lid__visual_009/Semicircular_paper_retaining_tab_005",
119
+ "/cd_case/lid/lid__visual_010/Semicircular_paper_retaining_tab_006",
120
+ "/cd_case/lid/lid__visual_011/Semicircular_paper_retaining_tab_007",
121
+ "/cd_case/lid/lid__visual_012/Cube_089"
122
+ ],
123
+ "aggregation": "link",
124
+ "boolean_union": false,
125
+ "cooked_shape_count": null
126
+ }
127
+ ]
128
+ },
129
+ "cd": {
130
+ "prim": "/cd_case/cd",
131
+ "mass_kg": 0.013199999928474426,
132
+ "mass_source": "VLM per-part estimate, 1 of 1 meshes",
133
+ "colliders": 1,
134
+ "collision": [
135
+ {
136
+ "prim": "/cd_case/cd/Collisions/link_collision",
137
+ "approximation": "convexHull",
138
+ "basis": "planar_solidity",
139
+ "source_mesh_count": 1,
140
+ "source_meshes": [
141
+ "/cd_case/cd/case__visual_039/Complete_removable_120mm_compact_disc_001"
142
+ ],
143
+ "aggregation": "link",
144
+ "boolean_union": false,
145
+ "cooked_shape_count": null
146
+ }
147
+ ]
148
+ }
149
+ },
150
+ "joints": {
151
+ "lid_hinge": {
152
+ "path": "/cd_case/Joints/lid_hinge",
153
+ "type": "revolute",
154
+ "parent": "case",
155
+ "child": "lid",
156
+ "axis_contract": [
157
+ 0.0,
158
+ 0.0,
159
+ -1.0
160
+ ],
161
+ "axis_token": "X",
162
+ "frame_alignment_wxyz": [
163
+ 0.707106781,
164
+ 0.0,
165
+ 0.707106781,
166
+ 0.0
167
+ ],
168
+ "limits": {
169
+ "lower": 0.0,
170
+ "upper": 180.0,
171
+ "unit": "deg"
172
+ },
173
+ "drive": {
174
+ "type": "force",
175
+ "stiffness": 0.0,
176
+ "damping": 1.2081144632247742e-05,
177
+ "damping_unit": "N*m*s/deg",
178
+ "damping_si": 0.0006921985991149247,
179
+ "damping_basis": "4/s x load 0.000173",
180
+ "damping_si_unit": "N*m*s/rad",
181
+ "note": "passive joint: damping only; no actuation authored",
182
+ "stiffness_si": 0.0
183
+ },
184
+ "behavior": {
185
+ "intent": {
186
+ "confidence": "medium",
187
+ "mode": "none",
188
+ "reason": "The user opens the plastic lid by hand; after release the ordinary pin hinge is passive. No spring or position support is visible; a closed snap catch is not simulated."
189
+ },
190
+ "status": "passive",
191
+ "simulator_status": "not_run"
192
+ }
193
+ }
194
+ },
195
+ "joint_couplings": [],
196
+ "preview_controls": [],
197
+ "reference_pose": {
198
+ "lid_hinge": 0.0
199
+ },
200
+ "provenance": {
201
+ "base_mode_reason": "Portable jewel case and removable disc have no world mounting.",
202
+ "base_mode_source": "author_explicit",
203
+ "contract_revision": "3.1",
204
+ "producer": "articulated-asset-generation",
205
+ "producer_version": "0.1.0",
206
+ "separation": {
207
+ "applied": [
208
+ {
209
+ "confidence": "high",
210
+ "id": "cd",
211
+ "meshes": [
212
+ "case__visual_039"
213
+ ],
214
+ "operation": "extract",
215
+ "reason": "Label 40 is the complete 120 mm compact disc, a distinct mesh seated in the tray. Extract it as one free removable rigid component, with no joint to the case or spindle, as explicitly requested.",
216
+ "source_link": "case"
217
+ }
218
+ ],
219
+ "components": 2,
220
+ "status": "converted",
221
+ "unresolved": []
222
+ }
223
+ },
224
+ "components": [
225
+ {
226
+ "base_mode": "free",
227
+ "id": "case",
228
+ "root_link": "case",
229
+ "prim": "/cd_case/case",
230
+ "world_joint": null,
231
+ "handoff_base_mode": "free",
232
+ "links": [
233
+ "case",
234
+ "lid"
235
+ ],
236
+ "mass_kg": 0.0852
237
+ },
238
+ {
239
+ "base_mode": "free",
240
+ "id": "cd",
241
+ "root_link": "cd",
242
+ "prim": "/cd_case/cd",
243
+ "world_joint": null,
244
+ "handoff_base_mode": "free",
245
+ "links": [
246
+ "cd"
247
+ ],
248
+ "mass_kg": 0.0132
249
+ }
250
+ ],
251
+ "reference_root_poses": {
252
+ "case": {
253
+ "position_m": [
254
+ 0.0,
255
+ 0.0,
256
+ 0.0
257
+ ],
258
+ "orientation_wxyz": [
259
+ 1.0,
260
+ 0.0,
261
+ 0.0,
262
+ 0.0
263
+ ]
264
+ },
265
+ "cd": {
266
+ "position_m": [
267
+ 0.0,
268
+ 0.0,
269
+ 0.0
270
+ ],
271
+ "orientation_wxyz": [
272
+ 1.0,
273
+ 0.0,
274
+ 0.0,
275
+ 0.0
276
+ ]
277
+ }
278
+ }
279
+ },
280
+ "mass_kg": 0.09839999862015247,
281
+ "colliders": 3,
282
+ "status": "articulated_body",
283
+ "material_class": "plastic",
284
+ "engine": "physx",
285
+ "multipart_physx": false,
286
+ "static_friction": 0.3499999940395355,
287
+ "dynamic_friction": 0.2800000011920929,
288
+ "restitution": 0.30000001192092896,
289
+ "friction_model": "legacy",
290
+ "friction_convention": "pair_value_on_steel_dry",
291
+ "dynamic_friction_source": "material_table",
292
+ "dynamic_friction_convention": "pair_value_on_steel_dry",
293
+ "nvidia_qa_overrides": {
294
+ "/cd_case/case": {
295
+ "physics:mass": 0.06109999865293503,
296
+ "physxRigidBody:enableCCD": true
297
+ },
298
+ "/cd_case/case/Collisions/link_collision": {
299
+ "physics:approximation": "convexDecomposition",
300
+ "physxConvexDecompositionCollision:shrinkWrap": true
301
+ },
302
+ "/cd_case/cd": {
303
+ "physics:mass": 0.013199999928474426,
304
+ "physxRigidBody:enableCCD": true
305
+ },
306
+ "/cd_case/cd/case__visual_039/Complete_removable_120mm_compact_disc_001": {
307
+ "physics:approximation": "convexHull"
308
+ },
309
+ "/cd_case/lid": {
310
+ "physics:mass": 0.02410000003874302,
311
+ "physxRigidBody:enableCCD": true
312
+ },
313
+ "/cd_case/lid/Collisions/link_collision": {
314
+ "physics:approximation": "convexDecomposition",
315
+ "physxConvexDecompositionCollision:shrinkWrap": true
316
+ },
317
+ "/cd_case/Physics/PhysicsMaterial": {
318
+ "physics:dynamicFriction": 0.2800000011920929,
319
+ "physics:restitution": 0.30000001192092896,
320
+ "physics:staticFriction": 0.3499999940395355,
321
+ "physxMaterial:frictionCombineMode": "average",
322
+ "physxMaterial:restitutionCombineMode": "max"
323
+ },
324
+ "/cd_case/Joints/lid_hinge": {
325
+ "drive:angular:physics:damping": 1.2081144632247742e-05,
326
+ "drive:angular:physics:stiffness": 0.0
327
+ }
328
+ }
329
+ },
330
+ "batch03_material_repair": {
331
+ "source_sha256": "766687df77ecf5cdc08525667c5c149509d17c6d5e9d522744470baf991c070b",
332
+ "candidate_sha256": "b7e59acc7747607ae5035324cee8f4b15591cce6a9ff29fb612e445f750b2b55",
333
+ "paper_mesh": "/cd_case/lid/lid__visual_012/Cube_089",
334
+ "reference_sha256": "ae01f2cf6323c0d9c2b8fecbdc9d7c79a0666063e72be14f253c1f5f7bdb0197",
335
+ "physics_attributes_unchanged": true,
336
+ "method": "Vertex UV projection of existing aligned reference; separate paper material with USD Preview Surface and Isaac OmniPBR.",
337
+ "status": "applied_pending_canonical_recheck",
338
+ "canonical_usd": "C:\\working\\antigravity_dev\\robotics-articulated-asset-generation\\outputs\\batch_03\\simready\\assets\\cd_case\\cd_case.usd",
339
+ "repaired_handoff": "C:\\working\\antigravity_dev\\robotics-articulated-asset-generation\\outputs\\batch_03\\repaired_handoffs\\cd_case",
340
+ "original_handoff": "C:\\working\\antigravity_dev\\robotics-articulated-asset-generation\\outputs\\batch_03\\assetgen\\cd_case\\final",
341
+ "backup": "C:\\working\\antigravity_dev\\robotics-articulated-asset-generation\\outputs\\batch_03\\qa\\repairs\\cd_case_before_paper_graphic",
342
+ "promoted_at": 1794540909.1262615
343
+ }
344
+ }
cd_case/simready_usd/cd_case.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2af8c3618c703d3f12d383c78a5b11156cb99bb71e265af38509e4fad9fb2c2
3
+ size 1484943
cd_case/simready_usd/materials/OmniGlass.mdl ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***************************************************************************************************
2
+ * Copyright 2020 NVIDIA Corporation. All rights reserved.
3
+ *
4
+ * Redistribution and use in source and binary forms, with or without
5
+ * modification, are permitted provided that the following conditions
6
+ * are met:
7
+ * * Redistributions of source code must retain the above copyright
8
+ * notice, this list of conditions and the following disclaimer.
9
+ * * Redistributions in binary form must reproduce the above copyright
10
+ * notice, this list of conditions and the following disclaimer in the
11
+ * documentation and/or other materials provided with the distribution.
12
+ * * Neither the name of NVIDIA CORPORATION nor the names of its
13
+ * contributors may be used to endorse or promote products derived
14
+ * from this software without specific prior written permission.
15
+ *
16
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
17
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
24
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
+ **************************************************************************************************/
28
+
29
+ mdl 1.7;
30
+ import ::anno::*;
31
+ import ::base::*;
32
+ import ::tex::*;
33
+
34
+ using OmniGlass_Opacity import OmniGlass_Opacity;
35
+ export annotation distill_off();
36
+
37
+
38
+ export material OmniGlass
39
+ (
40
+ color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
41
+ [[
42
+ anno::hidden(),
43
+ anno::unused()
44
+ ]],
45
+ uniform bool use_glass_color_texture = false
46
+ [[
47
+ anno::hidden(),
48
+ anno::unused()
49
+ ]],
50
+ uniform color glass_color = color(1.f, 1.f, 1.f)
51
+ [[
52
+ anno::display_name("Glass Color"),
53
+ anno::description("Sets the color of the glass"),
54
+ anno::hard_range(color(0.0), color(1.0)),
55
+ anno::in_group("Color")
56
+ ]],
57
+ uniform texture_2d glass_color_texture = texture_2d()
58
+ [[
59
+ anno::display_name("Glass Color Texture"),
60
+ anno::description("Specifies the texture to be used for the glass color of the material"),
61
+ anno::in_group("Color")
62
+ ]],
63
+ float frosting_roughness = 0.f
64
+ [[
65
+ anno::display_name("Glass Roughness"),
66
+ anno::description("Sets the roughness of the glass material "),
67
+ anno::hard_range(0.0, 1.0),
68
+ anno::in_group("Roughness")
69
+ ]],
70
+ uniform float glass_ior = 1.491f
71
+ [[
72
+ anno::display_name("Glass IOR"),
73
+ anno::description("Sets IOR of the glass material "),
74
+ anno::soft_range(1.0f, 4.0f),
75
+ anno::in_group("Refraction")
76
+ ]],
77
+ uniform bool thin_walled = false
78
+ [[
79
+ anno::display_name("Thin Walled"),
80
+ anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
81
+ anno::in_group("Refraction")
82
+ ]],
83
+ uniform float depth = 0.001f
84
+ [[
85
+ anno::description("Controls how much light is absorbed through the surface"),
86
+ anno::display_name("Volume Absorption Scale"),
87
+ anno::in_group("Color"),
88
+ anno::soft_range(0.f, 1.f),
89
+ anno::hard_range(0.f, 1000.f)
90
+ ]],
91
+ float roughness_texture_influence = 1.f
92
+ [[
93
+ anno::display_name("Roughness Texture Influence"),
94
+ anno::in_group("Roughness"),
95
+ anno::hard_range(0.0f, 1.0f)
96
+ ]],
97
+ uniform texture_2d roughness_texture = texture_2d()
98
+ [[
99
+ anno::description("The roughness texture"),
100
+ anno::display_name("Roughness Texture"),
101
+ anno::in_group("Roughness"),
102
+ anno::usage("roughness")
103
+ ]],
104
+ uniform texture_2d reflection_color_texture = texture_2d()
105
+ [[
106
+ anno::description("The reflection color texture"),
107
+ anno::display_name("Reflection Color Texture"),
108
+ anno::in_group("Reflection")
109
+ ]],
110
+ uniform color reflection_color = color(1.f, 1.f, 1.f)
111
+ [[
112
+ anno::display_name("Reflection Color"),
113
+ anno::in_group("Reflection")
114
+ ]],
115
+ uniform texture_2d normal_map_texture = texture_2d()
116
+ [[
117
+ anno::description("The normal map texture"),
118
+ anno::display_name("Normal Map Texture"),
119
+ anno::in_group("Normal"),
120
+ anno::usage("normal")
121
+ ]],
122
+ uniform float normal_map_strength = 1.0
123
+ [[
124
+ anno::description("Determines the degree of bumpiness"),
125
+ anno::display_name("Normal Map Strength"),
126
+ anno::in_group("Normal"),
127
+ anno::usage(""),
128
+ anno::soft_range(0.f, 1.f)
129
+ ]],
130
+ uniform float geometry_normal_roughness_strength = 1.f
131
+ [[
132
+ anno::hard_range(0.f, 1.f),
133
+ anno::display_name("Normal map to roughness weight"),
134
+ anno::description("Enables and weights roughness induced by normal maps"),
135
+ anno::in_group("Normal")
136
+ ]],
137
+ uniform bool flip_tangent_u = false
138
+ [[
139
+ anno::display_name("Normal Map Flip U Tangent"),
140
+ anno::in_group("Normal")
141
+ ]],
142
+ uniform bool flip_tangent_v = true
143
+ [[
144
+ anno::display_name("Normal Map Flip V Tangent"),
145
+ anno::in_group("Normal")
146
+ ]],
147
+
148
+ // Cutout Opacity
149
+ uniform bool enable_opacity = false
150
+ [[
151
+ anno::display_name("Enable Opacity"),
152
+ anno::description("Enables the use of cutout opacity"),
153
+ anno::in_group("Opacity")
154
+ ]],
155
+ uniform float cutout_opacity = 1.0f
156
+ [[
157
+ anno::hard_range(0.0, 1.0),
158
+ anno::display_name("Opacity Amount"),
159
+ anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
160
+ anno::in_group("Opacity")
161
+ ]],
162
+ uniform texture_2d cutout_opacity_texture = texture_2d()
163
+ [[
164
+ anno::description("The opacity map"),
165
+ anno::display_name("Opacity Map"),
166
+ anno::in_group("Opacity"),
167
+ anno::usage("opacity")
168
+ ]],
169
+ uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
170
+ [[
171
+ anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
172
+ anno::display_name("Opacity Mono Source"),
173
+ anno::in_group("Opacity"),
174
+ anno::usage("")
175
+ ]],
176
+ uniform float opacity_threshold = 0.f
177
+ [[
178
+ anno::hard_range(0.0, 1.0),
179
+ anno::display_name("Opacity Threshold"),
180
+ anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
181
+ anno::in_group("Opacity")
182
+ ]],
183
+
184
+ // UV Projection Group
185
+ uniform bool project_uvw = false
186
+ [[
187
+ anno::display_name("Enable Project UVW Coordinates"),
188
+ anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
189
+ anno::in_group("UV")
190
+ ]],
191
+ uniform bool world_or_object = false
192
+ [[
193
+ anno::display_name("Enable World Space"),
194
+ anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
195
+ anno::in_group("UV")
196
+ ]],
197
+
198
+ // UV Space Selector
199
+ uniform int uv_space_index = 0
200
+ [[
201
+ anno::display_name("UV Space Index"),
202
+ anno::description("Choose the UV Space Index to be used"),
203
+ anno::in_group("UV"),
204
+ anno::hard_range(0, 3)
205
+ ]],
206
+ uniform float2 texture_translate = float2(0.0f)
207
+ [[
208
+ anno::display_name("Texture Translate"),
209
+ anno::description("Controls the position of the texture."),
210
+ anno::in_group("UV")
211
+ ]],
212
+ uniform float texture_rotate = 0.f
213
+ [[
214
+ anno::display_name("Texture Rotate"),
215
+ anno::description("Rotates angle of the texture in degrees."),
216
+ anno::in_group("UV")
217
+ ]],
218
+ uniform float2 texture_scale = float2(1.0f)
219
+ [[
220
+ anno::display_name("Texture Tiling"),
221
+ anno::description("Controls repetition of the texture."),
222
+ anno::in_group("UV")
223
+ ]]
224
+ )
225
+ [[
226
+ anno::author("NVIDIA CORPORATION"),
227
+ anno::display_name("Omni Glass"),
228
+ anno::version( 1, 0, 0),
229
+ anno::in_group("Base"),
230
+ anno::description("Omni Glass Material V2"),
231
+ anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
232
+ distill_off()
233
+ ]]
234
+ = OmniGlass_Opacity(
235
+ glass_color: glass_color,
236
+ glass_color_texture: glass_color_texture,
237
+ frosting_roughness: frosting_roughness,
238
+ glass_ior: glass_ior,
239
+ thin_walled: thin_walled,
240
+ depth: depth,
241
+ roughness_texture_influence: roughness_texture_influence,
242
+ roughness_texture: roughness_texture,
243
+ reflection_color_texture: reflection_color_texture,
244
+ reflection_color: reflection_color,
245
+ normal_map_texture: normal_map_texture,
246
+ normal_map_strength: normal_map_strength,
247
+ geometry_normal_roughness_strength: geometry_normal_roughness_strength,
248
+ flip_tangent_u: flip_tangent_u,
249
+ flip_tangent_v: flip_tangent_v,
250
+ enable_opacity: enable_opacity,
251
+ cutout_opacity: cutout_opacity,
252
+ cutout_opacity_texture: cutout_opacity_texture,
253
+ cutout_opacity_mono_source: cutout_opacity_mono_source,
254
+ opacity_threshold: opacity_threshold,
255
+ project_uvw: project_uvw,
256
+ world_or_object: world_or_object,
257
+ uv_space_index: uv_space_index,
258
+ texture_translate: texture_translate,
259
+ texture_rotate: texture_rotate,
260
+ texture_scale: texture_scale
261
+ );
cd_case/simready_usd/materials/OmniGlass_Opacity.mdl ADDED
@@ -0,0 +1,487 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***************************************************************************************************
2
+ * Copyright 2020 NVIDIA Corporation. All rights reserved.
3
+ *
4
+ * Redistribution and use in source and binary forms, with or without
5
+ * modification, are permitted provided that the following conditions
6
+ * are met:
7
+ * * Redistributions of source code must retain the above copyright
8
+ * notice, this list of conditions and the following disclaimer.
9
+ * * Redistributions in binary form must reproduce the above copyright
10
+ * notice, this list of conditions and the following disclaimer in the
11
+ * documentation and/or other materials provided with the distribution.
12
+ * * Neither the name of NVIDIA CORPORATION nor the names of its
13
+ * contributors may be used to endorse or promote products derived
14
+ * from this software without specific prior written permission.
15
+ *
16
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
17
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
24
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
+ **************************************************************************************************/
28
+
29
+
30
+ mdl 1.4;
31
+
32
+ import ::tex::*;
33
+ import ::base::*;
34
+ import ::math::*;
35
+ import ::anno::*;
36
+ import ::df::*;
37
+ import ::state::*;
38
+ import OmniPBRBase::*;
39
+
40
+ const string COPYRIGHT =
41
+ " Copyright 1986, 2020 NVIDIA Corporation. All rights reserved.\n"
42
+ " MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
43
+ " WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
44
+ " THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
45
+ " EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
46
+ " MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
47
+ " COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
48
+ " CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
49
+ " GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
50
+ " AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
51
+ " INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
52
+
53
+ export annotation distill_off();
54
+
55
+
56
+ float get_float(
57
+ uniform texture_2d t,
58
+ float f,
59
+ base::texture_coordinate_info uvw,
60
+ uniform base::mono_mode mono_source = base::mono_maximum
61
+ )
62
+ {
63
+ return tex::texture_isvalid(t) ?
64
+ base::file_texture(
65
+ t,
66
+ color(0.f, 0.f, 0.f),
67
+ color(1.f, 1.f, 1.f),
68
+ mono_source,
69
+ uvw,
70
+ float2(0.f, 1.f),
71
+ float2(0.f, 1.f),
72
+ tex::wrap_repeat,
73
+ tex::wrap_repeat,
74
+ false
75
+ ).mono :
76
+ f;
77
+ }
78
+
79
+ color get_color(
80
+ uniform texture_2d t,
81
+ color c,
82
+ base::texture_coordinate_info uvw
83
+ )
84
+ {
85
+ return tex::texture_isvalid(t) ?
86
+ base::file_texture(
87
+ t,
88
+ color(0.f, 0.f, 0.f),
89
+ color(1.f, 1.f, 1.f),
90
+ base::mono_alpha,
91
+ uvw,
92
+ float2(0.f, 1.f),
93
+ float2(0.f, 1.f),
94
+ tex::wrap_repeat,
95
+ tex::wrap_repeat,
96
+ false
97
+ ).tint :
98
+ c;
99
+ }
100
+
101
+ float apply_roughness_influence(
102
+ uniform texture_2d roughness_texture,
103
+ float constant_roughness,
104
+ float roughness_influence,
105
+ base::texture_coordinate_info uvw
106
+ )
107
+ {
108
+ return math::lerp(
109
+ constant_roughness,
110
+ get_float(roughness_texture, constant_roughness, uvw),
111
+ roughness_influence
112
+ );
113
+ }
114
+
115
+ uniform float4x4 rotation_translation_scale(
116
+ uniform float3 rotation = float3(0.)
117
+ [[
118
+ anno::description("Rotation applied to every UVW coordinate")
119
+ ]],
120
+ uniform float3 translation = float3(0.)
121
+ [[
122
+ anno::description("Offset applied to every UVW coordinate")
123
+ ]],
124
+ uniform float3 scaling = float3(1.)
125
+ [[
126
+ anno::description("Scale applied to every UVW coordinate")
127
+ ]]
128
+ )
129
+ [[
130
+ anno::description("Construct transformation matrix from Euler rotation, translation and scale"),
131
+ anno::hidden()
132
+ ]]
133
+ {
134
+ float4x4 scale = float4x4(
135
+ scaling.x , 0. , 0. , 0.,
136
+ 0. , scaling.y , 0. , 0.,
137
+ 0. , 0. , scaling.z , 0.,
138
+ translation.x, translation.y, translation.z, 1.
139
+ );
140
+
141
+ float3 s = math::sin(rotation);
142
+ float3 c = math::cos(rotation);
143
+ float4x4 rotate = float4x4(
144
+ c.y*c.z, -c.x*s.z + s.x*s.y*c.z, s.x*s.z + c.x*s.y*c.z, 0.0,
145
+ c.y*s.z, c.x*c.z + s.x*s.y*s.z, -s.x*c.z + c.x*s.y*s.z, 0.0,
146
+ -s.y , s.x*c.y , c.x*c.y , 0.0,
147
+ 0. , 0. , 0. , 1.
148
+ );
149
+
150
+ return scale*rotate;
151
+ }
152
+
153
+
154
+ export material OmniGlass_Opacity
155
+ (
156
+ color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
157
+ [[
158
+ anno::hidden(),
159
+ anno::unused()
160
+ ]],
161
+ uniform bool use_glass_color_texture = false
162
+ [[
163
+ anno::hidden(),
164
+ anno::unused()
165
+ ]],
166
+ uniform color glass_color = color(1.f, 1.f, 1.f)
167
+ [[
168
+ anno::display_name("Glass Color"),
169
+ anno::description("Sets the color of the glass"),
170
+ anno::hard_range(color(0.0), color(1.0)),
171
+ anno::in_group("Color")
172
+ ]],
173
+ uniform texture_2d glass_color_texture = texture_2d()
174
+ [[
175
+ anno::display_name("Glass Color Texture"),
176
+ anno::description("Specifies the texture to be used for the glass color of the material"),
177
+ anno::in_group("Color")
178
+ ]],
179
+ float frosting_roughness = 0.f
180
+ [[
181
+ anno::display_name("Glass Roughness"),
182
+ anno::description("Sets the roughness of the glass material "),
183
+ anno::hard_range(0.0, 1.0),
184
+ anno::in_group("Roughness")
185
+ ]],
186
+ uniform float glass_ior = 1.491f
187
+ [[
188
+ anno::display_name("Glass IOR"),
189
+ anno::description("Sets IOR of the glass material "),
190
+ anno::soft_range(1.0f, 4.0f),
191
+ anno::in_group("Refraction")
192
+ ]],
193
+ uniform bool thin_walled = false
194
+ [[
195
+ anno::display_name("Thin Walled"),
196
+ anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
197
+ anno::in_group("Refraction")
198
+ ]],
199
+ uniform float depth = 0.001f
200
+ [[
201
+ anno::description("Controls how much light is absorbed through the surface"),
202
+ anno::display_name("Volume Absorption Scale"),
203
+ anno::in_group("Color"),
204
+ anno::soft_range(0.f, 1.f),
205
+ anno::hard_range(0.f, 1000.f)
206
+ ]],
207
+ float roughness_texture_influence = 1.f
208
+ [[
209
+ anno::display_name("Roughness Texture Influence"),
210
+ anno::in_group("Roughness"),
211
+ anno::hard_range(0.0f, 1.0f)
212
+ ]],
213
+ uniform texture_2d roughness_texture = texture_2d()
214
+ [[
215
+ anno::description("The roughness texture"),
216
+ anno::display_name("Roughness Texture"),
217
+ anno::in_group("Roughness"),
218
+ anno::usage("")
219
+ ]],
220
+ uniform texture_2d reflection_color_texture = texture_2d()
221
+ [[
222
+ anno::description("The reflection color texture"),
223
+ anno::display_name("Reflection Color Texture"),
224
+ anno::in_group("Reflection")
225
+ ]],
226
+ uniform color reflection_color = color(1.f, 1.f, 1.f)
227
+ [[
228
+ anno::display_name("Reflection Color"),
229
+ anno::in_group("Reflection")
230
+ ]],
231
+ uniform texture_2d normal_map_texture = texture_2d()
232
+ [[
233
+ anno::description("The normal map texture"),
234
+ anno::display_name("Normal Map Texture"),
235
+ anno::in_group("Normal"),
236
+ anno::usage("")
237
+ ]],
238
+ uniform float normal_map_strength = 1.0
239
+ [[
240
+ anno::description("Determines the degree of bumpiness"),
241
+ anno::display_name("Normal Map Strength"),
242
+ anno::in_group("Normal"),
243
+ anno::usage(""),
244
+ anno::soft_range(0.f, 1.f)
245
+ ]],
246
+ uniform float geometry_normal_roughness_strength = 1.f
247
+ [[
248
+ anno::hard_range(0.f, 1.f),
249
+ anno::display_name("Normal map to roughness weight"),
250
+ anno::description("Enables and weights roughness induced by normal maps"),
251
+ anno::in_group("Normal")
252
+ ]],
253
+ uniform bool flip_tangent_u = false
254
+ [[
255
+ anno::display_name("Normal Map Flip U Tangent"),
256
+ anno::in_group("Normal")
257
+ ]],
258
+ uniform bool flip_tangent_v = true
259
+ [[
260
+ anno::display_name("Normal Map Flip V Tangent"),
261
+ anno::in_group("Normal")
262
+ ]],
263
+
264
+ // Cutout Opacity
265
+ uniform bool enable_opacity = true
266
+ [[
267
+ anno::display_name("Enable Opacity"),
268
+ anno::description("Enables the use of cutout opacity"),
269
+ anno::in_group("Opacity")
270
+ ]],
271
+ uniform float cutout_opacity = 1.0f
272
+ [[
273
+ anno::hard_range(0.0, 1.0),
274
+ anno::display_name("Opacity Amount"),
275
+ anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
276
+ anno::in_group("Opacity")
277
+ ]],
278
+ uniform texture_2d cutout_opacity_texture = texture_2d()
279
+ [[
280
+ anno::description("The opacity map"),
281
+ anno::display_name("Opacity Map"),
282
+ anno::in_group("Opacity")
283
+ ]],
284
+ uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
285
+ [[
286
+ anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
287
+ anno::display_name("Opacity Mono Source"),
288
+ anno::in_group("Opacity"),
289
+ anno::usage("")
290
+ ]],
291
+ uniform float opacity_threshold = 0.f
292
+ [[
293
+ anno::hard_range(0.0, 1.0),
294
+ anno::display_name("Opacity Threshold"),
295
+ anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
296
+ anno::in_group("Opacity")
297
+ ]],
298
+
299
+ // UV Projection Group
300
+ uniform bool project_uvw = false
301
+ [[
302
+ anno::display_name("Enable Project UVW Coordinates"),
303
+ anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
304
+ anno::in_group("UV")
305
+ ]],
306
+ uniform bool world_or_object = false
307
+ [[
308
+ anno::display_name("Enable World Space"),
309
+ anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
310
+ anno::in_group("UV")
311
+ ]],
312
+
313
+ // UV Space Selector
314
+ uniform int uv_space_index = 0
315
+ [[
316
+ anno::display_name("UV Space Index"),
317
+ anno::description("Choose the UV Space Index to be used"),
318
+ anno::in_group("UV"),
319
+ anno::hard_range(0, 3)
320
+ ]],
321
+ uniform float2 texture_translate = float2(0.0f)
322
+ [[
323
+ anno::display_name("Texture Translate"),
324
+ anno::description("Controls the position of the texture."),
325
+ anno::in_group("UV")
326
+ ]],
327
+ uniform float texture_rotate = 0.f
328
+ [[
329
+ anno::display_name("Texture Rotate"),
330
+ anno::description("Rotates angle of the texture in degrees."),
331
+ anno::in_group("UV")
332
+ ]],
333
+ uniform float2 texture_scale = float2(1.0f)
334
+ [[
335
+ anno::display_name("Texture Scale"),
336
+ anno::description("Larger numbers increase the size."),
337
+ anno::in_group("UV")
338
+ ]]
339
+ )
340
+ [[
341
+ anno::copyright_notice(COPYRIGHT),
342
+ anno::author("NVIDIA CORPORATION"),
343
+ anno::display_name("Omni Glass Opacity"),
344
+ anno::version( 1, 0, 0),
345
+ anno::description("Omni Glass Opacity Material"),
346
+ anno::in_group("Base"),
347
+ anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
348
+ distill_off()
349
+ ]]
350
+ = let {
351
+ // Material Properties
352
+ bool local_thin_walled = (tex::texture_isvalid(cutout_opacity_texture) || cutout_opacity != 1.f) ? true : thin_walled;
353
+ color local_glass_ior = glass_ior;
354
+
355
+
356
+ // UVW Properties
357
+ // Generating the texture coordinates for the texture lookups
358
+ base::texture_coordinate_system the_system = world_or_object ?
359
+ base::texture_coordinate_world :
360
+ base::texture_coordinate_object;
361
+
362
+ base::texture_coordinate_info uvw = project_uvw ?
363
+ base::coordinate_projection(
364
+ coordinate_system: the_system,
365
+ texture_space: uv_space_index,
366
+ projection_type: base::projection_cubic
367
+ ) :
368
+ base::coordinate_source(
369
+ coordinate_system: base::texture_coordinate_uvw,
370
+ texture_space: uv_space_index
371
+ );
372
+
373
+ base::texture_coordinate_info transformed_uvw = base::transform_coordinate(
374
+ transform: rotation_translation_scale(
375
+ scaling: float3(texture_scale.x, texture_scale.y, 1.0),
376
+ rotation: float3(0.0, 0.0, texture_rotate/180.*math::PI),
377
+ translation: float3(texture_translate.x, texture_translate.y, 0.0)
378
+ ),
379
+ coordinate: uvw
380
+ );
381
+
382
+
383
+ // Opacity Properties
384
+ float opacity_value = get_float(cutout_opacity_texture, cutout_opacity, transformed_uvw, cutout_opacity_mono_source);
385
+
386
+ // The opacity_threshold is interpreted as follows:
387
+ // 1. opacity_threshold > 0: binary opacity masking mode
388
+ // i.e.: if opacity_value > opacity_threshold we remap opacity_value to 1.0, otherwise to 0.0
389
+ // 2. opacity_threshold == 0: fractional opacity mode. Leaves the opacity_value untouched,
390
+ // allowing the renderer to use fractional cutout_opacity values, if it supports this feature
391
+ //
392
+ // NOTE: when the renderer does not enable 'fractional cutout opacity' it interprets
393
+ // cutout_opacity values of 1.0 as opaque and anything below as fully transparent
394
+ float local_cutout_opacity = enable_opacity ?
395
+ ((opacity_threshold == 0.0) ?
396
+ opacity_value :
397
+ ((opacity_value >= opacity_threshold) ? 1.0 : 0)
398
+ ) :
399
+ 1.0;
400
+
401
+
402
+ // Surface Properties
403
+ color local_reflection_color = get_color(reflection_color_texture, reflection_color, transformed_uvw);
404
+ color local_transmission_color = get_color(glass_color_texture, glass_color, transformed_uvw);
405
+
406
+ OmniPBRBase::NormalData defaultData(state::normal(), float2(0.f));
407
+ OmniPBRBase::NormalData normal_data = tex::texture_isvalid(normal_map_texture) ?
408
+ OmniPBRBase::tangent_space_normal_roughness_texture(
409
+ normal_map_texture,
410
+ normal_map_strength,
411
+ flip_tangent_u,
412
+ flip_tangent_v,
413
+ transformed_uvw,
414
+ float2(0.f, 1.f),
415
+ float2(0.f, 1.f),
416
+ tex::wrap_repeat,
417
+ tex::wrap_repeat,
418
+ false,
419
+ 1.f,
420
+ 0.f,
421
+ 0.f,
422
+ int2(0),
423
+ tex::wrap_repeat,
424
+ 30.f
425
+ ) :
426
+ defaultData;
427
+
428
+ float local_roughness = apply_roughness_influence(
429
+ roughness_texture,
430
+ frosting_roughness,
431
+ roughness_texture_influence,
432
+ transformed_uvw
433
+ );
434
+ float2 local_roughness_squared(
435
+ (local_roughness * local_roughness +
436
+ geometry_normal_roughness_strength * normal_data.roughness.x * normal_data.roughness.x),
437
+ (local_roughness * local_roughness +
438
+ geometry_normal_roughness_strength * normal_data.roughness.y * normal_data.roughness.y)
439
+ );
440
+
441
+ float3 the_normal = normal_data.normal;
442
+
443
+ bsdf ggx_1 = ::df::microfacet_ggx_smith_bsdf(
444
+ roughness_u: local_roughness_squared.x,
445
+ roughness_v: local_roughness_squared.y,
446
+ tint: local_reflection_color,
447
+ tangent_u: ::state::texture_tangent_u(0),
448
+ mode: ::df::scatter_reflect
449
+ );
450
+
451
+ bsdf ggx_2 = ::df::microfacet_ggx_smith_bsdf(
452
+ roughness_u: local_roughness_squared.x,
453
+ roughness_v: local_roughness_squared.y,
454
+ tint: local_transmission_color,
455
+ tangent_u: ::state::texture_tangent_u(0),
456
+ mode: ::df::scatter_transmit
457
+ );
458
+
459
+ material_surface local_surface(
460
+ ::df::fresnel_layer(
461
+ ior: glass_ior,
462
+ weight: 1.f,
463
+ layer: ggx_1,
464
+ base: ggx_2,
465
+ normal: the_normal
466
+ ),
467
+ material_emission()
468
+ );
469
+
470
+
471
+ // Volume Properties
472
+ color local_volume_absorption = depth;
473
+ color local_volume_scattering = color(0.f, 0.f, 0.f);
474
+
475
+ material_volume local_volume(vdf(), local_volume_absorption, local_volume_scattering);
476
+
477
+
478
+ // Geometry Properties
479
+ material_geometry local_geometry(float3(0.f), local_cutout_opacity, the_normal);
480
+
481
+ } in material(
482
+ thin_walled: local_thin_walled,
483
+ surface: local_surface,
484
+ ior: local_glass_ior,
485
+ volume: local_volume,
486
+ geometry: local_geometry
487
+ );
cd_case/simready_usd/materials/OmniPBRBase.mdl ADDED
@@ -0,0 +1,493 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***************************************************************************************************
2
+ * Copyright 2022 NVIDIA Corporation. All rights reserved.
3
+ *
4
+ * Redistribution and use in source and binary forms, with or without
5
+ * modification, are permitted provided that the following conditions
6
+ * are met:
7
+ * * Redistributions of source code must retain the above copyright
8
+ * notice, this list of conditions and the following disclaimer.
9
+ * * Redistributions in binary form must reproduce the above copyright
10
+ * notice, this list of conditions and the following disclaimer in the
11
+ * documentation and/or other materials provided with the distribution.
12
+ * * Neither the name of NVIDIA CORPORATION nor the names of its
13
+ * contributors may be used to endorse or promote products derived
14
+ * from this software without specific prior written permission.
15
+ *
16
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
17
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
24
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
+ **************************************************************************************************/
28
+
29
+ mdl 1.7;
30
+
31
+ import ::df::*;
32
+ import ::state::*;
33
+ import ::math::*;
34
+ import ::base::*;
35
+ import ::tex::*;
36
+ import ::anno::*;
37
+ import ::anno::*;
38
+
39
+ export float3 HemiOctahedronToUnitVector( float2 Oct ) [[
40
+ anno::hidden()
41
+ ]]
42
+ {
43
+ Oct = float2( Oct.x + Oct.y, Oct.x - Oct.y ) * 0.5;
44
+ float3 N = float3( Oct.x, Oct.y, 1.0 - math::dot( float2(1.0), math::abs(Oct) ) );
45
+ return math::normalize(N);
46
+ }
47
+
48
+ export struct NormalData [[
49
+ anno::hidden()
50
+ ]]
51
+ {
52
+ float3 normal;
53
+ float2 roughness;
54
+ };
55
+
56
+ export NormalData tangent_space_normal_roughness_texture(
57
+ uniform texture_2d texture
58
+ [[
59
+ anno::description("The input texture"),
60
+ anno::usage("normal")
61
+ ]],
62
+ uniform float factor = 1.0f
63
+ [[ anno::description("Determines the degree of bumpiness") ]],
64
+ uniform bool flip_tangent_u = false
65
+ [[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
66
+ uniform bool flip_tangent_v = false
67
+ [[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
68
+ base::texture_coordinate_info uvw = base::texture_coordinate_info()
69
+ [[ anno::description("Parameterization to be used for texture mapping. Defaults to texture channel 0.") ]],
70
+ uniform float2 crop_u = float2( 0.0, 1.0)
71
+ [[ anno::description("Restricts the texture access to sub-domain of the texture in the u direction") ]],
72
+ uniform float2 crop_v = float2( 0.0, 1.0)
73
+ [[ anno::description("Restricts the texture access to sub-domain of the texture in the v direction") ]],
74
+ uniform tex::wrap_mode wrap_u = tex::wrap_repeat
75
+ [[ anno::description("Wrapping mode in the u direction") ]],
76
+ uniform tex::wrap_mode wrap_v = tex::wrap_repeat
77
+ [[ anno::description("Wrapping mode in the v direction") ]],
78
+ uniform bool clip = false
79
+ [[
80
+ anno::description("deprecated, usewrap_mode=tex::wrap_clip. Defines wrap_clamp behavior. If true, lookup outside [0,1] results in no bump"),
81
+ anno::hidden()
82
+ ]],
83
+ uniform float scale = 1.
84
+ [[
85
+ anno::description("Scales the value red from the texture file. Can be used to adapt to different normal map formats"),
86
+ anno::unused()
87
+ ]],
88
+ uniform float offset = 0.
89
+ [[
90
+ anno::description("Offset applied to the value red from the texture file. Can be used to adapt to different normal map formats"),
91
+ anno::unused()
92
+ ]],
93
+ uniform float animation_start_time = 0.
94
+ [[ anno::description("When to start playing first frame of the animation ") ]],
95
+ uniform int2 animation_crop = int2(0, 0)
96
+ [[ anno::description("If the texture is an animation, the range of frames to be played can be specified.") ]],
97
+ uniform tex::wrap_mode animation_wrap = tex::wrap_repeat
98
+ [[ anno::description("Defines what to do outside of regular animation time") ]],
99
+ uniform float animation_fps = 30
100
+ [[ anno::description("Framerate to use for animation playback") ]]
101
+ )
102
+ [[
103
+ anno::description("Interprets the color values of a bitmap as a vector in tangent space"),
104
+ anno::hidden(),
105
+ anno::noinline()
106
+ ]]
107
+ {
108
+ NormalData normalData;
109
+ normalData.roughness = float2(0);
110
+ normalData.normal = state::normal();
111
+
112
+ float frame = 0.0;
113
+ if(animation_crop != int2(0,0)) //only if we have an animation
114
+ {
115
+ frame = (::state::animation_time()-animation_start_time) * animation_fps ; //start playing at first frame of the animation
116
+ switch ( animation_wrap) {
117
+ case tex::wrap_repeat:
118
+ frame=frame>0? math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.x:
119
+ math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.y;
120
+ break;
121
+ case tex::wrap_mirrored_repeat:
122
+ float animation_crop_2y = 2.0*animation_crop.y;
123
+ frame=frame>0? math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop.x:
124
+ math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop_2y-animation_crop.x;
125
+ if(frame>animation_crop.y)
126
+ frame = animation_crop_2y-frame;
127
+ break;
128
+ case tex::wrap_clamp:
129
+ frame = math::clamp( frame+animation_crop.x, animation_crop.x, animation_crop.y);
130
+ break;
131
+ case tex::wrap_clip:
132
+ frame += animation_crop.x;
133
+ if(frame < animation_crop.x || frame > animation_crop.y) return normalData;
134
+ break;
135
+ }
136
+ }
137
+
138
+ if (tex::width(texture) == 0 || tex::height(texture) == 0 || // avoid division by zero in texremapu for invalid resource
139
+ factor == 0.0f)
140
+ return normalData;
141
+ {
142
+ if (clip) {
143
+ if (wrap_u == tex::wrap_clamp && (uvw.position.x < 0. || uvw.position.x > 1.)) {
144
+ return normalData;
145
+ }
146
+ if (wrap_v == tex::wrap_clamp && (uvw.position.y < 0. || uvw.position.y > 1.)) {
147
+ return normalData;
148
+ }
149
+ }
150
+ if (wrap_u == tex::wrap_clip && (uvw.position.x < 0. || uvw.position.x > 1.)) {
151
+ return normalData;
152
+ }
153
+ if (wrap_v == tex::wrap_clip && (uvw.position.y < 0. || uvw.position.y > 1.)) {
154
+ return normalData;
155
+ }
156
+ }
157
+ bool pixel_flip_u = flip_tangent_u;
158
+ bool pixel_flip_v = flip_tangent_v;
159
+ //if we mirror repeat a tangent space texture, tangent space needs to be flipped for every other tile
160
+ if (wrap_u == tex::wrap_mirrored_repeat) {
161
+ if( uvw.position.x > 0. && int(uvw.position.x) % 2 == 1)
162
+ pixel_flip_u = ! pixel_flip_u;
163
+ else if( uvw.position.x < 0. && int(uvw.position.x) % 2 == 0)
164
+ pixel_flip_u = ! pixel_flip_u;
165
+ }
166
+ if (wrap_v == tex::wrap_mirrored_repeat) {
167
+ if( uvw.position.y > 0. && int(uvw.position.y) % 2 == 1)
168
+ pixel_flip_v = ! pixel_flip_v;
169
+ else if( uvw.position.y < 0. && int(uvw.position.y) % 2 == 0)
170
+ pixel_flip_v = ! pixel_flip_v;
171
+ }
172
+
173
+ float3 transformed_tangent_u = uvw.tangent_u;
174
+ float3 transformed_tangent_v = uvw.tangent_v;
175
+
176
+ if (pixel_flip_u)
177
+ transformed_tangent_u=-transformed_tangent_u;
178
+ if (pixel_flip_v)
179
+ transformed_tangent_v=-transformed_tangent_v;
180
+
181
+ float3 tangent_space_normal;
182
+ float4 normal_raw = tex::lookup_float4(texture,float2(uvw.position.x,uvw.position.y), wrap_u, wrap_v, crop_u, crop_v, frame);
183
+ if(normal_raw.x > 1.5)
184
+ {
185
+ // octahedron packed by OV
186
+ normal_raw.x -= 2.0;
187
+ normal_raw.x -= 0.5;
188
+ normal_raw.y -= 0.5;
189
+ tangent_space_normal = HemiOctahedronToUnitVector(float2(normal_raw.x, normal_raw.y) * 2.0);
190
+ normalData.roughness = float2(normal_raw.z, normal_raw.w);
191
+ }
192
+ else
193
+ {
194
+ // regular
195
+ tangent_space_normal = (float3(normal_raw.x, normal_raw.y, normal_raw.z) - float3(0.5)) * 2.0;
196
+ normalData.roughness = float2(0);
197
+ }
198
+
199
+ normalData.normal = math::normalize(
200
+ transformed_tangent_u * tangent_space_normal.x * factor +
201
+ transformed_tangent_v * tangent_space_normal.y * factor +
202
+ state::normal() * tangent_space_normal.z);
203
+
204
+ return normalData;
205
+ }
206
+
207
+
208
+ export material OmniPBRBase(
209
+
210
+
211
+ // Albdeo //
212
+
213
+ color diffuse_reflection_color = color(0.2) [[
214
+ anno::display_name("Albedo Color"),
215
+ anno::description("This is the albedo base color"),
216
+ anno::in_group("Albedo")
217
+ ]],
218
+ color diffuse_tint = color(1.0) [[
219
+ anno::display_name("Albedo Tint"),
220
+ anno::description("When enabled, this color value is multiplied over the final albedo color"),
221
+ anno::in_group("Albedo")
222
+ ]],
223
+
224
+
225
+ // Reflecitivity //
226
+
227
+ float specular_reflection_roughness = float(0.0) [[
228
+ anno::display_name("Roughness"),
229
+ anno::description("Higher roughness values lead to more blurry reflections"),
230
+ anno::in_group("Reflectivity"),
231
+ anno::hard_range(0.0, 1.0)
232
+ ]],
233
+ float2 specular_reflection_aniso_roughness = float2(0.0, 0.0) [[
234
+ anno::display_name("Aniso roughness"),
235
+ anno::description("Higher roughness values lead to more blurry reflections"),
236
+ anno::in_group("Reflectivity"),
237
+ anno::hidden()
238
+ ]],
239
+ float metalness = float(0.0) [[
240
+ anno::display_name("Metalness"),
241
+ anno::description("Bias towards pure specular reflection"),
242
+ anno::in_group("Reflectivity"),
243
+ anno::hard_range(0.0, 1.0)
244
+ ]],
245
+ float specular_level = float(0.5) [[
246
+ anno::display_name("Specular"),
247
+ anno::description("The specular level (intensity) of the material"),
248
+ anno::in_group("Reflectivity"),
249
+ anno::soft_range(0.0, 1.0)
250
+ ]],
251
+
252
+
253
+ // Emission //
254
+
255
+ uniform bool enable_emission = false [[
256
+ anno::display_name("Enable Emission"),
257
+ anno::description("Enables the emission of light from the material"),
258
+ anno::in_group("Emissive")
259
+ ]],
260
+ color emission_color = color(1.0,0.1,0.1) [[
261
+ anno::display_name("Emissive Color"),
262
+ anno::description("The emission color"),
263
+ anno::in_group("Emissive"),
264
+ anno::enable_if("enable_emission == true")
265
+ ]],
266
+ float emission_intensity = float(40.0) [[
267
+ anno::display_name("Emissive Intensity"),
268
+ anno::description("Intensity of the emission"),
269
+ anno::in_group("Emissive"),
270
+ anno::soft_range(0.0, 1000.0),
271
+ anno::enable_if("enable_emission == true")
272
+ ]],
273
+
274
+
275
+ // Geometry Opacity //
276
+
277
+ uniform bool enable_opacity = false [[
278
+ anno::display_name("Enable Opacity"),
279
+ anno::description("Enables the use of cutout opacity"),
280
+ anno::in_group("Opacity")
281
+ ]],
282
+ float geometry_opacity = float(1.0) [[
283
+ anno::display_name("Opacity Amount"),
284
+ anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
285
+ anno::in_group("Opacity"),
286
+ anno::hard_range(0.0, 1.0)
287
+ ]],
288
+ uniform float geometry_opacity_threshold = 0.f
289
+ [[
290
+ anno::display_name("Opacity Threshold"),
291
+ anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
292
+ anno::in_group("Opacity"),
293
+ anno::hard_range(0.0, 1.0)
294
+ ]],
295
+
296
+
297
+ // Clearcoat //
298
+
299
+ uniform bool enable_coat = false [[
300
+ anno::display_name("Enable Clearcoat Layer"),
301
+ anno::description("Adds a coat layer on top of the material when enabled"),
302
+ anno::in_group("Clearcoat")
303
+ ]],
304
+ float coat_weight = float(1.0) [[
305
+ anno::display_name("Clearcoat Weight"),
306
+ anno::description("Sets the weight for coat layer"),
307
+ anno::in_group("Clearcoat"),
308
+ anno::hard_range(0.0, 1.0)
309
+ ]],
310
+ color coat_color = color(1.0) [[
311
+ anno::display_name("Clearcoat Tint"),
312
+ anno::description("Clearcoat is tinted and affects the underlying material"),
313
+ anno::in_group("Clearcoat")
314
+ ]],
315
+ float coat_transparency = float(1.0) [[
316
+ anno::display_name("Clearcoat Transparency"),
317
+ anno::description("Adjusts the transparency of the coat. Can be turned into a fully opaque coat covering the underlying layer"),
318
+ anno::in_group("Clearcoat"),
319
+ anno::hard_range(0.0, 1.0)
320
+ ]],
321
+ float coat_roughness = float(0.0) [[
322
+ anno::display_name("Clearcoat Roughness"),
323
+ anno::description("Higher roughness values lead to more blurry reflections"),
324
+ anno::in_group("Clearcoat"),
325
+ anno::hard_range(0.0, 1.0)
326
+ ]],
327
+ float2 coat_aniso_roughness = float2(0.0, 0.0) [[
328
+ anno::display_name("Clearcoat aniso roughness"),
329
+ anno::description("Higher roughness values lead to more blurry reflections"),
330
+ anno::in_group("Clearcoat"),
331
+ anno::hidden()
332
+ ]],
333
+ float coat_ior = float(1.56) [[
334
+ anno::display_name("Clearcoat IOR"),
335
+ anno::description("Sets the Index of refraction for the coat layer"),
336
+ anno::in_group("Clearcoat"),
337
+ anno::soft_range(0.0, 4.0)
338
+ ]],
339
+ float3 clearcoat_geometry_normal = state::normal() [[
340
+ anno::display_name("Clearcoat Normal"),
341
+ anno::in_group("Clearcoat"),
342
+ anno::usage("normal")
343
+ ]],
344
+
345
+
346
+ // Geometry //
347
+
348
+ uniform float round_edges_radius = float(0.0) [[
349
+ anno::display_name("Round Edge Radius"),
350
+ anno::description("Influence radius around the edges in meters"),
351
+ anno::in_group("Geometry"),
352
+ anno::soft_range(0.0, 1.0)
353
+ ]],
354
+ uniform float round_edges_roundness = float(1.0) [[
355
+ anno::display_name("Round Edge Roundness"),
356
+ anno::description("Determines how round the edge will look"),
357
+ anno::in_group("Geometry"),
358
+ anno::hard_range(0.0, 1.0)
359
+ ]],
360
+ uniform bool round_edges_across_materials = false [[
361
+ anno::display_name("Round Edge Across Materials"),
362
+ anno::description("Normal smoothing happens only between facets of equal material, \n"
363
+ "\t\tunless this parameter is set true, in which case the smoothing \n"
364
+ "\t\thappens between facets irrespective of their materials"),
365
+ anno::in_group("Geometry")
366
+ ]],
367
+ float3 geometry_normal = state::normal() [[
368
+ anno::display_name("Geometry Normal"),
369
+ anno::in_group("Geometry"),
370
+ anno::usage("normal")
371
+ ]]
372
+
373
+ )
374
+ [[
375
+ anno::display_name("OmniPBR Base"),
376
+ anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
377
+ anno::in_group("Omni Materials"),
378
+ anno::version( 2, 1, 1),
379
+ anno::author("NVIDIA CORPORATION"),
380
+ anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
381
+ ]]
382
+ = let{
383
+
384
+ // Diffuse Bsdf //
385
+
386
+ color tinted_diffuse_color = diffuse_reflection_color * diffuse_tint;
387
+
388
+ color base_color = tinted_diffuse_color;
389
+
390
+ bsdf diffuse_bsdf = df::weighted_layer(
391
+ weight: 1.0,
392
+ layer: df::diffuse_reflection_bsdf(
393
+ tint: base_color,
394
+ roughness: float(0.0)
395
+ ),
396
+ base: bsdf(),
397
+ normal: geometry_normal
398
+ );
399
+
400
+ // Glossy Reflection Bsdf //
401
+
402
+ float roughness_u = math::clamp(specular_reflection_roughness * specular_reflection_roughness
403
+ + specular_reflection_aniso_roughness.x * specular_reflection_aniso_roughness.x, 0, 1);
404
+ float roughness_v = math::clamp(specular_reflection_roughness * specular_reflection_roughness
405
+ + specular_reflection_aniso_roughness.y * specular_reflection_aniso_roughness.y, 0, 1);
406
+ bsdf ggx_smith_bsdf = df::microfacet_ggx_smith_bsdf(
407
+ roughness_u: roughness_u,
408
+ roughness_v: roughness_v,
409
+ tint: color(1.0),
410
+ mode: df::scatter_reflect
411
+ );
412
+
413
+ bsdf custom_curve_layer_bsdf = df::custom_curve_layer(
414
+ normal_reflectivity: 0.08,
415
+ grazing_reflectivity: 1.0,
416
+ exponent: 5.0,
417
+ weight: specular_level,
418
+ layer: ggx_smith_bsdf,
419
+ base: diffuse_bsdf,
420
+ normal: geometry_normal
421
+ );
422
+
423
+ bsdf directional_factor_bsdf = df::tint(base_color, ggx_smith_bsdf);
424
+
425
+ bsdf omni_PBR_bsdf = df::weighted_layer(
426
+ weight: metalness,
427
+ layer: directional_factor_bsdf,
428
+ base: custom_curve_layer_bsdf,
429
+ normal: geometry_normal
430
+ );
431
+
432
+ // Clear Coat //
433
+
434
+ float coat_roughness_u = math::clamp(coat_roughness * coat_roughness
435
+ + coat_aniso_roughness.x * coat_aniso_roughness.x, 0, 1);
436
+ float coat_roughness_v = math::clamp(coat_roughness * coat_roughness
437
+ + coat_aniso_roughness.y * coat_aniso_roughness.y, 0, 1);
438
+ bsdf coat_bsdf = df::microfacet_ggx_smith_bsdf(
439
+ roughness_u: coat_roughness_u,
440
+ roughness_v: coat_roughness_v,
441
+ tint: color(1.0),
442
+ mode: df::scatter_reflect
443
+ );
444
+
445
+ bsdf opaque_coat = df::weighted_layer(
446
+ weight: coat_transparency,
447
+ layer: ::df::tint(
448
+ tint: coat_color,
449
+ base: omni_PBR_bsdf
450
+ ),
451
+ base: ::df::diffuse_reflection_bsdf(
452
+ tint: coat_color
453
+ )
454
+ );
455
+
456
+ bsdf omni_PBR_coated_bsdf = df::fresnel_layer(
457
+ ior: coat_ior,
458
+ weight: coat_weight,
459
+ layer: coat_bsdf,
460
+ base: opaque_coat,
461
+ normal: clearcoat_geometry_normal
462
+ );
463
+
464
+ bsdf final_bsdf = enable_coat ? omni_PBR_coated_bsdf : omni_PBR_bsdf;
465
+
466
+ color emission_value = enable_emission ? emission_color * color(emission_intensity) : color(0.0);
467
+
468
+ float opacity_value = geometry_opacity;
469
+ float cutout_opacity = enable_opacity ? ((geometry_opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= geometry_opacity_threshold) ? 1.0 : 0)) : 1.0;
470
+
471
+ material_emission emission = material_emission(
472
+ df::diffuse_edf(),
473
+ intensity: emission_value
474
+ );
475
+
476
+ material_surface surface = material_surface(
477
+ scattering: final_bsdf,
478
+ emission: emission
479
+ );
480
+
481
+ material_geometry geometry = material_geometry(
482
+ normal: state::rounded_corner_normal(
483
+ radius: round_edges_radius,
484
+ across_materials: round_edges_across_materials,
485
+ roundness: round_edges_roundness
486
+ ),
487
+ cutout_opacity: cutout_opacity
488
+ );
489
+
490
+ } in material(
491
+ surface: surface,
492
+ geometry: geometry
493
+ );
cd_case/simready_usd/materials/qa-core-mdl/LICENSE ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its contributors
16
+ may be used to endorse or promote products derived from this software
17
+ without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd_case/simready_usd/materials/qa-core-mdl/OmniPBR.mdl ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
+ * SPDX-License-Identifier: BSD-3-Clause
4
+ */
5
+
6
+ mdl 1.7;
7
+
8
+ import ::df::*;
9
+ import ::state::*;
10
+ import ::math::*;
11
+ import ::base::*;
12
+ import ::state::*;
13
+ import ::tex::*;
14
+ import ::anno::*;
15
+
16
+ import ::debug::*;
17
+
18
+ import ::nvidia::core_definitions::file_texture;
19
+ import ::nvidia::core_definitions::normalmap_texture;
20
+
21
+ import OmniPBR_ClearCoat::*;
22
+
23
+
24
+ // OmniPBR //
25
+
26
+ export material OmniPBR(
27
+
28
+ // Albdeo //
29
+
30
+ color diffuse_color_constant = color(0.2) [[
31
+ anno::display_name("Albedo Color"),
32
+ anno::description("This is the albedo base color"),
33
+ anno::in_group("Albedo")
34
+ ]],
35
+ uniform texture_2d diffuse_texture = texture_2d() [[
36
+ anno::display_name("Albedo Map"),
37
+ anno::in_group("Albedo")
38
+ ]],
39
+ float albedo_desaturation = float(0.0) [[
40
+ anno::display_name("Albedo Map Desaturation"),
41
+ anno::description("Desaturates the albedo map"),
42
+ anno::in_group("Albedo"),
43
+ anno::soft_range(float(0.0), float(1.0))
44
+ ]],
45
+ float albedo_add = float(0.0) [[
46
+ anno::display_name("Albedo Add"),
47
+ anno::description("Adds a constant value to the diffuse color "),
48
+ anno::in_group("Albedo"),
49
+ anno::soft_range(float(-1.0), float(1.0))
50
+ ]],
51
+ float albedo_brightness = float(1.0) [[
52
+ anno::display_name("Albedo Brightness"),
53
+ anno::description("Multiplier for the diffuse color "),
54
+ anno::in_group("Albedo"),
55
+ anno::soft_range(float(0.0), float(1.0))
56
+ ]],
57
+ color diffuse_tint = color(1.0) [[
58
+ anno::display_name("Color Tint"),
59
+ anno::description("When enabled, this color value is multiplied over the final albedo color"),
60
+ anno::in_group("Albedo")
61
+ ]],
62
+
63
+
64
+ // Reflectivity //
65
+
66
+ float reflection_roughness_constant = float(0.5) [[
67
+ anno::display_name("Roughness Amount"),
68
+ anno::description("Higher roughness values lead to more blurry reflections"),
69
+ anno::in_group("Reflectivity"),
70
+ anno::hard_range(float(0.0), float(1.0))
71
+ ]],
72
+ float reflection_roughness_texture_influence = float(0.0) [[
73
+ anno::display_name("Roughness Map Influence"),
74
+ anno::description("Blends between the constant value and the lookup of the roughness texture"),
75
+ anno::in_group("Reflectivity"),
76
+ anno::hard_range(float(0.0), float(1.0))
77
+ ]],
78
+ uniform texture_2d reflectionroughness_texture = texture_2d() [[
79
+ anno::display_name("Roughness Map"),
80
+ anno::in_group("Reflectivity"),
81
+ anno::usage("roughness")
82
+ ]],
83
+ float metallic_constant = float(0.0) [[
84
+ anno::display_name("Metallic Amount"),
85
+ anno::description("Metallic Material"),
86
+ anno::in_group("Reflectivity"),
87
+ anno::hard_range(float(0.0), float(1.0))
88
+ ]],
89
+ float metallic_texture_influence = float(0.0) [[
90
+ anno::display_name("Metallic Map Influence"),
91
+ anno::description("Blends between the constant value and the lookup of the metallic texture"),
92
+ anno::in_group("Reflectivity"),
93
+ anno::hard_range(float(0.0), float(1.0))
94
+ ]],
95
+ uniform texture_2d metallic_texture = texture_2d() [[
96
+ anno::display_name("Metallic Map"),
97
+ anno::in_group("Reflectivity"),
98
+ anno::usage("metalness")
99
+ ]],
100
+ float specular_level = float(0.5) [[
101
+ anno::display_name("Specular"),
102
+ anno::description("The specular level (intensity) of the material"),
103
+ anno::in_group("Reflectivity"),
104
+ anno::soft_range(float(0.0), float(1.0))
105
+ ]],
106
+
107
+
108
+ // ORM //
109
+
110
+ uniform bool enable_ORM_texture = false [[
111
+ anno::display_name("Enable ORM Texture"),
112
+ anno::description("The ORM texture will be used to extract the Occlusion, Roughness and Metallic textures from R,G,B channels"),
113
+ anno::in_group("Reflectivity")
114
+ ]],
115
+ uniform texture_2d ORM_texture = texture_2d() [[
116
+ anno::display_name("ORM Map"),
117
+ anno::description("Texture that has Occlusion, Roughness and Metallic maps stored in their respective R, G and B channels"),
118
+ anno::in_group("Reflectivity"),
119
+ anno::usage("roughness")
120
+ ]],
121
+
122
+
123
+ // AO Group //
124
+
125
+ float ao_to_diffuse = 0.0 [[
126
+ anno::display_name("AO to diffuse"),
127
+ anno::description("Controls the amount of ambient occlusion multiplied against the diffuse color channel"),
128
+ anno::in_group("AO"),
129
+ anno::hard_range(float(0.0), float(1.0))
130
+ ]],
131
+ uniform texture_2d ao_texture = texture_2d() [[
132
+ anno::display_name("Ambient Occlusion Map"),
133
+ anno::description("The ambient occlusion texture for the material"),
134
+ anno::in_group("AO"),
135
+ anno::usage("occlusion")
136
+ ]],
137
+
138
+
139
+ // Emission //
140
+
141
+ uniform bool enable_emission = false [[
142
+ anno::display_name("Enable Emission"),
143
+ anno::description("Enables the emission of light from the material"),
144
+ anno::in_group("Emissive")
145
+ ]],
146
+ color emissive_color = color(1.0,0.1,0.1) [[
147
+ anno::display_name("Emissive Color"),
148
+ anno::description("The emission color"),
149
+ anno::in_group("Emissive"),
150
+ anno::enable_if("enable_emission == true")
151
+ ]],
152
+ uniform texture_2d emissive_color_texture = texture_2d() [[
153
+ anno::display_name("Emissive Color map"),
154
+ anno::in_group("Emissive"),
155
+ anno::description("The emissive color texture"),
156
+ anno::enable_if("enable_emission == true")
157
+ ]],
158
+ uniform texture_2d emissive_mask_texture = texture_2d() [[
159
+ anno::display_name("Emissive Mask map"),
160
+ anno::description("The texture masking the emissive color"),
161
+ anno::in_group("Emissive"),
162
+ anno::enable_if("enable_emission == true"),
163
+ anno::usage("occlusion")
164
+ ]],
165
+ float emissive_intensity = float(40.0) [[
166
+ anno::display_name("Emissive Intensity"),
167
+ anno::description("Intensity of the emission"),
168
+ anno::in_group("Emissive"),
169
+ anno::enable_if("enable_emission == true")
170
+ ]],
171
+
172
+
173
+ // Cutout Opacity //
174
+
175
+ uniform bool enable_opacity = false [[
176
+ anno::display_name("Enable Opacity"),
177
+ anno::description("Enables the use of cutout opacity"),
178
+ anno::in_group("Opacity")
179
+ ]],
180
+ uniform texture_2d opacity_texture = texture_2d() [[
181
+ anno::display_name("Opacity Map"),
182
+ anno::in_group("Opacity"),
183
+ anno::usage("opacity")
184
+ ]],
185
+ float opacity_constant = float(1.0) [[
186
+ anno::display_name("Opacity Amount"),
187
+ anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
188
+ anno::in_group("Opacity"),
189
+ anno::hard_range(float(0.0), float(1.0))
190
+ ]],
191
+ uniform bool enable_opacity_texture = false [[
192
+ anno::display_name("Enable Opacity Texture"),
193
+ anno::description("Enables or disables the usage of the opacity texture map"),
194
+ anno::in_group("Opacity")
195
+ ]],
196
+ uniform base::mono_mode opacity_mode = base::mono_average [[
197
+ anno::display_name("Opacity Mono Source"),
198
+ anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
199
+ anno::in_group("Opacity")
200
+ ]],
201
+ uniform float opacity_threshold = float(0.0) [[
202
+ anno::hard_range(0.0, 1.0),
203
+ anno::display_name("Opacity Threshold"),
204
+ anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
205
+ anno::in_group("Opacity")
206
+ ]],
207
+
208
+
209
+ // Normal //
210
+
211
+ uniform float geometry_normal_roughness_strength = 1.f
212
+ [[
213
+ anno::hard_range(0.0, 1.0),
214
+ anno::display_name("Normal map to roughness weight"),
215
+ anno::description("Enables and weights roughness induced by normal maps"),
216
+ anno::in_group("Normal")
217
+ ]],
218
+ uniform float bump_factor = float(1.0) [[
219
+ anno::display_name("Normal Strength"),
220
+ anno::description("Strength of normal map"),
221
+ anno::in_group("Normal"),
222
+ anno::soft_range(float(0.0), float(1.0))
223
+ ]],
224
+ uniform texture_2d normalmap_texture = texture_2d() [[
225
+ anno::display_name("Normal Map"),
226
+ anno::in_group("Normal"),
227
+ anno::usage("normal")
228
+ ]],
229
+ uniform float detail_bump_factor = float(0.3) [[
230
+ anno::display_name("Detail Normal Strength"),
231
+ anno::in_group("Normal"),
232
+ anno::description("Strength of the detail normal"),
233
+ anno::soft_range(float(0.0), float(1.0))
234
+ ]],
235
+ uniform texture_2d detail_normalmap_texture = texture_2d() [[
236
+ anno::display_name("Detail Normal Map"),
237
+ anno::in_group("Normal"),
238
+ anno::usage("normal")
239
+ ]],
240
+ uniform bool flip_tangent_u = false [[
241
+ anno::display_name("Normal Map Flip U Tangent"),
242
+ anno::in_group("Normal")
243
+ ]],
244
+ uniform bool flip_tangent_v = true [[
245
+ anno::display_name("Normal Map Flip V Tangent"),
246
+ anno::in_group("Normal")
247
+ ]],
248
+
249
+
250
+ // UVW Projection Group //
251
+
252
+ uniform bool project_uvw = false [[
253
+ anno::display_name("Enable Project UVW Coordinates"),
254
+ anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
255
+ anno::in_group("UV")
256
+ ]],
257
+ uniform bool world_or_object = false [[
258
+ anno::display_name("Enable World Space"),
259
+ anno::description("When enabled, uses world space for projection, otherwise object space is used"),
260
+ anno::in_group("UV"),
261
+ anno::enable_if("project_uvw == true")
262
+ ]],
263
+ uniform int uv_space_index = 0 [[
264
+ anno::display_name("UV Space Index"),
265
+ anno::description("UV Space Index."),
266
+ anno::in_group("UV"),
267
+ anno::enable_if("project_uvw == true"),
268
+ anno::hard_range(int(0), int(3))
269
+ ]],
270
+
271
+
272
+ // UVW Adjustments Group //
273
+
274
+ uniform float2 texture_translate = float2(0.0) [[
275
+ anno::display_name("Texture Translate"),
276
+ anno::description("Controls position of texture."),
277
+ anno::in_group("UV"),
278
+ anno::enable_if("project_uvw == true")
279
+ ]],
280
+ uniform float texture_rotate = float(0.0) [[
281
+ anno::display_name("Texture Rotate"),
282
+ anno::description("Rotates angle of texture in degrees."),
283
+ anno::in_group("UV"),
284
+ anno::enable_if("project_uvw == true")
285
+ ]],
286
+ uniform float2 texture_scale = float2(1.0) [[
287
+ anno::display_name("Texture Tiling"),
288
+ anno::description("Controls the repetition of the texture."),
289
+ anno::in_group("UV"),
290
+ anno::enable_if("project_uvw == true")
291
+ ]],
292
+ uniform float2 detail_texture_translate = float2(0.0) [[
293
+ anno::display_name("Detail Texture Translate"),
294
+ anno::description("Controls the position of the detail texture."),
295
+ anno::in_group("UV"),
296
+ anno::enable_if("project_uvw == true")
297
+ ]],
298
+ uniform float detail_texture_rotate = float(0.0) [[
299
+ anno::display_name("Detail Texture Rotate"),
300
+ anno::description("Rotates angle of the detail texture in degrees."),
301
+ anno::in_group("UV"),
302
+ anno::enable_if("project_uvw == true")
303
+ ]],
304
+ uniform float2 detail_texture_scale = float2(1.0) [[
305
+ anno::display_name("Detail Texture Tiling"),
306
+ anno::description("Controls the repetition of the detail texture."),
307
+ anno::in_group("UV"),
308
+ anno::enable_if("project_uvw == true")
309
+ ]],
310
+
311
+
312
+ // Geometry //
313
+
314
+ uniform float round_edges_radius = float(0.0) [[
315
+ anno::display_name("Round Edge Radius"),
316
+ anno::description("Influence radius around the edges in meters"),
317
+ anno::in_group("Geometry"),
318
+ anno::soft_range(0.0, 1.0)
319
+ ]],
320
+ uniform float round_edges_roundness = float(1.0) [[
321
+ anno::display_name("Round Edge Roundness"),
322
+ anno::description("Determines how round the edge will look"),
323
+ anno::in_group("Geometry"),
324
+ anno::hard_range(0.0, 1.0)
325
+ ]],
326
+ uniform bool round_edges_across_materials = false [[
327
+ anno::display_name("Round Edge Across Materials"),
328
+ anno::description("Normal smoothing happens only between facets of equal material, \n"
329
+ "\t\tunless this parameter is set true, in which case the smoothing \n"
330
+ "\t\thappens between facets irrespective of their materials"),
331
+ anno::in_group("Geometry")
332
+ ]]
333
+ )
334
+ [[
335
+ anno::display_name("OmniPBR"),
336
+ anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
337
+ anno::in_group("Base"),
338
+ anno::version( 2, 1, 2),
339
+ anno::author("NVIDIA CORPORATION"),
340
+ anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
341
+ ]] = let {
342
+
343
+ material base = OmniPBR_ClearCoat::OmniPBR_ClearCoat(
344
+ diffuse_color_constant: diffuse_color_constant,
345
+ diffuse_texture: diffuse_texture,
346
+ albedo_desaturation: albedo_desaturation,
347
+ albedo_add: albedo_add,
348
+ albedo_brightness: albedo_brightness,
349
+ diffuse_tint: diffuse_tint,
350
+ reflection_roughness_constant: reflection_roughness_constant,
351
+ reflection_roughness_texture_influence: reflection_roughness_texture_influence,
352
+ reflectionroughness_texture: reflectionroughness_texture,
353
+ metallic_constant: metallic_constant,
354
+ metallic_texture_influence: metallic_texture_influence,
355
+ metallic_texture: metallic_texture,
356
+ specular_level: specular_level,
357
+ enable_ORM_texture: enable_ORM_texture,
358
+ ORM_texture: ORM_texture,
359
+ ao_to_diffuse: ao_to_diffuse,
360
+ ao_texture: ao_texture,
361
+ enable_emission: enable_emission,
362
+ emissive_color: emissive_color,
363
+ emissive_color_texture: emissive_color_texture,
364
+ emissive_mask_texture: emissive_mask_texture,
365
+ emissive_intensity: emissive_intensity,
366
+ enable_opacity: enable_opacity,
367
+ opacity_texture: opacity_texture,
368
+ opacity_constant: opacity_constant,
369
+ enable_opacity_texture: enable_opacity_texture,
370
+ opacity_mode: opacity_mode,
371
+ opacity_threshold: opacity_threshold,
372
+ geometry_normal_roughness_strength: geometry_normal_roughness_strength,
373
+ bump_factor: bump_factor,
374
+ normalmap_texture: normalmap_texture,
375
+ detail_bump_factor: detail_bump_factor,
376
+ detail_normalmap_texture: detail_normalmap_texture,
377
+ flip_tangent_u: flip_tangent_u,
378
+ flip_tangent_v: flip_tangent_v,
379
+ project_uvw: project_uvw,
380
+ world_or_object: world_or_object,
381
+ uv_space_index: uv_space_index,
382
+ texture_translate: texture_translate,
383
+ texture_rotate: texture_rotate,
384
+ texture_scale: texture_scale,
385
+ detail_texture_translate: detail_texture_translate,
386
+ detail_texture_rotate: detail_texture_rotate,
387
+ detail_texture_scale: detail_texture_scale,
388
+ round_edges_radius: round_edges_radius,
389
+ round_edges_roundness: round_edges_roundness,
390
+ round_edges_across_materials: round_edges_across_materials
391
+ );
392
+
393
+ } in material(
394
+ surface: base.surface,
395
+ geometry: base.geometry
396
+ );
cd_case/simready_usd/materials/qa-core-mdl/OmniPBRBase.mdl ADDED
@@ -0,0 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
+ * SPDX-License-Identifier: BSD-3-Clause
4
+ */
5
+
6
+ mdl 1.7;
7
+
8
+ import ::df::*;
9
+ import ::state::*;
10
+ import ::math::*;
11
+ import ::base::*;
12
+ import ::tex::*;
13
+ import ::anno::*;
14
+ import ::anno::*;
15
+
16
+ export float3 HemiOctahedronToUnitVector( float2 Oct ) [[
17
+ anno::hidden()
18
+ ]]
19
+ {
20
+ Oct = float2( Oct.x + Oct.y, Oct.x - Oct.y ) * 0.5;
21
+ float3 N = float3( Oct.x, Oct.y, 1.0 - math::dot( float2(1.0), math::abs(Oct) ) );
22
+ return math::normalize(N);
23
+ }
24
+
25
+ export struct NormalData [[
26
+ anno::hidden()
27
+ ]]
28
+ {
29
+ float3 normal;
30
+ float2 roughness;
31
+ };
32
+
33
+ export NormalData tangent_space_normal_roughness_texture(
34
+ uniform texture_2d texture
35
+ [[
36
+ anno::description("The input texture"),
37
+ anno::usage("normal")
38
+ ]],
39
+ uniform float factor = 1.0f
40
+ [[ anno::description("Determines the degree of bumpiness") ]],
41
+ uniform bool flip_tangent_u = false
42
+ [[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
43
+ uniform bool flip_tangent_v = false
44
+ [[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
45
+ base::texture_coordinate_info uvw = base::texture_coordinate_info()
46
+ [[ anno::description("Parameterization to be used for texture mapping. Defaults to texture channel 0.") ]],
47
+ uniform float2 crop_u = float2( 0.0, 1.0)
48
+ [[ anno::description("Restricts the texture access to sub-domain of the texture in the u direction") ]],
49
+ uniform float2 crop_v = float2( 0.0, 1.0)
50
+ [[ anno::description("Restricts the texture access to sub-domain of the texture in the v direction") ]],
51
+ uniform tex::wrap_mode wrap_u = tex::wrap_repeat
52
+ [[ anno::description("Wrapping mode in the u direction") ]],
53
+ uniform tex::wrap_mode wrap_v = tex::wrap_repeat
54
+ [[ anno::description("Wrapping mode in the v direction") ]],
55
+ uniform bool clip = false
56
+ [[
57
+ anno::description("deprecated, usewrap_mode=tex::wrap_clip. Defines wrap_clamp behavior. If true, lookup outside [0,1] results in no bump"),
58
+ anno::hidden()
59
+ ]],
60
+ uniform float scale = 1.
61
+ [[
62
+ anno::description("Scales the value red from the texture file. Can be used to adapt to different normal map formats"),
63
+ anno::unused()
64
+ ]],
65
+ uniform float offset = 0.
66
+ [[
67
+ anno::description("Offset applied to the value red from the texture file. Can be used to adapt to different normal map formats"),
68
+ anno::unused()
69
+ ]],
70
+ uniform float animation_start_time = 0.
71
+ [[ anno::description("When to start playing first frame of the animation ") ]],
72
+ uniform int2 animation_crop = int2(0, 0)
73
+ [[ anno::description("If the texture is an animation, the range of frames to be played can be specified.") ]],
74
+ uniform tex::wrap_mode animation_wrap = tex::wrap_repeat
75
+ [[ anno::description("Defines what to do outside of regular animation time") ]],
76
+ uniform float animation_fps = 30
77
+ [[ anno::description("Framerate to use for animation playback") ]]
78
+ )
79
+ [[
80
+ anno::description("Interprets the color values of a bitmap as a vector in tangent space"),
81
+ anno::hidden(),
82
+ anno::noinline()
83
+ ]]
84
+ {
85
+ NormalData normalData;
86
+ normalData.roughness = float2(0);
87
+ normalData.normal = state::normal();
88
+
89
+ float frame = 0.0;
90
+ if(animation_crop != int2(0,0)) //only if we have an animation
91
+ {
92
+ frame = (::state::animation_time()-animation_start_time) * animation_fps ; //start playing at first frame of the animation
93
+ switch ( animation_wrap) {
94
+ case tex::wrap_repeat:
95
+ frame=frame>0? math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.x:
96
+ math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.y;
97
+ break;
98
+ case tex::wrap_mirrored_repeat:
99
+ float animation_crop_2y = 2.0*animation_crop.y;
100
+ frame=frame>0? math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop.x:
101
+ math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop_2y-animation_crop.x;
102
+ if(frame>animation_crop.y)
103
+ frame = animation_crop_2y-frame;
104
+ break;
105
+ case tex::wrap_clamp:
106
+ frame = math::clamp( frame+animation_crop.x, animation_crop.x, animation_crop.y);
107
+ break;
108
+ case tex::wrap_clip:
109
+ frame += animation_crop.x;
110
+ if(frame < animation_crop.x || frame > animation_crop.y) return normalData;
111
+ break;
112
+ }
113
+ }
114
+
115
+ if (tex::width(texture) == 0 || tex::height(texture) == 0 || // avoid division by zero in texremapu for invalid resource
116
+ factor == 0.0f)
117
+ return normalData;
118
+ {
119
+ if (clip) {
120
+ if (wrap_u == tex::wrap_clamp && (uvw.position.x < 0. || uvw.position.x > 1.)) {
121
+ return normalData;
122
+ }
123
+ if (wrap_v == tex::wrap_clamp && (uvw.position.y < 0. || uvw.position.y > 1.)) {
124
+ return normalData;
125
+ }
126
+ }
127
+ if (wrap_u == tex::wrap_clip && (uvw.position.x < 0. || uvw.position.x > 1.)) {
128
+ return normalData;
129
+ }
130
+ if (wrap_v == tex::wrap_clip && (uvw.position.y < 0. || uvw.position.y > 1.)) {
131
+ return normalData;
132
+ }
133
+ }
134
+ bool pixel_flip_u = flip_tangent_u;
135
+ bool pixel_flip_v = flip_tangent_v;
136
+ //if we mirror repeat a tangent space texture, tangent space needs to be flipped for every other tile
137
+ if (wrap_u == tex::wrap_mirrored_repeat) {
138
+ if( uvw.position.x > 0. && int(uvw.position.x) % 2 == 1)
139
+ pixel_flip_u = ! pixel_flip_u;
140
+ else if( uvw.position.x < 0. && int(uvw.position.x) % 2 == 0)
141
+ pixel_flip_u = ! pixel_flip_u;
142
+ }
143
+ if (wrap_v == tex::wrap_mirrored_repeat) {
144
+ if( uvw.position.y > 0. && int(uvw.position.y) % 2 == 1)
145
+ pixel_flip_v = ! pixel_flip_v;
146
+ else if( uvw.position.y < 0. && int(uvw.position.y) % 2 == 0)
147
+ pixel_flip_v = ! pixel_flip_v;
148
+ }
149
+
150
+ float3 transformed_tangent_u = uvw.tangent_u;
151
+ float3 transformed_tangent_v = uvw.tangent_v;
152
+
153
+ if (pixel_flip_u)
154
+ transformed_tangent_u=-transformed_tangent_u;
155
+ if (pixel_flip_v)
156
+ transformed_tangent_v=-transformed_tangent_v;
157
+
158
+ float3 tangent_space_normal;
159
+ float4 normal_raw = tex::lookup_float4(texture,float2(uvw.position.x,uvw.position.y), wrap_u, wrap_v, crop_u, crop_v, frame);
160
+ if(normal_raw.x > 1.5)
161
+ {
162
+ // octahedron packed by OV
163
+ normal_raw.x -= 2.0;
164
+ normal_raw.x -= 0.5;
165
+ normal_raw.y -= 0.5;
166
+ tangent_space_normal = HemiOctahedronToUnitVector(float2(normal_raw.x, normal_raw.y) * 2.0);
167
+ normalData.roughness = float2(normal_raw.z, normal_raw.w);
168
+ }
169
+ else
170
+ {
171
+ // regular
172
+ tangent_space_normal = (float3(normal_raw.x, normal_raw.y, normal_raw.z) - float3(0.5)) * 2.0;
173
+ normalData.roughness = float2(0);
174
+ }
175
+
176
+ normalData.normal = math::normalize(
177
+ transformed_tangent_u * tangent_space_normal.x * factor +
178
+ transformed_tangent_v * tangent_space_normal.y * factor +
179
+ state::normal() * tangent_space_normal.z);
180
+
181
+ return normalData;
182
+ }
183
+
184
+
185
+ export material OmniPBRBase(
186
+
187
+
188
+ // Albdeo //
189
+
190
+ color diffuse_reflection_color = color(0.2) [[
191
+ anno::display_name("Albedo Color"),
192
+ anno::description("This is the albedo base color"),
193
+ anno::in_group("Albedo")
194
+ ]],
195
+ color diffuse_tint = color(1.0) [[
196
+ anno::display_name("Albedo Tint"),
197
+ anno::description("When enabled, this color value is multiplied over the final albedo color"),
198
+ anno::in_group("Albedo")
199
+ ]],
200
+
201
+
202
+ // Reflecitivity //
203
+
204
+ float specular_reflection_roughness = float(0.0) [[
205
+ anno::display_name("Roughness"),
206
+ anno::description("Higher roughness values lead to more blurry reflections"),
207
+ anno::in_group("Reflectivity"),
208
+ anno::hard_range(0.0, 1.0)
209
+ ]],
210
+ float2 specular_reflection_aniso_roughness = float2(0.0, 0.0) [[
211
+ anno::display_name("Aniso roughness"),
212
+ anno::description("Higher roughness values lead to more blurry reflections"),
213
+ anno::in_group("Reflectivity"),
214
+ anno::hidden()
215
+ ]],
216
+ float metalness = float(0.0) [[
217
+ anno::display_name("Metalness"),
218
+ anno::description("Bias towards pure specular reflection"),
219
+ anno::in_group("Reflectivity"),
220
+ anno::hard_range(0.0, 1.0)
221
+ ]],
222
+ float specular_level = float(0.5) [[
223
+ anno::display_name("Specular"),
224
+ anno::description("The specular level (intensity) of the material"),
225
+ anno::in_group("Reflectivity"),
226
+ anno::soft_range(0.0, 1.0)
227
+ ]],
228
+
229
+
230
+ // Emission //
231
+
232
+ uniform bool enable_emission = false [[
233
+ anno::display_name("Enable Emission"),
234
+ anno::description("Enables the emission of light from the material"),
235
+ anno::in_group("Emissive")
236
+ ]],
237
+ color emission_color = color(1.0,0.1,0.1) [[
238
+ anno::display_name("Emissive Color"),
239
+ anno::description("The emission color"),
240
+ anno::in_group("Emissive"),
241
+ anno::enable_if("enable_emission == true")
242
+ ]],
243
+ float emission_intensity = float(40.0) [[
244
+ anno::display_name("Emissive Intensity"),
245
+ anno::description("Intensity of the emission"),
246
+ anno::in_group("Emissive"),
247
+ anno::soft_range(0.0, 1000.0),
248
+ anno::enable_if("enable_emission == true")
249
+ ]],
250
+
251
+
252
+ // Geometry Opacity //
253
+
254
+ uniform bool enable_opacity = false [[
255
+ anno::display_name("Enable Opacity"),
256
+ anno::description("Enables the use of cutout opacity"),
257
+ anno::in_group("Opacity")
258
+ ]],
259
+ float geometry_opacity = float(1.0) [[
260
+ anno::display_name("Opacity Amount"),
261
+ anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
262
+ anno::in_group("Opacity"),
263
+ anno::hard_range(0.0, 1.0)
264
+ ]],
265
+ uniform float geometry_opacity_threshold = 0.f
266
+ [[
267
+ anno::display_name("Opacity Threshold"),
268
+ anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
269
+ anno::in_group("Opacity"),
270
+ anno::hard_range(0.0, 1.0)
271
+ ]],
272
+
273
+
274
+ // Clearcoat //
275
+
276
+ uniform bool enable_coat = false [[
277
+ anno::display_name("Enable Clearcoat Layer"),
278
+ anno::description("Adds a coat layer on top of the material when enabled"),
279
+ anno::in_group("Clearcoat")
280
+ ]],
281
+ float coat_weight = float(1.0) [[
282
+ anno::display_name("Clearcoat Weight"),
283
+ anno::description("Sets the weight for coat layer"),
284
+ anno::in_group("Clearcoat"),
285
+ anno::hard_range(0.0, 1.0)
286
+ ]],
287
+ color coat_color = color(1.0) [[
288
+ anno::display_name("Clearcoat Tint"),
289
+ anno::description("Clearcoat is tinted and affects the underlying material"),
290
+ anno::in_group("Clearcoat")
291
+ ]],
292
+ float coat_transparency = float(1.0) [[
293
+ anno::display_name("Clearcoat Transparency"),
294
+ anno::description("Adjusts the transparency of the coat. Can be turned into a fully opaque coat covering the underlying layer"),
295
+ anno::in_group("Clearcoat"),
296
+ anno::hard_range(0.0, 1.0)
297
+ ]],
298
+ float coat_roughness = float(0.0) [[
299
+ anno::display_name("Clearcoat Roughness"),
300
+ anno::description("Higher roughness values lead to more blurry reflections"),
301
+ anno::in_group("Clearcoat"),
302
+ anno::hard_range(0.0, 1.0)
303
+ ]],
304
+ float2 coat_aniso_roughness = float2(0.0, 0.0) [[
305
+ anno::display_name("Clearcoat aniso roughness"),
306
+ anno::description("Higher roughness values lead to more blurry reflections"),
307
+ anno::in_group("Clearcoat"),
308
+ anno::hidden()
309
+ ]],
310
+ float coat_ior = float(1.56) [[
311
+ anno::display_name("Clearcoat IOR"),
312
+ anno::description("Sets the Index of refraction for the coat layer"),
313
+ anno::in_group("Clearcoat"),
314
+ anno::soft_range(0.0, 4.0)
315
+ ]],
316
+ float3 clearcoat_geometry_normal = state::normal() [[
317
+ anno::display_name("Clearcoat Normal"),
318
+ anno::in_group("Clearcoat"),
319
+ anno::usage("normal")
320
+ ]],
321
+
322
+
323
+ // Geometry //
324
+
325
+ uniform float round_edges_radius = float(0.0) [[
326
+ anno::display_name("Round Edge Radius"),
327
+ anno::description("Influence radius around the edges in meters"),
328
+ anno::in_group("Geometry"),
329
+ anno::soft_range(0.0, 1.0)
330
+ ]],
331
+ uniform float round_edges_roundness = float(1.0) [[
332
+ anno::display_name("Round Edge Roundness"),
333
+ anno::description("Determines how round the edge will look"),
334
+ anno::in_group("Geometry"),
335
+ anno::hard_range(0.0, 1.0)
336
+ ]],
337
+ uniform bool round_edges_across_materials = false [[
338
+ anno::display_name("Round Edge Across Materials"),
339
+ anno::description("Normal smoothing happens only between facets of equal material, \n"
340
+ "\t\tunless this parameter is set true, in which case the smoothing \n"
341
+ "\t\thappens between facets irrespective of their materials"),
342
+ anno::in_group("Geometry")
343
+ ]],
344
+ float3 geometry_normal = state::normal() [[
345
+ anno::display_name("Geometry Normal"),
346
+ anno::in_group("Geometry"),
347
+ anno::usage("normal")
348
+ ]]
349
+
350
+ )
351
+ [[
352
+ anno::display_name("OmniPBR Base"),
353
+ anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
354
+ anno::in_group("Omni Materials"),
355
+ anno::version( 2, 1, 1),
356
+ anno::author("NVIDIA CORPORATION"),
357
+ anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
358
+ ]]
359
+ = let{
360
+
361
+ // Diffuse Bsdf //
362
+
363
+ color tinted_diffuse_color = diffuse_reflection_color * diffuse_tint;
364
+
365
+ color base_color = tinted_diffuse_color;
366
+
367
+ bsdf diffuse_bsdf = df::weighted_layer(
368
+ weight: 1.0,
369
+ layer: df::diffuse_reflection_bsdf(
370
+ tint: base_color,
371
+ roughness: float(0.0)
372
+ ),
373
+ base: bsdf(),
374
+ normal: geometry_normal
375
+ );
376
+
377
+ // Glossy Reflection Bsdf //
378
+
379
+ float roughness_u = math::clamp(specular_reflection_roughness * specular_reflection_roughness
380
+ + specular_reflection_aniso_roughness.x * specular_reflection_aniso_roughness.x, 0, 1);
381
+ float roughness_v = math::clamp(specular_reflection_roughness * specular_reflection_roughness
382
+ + specular_reflection_aniso_roughness.y * specular_reflection_aniso_roughness.y, 0, 1);
383
+ bsdf ggx_smith_bsdf = df::microfacet_ggx_smith_bsdf(
384
+ roughness_u: roughness_u,
385
+ roughness_v: roughness_v,
386
+ tint: color(1.0),
387
+ mode: df::scatter_reflect
388
+ );
389
+
390
+ bsdf custom_curve_layer_bsdf = df::custom_curve_layer(
391
+ normal_reflectivity: 0.08,
392
+ grazing_reflectivity: 1.0,
393
+ exponent: 5.0,
394
+ weight: specular_level,
395
+ layer: ggx_smith_bsdf,
396
+ base: diffuse_bsdf,
397
+ normal: geometry_normal
398
+ );
399
+
400
+ bsdf directional_factor_bsdf = df::tint(base_color, ggx_smith_bsdf);
401
+
402
+ bsdf omni_PBR_bsdf = df::weighted_layer(
403
+ weight: metalness,
404
+ layer: directional_factor_bsdf,
405
+ base: custom_curve_layer_bsdf,
406
+ normal: geometry_normal
407
+ );
408
+
409
+ // Clear Coat //
410
+
411
+ float coat_roughness_u = math::clamp(coat_roughness * coat_roughness
412
+ + coat_aniso_roughness.x * coat_aniso_roughness.x, 0, 1);
413
+ float coat_roughness_v = math::clamp(coat_roughness * coat_roughness
414
+ + coat_aniso_roughness.y * coat_aniso_roughness.y, 0, 1);
415
+ bsdf coat_bsdf = df::microfacet_ggx_smith_bsdf(
416
+ roughness_u: coat_roughness_u,
417
+ roughness_v: coat_roughness_v,
418
+ tint: color(1.0),
419
+ mode: df::scatter_reflect
420
+ );
421
+
422
+ bsdf opaque_coat = df::weighted_layer(
423
+ weight: coat_transparency,
424
+ layer: ::df::tint(
425
+ tint: coat_color,
426
+ base: omni_PBR_bsdf
427
+ ),
428
+ base: ::df::diffuse_reflection_bsdf(
429
+ tint: coat_color
430
+ )
431
+ );
432
+
433
+ bsdf omni_PBR_coated_bsdf = df::fresnel_layer(
434
+ ior: coat_ior,
435
+ weight: coat_weight,
436
+ layer: coat_bsdf,
437
+ base: opaque_coat,
438
+ normal: clearcoat_geometry_normal
439
+ );
440
+
441
+ bsdf final_bsdf = enable_coat ? omni_PBR_coated_bsdf : omni_PBR_bsdf;
442
+
443
+ color emission_value = enable_emission ? emission_color * color(emission_intensity) : color(0.0);
444
+
445
+ float opacity_value = geometry_opacity;
446
+ float cutout_opacity = enable_opacity ? ((geometry_opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= geometry_opacity_threshold) ? 1.0 : 0)) : 1.0;
447
+
448
+ material_emission emission = material_emission(
449
+ df::diffuse_edf(),
450
+ intensity: emission_value
451
+ );
452
+
453
+ material_surface surface = material_surface(
454
+ scattering: final_bsdf,
455
+ emission: emission
456
+ );
457
+
458
+ material_geometry geometry = material_geometry(
459
+ normal: state::rounded_corner_normal(
460
+ radius: round_edges_radius,
461
+ across_materials: round_edges_across_materials,
462
+ roundness: round_edges_roundness
463
+ ),
464
+ cutout_opacity: cutout_opacity
465
+ );
466
+
467
+ } in material(
468
+ surface: surface,
469
+ geometry: geometry
470
+ );
cd_case/simready_usd/materials/qa-core-mdl/OmniPBR_ClearCoat.mdl ADDED
@@ -0,0 +1,711 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
+ * SPDX-License-Identifier: BSD-3-Clause
4
+ */
5
+
6
+ mdl 1.7;
7
+
8
+ import ::df::*;
9
+ import ::state::*;
10
+ import ::math::*;
11
+ import ::base::*;
12
+ import ::state::*;
13
+ import ::tex::*;
14
+ import ::anno::*;
15
+
16
+ import ::debug::*;
17
+
18
+ import ::nvidia::core_definitions::file_texture;
19
+ import ::nvidia::core_definitions::normalmap_texture;
20
+
21
+ import OmniPBRBase::*;
22
+
23
+ // Functions //
24
+
25
+
26
+ // Returns a matrix from R,T,S. inputs //
27
+
28
+ uniform float4x4 rotation_translation_scale(
29
+ uniform float3 rotation = float3(0.)
30
+ [[ anno::description("Rotation applied to every UVW coordinate") ]],
31
+ uniform float3 translation = float3(0.)
32
+ [[ anno::description("Offset applied to every UVW coordinate") ]],
33
+ uniform float3 scaling = float3(1.)
34
+ [[ anno::description("Scale applied to every UVW coordinate") ]]
35
+ )
36
+ [[
37
+ anno::description("Construct a transformation matrix from euler rotation, translation and scale"),
38
+ anno::hidden()
39
+ ]]
40
+ {
41
+ float4x4 scale =
42
+ float4x4(scaling.x , 0.0 , 0.0 , 0.0,
43
+ 0.0 , scaling.y , 0.0 , 0.0,
44
+ 0.0 , 0.0 , scaling.z , 0.0,
45
+ translation.x , translation.y , translation.z , 1.0);
46
+
47
+ float3 s = math::sin(rotation);
48
+ float3 c = math::cos(rotation);
49
+
50
+ float4x4 rotate =
51
+ float4x4( c.y*c.z , -c.x*s.z + s.x*s.y*c.z , s.x*s.z + c.x*s.y*c.z , 0.0,
52
+ c.y*s.z , c.x*c.z + s.x*s.y*s.z , -s.x*c.z + c.x*s.y*s.z , 0.0,
53
+ -s.y , s.x*c.y , c.x*c.y , 0.0,
54
+ 0.0 , 0.0 , 0 , 1.0);
55
+
56
+ return scale * rotate;
57
+ }
58
+
59
+ // Returns the normal n in tangent space, given n is in internal space. //
60
+
61
+ float3 transform_internal_to_tangent(float3 n)
62
+ {
63
+ /* flip_tangent_v */
64
+ return
65
+ n.x* float3(state::texture_tangent_u(0).x,-state::texture_tangent_v(0).x,state::normal().x)+
66
+ n.y* float3(state::texture_tangent_u(0).y,-state::texture_tangent_v(0).y,state::normal().y)+
67
+ n.z* float3(state::texture_tangent_u(0).z,-state::texture_tangent_v(0).z,state::normal().z);
68
+ }
69
+
70
+ // Returns the normal n in internal space, given n is in tangent space.
71
+ float3 transform_tangent_to_internal(float3 n)
72
+ {
73
+ return state::texture_tangent_u(0) * n.x -
74
+ state::texture_tangent_v(0) * n.y + /* flip_tangent_v */
75
+ state::normal() * n.z;
76
+ }
77
+
78
+ // Returns a normal by adding a detail normal to a global normal.
79
+ export float3 add_detail_normal(float3 nd = state::normal(), float3 n = state::normal())
80
+ {
81
+ // http://blog.selfshadow.com/publications/blending-in-detail/
82
+ float3 n_t = transform_internal_to_tangent(n);
83
+ float3 nd_t = transform_internal_to_tangent(nd);
84
+ n_t = n_t + float3(0.,0.,1.);
85
+ nd_t = nd_t * float3(-1.,-1.,1.);
86
+ n = n_t * math::dot(n_t, nd_t)/n_t.z - nd_t;
87
+ return math::normalize(transform_tangent_to_internal(n));
88
+ }
89
+
90
+ base::texture_return multiply_colors(
91
+ color color_1 = color(1.0, 1.0, 1.0),
92
+ color color_2 = color(.5, .5, .5),
93
+ float weight = 1.0
94
+ )
95
+ [[
96
+ anno::hidden()
97
+ ]]
98
+ {
99
+ return base::blend_color_layers(
100
+ layers: base::color_layer[](
101
+ base::color_layer(
102
+ layer_color: color_2,
103
+ weight: weight,
104
+ mode: base::color_layer_multiply
105
+ )),
106
+ base: color_1
107
+ );
108
+ }
109
+
110
+
111
+ // OmniPBR Clearcoat //
112
+
113
+ export material OmniPBR_ClearCoat(
114
+
115
+ // Albdeo //
116
+
117
+ color diffuse_color_constant = color(0.2) [[
118
+ anno::display_name("Albedo Color"),
119
+ anno::description("This is the albedo base color"),
120
+ anno::in_group("Albedo")
121
+ ]],
122
+ uniform texture_2d diffuse_texture = texture_2d() [[
123
+ anno::display_name("Albedo Map"),
124
+ anno::in_group("Albedo")
125
+ ]],
126
+ float albedo_desaturation = float(0.0) [[
127
+ anno::display_name("Albedo Map Desaturation"),
128
+ anno::description("Desaturates the albedo map"),
129
+ anno::in_group("Albedo"),
130
+ anno::soft_range(float(0.0), float(1.0))
131
+ ]],
132
+ float albedo_add = float(0.0) [[
133
+ anno::display_name("Albedo Add"),
134
+ anno::description("Adds a constant value to the diffuse color "),
135
+ anno::in_group("Albedo"),
136
+ anno::soft_range(float(-1.0), float(1.0))
137
+ ]],
138
+ float albedo_brightness = float(1.0) [[
139
+ anno::display_name("Albedo Brightness"),
140
+ anno::description("Multiplier for the diffuse color "),
141
+ anno::in_group("Albedo"),
142
+ anno::soft_range(float(0.0), float(1.0))
143
+ ]],
144
+ color diffuse_tint = color(1.0) [[
145
+ anno::display_name("Color Tint"),
146
+ anno::description("When enabled, this color value is multiplied over the final albedo color"),
147
+ anno::in_group("Albedo")
148
+ ]],
149
+
150
+
151
+ // Reflectivity //
152
+
153
+ float reflection_roughness_constant = float(0.5) [[
154
+ anno::display_name("Roughness Amount"),
155
+ anno::description("Higher roughness values lead to more blurry reflections"),
156
+ anno::in_group("Reflectivity"),
157
+ anno::hard_range(float(0.0), float(1.0))
158
+ ]],
159
+ float reflection_roughness_texture_influence = float(0.0) [[
160
+ anno::display_name("Roughness Map Influence"),
161
+ anno::description("Blends between the constant value and the lookup of the roughness texture"),
162
+ anno::in_group("Reflectivity"),
163
+ anno::hard_range(float(0.0), float(1.0))
164
+ ]],
165
+ uniform texture_2d reflectionroughness_texture = texture_2d() [[
166
+ anno::display_name("Roughness Map"),
167
+ anno::in_group("Reflectivity"),
168
+ anno::usage("roughness")
169
+ ]],
170
+ float metallic_constant = float(0.0) [[
171
+ anno::display_name("Metallic Amount"),
172
+ anno::description("Metallic Material"),
173
+ anno::in_group("Reflectivity"),
174
+ anno::hard_range(float(0.0), float(1.0))
175
+ ]],
176
+ float metallic_texture_influence = float(0.0) [[
177
+ anno::display_name("Metallic Map Influence"),
178
+ anno::description("Blends between the constant value and the lookup of the metallic texture"),
179
+ anno::in_group("Reflectivity"),
180
+ anno::hard_range(float(0.0), float(1.0))
181
+ ]],
182
+ uniform texture_2d metallic_texture = texture_2d() [[
183
+ anno::display_name("Metallic Map"),
184
+ anno::in_group("Reflectivity"),
185
+ anno::usage("metalness")
186
+ ]],
187
+ float specular_level = float(0.5) [[
188
+ anno::display_name("Specular"),
189
+ anno::description("The specular level (intensity) of the material"),
190
+ anno::in_group("Reflectivity"),
191
+ anno::soft_range(float(0.0), float(1.0))
192
+ ]],
193
+
194
+
195
+ // ORM //
196
+
197
+ uniform bool enable_ORM_texture = false [[
198
+ anno::display_name("Enable ORM Texture"),
199
+ anno::description("The ORM texture will be used to extract the Occlusion, Roughness and Metallic textures from R,G,B channels"),
200
+ anno::in_group("Reflectivity")
201
+ ]],
202
+ uniform texture_2d ORM_texture = texture_2d() [[
203
+ anno::display_name("ORM Map"),
204
+ anno::description("Texture that has Occlusion, Roughness and Metallic maps stored in their respective R, G and B channels"),
205
+ anno::in_group("Reflectivity"),
206
+ anno::usage("roughness")
207
+ ]],
208
+
209
+
210
+ // AO Group //
211
+
212
+ float ao_to_diffuse = 0.0 [[
213
+ anno::display_name("AO to diffuse"),
214
+ anno::description("Controls the amount of ambient occlusion multiplied against the diffuse color channel"),
215
+ anno::in_group("AO"),
216
+ anno::hard_range(float(0.0), float(1.0))
217
+ ]],
218
+ uniform texture_2d ao_texture = texture_2d() [[
219
+ anno::display_name("Ambient Occlusion Map"),
220
+ anno::description("The ambient occlusion texture for the material"),
221
+ anno::in_group("AO"),
222
+ anno::usage("occlusion")
223
+ ]],
224
+
225
+
226
+ // Emission //
227
+
228
+ uniform bool enable_emission = false [[
229
+ anno::display_name("Enable Emission"),
230
+ anno::description("Enables the emission of light from the material"),
231
+ anno::in_group("Emissive")
232
+ ]],
233
+ color emissive_color = color(1.0,0.1,0.1) [[
234
+ anno::display_name("Emissive Color"),
235
+ anno::description("The emission color"),
236
+ anno::in_group("Emissive"),
237
+ anno::enable_if("enable_emission == true")
238
+ ]],
239
+ uniform texture_2d emissive_color_texture = texture_2d() [[
240
+ anno::display_name("Emissive Color map"),
241
+ anno::in_group("Emissive"),
242
+ anno::description("The emissive color texture"),
243
+ anno::enable_if("enable_emission == true")
244
+ ]],
245
+ uniform texture_2d emissive_mask_texture = texture_2d() [[
246
+ anno::display_name("Emissive Mask map"),
247
+ anno::description("The texture masking the emissive color"),
248
+ anno::in_group("Emissive"),
249
+ anno::enable_if("enable_emission == true"),
250
+ anno::usage("occlusion")
251
+ ]],
252
+ float emissive_intensity = float(40.0) [[
253
+ anno::display_name("Emissive Intensity"),
254
+ anno::description("Intensity of the emission"),
255
+ anno::in_group("Emissive"),
256
+ anno::enable_if("enable_emission == true")
257
+ ]],
258
+
259
+
260
+ // Cutout Opacity //
261
+
262
+ uniform bool enable_opacity = false [[
263
+ anno::display_name("Enable Opacity"),
264
+ anno::description("Enables the use of cutout opacity"),
265
+ anno::in_group("Opacity")
266
+ ]],
267
+ uniform texture_2d opacity_texture = texture_2d() [[
268
+ anno::display_name("Opacity Map"),
269
+ anno::in_group("Opacity"),
270
+ anno::usage("opacity")
271
+ ]],
272
+ float opacity_constant = float(1.0) [[
273
+ anno::display_name("Opacity Amount"),
274
+ anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
275
+ anno::in_group("Opacity"),
276
+ anno::hard_range(float(0.0), float(1.0))
277
+ ]],
278
+ uniform bool enable_opacity_texture = false [[
279
+ anno::display_name("Enable Opacity Texture"),
280
+ anno::description("Enables or disables the usage of the opacity texture map"),
281
+ anno::in_group("Opacity")
282
+ ]],
283
+ uniform base::mono_mode opacity_mode = base::mono_average [[
284
+ anno::display_name("Opacity Mono Source"),
285
+ anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
286
+ anno::in_group("Opacity")
287
+ ]],
288
+ uniform float opacity_threshold = float(0.0) [[
289
+ anno::display_name("Opacity Threshold"),
290
+ anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
291
+ anno::in_group("Opacity"),
292
+ anno::hard_range(float(0.0), float(1.0))
293
+ ]],
294
+
295
+
296
+ // Clearcoat //
297
+
298
+ uniform bool enable_clearcoat = false [[
299
+ anno::display_name("Enable Clearcoat Layer"),
300
+ anno::description("Adds a clearcoat layer on top of the material when enabled"),
301
+ anno::in_group("Clearcoat")
302
+ ]],
303
+ float clearcoat_weight = float(1.0) [[
304
+ anno::display_name("Clearcoat Weight"),
305
+ anno::description("Sets the weight for clearcoat layer"),
306
+ anno::in_group("Clearcoat"),
307
+ anno::hard_range(float(0.0), float(1.0))
308
+ ]],
309
+ color clearcoat_tint = color(1.0) [[
310
+ anno::display_name("Clearcoat Tint"),
311
+ anno::description("Clearcoat is tinted and affects the underlying material"),
312
+ anno::in_group("Clearcoat")
313
+ ]],
314
+ float clearcoat_transparency = float(1.0) [[
315
+ anno::display_name("Clearcoat Transparency"),
316
+ anno::description("Adjusts the transparency of the clearcoat. Can be turned into a fully opaque clearcoat covering the underlying layer"),
317
+ anno::in_group("Clearcoat"),
318
+ anno::hard_range(float(0.0), float(1.0))
319
+ ]],
320
+ float clearcoat_reflection_roughness = float(0.0) [[
321
+ anno::display_name("Clearcoat Roughness"),
322
+ anno::description("Higher roughness values lead to more blurry reflections"),
323
+ anno::in_group("Clearcoat"),
324
+ anno::hard_range(float(0.0), float(1.0))
325
+ ]],
326
+ float clearcoat_ior = float(1.56) [[
327
+ anno::display_name("Clearcoat IOR"),
328
+ anno::description("Sets the Index of refraction for the clearcoat layer"),
329
+ anno::in_group("Clearcoat"),
330
+ anno::soft_range(float(0.0), float(4.0))
331
+ ]],
332
+ uniform float clearcoat_bump_factor = float(1.0) [[
333
+ anno::display_name("Clearcoat Normal Map Strength"),
334
+ anno::description("Strength of normal map."),
335
+ anno::in_group("Clearcoat"),
336
+ anno::soft_range(float(0.0), float(1.0))
337
+ ]],
338
+ uniform texture_2d clearcoat_normalmap_texture = texture_2d() [[
339
+ anno::display_name("Clearcoat Normal Map"),
340
+ anno::description("Enables the usage of the normalmap texture"),
341
+ anno::in_group("Clearcoat"),
342
+ anno::usage("normal")
343
+ ]],
344
+ uniform float2 clearcoat_texture_translate = float2(0.0) [[
345
+ anno::display_name("Clearcoat Texture Translate"),
346
+ anno::description("Controls the position of the clearcoat texture"),
347
+ anno::ui_order(1),
348
+ anno::in_group("UV")
349
+ ]],
350
+ uniform float clearcoat_texture_rotate = float(0.0) [[
351
+ anno::display_name("Clearcoat Texture Rotate"),
352
+ anno::description("Rotates angle of the clearcoat texture in degrees"),
353
+ anno::ui_order(2),
354
+ anno::in_group("UV")
355
+ ]],
356
+ uniform float2 clearcoat_texture_scale = float2(1.0) [[
357
+ anno::display_name("Clearcoat Texture Tiling"),
358
+ anno::description("Controls the repetition of the clearcoat texture"),
359
+ anno::ui_order(3),
360
+ anno::in_group("UV")
361
+ ]],
362
+ float clearcoat_flatten = float(1.0) [[
363
+ anno::display_name("Clearcoat Flatten"),
364
+ anno::description("Flattens the clearcoat to even out the underlying bump maps"),
365
+ anno::in_group("Clearcoat"),
366
+ anno::hard_range(float(0.0), float(1.0))
367
+ ]],
368
+
369
+
370
+ // Normal //
371
+
372
+ uniform float geometry_normal_roughness_strength = 1.f
373
+ [[
374
+ anno::hard_range(0.0, 1.0),
375
+ anno::display_name("Normal map to roughness weight"),
376
+ anno::description("Enables and weights roughness induced by normal maps"),
377
+ anno::in_group("Normal")
378
+ ]],
379
+ uniform float bump_factor = float(1.0) [[
380
+ anno::display_name("Normal Strength"),
381
+ anno::description("Strength of normal map"),
382
+ anno::in_group("Normal"),
383
+ anno::soft_range(float(0.0), float(1.0))
384
+ ]],
385
+ uniform texture_2d normalmap_texture = texture_2d() [[
386
+ anno::display_name("Normal Map"),
387
+ anno::in_group("Normal"),
388
+ anno::usage("normal")
389
+ ]],
390
+ uniform float detail_bump_factor = float(0.3) [[
391
+ anno::display_name("Detail Normal Strength"),
392
+ anno::in_group("Normal"),
393
+ anno::description("Strength of the detail normal"),
394
+ anno::soft_range(float(0.0), float(1.0))
395
+ ]],
396
+ uniform texture_2d detail_normalmap_texture = texture_2d() [[
397
+ anno::display_name("Detail Normal Map"),
398
+ anno::in_group("Normal"),
399
+ anno::usage("normal")
400
+ ]],
401
+ uniform bool flip_tangent_u = false [[
402
+ anno::display_name("Normal Map Flip U Tangent"),
403
+ anno::in_group("Normal")
404
+ ]],
405
+ uniform bool flip_tangent_v = true [[
406
+ anno::display_name("Normal Map Flip V Tangent"),
407
+ anno::in_group("Normal")
408
+ ]],
409
+
410
+
411
+ // UVW Projection Group //
412
+
413
+ uniform bool project_uvw = false [[
414
+ anno::display_name("Enable Project UVW Coordinates"),
415
+ anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
416
+ anno::in_group("UV")
417
+ ]],
418
+ uniform bool world_or_object = false [[
419
+ anno::display_name("Enable World Space"),
420
+ anno::description("When enabled, uses world space for projection, otherwise object space is used"),
421
+ anno::in_group("UV"),
422
+ anno::enable_if("project_uvw == true")
423
+ ]],
424
+ uniform int uv_space_index = 0 [[
425
+ anno::display_name("UV Space Index"),
426
+ anno::description("UV Space Index"),
427
+ anno::in_group("UV"),
428
+ anno::enable_if("project_uvw == true"),
429
+ anno::hard_range(int(0), int(3))
430
+ ]],
431
+
432
+
433
+ // UVW Adjustments Group //
434
+
435
+ uniform float2 texture_translate = float2(0.0) [[
436
+ anno::display_name("Texture Translate"),
437
+ anno::description("Controls position of texture."),
438
+ anno::in_group("UV"),
439
+ anno::enable_if("project_uvw == true")
440
+ ]],
441
+ uniform float texture_rotate = float(0.0) [[
442
+ anno::display_name("Texture Rotate"),
443
+ anno::description("Rotates angle of texture in degrees."),
444
+ anno::in_group("UV"),
445
+ anno::enable_if("project_uvw == true")
446
+ ]],
447
+ uniform float2 texture_scale = float2(1.0) [[
448
+ anno::display_name("Texture Tiling"),
449
+ anno::description("Controls repetition of the texture."),
450
+ anno::in_group("UV"),
451
+ anno::enable_if("project_uvw == true")
452
+ ]],
453
+ uniform float2 detail_texture_translate = float2(0.0) [[
454
+ anno::display_name("Detail Texture Translate"),
455
+ anno::description("Controls the position of the detail texture."),
456
+ anno::in_group("UV"),
457
+ anno::enable_if("project_uvw == true")
458
+ ]],
459
+ uniform float detail_texture_rotate = float(0.0) [[
460
+ anno::display_name("Detail Texture Rotate"),
461
+ anno::description("Rotates angle of the detail texture in degrees."),
462
+ anno::in_group("UV"),
463
+ anno::enable_if("project_uvw == true")
464
+ ]],
465
+ uniform float2 detail_texture_scale = float2(1.0) [[
466
+ anno::display_name("Detail Texture Tiling"),
467
+ anno::description("Controls repetition of the detail texture."),
468
+ anno::in_group("UV"),
469
+ anno::enable_if("project_uvw == true")
470
+ ]],
471
+
472
+
473
+ // Geometry //
474
+
475
+ uniform float round_edges_radius = float(0.0) [[
476
+ anno::display_name("Round Edge Radius"),
477
+ anno::description("Influence radius around the edges in meters"),
478
+ anno::in_group("Geometry"),
479
+ anno::soft_range(0.0, 1.0)
480
+ ]],
481
+ uniform float round_edges_roundness = float(1.0) [[
482
+ anno::display_name("Round Edge Roundness"),
483
+ anno::description("Determines how round the edge will look"),
484
+ anno::in_group("Geometry"),
485
+ anno::hard_range(0.0, 1.0)
486
+ ]],
487
+ uniform bool round_edges_across_materials = false [[
488
+ anno::display_name("Round Edge Across Materials"),
489
+ anno::description("Normal smoothing happens only between facets of equal material, \n"
490
+ "\t\tunless this parameter is set true, in which case the smoothing \n"
491
+ "\t\thappens between facets irrespective of their materials"),
492
+ anno::in_group("Geometry")
493
+ ]]
494
+ )
495
+ [[
496
+ anno::display_name("OmniPBR ClearCoat "),
497
+ anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
498
+ anno::in_group("Base"),
499
+ anno::version( 2, 1, 1),
500
+ anno::author("NVIDIA CORPORATION"),
501
+ anno::key_words(string[]("omni", "PBR", "opacity", "clearcoat", "omniverse", "generic"))
502
+ ]] = let {
503
+
504
+ // UVW lookup and transformation //
505
+ base::texture_coordinate_system the_system = world_or_object ? base::texture_coordinate_world : base::texture_coordinate_object;
506
+
507
+ base::texture_coordinate_info uvw = project_uvw ? base::coordinate_projection(
508
+ coordinate_system: the_system,
509
+ texture_space: uv_space_index,
510
+ projection_type: base::projection_cubic
511
+ ) :
512
+ base::coordinate_source(
513
+ coordinate_system: base::texture_coordinate_uvw,
514
+ texture_space: uv_space_index
515
+ );
516
+
517
+ base::texture_coordinate_info transformed_uvw = base::transform_coordinate(
518
+ transform: rotation_translation_scale(
519
+ scaling: float3(texture_scale.x, texture_scale.y, 1.0),
520
+ rotation: float3(0.0, 0.0, texture_rotate/180.*math::PI ),
521
+ translation: float3(texture_translate.x, texture_translate.y, 0.0)
522
+ ),
523
+ coordinate: uvw
524
+ );
525
+
526
+ base::texture_coordinate_info detail_transformed_uvw = base::transform_coordinate(
527
+ transform: rotation_translation_scale(
528
+ scaling: float3(detail_texture_scale.x, detail_texture_scale.y, 1.0),
529
+ rotation: float3(0.0, 0.0, detail_texture_rotate/180.*math::PI ),
530
+ translation: float3(detail_texture_translate.x, detail_texture_translate.y, 0.0)
531
+ ),
532
+ coordinate: uvw
533
+ );
534
+
535
+ base::texture_coordinate_info clearcoat_transformed_uvw = base::transform_coordinate(
536
+ transform: rotation_translation_scale(
537
+ scaling: float3(clearcoat_texture_scale.x, clearcoat_texture_scale.y, 1.0),
538
+ rotation: float3(0.0, 0.0, clearcoat_texture_rotate/180.*math::PI ),
539
+ translation: float3(clearcoat_texture_translate.x, clearcoat_texture_translate.y, 0.f)
540
+ ),
541
+ coordinate: uvw
542
+ );
543
+
544
+ // Normal calculations //
545
+ OmniPBRBase::NormalData defaultData = OmniPBRBase::NormalData(state::normal(), float2(0));
546
+
547
+ OmniPBRBase::NormalData normal_data = tex::texture_isvalid(normalmap_texture) ?
548
+ OmniPBRBase::tangent_space_normal_roughness_texture(
549
+ texture: normalmap_texture,
550
+ factor: bump_factor,
551
+ uvw: transformed_uvw,
552
+ flip_tangent_u: flip_tangent_u,
553
+ flip_tangent_v: flip_tangent_v // true for dx, false for opengl
554
+ //flip_tangent_v: true
555
+
556
+ ) : defaultData;
557
+ float3 the_normal = normal_data.normal;
558
+
559
+ OmniPBRBase::NormalData detail_normal_data = tex::texture_isvalid(detail_normalmap_texture) ?
560
+ OmniPBRBase::tangent_space_normal_roughness_texture(
561
+ texture: detail_normalmap_texture,
562
+ factor: detail_bump_factor,
563
+ uvw: detail_transformed_uvw,
564
+ flip_tangent_u: flip_tangent_u,
565
+ flip_tangent_v: flip_tangent_v // true for dx, false for opengl
566
+ ) : defaultData;
567
+ float3 detail_normal = detail_normal_data.normal;
568
+
569
+ OmniPBRBase::NormalData clearcoat_normal_data = tex::texture_isvalid(clearcoat_normalmap_texture) ?
570
+ OmniPBRBase::tangent_space_normal_roughness_texture(
571
+ texture: clearcoat_normalmap_texture,
572
+ factor: clearcoat_bump_factor,
573
+ uvw: clearcoat_transformed_uvw,
574
+ flip_tangent_u: flip_tangent_u,
575
+ flip_tangent_v: flip_tangent_v // true for dx, false for opengl
576
+ ) : defaultData;
577
+ float3 clearcoat_normal = clearcoat_normal_data.normal;
578
+
579
+
580
+ float3 diffuse_gloss_normal = tex::texture_isvalid(detail_normalmap_texture) ? add_detail_normal(detail_normal, the_normal) : the_normal;
581
+ float3 flattened_clearcoat_normal = ::math::lerp(diffuse_gloss_normal, ::state::normal(), clearcoat_flatten);
582
+ float3 final_clearcoat_normal = tex::texture_isvalid(clearcoat_normalmap_texture) ? add_detail_normal(flattened_clearcoat_normal, clearcoat_normal)
583
+ : flattened_clearcoat_normal;
584
+
585
+
586
+ // ORM Handling //
587
+
588
+ float3 ORM_lookup = tex::lookup_float3(
589
+ tex: ORM_texture,
590
+ coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
591
+ );
592
+
593
+
594
+ float3 roughness_lookup = tex::lookup_float3(
595
+ tex: reflectionroughness_texture,
596
+ coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
597
+ );
598
+
599
+ float roughness_selection = enable_ORM_texture ? ORM_lookup.y : roughness_lookup.x;
600
+ float reflection_roughness_s = math::lerp(reflection_roughness_constant, roughness_selection, reflection_roughness_texture_influence);
601
+ float2 reflection_roughness = float2(math::sqrt(reflection_roughness_s*reflection_roughness_s + (geometry_normal_roughness_strength * normal_data.roughness.x * normal_data.roughness.x)),
602
+ math::sqrt(reflection_roughness_s*reflection_roughness_s + (geometry_normal_roughness_strength * normal_data.roughness.y * normal_data.roughness.y)));
603
+
604
+ float2 clearcoat_reflection_roughness2 = float2(math::sqrt(clearcoat_reflection_roughness*clearcoat_reflection_roughness + (geometry_normal_roughness_strength * clearcoat_normal_data.roughness.x * clearcoat_normal_data.roughness.x)),
605
+ math::sqrt(clearcoat_reflection_roughness*clearcoat_reflection_roughness + (geometry_normal_roughness_strength * clearcoat_normal_data.roughness.y * clearcoat_normal_data.roughness.y)));
606
+
607
+ // Diffuse Color Lookup and AO //
608
+
609
+ base::texture_return base_lookup = base::file_texture(
610
+ texture: diffuse_texture,
611
+ color_offset: color(albedo_add),
612
+ color_scale: color(albedo_brightness),
613
+ mono_source: base::mono_luminance,
614
+ uvw: transformed_uvw,
615
+ clip: false
616
+ );
617
+
618
+ base::texture_return ao_lookup = base::file_texture(
619
+ texture: ao_texture,
620
+ color_offset: color(0.0, 0.0, 0.0),
621
+ color_scale: color(1.0, 1.0, 1.0),
622
+ mono_source: base::mono_average,
623
+ uvw: transformed_uvw,
624
+ clip: false
625
+ );
626
+
627
+
628
+ color ao_color = enable_ORM_texture ? color(ORM_lookup.x) : ao_lookup.tint;
629
+ color desaturated_base = math::lerp(base_lookup.tint, color(base_lookup.mono), albedo_desaturation);
630
+ color diffuse = tex::texture_isvalid(diffuse_texture)? desaturated_base : diffuse_color_constant;
631
+ color tinted_diffuse = multiply_colors(diffuse, diffuse_tint, 1.0).tint;
632
+
633
+ color base_color = multiply_colors(
634
+ color_1: tinted_diffuse,
635
+ color_2: ao_color,
636
+ weight: ao_to_diffuse
637
+ ).tint;
638
+
639
+
640
+ // Metalness //
641
+
642
+ float3 metallic_lookup = tex::lookup_float3(
643
+ tex: metallic_texture,
644
+ coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
645
+ );
646
+
647
+ float metallic_selection = enable_ORM_texture ? ORM_lookup.z : metallic_lookup.x;
648
+ float metallic = math::lerp(metallic_constant, metallic_selection, metallic_texture_influence);
649
+
650
+
651
+ // Emission //
652
+
653
+ color emission_color_texture = tex::texture_isvalid(emissive_color_texture) ?
654
+ base::file_texture(
655
+ texture: emissive_color_texture,
656
+ color_offset: color(0.0, 0.0, 0.0),
657
+ color_scale: color(1.0, 1.0, 1.0),
658
+ mono_source: base::mono_average,
659
+ uvw: transformed_uvw,
660
+ clip: false
661
+ ).tint : emissive_color;
662
+
663
+ color emission_mask_texture = tex::texture_isvalid(emissive_mask_texture) ?
664
+ base::file_texture(
665
+ texture: emissive_mask_texture,
666
+ color_offset: color(0.0, 0.0, 0.0),
667
+ color_scale: color(1.0, 1.0, 1.0),
668
+ mono_source: base::mono_average,
669
+ uvw: transformed_uvw,
670
+ clip: false
671
+ ).tint : color(1.0);
672
+
673
+ color final_emission_color = enable_emission ? emission_color_texture * emission_mask_texture: color(0.0);
674
+
675
+ // Opacity //
676
+
677
+ float opacity_value = enable_opacity_texture ? base::file_texture(
678
+ texture: opacity_texture,
679
+ mono_source: opacity_mode,
680
+ uvw: transformed_uvw
681
+ ).mono : opacity_constant;
682
+
683
+ float cutout_opacity = enable_opacity ? ((opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= opacity_threshold) ? 1.0 : 0)) : 1.0;
684
+
685
+ material base = OmniPBRBase::OmniPBRBase(
686
+ diffuse_reflection_color: base_color,
687
+ specular_reflection_aniso_roughness: reflection_roughness,
688
+ specular_level: specular_level,
689
+ metalness: metallic,
690
+ enable_emission: enable_emission,
691
+ emission_color: final_emission_color,
692
+ emission_intensity: emissive_intensity,
693
+ enable_coat: enable_clearcoat,
694
+ coat_weight: clearcoat_weight,
695
+ coat_color: clearcoat_tint,
696
+ coat_transparency: clearcoat_transparency,
697
+ coat_aniso_roughness: clearcoat_reflection_roughness2,
698
+ coat_ior: clearcoat_ior,
699
+ enable_opacity: enable_opacity,
700
+ geometry_opacity: cutout_opacity,
701
+ clearcoat_geometry_normal: final_clearcoat_normal,
702
+ round_edges_radius: round_edges_radius,
703
+ round_edges_roundness: round_edges_roundness,
704
+ round_edges_across_materials: round_edges_across_materials,
705
+ geometry_normal: diffuse_gloss_normal
706
+ );
707
+
708
+ } in material(
709
+ surface: base.surface,
710
+ geometry: base.geometry
711
+ );
cd_case/simready_usd/textures/cd_case_basecolor_texture0png.png ADDED

Git LFS Details

  • SHA256: b4946e581e3a1ecaa16395c42c0fa2c8bf2e1ee9ba610038c5b2c89dad65c9e4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.6 MB
cd_case/simready_usd/textures/cd_case_metallic_texture0metallicpng.png ADDED

Git LFS Details

  • SHA256: 4b255a3899fbc720b56b6808c9ff2687902afe404a902acd20c42717cb32572b
  • Pointer size: 130 Bytes
  • Size of remote file: 19.2 kB
cd_case/simready_usd/textures/cd_case_normal_texture0normalpng.png ADDED

Git LFS Details

  • SHA256: 78d3a26870afb6a45afa7145d0b73b1f0dbb02897e4f5e0948eb4dd9c20ce40c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.16 MB
cd_case/simready_usd/textures/cd_case_printed_paper.png ADDED

Git LFS Details

  • SHA256: ae01f2cf6323c0d9c2b8fecbdc9d7c79a0666063e72be14f253c1f5f7bdb0197
  • Pointer size: 132 Bytes
  • Size of remote file: 1.66 MB
cd_case/simready_usd/textures/cd_case_roughness_texture0roughnesspng.png ADDED

Git LFS Details

  • SHA256: e96aaa56890e742eaf6ad94f9544ab5ac599414ddffedccfaa38a241ff4c4482
  • Pointer size: 131 Bytes
  • Size of remote file: 210 kB