tejas-sb commited on
Commit
456dc13
·
verified ·
1 Parent(s): 70d60e0

Add SimReady package: standardbots_core

Browse files
Files changed (44) hide show
  1. .gitattributes +8 -0
  2. standardbots_core/.metadata/com.nvidia.simready.conformance.Package@1.0.0.json +35 -0
  3. standardbots_core/.metadata/com.nvidia.simready.packaging.bom.json +317 -0
  4. standardbots_core/.metadata/standardbots_core_benchmark.json +2643 -0
  5. standardbots_core/.metadata/standardbots_core_validation.json +242 -0
  6. standardbots_core/com.nvidia.simready.packaging.json +31 -0
  7. standardbots_core/core/.thumbs/256x256/standardbots_core.usd.png +3 -0
  8. standardbots_core/core/.thumbs/256x256/standardbots_core.usd_light.png +3 -0
  9. standardbots_core/core/.thumbs/256x256/standardbots_core.usd_transparent.png +3 -0
  10. standardbots_core/core/configuration/OmniPBR/OmniPBR.mdl +396 -0
  11. standardbots_core/core/configuration/OmniPBR/OmniPBRBase.mdl +470 -0
  12. standardbots_core/core/configuration/OmniPBR/OmniPBR_ClearCoat.mdl +711 -0
  13. standardbots_core/core/configuration/core_base.usd +3 -0
  14. standardbots_core/core/configuration/core_body_light.usda +148 -0
  15. standardbots_core/core/configuration/core_collision.usd +0 -0
  16. standardbots_core/core/configuration/core_materials.usda +199 -0
  17. standardbots_core/core/configuration/core_physics.usd +0 -0
  18. standardbots_core/core/configuration/core_physics_light.usda +13 -0
  19. standardbots_core/core/configuration/core_sensor.usd +0 -0
  20. standardbots_core/core/configuration/core_visual.usda +155 -0
  21. standardbots_core/core/meshes/visual/base_link.usd +3 -0
  22. standardbots_core/core/meshes/visual/forearm_link.usd +3 -0
  23. standardbots_core/core/meshes/visual/gltf/pbr.mdl +1004 -0
  24. standardbots_core/core/meshes/visual/shoulder_link.usd +3 -0
  25. standardbots_core/core/meshes/visual/textures/Base_texture0.png +3 -0
  26. standardbots_core/core/meshes/visual/textures/Base_texture1.png +3 -0
  27. standardbots_core/core/meshes/visual/textures/J0_texture0.png +3 -0
  28. standardbots_core/core/meshes/visual/textures/J0_texture1.png +3 -0
  29. standardbots_core/core/meshes/visual/textures/J1-J2_texture0.png +3 -0
  30. standardbots_core/core/meshes/visual/textures/J1-J2_texture1.png +3 -0
  31. standardbots_core/core/meshes/visual/textures/J4_texture0.png +3 -0
  32. standardbots_core/core/meshes/visual/textures/J5_texture0.png +3 -0
  33. standardbots_core/core/meshes/visual/textures/WL-J3_texture0.png +3 -0
  34. standardbots_core/core/meshes/visual/textures/WL-J3_texture1.png +3 -0
  35. standardbots_core/core/meshes/visual/upper_arm_link.usd +3 -0
  36. standardbots_core/core/meshes/visual/wrist_1_link.usd +3 -0
  37. standardbots_core/core/meshes/visual/wrist_2_link.usd +3 -0
  38. standardbots_core/core/meshes/visual/wrist_3_link.usd +3 -0
  39. standardbots_core/core/preview/core_front.png +3 -0
  40. standardbots_core/core/preview/core_shoulder_detail.png +3 -0
  41. standardbots_core/core/preview/core_side.png +3 -0
  42. standardbots_core/core/preview/core_three_quarter.png +3 -0
  43. standardbots_core/core/preview/core_wrist_detail.png +3 -0
  44. standardbots_core/core/standardbots_core.usd +0 -0
.gitattributes CHANGED
@@ -58,3 +58,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ standardbots_core/core/configuration/core_base.usd filter=lfs diff=lfs merge=lfs -text
62
+ standardbots_core/core/meshes/visual/base_link.usd filter=lfs diff=lfs merge=lfs -text
63
+ standardbots_core/core/meshes/visual/forearm_link.usd filter=lfs diff=lfs merge=lfs -text
64
+ standardbots_core/core/meshes/visual/shoulder_link.usd filter=lfs diff=lfs merge=lfs -text
65
+ standardbots_core/core/meshes/visual/upper_arm_link.usd filter=lfs diff=lfs merge=lfs -text
66
+ standardbots_core/core/meshes/visual/wrist_1_link.usd filter=lfs diff=lfs merge=lfs -text
67
+ standardbots_core/core/meshes/visual/wrist_2_link.usd filter=lfs diff=lfs merge=lfs -text
68
+ standardbots_core/core/meshes/visual/wrist_3_link.usd filter=lfs diff=lfs merge=lfs -text
standardbots_core/.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-10-08T17:16:37",
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
+ }
standardbots_core/.metadata/com.nvidia.simready.packaging.bom.json ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": "1.0",
3
+ "items": [
4
+ {
5
+ "relative_path": "core/.thumbs/256x256/standardbots_core.usd.png",
6
+ "size": 14382,
7
+ "hash": {
8
+ "sha256-flat-1mb": "1fc8fd756ea6dca4886468a4e15a99171d217a1f070a1db945300a9ad21c4a70",
9
+ "sha256": "d95c02e91445edbf9e04bfe34b4b8a71a7933b78d33c96d045400bf943bb7fbe"
10
+ }
11
+ },
12
+ {
13
+ "relative_path": "core/.thumbs/256x256/standardbots_core.usd_light.png",
14
+ "size": 14316,
15
+ "hash": {
16
+ "sha256-flat-1mb": "a29a571869f8f8f2f848f8c431365a8392535d2219a3f3db3cf68bf1759ed359",
17
+ "sha256": "ed2dd6a16c68a2945f08ac288d4b85599080a7a174d846f239ab374c1504932c"
18
+ }
19
+ },
20
+ {
21
+ "relative_path": "core/.thumbs/256x256/standardbots_core.usd_transparent.png",
22
+ "size": 17986,
23
+ "hash": {
24
+ "sha256-flat-1mb": "e0caf6b16d94c008c063430ee0db7c1eec1aba9e7cee8cfe2b78a130a18f996d",
25
+ "sha256": "d2f4a5bc8f9df353fc2bb94de21d257677ff3b2c7d1205ecf4921eb6fd25e0c4"
26
+ }
27
+ },
28
+ {
29
+ "relative_path": "core/configuration/OmniPBR/OmniPBR.mdl",
30
+ "size": 13989,
31
+ "hash": {
32
+ "sha256-flat-1mb": "4d0f54d47017bfbe22cc483cb02c4fe7e2254ddd1119cd618cbaea553639d52c",
33
+ "sha256": "d384fc800f120e3cad1b7ca8837f9c554f9c34343d194813fca27caa493001f2"
34
+ }
35
+ },
36
+ {
37
+ "relative_path": "core/configuration/OmniPBR/OmniPBRBase.mdl",
38
+ "size": 17274,
39
+ "hash": {
40
+ "sha256-flat-1mb": "4b54e7fb8bc92191512851b3acc6fc6fa9863f80d98ffece8f0cb9b99f5f4535",
41
+ "sha256": "701f37299b44106842bdbe025de52eedec391e35b038f61c4ed4d25bd98e7db1"
42
+ }
43
+ },
44
+ {
45
+ "relative_path": "core/configuration/OmniPBR/OmniPBR_ClearCoat.mdl",
46
+ "size": 27453,
47
+ "hash": {
48
+ "sha256-flat-1mb": "0e35217542eb4ece0205fc09f74eb71aaa6bfb75b3b861d64693d317282df424",
49
+ "sha256": "687fce3f0693146b91495f04407a7c38c78f6b9262b63621f44b4b1f09110469"
50
+ }
51
+ },
52
+ {
53
+ "relative_path": "core/configuration/core_base.usd",
54
+ "size": 3124098,
55
+ "hash": {
56
+ "sha256-flat-1mb": "d932da3392057bd0c41cddf8c1845cf603064e3c772ca160d7e40eabc472b4f8",
57
+ "sha256": "a89b41500ff03fcd4051c85706ea8036c0a253f7aead1120e9e943419267f3a3",
58
+ "sha256-first1m": "3001e92b25667332136cfc8354cef872b311867f7a65d35e97cf303e7711e817"
59
+ }
60
+ },
61
+ {
62
+ "relative_path": "core/configuration/core_body_light.usda",
63
+ "size": 3846,
64
+ "hash": {
65
+ "sha256-flat-1mb": "91d2e87f47ae6b9b98ef6f58662b50b5612c5d4f03561955d807bae3e52843f3",
66
+ "sha256": "ceb6b7c007f2accee559b74f57fe0f8c8ceb47eac4c7ac3075e56505f15316ae"
67
+ }
68
+ },
69
+ {
70
+ "relative_path": "core/configuration/core_collision.usd",
71
+ "size": 35456,
72
+ "hash": {
73
+ "sha256-flat-1mb": "b7588d4749ae7ab600b64a3670419398fd567bfeda400e9ff732974c9ec2eb06",
74
+ "sha256": "fc6cf85186e7f08fd1edffbef88201595464ed0a79d026b83542e15b434f3e4e"
75
+ }
76
+ },
77
+ {
78
+ "relative_path": "core/configuration/core_materials.usda",
79
+ "size": 6795,
80
+ "hash": {
81
+ "sha256-flat-1mb": "ab40721a30000f2ecac9b3898a226a1620367d68d94f4ba6eb4cb434fc928293",
82
+ "sha256": "753f8943bf610da452b410617ce9c5df7e76f41349dc9299bfb4c7ec0d8e5b57"
83
+ }
84
+ },
85
+ {
86
+ "relative_path": "core/configuration/core_physics.usd",
87
+ "size": 4941,
88
+ "hash": {
89
+ "sha256-flat-1mb": "7d264c07537175ed30d8cb9ad7738a550d28afae24da70c02b46075a906e6897",
90
+ "sha256": "5ba0c3e58abf4fffafd21a9e5c89b21f0271a2aa10203f458b3a04f8621c0c7f"
91
+ }
92
+ },
93
+ {
94
+ "relative_path": "core/configuration/core_physics_light.usda",
95
+ "size": 301,
96
+ "hash": {
97
+ "sha256-flat-1mb": "d2f8b5d91deed8b6ef0542a33eed088a954748c6ecd3e890244fdc9c316f5352",
98
+ "sha256": "c2794c3ba53a8d2accabd3c2c241d706c452eade28162d5db3f67d10ab1ac5c1"
99
+ }
100
+ },
101
+ {
102
+ "relative_path": "core/configuration/core_sensor.usd",
103
+ "size": 644,
104
+ "hash": {
105
+ "sha256-flat-1mb": "3d288f3b49b3adc6b668ac9de8d1b05eb0bdc71dfb45c57d36240a3c26ad9d25",
106
+ "sha256": "e26dbebbdd08d0e7729ef65e0ae42468693d023fd57990278fc784af4d4d5b67"
107
+ }
108
+ },
109
+ {
110
+ "relative_path": "core/configuration/core_visual.usda",
111
+ "size": 4583,
112
+ "hash": {
113
+ "sha256-flat-1mb": "526b9e64375aeaf20fb89c96d94af5a5b6c6589a7dd00f9468044d56162bea36",
114
+ "sha256": "c77d79e384646f89df2c31a9121328d2d57103f0b127f6b23a49de1858942826"
115
+ }
116
+ },
117
+ {
118
+ "relative_path": "core/meshes/visual/base_link.usd",
119
+ "size": 1354340,
120
+ "hash": {
121
+ "sha256-flat-1mb": "c3b346945bd6808839a618fa57b8d8606b3883628f5906724100134f0213d9f7",
122
+ "sha256": "78bd20a172f64f967412d8a3cbfb88d92a863475873b9b36da0a7e431d10558b",
123
+ "sha256-first1m": "190ff04d79ff03c10768052a83885dcb3a488c7cd4f2f09f52157148ee7b42e6"
124
+ }
125
+ },
126
+ {
127
+ "relative_path": "core/meshes/visual/forearm_link.usd",
128
+ "size": 15018659,
129
+ "hash": {
130
+ "sha256-flat-1mb": "8b028d6a1c4b67563ca06e08d69cfc1c478b8ae025a8c8aa69824f9a51dc9b1e",
131
+ "sha256": "209d262f89dd58ed9b57389649cddab3cc40b450142228e6cd5e3caa2acf9fc9",
132
+ "sha256-first1m": "eb2c760fb0f142d929d81ea2413ceafb54e33882673493162196e074b4e69fea"
133
+ }
134
+ },
135
+ {
136
+ "relative_path": "core/meshes/visual/gltf/pbr.mdl",
137
+ "size": 42240,
138
+ "hash": {
139
+ "sha256-flat-1mb": "0ea567c192a18e6835ba556207f797ebe90850414ac832952c61c571cff22a0d",
140
+ "sha256": "eeed10b53c18d789f94a24a3a6b996c49668ae2d5b6a909bae3420f2beb16fc8"
141
+ }
142
+ },
143
+ {
144
+ "relative_path": "core/meshes/visual/shoulder_link.usd",
145
+ "size": 4513658,
146
+ "hash": {
147
+ "sha256-flat-1mb": "b242fdb1a073fe9ae5e057b55dfa160af0fa905c7c585f6543612de0692e6df9",
148
+ "sha256": "80d917007828570a321d465cbdd76f2a47d5782d44b2bbfda79650dec1e7d16e",
149
+ "sha256-first1m": "14b65310830e11545acef5ae5f3485a3fc76dcea3917c4280ae6357e8c80929f"
150
+ }
151
+ },
152
+ {
153
+ "relative_path": "core/meshes/visual/textures/Base_texture0.png",
154
+ "size": 4957,
155
+ "hash": {
156
+ "sha256-flat-1mb": "a83203e93034c202665d11d16b41aa0a0c8cdbf5424250cc19d0d9890fab166b",
157
+ "sha256": "10fa25aef51208ad2679296289d4a11142395dc0ef3a14a04a92a0b277ec72a4"
158
+ }
159
+ },
160
+ {
161
+ "relative_path": "core/meshes/visual/textures/Base_texture1.png",
162
+ "size": 5169,
163
+ "hash": {
164
+ "sha256-flat-1mb": "02a47f22848d71ba23e6b51bdb056b13b0b9fe94ddde49e49059b30fd517fb52",
165
+ "sha256": "b9e374cf0c3e88f0f8fe9a596f75d4d0b98860754da1666eb5069337dc6dde8f"
166
+ }
167
+ },
168
+ {
169
+ "relative_path": "core/meshes/visual/textures/J0_texture0.png",
170
+ "size": 5044,
171
+ "hash": {
172
+ "sha256-flat-1mb": "d65f1883ef01f676a302b501263c6c3652cd9fa52e735898f79309ce1521767b",
173
+ "sha256": "52a432b1531b44d466d783f8ccd780405141273624c75f19d086f143883b8f3f"
174
+ }
175
+ },
176
+ {
177
+ "relative_path": "core/meshes/visual/textures/J0_texture1.png",
178
+ "size": 5306,
179
+ "hash": {
180
+ "sha256-flat-1mb": "92c72532b9bb19eba837bc65f09d225058ea7a99430664e1150ef71463ea6457",
181
+ "sha256": "8867d379eb02ad4658cbd94e6fad51dcae6ef4942e2e65a45074850d7fb30ecd"
182
+ }
183
+ },
184
+ {
185
+ "relative_path": "core/meshes/visual/textures/J1-J2_texture0.png",
186
+ "size": 1902,
187
+ "hash": {
188
+ "sha256-flat-1mb": "157fe078c2cae2ec094eef84bf7be3acbabc9eb15690bfedb664b2224cb5ee5c",
189
+ "sha256": "3799ed538d9c6c9bf3d4d198e12500874c90a412210f956e92a89e9eedde9afa"
190
+ }
191
+ },
192
+ {
193
+ "relative_path": "core/meshes/visual/textures/J1-J2_texture1.png",
194
+ "size": 1902,
195
+ "hash": {
196
+ "sha256-flat-1mb": "deb95285a643e108e124792c69e130db0846670089aee547d1546a9bb5cb24ad",
197
+ "sha256": "33cfc14e8f9d540d67d1fbd413c1a90e55ed5d20beb6e67378a91d0b35a21196"
198
+ }
199
+ },
200
+ {
201
+ "relative_path": "core/meshes/visual/textures/J4_texture0.png",
202
+ "size": 690,
203
+ "hash": {
204
+ "sha256-flat-1mb": "92a2f550188a030b7c2545b6b772a651c22cdd8c117915e613c810516fbffd1f",
205
+ "sha256": "5a53f653698f7e500b0600f5788ed331934005b011785dc4a4e6f95258bbeb60"
206
+ }
207
+ },
208
+ {
209
+ "relative_path": "core/meshes/visual/textures/J5_texture0.png",
210
+ "size": 707,
211
+ "hash": {
212
+ "sha256-flat-1mb": "85bac69fda6c700ecd14e2f68f4b370560ea08c79d1a33f8a8000abc75e2aa9f",
213
+ "sha256": "230272ebdcda0ffd6c4d858744c7f12a79b753d80203c1aa06bc4caf6d1efc35"
214
+ }
215
+ },
216
+ {
217
+ "relative_path": "core/meshes/visual/textures/WL-J3_texture0.png",
218
+ "size": 3565,
219
+ "hash": {
220
+ "sha256-flat-1mb": "e78e2797312a459c24f698c3a9d398e44a471563fa7d255f91fcaf6d5d19342f",
221
+ "sha256": "7ecb62c5c3c582447f020f31582e9022ac67a1e6334315fcd9fc23c2a23a9a0c"
222
+ }
223
+ },
224
+ {
225
+ "relative_path": "core/meshes/visual/textures/WL-J3_texture1.png",
226
+ "size": 3565,
227
+ "hash": {
228
+ "sha256-flat-1mb": "3c7d9d5acac16a1e48b5408dab2be0b7988c5f8a2e193657ddf4226a07056f4b",
229
+ "sha256": "69f2a1eb8e92e808b5f40b41eb3c02d85e5b39928ba16ca640a117788c7cec2c"
230
+ }
231
+ },
232
+ {
233
+ "relative_path": "core/meshes/visual/upper_arm_link.usd",
234
+ "size": 9721038,
235
+ "hash": {
236
+ "sha256-flat-1mb": "b6137342513401979612321f28336d55c0d48e7184d98486c620107f4a1b29d3",
237
+ "sha256": "f1635159c18803118f24158dd217b135a03d9f6f568d873b66789782e1adb2ac",
238
+ "sha256-first1m": "f7f0434367f800653646c22f166db5fa2d09d8573d6492105e483c418f83a1eb"
239
+ }
240
+ },
241
+ {
242
+ "relative_path": "core/meshes/visual/wrist_1_link.usd",
243
+ "size": 3696327,
244
+ "hash": {
245
+ "sha256-flat-1mb": "de73ca5468f20cda3845be96488aed6ea03b8b18872f1cb68ffdfe9d2f219f86",
246
+ "sha256": "e34d5ba68994cb4bfdab3ee430a860eab910c1a3b303ffa037bcb8125a3bc1ad",
247
+ "sha256-first1m": "041314a67023df99dff12fcde20c2f9836121dcaf98b7c6cf8a0ef20554d500e"
248
+ }
249
+ },
250
+ {
251
+ "relative_path": "core/meshes/visual/wrist_2_link.usd",
252
+ "size": 3707739,
253
+ "hash": {
254
+ "sha256-flat-1mb": "37e89bc40e7c613f6e6bcb50fb7fdbdc71e3be85ea8b62db88d9dff5b3ab54bf",
255
+ "sha256": "a6d135c5742a7d8640bba640f8ff00a8894966dd3a6a02b10dca46ede14c2968",
256
+ "sha256-first1m": "b70cd69e26d889fb5afca80d32780d2f4893e2b80b8fb1ffa24556ee2f19b46f"
257
+ }
258
+ },
259
+ {
260
+ "relative_path": "core/meshes/visual/wrist_3_link.usd",
261
+ "size": 5122522,
262
+ "hash": {
263
+ "sha256-flat-1mb": "1a18ad429cb29390a06dd15ad9fa07c60f6ffc859bc476979044440049abc321",
264
+ "sha256": "7778882c12aff064fc05df84fffade50e4401ef1c882d86aba8ce85a44095c26",
265
+ "sha256-first1m": "35422d9613de2ca06cc36f66a1c50e5032db8b129f479f388a3b64be991a47c4"
266
+ }
267
+ },
268
+ {
269
+ "relative_path": "core/preview/core_front.png",
270
+ "size": 156700,
271
+ "hash": {
272
+ "sha256-flat-1mb": "aa60e41c508d3fbbac77793bd0319296ae848f0f6f079ad259e03c457fbc6e4b",
273
+ "sha256": "ba3536655c62d571adc3a6feaaf4067028887f520a7aa8a8799e82df3219ee38"
274
+ }
275
+ },
276
+ {
277
+ "relative_path": "core/preview/core_shoulder_detail.png",
278
+ "size": 231678,
279
+ "hash": {
280
+ "sha256-flat-1mb": "a0673a9c33695d837c69b79def1d9fd7861f3068536abce170bcd6fb60227146",
281
+ "sha256": "a03284532feed233f6671d044ceb037885be146edabb9dc371d746818f575f84"
282
+ }
283
+ },
284
+ {
285
+ "relative_path": "core/preview/core_side.png",
286
+ "size": 134233,
287
+ "hash": {
288
+ "sha256-flat-1mb": "bcff99f64374ba425c2781440fc677d3b563958c49160e82edd408d5a6e5b886",
289
+ "sha256": "408bb8112d41de3e398e198921473a4a723b6b652b5dd3859fc56cba04cbfe1e"
290
+ }
291
+ },
292
+ {
293
+ "relative_path": "core/preview/core_three_quarter.png",
294
+ "size": 240242,
295
+ "hash": {
296
+ "sha256-flat-1mb": "d71b4e88011e7b00d8ac058773106f5f979fb99a079003d0b7b593ab2d63b303",
297
+ "sha256": "c3a910bc8cd80cc3afcd41eb994f4712940191bd86e97e385e1571a628d3438b"
298
+ }
299
+ },
300
+ {
301
+ "relative_path": "core/preview/core_wrist_detail.png",
302
+ "size": 296561,
303
+ "hash": {
304
+ "sha256-flat-1mb": "8ecbbe07ce3d3ea280136db57373a2fb51920ad7f4bd6bf0463e67021578c607",
305
+ "sha256": "925a3cbcd6267f3263eb9369a5add38114462e903efc731bf3f13ec15fc203e1"
306
+ }
307
+ },
308
+ {
309
+ "relative_path": "core/standardbots_core.usd",
310
+ "size": 3598,
311
+ "hash": {
312
+ "sha256-flat-1mb": "756780f469ece4351129f7bb4f684ae4a03652a4924f9aab5fabe37f4fc86d88",
313
+ "sha256": "ed89bbf49ca42aaa84e1a83e240a4b3d50760b4b8aad950e31123634d85a953e"
314
+ }
315
+ }
316
+ ]
317
+ }
standardbots_core/.metadata/standardbots_core_benchmark.json ADDED
@@ -0,0 +1,2643 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "1.0",
3
+ "asset": "standardbots_core",
4
+ "run_timestamp": "2026-10-08T17:16:36Z",
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": 5.281,
14
+ "message": "",
15
+ "metrics": {
16
+ "_timing_capture_frame_total_s": {
17
+ "value": 1.117,
18
+ "unit": null
19
+ },
20
+ "_timing_capture_frame_count": {
21
+ "value": 16,
22
+ "unit": null
23
+ },
24
+ "_timing_capture_frame_avg_ms": {
25
+ "value": 69.79,
26
+ "unit": null
27
+ },
28
+ "_timing_encode_video_total_s": {
29
+ "value": 0.588,
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.00321,
46
+ "unit": null
47
+ },
48
+ "culling_xz_mean_diff": {
49
+ "value": 0.000617,
50
+ "unit": null
51
+ },
52
+ "culling_xz_worst_angle": {
53
+ "value": 90.0,
54
+ "unit": null
55
+ },
56
+ "culling_xz_passed": {
57
+ "value": 1,
58
+ "unit": null
59
+ }
60
+ },
61
+ "kit_logs": []
62
+ },
63
+ {
64
+ "test_name": "culling_xz",
65
+ "engine": "isaac_sim_newton",
66
+ "engine_version": "6.1.0.0",
67
+ "status": "pass",
68
+ "passed": true,
69
+ "duration": 5.235,
70
+ "message": "",
71
+ "metrics": {
72
+ "_timing_capture_frame_total_s": {
73
+ "value": 1.079,
74
+ "unit": null
75
+ },
76
+ "_timing_capture_frame_count": {
77
+ "value": 16,
78
+ "unit": null
79
+ },
80
+ "_timing_capture_frame_avg_ms": {
81
+ "value": 67.46,
82
+ "unit": null
83
+ },
84
+ "_timing_encode_video_total_s": {
85
+ "value": 0.574,
86
+ "unit": null
87
+ },
88
+ "_timing_encode_video_count": {
89
+ "value": 2,
90
+ "unit": null
91
+ },
92
+ "_render_blank_retry_count": {
93
+ "value": 0,
94
+ "unit": null
95
+ },
96
+ "_render_blank_retry_unrecovered": {
97
+ "value": 0,
98
+ "unit": null
99
+ },
100
+ "culling_xz_max_diff": {
101
+ "value": 0.003018,
102
+ "unit": null
103
+ },
104
+ "culling_xz_mean_diff": {
105
+ "value": 0.000521,
106
+ "unit": null
107
+ },
108
+ "culling_xz_worst_angle": {
109
+ "value": 90.0,
110
+ "unit": null
111
+ },
112
+ "culling_xz_passed": {
113
+ "value": 1,
114
+ "unit": null
115
+ }
116
+ },
117
+ "kit_logs": []
118
+ },
119
+ {
120
+ "test_name": "drive_gain_validation",
121
+ "engine": "isaac_sim",
122
+ "engine_version": "6.1.0.0",
123
+ "status": "pass",
124
+ "passed": true,
125
+ "duration": 6.657,
126
+ "message": "",
127
+ "metrics": {
128
+ "dgv_joints_tested": {
129
+ "value": 6,
130
+ "unit": null
131
+ },
132
+ "dgv_passive_joints_skipped": {
133
+ "value": 0,
134
+ "unit": null
135
+ },
136
+ "dgv_mimic_follower_joints_skipped": {
137
+ "value": 0,
138
+ "unit": null
139
+ },
140
+ "_timing_capture_frame_total_s": {
141
+ "value": 1.591,
142
+ "unit": null
143
+ },
144
+ "_timing_capture_frame_count": {
145
+ "value": 17,
146
+ "unit": null
147
+ },
148
+ "_timing_capture_frame_avg_ms": {
149
+ "value": 93.6,
150
+ "unit": null
151
+ },
152
+ "_timing_encode_video_total_s": {
153
+ "value": 0.409,
154
+ "unit": null
155
+ },
156
+ "_timing_encode_video_count": {
157
+ "value": 1,
158
+ "unit": null
159
+ },
160
+ "_render_blank_retry_count": {
161
+ "value": 0,
162
+ "unit": null
163
+ },
164
+ "_render_blank_retry_unrecovered": {
165
+ "value": 0,
166
+ "unit": null
167
+ },
168
+ "dgv_joints_passed": {
169
+ "value": 6,
170
+ "unit": null
171
+ },
172
+ "dgv_joints_failed": {
173
+ "value": 0,
174
+ "unit": null
175
+ }
176
+ },
177
+ "kit_logs": []
178
+ },
179
+ {
180
+ "test_name": "effort_limit",
181
+ "engine": "isaac_sim",
182
+ "engine_version": "6.1.0.0",
183
+ "status": "pass",
184
+ "passed": true,
185
+ "duration": 46.542,
186
+ "message": "",
187
+ "metrics": {
188
+ "eff_joints_with_candidates": {
189
+ "value": 6,
190
+ "unit": null
191
+ },
192
+ "eff_joints_skipped_passive": {
193
+ "value": 0,
194
+ "unit": null
195
+ },
196
+ "eff_joints_skipped_mimic_follower": {
197
+ "value": 0,
198
+ "unit": null
199
+ },
200
+ "_timing_capture_frame_total_s": {
201
+ "value": 12.188,
202
+ "unit": null
203
+ },
204
+ "_timing_capture_frame_count": {
205
+ "value": 144,
206
+ "unit": null
207
+ },
208
+ "_timing_capture_frame_avg_ms": {
209
+ "value": 84.64,
210
+ "unit": null
211
+ },
212
+ "_timing_encode_video_total_s": {
213
+ "value": 2.242,
214
+ "unit": null
215
+ },
216
+ "_timing_encode_video_count": {
217
+ "value": 1,
218
+ "unit": null
219
+ },
220
+ "_render_blank_retry_count": {
221
+ "value": 0,
222
+ "unit": null
223
+ },
224
+ "_render_blank_retry_unrecovered": {
225
+ "value": 0,
226
+ "unit": null
227
+ },
228
+ "eff_joints_tested": {
229
+ "value": 6,
230
+ "unit": null
231
+ },
232
+ "eff_joints_passed": {
233
+ "value": 6,
234
+ "unit": null
235
+ },
236
+ "eff_joints_failed": {
237
+ "value": 0,
238
+ "unit": null
239
+ }
240
+ },
241
+ "kit_logs": [
242
+ {
243
+ "level": "error",
244
+ "channel": "omni.kit.app._impl",
245
+ "message": "[py stderr]: Traceback (most recent call last):"
246
+ },
247
+ {
248
+ "level": "error",
249
+ "channel": "omni.kit.app._impl",
250
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
251
+ },
252
+ {
253
+ "level": "error",
254
+ "channel": "omni.kit.app._impl",
255
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
256
+ },
257
+ {
258
+ "level": "error",
259
+ "channel": "omni.kit.app._impl",
260
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
261
+ },
262
+ {
263
+ "level": "error",
264
+ "channel": "omni.kit.app._impl",
265
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
266
+ },
267
+ {
268
+ "level": "error",
269
+ "channel": "omni.kit.app._impl",
270
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
271
+ },
272
+ {
273
+ "level": "error",
274
+ "channel": "omni.kit.app._impl",
275
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
276
+ },
277
+ {
278
+ "level": "error",
279
+ "channel": "omni.kit.app._impl",
280
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
281
+ },
282
+ {
283
+ "level": "error",
284
+ "channel": "omni.kit.app._impl",
285
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
286
+ },
287
+ {
288
+ "level": "error",
289
+ "channel": "omni.kit.app._impl",
290
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
291
+ },
292
+ {
293
+ "level": "error",
294
+ "channel": "omni.kit.app._impl",
295
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
296
+ },
297
+ {
298
+ "level": "error",
299
+ "channel": "omni.kit.app._impl",
300
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
301
+ },
302
+ {
303
+ "level": "error",
304
+ "channel": "omni.kit.app._impl",
305
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "test_name": "full_range_sweep",
311
+ "engine": "isaac_sim",
312
+ "engine_version": "6.1.0.0",
313
+ "status": "pass",
314
+ "passed": true,
315
+ "duration": 92.25,
316
+ "message": "",
317
+ "metrics": {
318
+ "frs_total_dofs": {
319
+ "value": 6,
320
+ "unit": null
321
+ },
322
+ "frs_joints_tested": {
323
+ "value": 6,
324
+ "unit": null
325
+ },
326
+ "frs_passive_joints_skipped": {
327
+ "value": 0,
328
+ "unit": null
329
+ },
330
+ "frs_loop_joints_skipped": {
331
+ "value": 0,
332
+ "unit": null
333
+ },
334
+ "frs_bbox_baseline_volume": {
335
+ "value": 0.0,
336
+ "unit": null
337
+ },
338
+ "_timing_capture_frame_total_s": {
339
+ "value": 15.494,
340
+ "unit": null
341
+ },
342
+ "_timing_capture_frame_count": {
343
+ "value": 180,
344
+ "unit": null
345
+ },
346
+ "_timing_capture_frame_avg_ms": {
347
+ "value": 86.08,
348
+ "unit": null
349
+ },
350
+ "_timing_encode_video_total_s": {
351
+ "value": 2.835,
352
+ "unit": null
353
+ },
354
+ "_timing_encode_video_count": {
355
+ "value": 1,
356
+ "unit": null
357
+ },
358
+ "_render_blank_retry_count": {
359
+ "value": 0,
360
+ "unit": null
361
+ },
362
+ "_render_blank_retry_unrecovered": {
363
+ "value": 0,
364
+ "unit": null
365
+ },
366
+ "frs_joints_passed": {
367
+ "value": 6,
368
+ "unit": null
369
+ },
370
+ "frs_joints_failed": {
371
+ "value": 0,
372
+ "unit": null
373
+ }
374
+ },
375
+ "kit_logs": []
376
+ },
377
+ {
378
+ "test_name": "ground_drop",
379
+ "engine": "isaac_sim",
380
+ "engine_version": "6.1.0.0",
381
+ "status": "skipped",
382
+ "passed": false,
383
+ "duration": 0.035,
384
+ "message": "Asset is world-anchored (FixedJoint to world) -- test not applicable. World-anchored assets cannot fall or slide.",
385
+ "metrics": {
386
+ "ground_drop_skipped": {
387
+ "value": 1,
388
+ "unit": null
389
+ }
390
+ },
391
+ "kit_logs": []
392
+ },
393
+ {
394
+ "test_name": "ik_target_reach",
395
+ "engine": "isaac_sim",
396
+ "engine_version": "6.1.0.0",
397
+ "status": "skipped",
398
+ "passed": false,
399
+ "duration": 0.971,
400
+ "message": "IK Target Reach phase cannot run: no Lula kinematics descriptor matched this asset.\n\n Found: asset_path='<home>/Documents/standardbots/USD_Validate/Core/StandardBots_Core_USD_20261008/standardbots_core/core/standardbots_core.usd'\n isaac:robotType='ARM'\n Expected: the asset's path OR its IsaacRobotAPI.isaac:robotType\n value contains one of the canonical Lula-supported\n robot keys (case-insensitive substring match):\n Franka, UR3, UR5, UR10, UR16e, Kinova_Gen3, Cobotta_Pro_900, Cobotta_Pro_1300, Denso_Cobotta, Festo_Cobot, Rethink_Sawyer, Rizon4\n\nFIX (asset-authoring): the Lula IK solver needs a descriptor YAML +\nURDF pair to know your robot's kinematic chain. Two ways to satisfy\nthis test:\n\n 1. RENAME / RETAG to a supported model. If your robot IS one of the\n supported models above, ensure the asset folder name (or the\n default prim's isaac:robotType token) contains the canonical\n key. For example, place the asset under a folder containing\n 'Franka' or set:\n token isaac:robotType = \"Manipulator\"\n string isaac:robotName = \"Franka\"\n on the default prim.\n\n 2. PROVIDE an explicit Lula descriptor. Set the phase config in\n your test profile:\n lula_robot_name: \"<canonical-name>\"\n lula_yaml_path: \"./abs/path/to/robot_descriptor.yaml\"\n lula_urdf_path: \"./abs/path/to/robot.urdf\"\n The YAML must list the kinematic chain (base_link, cspace,\n active joints, default_q) per Isaac Sim's Lula descriptor\n format. See any policy in the policy_map directory cited below\n for a working template.\n\nREFERENCE:\n Spec: nv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/capabilities/isaac_sim/robot_core/requirements/robot-type.md (RC.008)\n nv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/capabilities/isaac_sim/robot_core/requirements/robot-schema.md (RC.007)\n Feature: nv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/features/FET_021_ISAAC.md\n Lula descriptors: Isaac Sim ships YAML+URDF pairs under\n isaacsim.robot_motion.motion_generation/policies/\n policy_map.json -- keyed by canonical robot name\n (Franka, UR3, UR5, UR10, UR16e, Kinova_Gen3,\n Cobotta_Pro_900, Cobotta_Pro_1300, Denso_Cobotta,\n Festo_Cobot, Rethink_Sawyer, Rizon4).\n Example: Any Franka_*.usd or UR10_*.usd asset under\n sample_content/common_assets/robots_general/ -- the\n asset folder name contains the canonical robot key\n and the default prim sets isaac:robotType=\"Manipulator\".",
401
+ "metrics": {},
402
+ "kit_logs": []
403
+ },
404
+ {
405
+ "test_name": "jacobian_ik",
406
+ "engine": "isaac_sim",
407
+ "engine_version": "6.1.0.0",
408
+ "status": "pass",
409
+ "passed": true,
410
+ "duration": 61.732,
411
+ "message": "",
412
+ "metrics": {
413
+ "jik_robot_reach": {
414
+ "value": 0.7971,
415
+ "unit": null
416
+ },
417
+ "jik_target_radius": {
418
+ "value": 0.7174,
419
+ "unit": null
420
+ },
421
+ "jik_base_position_x": {
422
+ "value": 0.0,
423
+ "unit": null
424
+ },
425
+ "jik_base_position_y": {
426
+ "value": 0.0,
427
+ "unit": null
428
+ },
429
+ "jik_base_position_z": {
430
+ "value": 0.0,
431
+ "unit": null
432
+ },
433
+ "jik_max_observed_reach": {
434
+ "value": 1.0425,
435
+ "unit": null
436
+ },
437
+ "jik_distinct_reachable_targets": {
438
+ "value": 5,
439
+ "unit": null
440
+ },
441
+ "jik_bbox_baseline_volume": {
442
+ "value": 0.0,
443
+ "unit": null
444
+ },
445
+ "jik_total_iterations": {
446
+ "value": 502,
447
+ "unit": null
448
+ },
449
+ "_timing_capture_frame_total_s": {
450
+ "value": 5.364,
451
+ "unit": null
452
+ },
453
+ "_timing_capture_frame_count": {
454
+ "value": 60,
455
+ "unit": null
456
+ },
457
+ "_timing_capture_frame_avg_ms": {
458
+ "value": 89.4,
459
+ "unit": null
460
+ },
461
+ "_timing_encode_video_total_s": {
462
+ "value": 1.069,
463
+ "unit": null
464
+ },
465
+ "_timing_encode_video_count": {
466
+ "value": 1,
467
+ "unit": null
468
+ },
469
+ "_render_blank_retry_count": {
470
+ "value": 0,
471
+ "unit": null
472
+ },
473
+ "_render_blank_retry_unrecovered": {
474
+ "value": 0,
475
+ "unit": null
476
+ },
477
+ "jik_targets_generated": {
478
+ "value": 7,
479
+ "unit": null
480
+ },
481
+ "jik_targets_reached": {
482
+ "value": 2,
483
+ "unit": null
484
+ },
485
+ "jik_targets_total_passed": {
486
+ "value": 4,
487
+ "unit": null
488
+ },
489
+ "jik_targets_in_reach": {
490
+ "value": 5,
491
+ "unit": null
492
+ },
493
+ "jik_targets_out_of_reach": {
494
+ "value": 2,
495
+ "unit": null
496
+ },
497
+ "jik_in_reach_failed": {
498
+ "value": 3,
499
+ "unit": null
500
+ },
501
+ "jik_in_reach_passed_green": {
502
+ "value": 2,
503
+ "unit": null
504
+ },
505
+ "jik_in_reach_solver_failed_red": {
506
+ "value": 1,
507
+ "unit": null
508
+ },
509
+ "jik_in_reach_motion_failed_orange": {
510
+ "value": 2,
511
+ "unit": null
512
+ },
513
+ "jik_out_of_reach_correctly_failed_magenta": {
514
+ "value": 2,
515
+ "unit": null
516
+ },
517
+ "jik_out_of_reach_false_positive_yellow": {
518
+ "value": 0,
519
+ "unit": null
520
+ },
521
+ "jik_max_position_error_m": {
522
+ "value": 0.295056,
523
+ "unit": null
524
+ },
525
+ "jik_max_orientation_error_deg": {
526
+ "value": 48.0833,
527
+ "unit": null
528
+ },
529
+ "jik_pass_rate": {
530
+ "value": 0.4,
531
+ "unit": null
532
+ },
533
+ "jik_ee_link": {
534
+ "value": "/World/AssetRoot/Asset/flange",
535
+ "unit": null
536
+ }
537
+ },
538
+ "kit_logs": []
539
+ },
540
+ {
541
+ "test_name": "joint_movement",
542
+ "engine": "isaac_sim",
543
+ "engine_version": "6.1.0.0",
544
+ "status": "pass",
545
+ "passed": true,
546
+ "duration": 35.599,
547
+ "message": "",
548
+ "metrics": {
549
+ "_timing_capture_frame_total_s": {
550
+ "value": 5.39,
551
+ "unit": null
552
+ },
553
+ "_timing_capture_frame_count": {
554
+ "value": 45,
555
+ "unit": null
556
+ },
557
+ "_timing_capture_frame_avg_ms": {
558
+ "value": 119.77,
559
+ "unit": null
560
+ },
561
+ "_timing_encode_video_total_s": {
562
+ "value": 0.874,
563
+ "unit": null
564
+ },
565
+ "_timing_encode_video_count": {
566
+ "value": 1,
567
+ "unit": null
568
+ },
569
+ "_render_blank_retry_count": {
570
+ "value": 0,
571
+ "unit": null
572
+ },
573
+ "_render_blank_retry_unrecovered": {
574
+ "value": 0,
575
+ "unit": null
576
+ },
577
+ "jm_joint_joint0_rot_deg": {
578
+ "value": 179.87,
579
+ "unit": null
580
+ },
581
+ "jm_joint_joint0_trans_pct": {
582
+ "value": 0.0,
583
+ "unit": null
584
+ },
585
+ "jm_joint_joint0_bbox_m": {
586
+ "value": 0.294,
587
+ "unit": null
588
+ },
589
+ "jm_joint_joint0_pct_of_travel": {
590
+ "value": 50.0,
591
+ "unit": null
592
+ },
593
+ "jm_joint_joint1_rot_deg": {
594
+ "value": 135.085,
595
+ "unit": null
596
+ },
597
+ "jm_joint_joint1_trans_pct": {
598
+ "value": 65.8,
599
+ "unit": null
600
+ },
601
+ "jm_joint_joint1_bbox_m": {
602
+ "value": 0.7639,
603
+ "unit": null
604
+ },
605
+ "jm_joint_joint1_pct_of_travel": {
606
+ "value": 100.0,
607
+ "unit": null
608
+ },
609
+ "jm_joint_joint2_rot_deg": {
610
+ "value": 165.0,
611
+ "unit": null
612
+ },
613
+ "jm_joint_joint2_trans_pct": {
614
+ "value": 112.21,
615
+ "unit": null
616
+ },
617
+ "jm_joint_joint2_bbox_m": {
618
+ "value": 0.6851,
619
+ "unit": null
620
+ },
621
+ "jm_joint_joint2_pct_of_travel": {
622
+ "value": 100.0,
623
+ "unit": null
624
+ },
625
+ "jm_joint_joint3_rot_deg": {
626
+ "value": 179.95,
627
+ "unit": null
628
+ },
629
+ "jm_joint_joint3_trans_pct": {
630
+ "value": 637.46,
631
+ "unit": null
632
+ },
633
+ "jm_joint_joint3_bbox_m": {
634
+ "value": 0.2113,
635
+ "unit": null
636
+ },
637
+ "jm_joint_joint3_pct_of_travel": {
638
+ "value": 50.0,
639
+ "unit": null
640
+ },
641
+ "jm_joint_joint4_rot_deg": {
642
+ "value": 179.998,
643
+ "unit": null
644
+ },
645
+ "jm_joint_joint4_trans_pct": {
646
+ "value": 812.5,
647
+ "unit": null
648
+ },
649
+ "jm_joint_joint4_bbox_m": {
650
+ "value": 0.2113,
651
+ "unit": null
652
+ },
653
+ "jm_joint_joint4_pct_of_travel": {
654
+ "value": 50.0,
655
+ "unit": null
656
+ },
657
+ "jm_joint_joint5_rot_deg": {
658
+ "value": 179.91,
659
+ "unit": null
660
+ },
661
+ "jm_joint_joint5_trans_pct": {
662
+ "value": 1021.01,
663
+ "unit": null
664
+ },
665
+ "jm_joint_joint5_bbox_m": {
666
+ "value": 0.1698,
667
+ "unit": null
668
+ },
669
+ "jm_joint_joint5_pct_of_travel": {
670
+ "value": 50.0,
671
+ "unit": null
672
+ },
673
+ "jm_joints_total": {
674
+ "value": 6,
675
+ "unit": null
676
+ },
677
+ "jm_joints_passed": {
678
+ "value": 6,
679
+ "unit": null
680
+ },
681
+ "jm_joints_failed": {
682
+ "value": 0,
683
+ "unit": null
684
+ },
685
+ "jm_joint_joint0_status": {
686
+ "value": "passed",
687
+ "unit": null
688
+ },
689
+ "jm_joint_joint1_status": {
690
+ "value": "passed",
691
+ "unit": null
692
+ },
693
+ "jm_joint_joint2_status": {
694
+ "value": "passed",
695
+ "unit": null
696
+ },
697
+ "jm_joint_joint3_status": {
698
+ "value": "passed",
699
+ "unit": null
700
+ },
701
+ "jm_joint_joint4_status": {
702
+ "value": "passed",
703
+ "unit": null
704
+ },
705
+ "jm_joint_joint5_status": {
706
+ "value": "passed",
707
+ "unit": null
708
+ }
709
+ },
710
+ "kit_logs": []
711
+ },
712
+ {
713
+ "test_name": "light_response",
714
+ "engine": "isaac_sim",
715
+ "engine_version": "6.1.0.0",
716
+ "status": "pass",
717
+ "passed": true,
718
+ "duration": 6.19,
719
+ "message": "",
720
+ "metrics": {
721
+ "_timing_capture_frame_total_s": {
722
+ "value": 2.061,
723
+ "unit": null
724
+ },
725
+ "_timing_capture_frame_count": {
726
+ "value": 30,
727
+ "unit": null
728
+ },
729
+ "_timing_capture_frame_avg_ms": {
730
+ "value": 68.71,
731
+ "unit": null
732
+ },
733
+ "_timing_encode_video_total_s": {
734
+ "value": 0.526,
735
+ "unit": null
736
+ },
737
+ "_timing_encode_video_count": {
738
+ "value": 1,
739
+ "unit": null
740
+ },
741
+ "_render_blank_retry_count": {
742
+ "value": 0,
743
+ "unit": null
744
+ },
745
+ "_render_blank_retry_unrecovered": {
746
+ "value": 0,
747
+ "unit": null
748
+ },
749
+ "light_response_variation_ratio": {
750
+ "value": 0.413793,
751
+ "unit": null
752
+ },
753
+ "light_response_blank_ratio": {
754
+ "value": 0.0,
755
+ "unit": null
756
+ },
757
+ "light_response_blank_frames": {
758
+ "value": 0,
759
+ "unit": null
760
+ },
761
+ "light_response_total_frames": {
762
+ "value": 30,
763
+ "unit": null
764
+ },
765
+ "light_response_total_pairs": {
766
+ "value": 29,
767
+ "unit": null
768
+ },
769
+ "light_response_different_pairs": {
770
+ "value": 12,
771
+ "unit": null
772
+ },
773
+ "light_response_passed": {
774
+ "value": 1,
775
+ "unit": null
776
+ },
777
+ "light_response_max_pair_change": {
778
+ "value": 0.779009,
779
+ "unit": null
780
+ },
781
+ "light_response_min_pair_change": {
782
+ "value": 0.01403,
783
+ "unit": null
784
+ }
785
+ },
786
+ "kit_logs": [
787
+ {
788
+ "level": "error",
789
+ "channel": "omni.kit.app._impl",
790
+ "message": "[py stderr]: Traceback (most recent call last):"
791
+ },
792
+ {
793
+ "level": "error",
794
+ "channel": "omni.kit.app._impl",
795
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
796
+ },
797
+ {
798
+ "level": "error",
799
+ "channel": "omni.kit.app._impl",
800
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
801
+ },
802
+ {
803
+ "level": "error",
804
+ "channel": "omni.kit.app._impl",
805
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
806
+ },
807
+ {
808
+ "level": "error",
809
+ "channel": "omni.kit.app._impl",
810
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
811
+ },
812
+ {
813
+ "level": "error",
814
+ "channel": "omni.kit.app._impl",
815
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
816
+ },
817
+ {
818
+ "level": "error",
819
+ "channel": "omni.kit.app._impl",
820
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
821
+ },
822
+ {
823
+ "level": "error",
824
+ "channel": "omni.kit.app._impl",
825
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
826
+ },
827
+ {
828
+ "level": "error",
829
+ "channel": "omni.kit.app._impl",
830
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
831
+ },
832
+ {
833
+ "level": "error",
834
+ "channel": "omni.kit.app._impl",
835
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
836
+ },
837
+ {
838
+ "level": "error",
839
+ "channel": "omni.kit.app._impl",
840
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
841
+ },
842
+ {
843
+ "level": "error",
844
+ "channel": "omni.kit.app._impl",
845
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
846
+ },
847
+ {
848
+ "level": "error",
849
+ "channel": "omni.kit.app._impl",
850
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "test_name": "light_response",
856
+ "engine": "isaac_sim_newton",
857
+ "engine_version": "6.1.0.0",
858
+ "status": "pass",
859
+ "passed": true,
860
+ "duration": 6.223,
861
+ "message": "",
862
+ "metrics": {
863
+ "_timing_capture_frame_total_s": {
864
+ "value": 2.053,
865
+ "unit": null
866
+ },
867
+ "_timing_capture_frame_count": {
868
+ "value": 30,
869
+ "unit": null
870
+ },
871
+ "_timing_capture_frame_avg_ms": {
872
+ "value": 68.44,
873
+ "unit": null
874
+ },
875
+ "_timing_encode_video_total_s": {
876
+ "value": 0.505,
877
+ "unit": null
878
+ },
879
+ "_timing_encode_video_count": {
880
+ "value": 1,
881
+ "unit": null
882
+ },
883
+ "_render_blank_retry_count": {
884
+ "value": 0,
885
+ "unit": null
886
+ },
887
+ "_render_blank_retry_unrecovered": {
888
+ "value": 0,
889
+ "unit": null
890
+ },
891
+ "light_response_variation_ratio": {
892
+ "value": 0.482759,
893
+ "unit": null
894
+ },
895
+ "light_response_blank_ratio": {
896
+ "value": 0.0,
897
+ "unit": null
898
+ },
899
+ "light_response_blank_frames": {
900
+ "value": 0,
901
+ "unit": null
902
+ },
903
+ "light_response_total_frames": {
904
+ "value": 30,
905
+ "unit": null
906
+ },
907
+ "light_response_total_pairs": {
908
+ "value": 29,
909
+ "unit": null
910
+ },
911
+ "light_response_different_pairs": {
912
+ "value": 14,
913
+ "unit": null
914
+ },
915
+ "light_response_passed": {
916
+ "value": 1,
917
+ "unit": null
918
+ },
919
+ "light_response_max_pair_change": {
920
+ "value": 0.779678,
921
+ "unit": null
922
+ },
923
+ "light_response_min_pair_change": {
924
+ "value": 0.013938,
925
+ "unit": null
926
+ }
927
+ },
928
+ "kit_logs": [
929
+ {
930
+ "level": "error",
931
+ "channel": "omni.kit.app._impl",
932
+ "message": "[py stderr]: Traceback (most recent call last):"
933
+ },
934
+ {
935
+ "level": "error",
936
+ "channel": "omni.kit.app._impl",
937
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
938
+ },
939
+ {
940
+ "level": "error",
941
+ "channel": "omni.kit.app._impl",
942
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
943
+ },
944
+ {
945
+ "level": "error",
946
+ "channel": "omni.kit.app._impl",
947
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
948
+ },
949
+ {
950
+ "level": "error",
951
+ "channel": "omni.kit.app._impl",
952
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
953
+ },
954
+ {
955
+ "level": "error",
956
+ "channel": "omni.kit.app._impl",
957
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
958
+ },
959
+ {
960
+ "level": "error",
961
+ "channel": "omni.kit.app._impl",
962
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
963
+ },
964
+ {
965
+ "level": "error",
966
+ "channel": "omni.kit.app._impl",
967
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
968
+ },
969
+ {
970
+ "level": "error",
971
+ "channel": "omni.kit.app._impl",
972
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
973
+ },
974
+ {
975
+ "level": "error",
976
+ "channel": "omni.kit.app._impl",
977
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
978
+ },
979
+ {
980
+ "level": "error",
981
+ "channel": "omni.kit.app._impl",
982
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
983
+ },
984
+ {
985
+ "level": "error",
986
+ "channel": "omni.kit.app._impl",
987
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
988
+ },
989
+ {
990
+ "level": "error",
991
+ "channel": "omni.kit.app._impl",
992
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
993
+ }
994
+ ]
995
+ },
996
+ {
997
+ "test_name": "mdl_renders",
998
+ "engine": "isaac_sim",
999
+ "engine_version": "6.1.0.0",
1000
+ "status": "pass",
1001
+ "passed": true,
1002
+ "duration": 2.061,
1003
+ "message": "",
1004
+ "metrics": {
1005
+ "_timing_capture_frame_total_s": {
1006
+ "value": 0.51,
1007
+ "unit": null
1008
+ },
1009
+ "_timing_capture_frame_count": {
1010
+ "value": 4,
1011
+ "unit": null
1012
+ },
1013
+ "_timing_capture_frame_avg_ms": {
1014
+ "value": 127.58,
1015
+ "unit": null
1016
+ },
1017
+ "_timing_encode_video_total_s": {
1018
+ "value": 0.0,
1019
+ "unit": null
1020
+ },
1021
+ "_timing_encode_video_count": {
1022
+ "value": 0,
1023
+ "unit": null
1024
+ },
1025
+ "_render_blank_retry_count": {
1026
+ "value": 0,
1027
+ "unit": null
1028
+ },
1029
+ "_render_blank_retry_unrecovered": {
1030
+ "value": 0,
1031
+ "unit": null
1032
+ },
1033
+ "mdl_surface_materials_with_universal": {
1034
+ "value": 12,
1035
+ "unit": null
1036
+ },
1037
+ "mdl_surface_materials_with_mdl": {
1038
+ "value": 12,
1039
+ "unit": null
1040
+ },
1041
+ "mdl_surface_materials_with_mtlx": {
1042
+ "value": 0,
1043
+ "unit": null
1044
+ },
1045
+ "mdl_surface_materials_total": {
1046
+ "value": 12,
1047
+ "unit": null
1048
+ },
1049
+ "mdl_surface_asset_root": {
1050
+ "value": "/World/AssetRoot/Asset",
1051
+ "unit": null
1052
+ },
1053
+ "mdl_surface_contexts_present": {
1054
+ "value": "mdl, universal",
1055
+ "unit": null
1056
+ },
1057
+ "mdl_surface_render_context_order": {
1058
+ "value": "mdl",
1059
+ "unit": null
1060
+ },
1061
+ "mdl_surface_silhouette_pixels": {
1062
+ "value": 56531,
1063
+ "unit": null
1064
+ },
1065
+ "mdl_surface_uncovered_pixels": {
1066
+ "value": 0,
1067
+ "unit": null
1068
+ },
1069
+ "mdl_surface_coverage": {
1070
+ "value": 1.0,
1071
+ "unit": null
1072
+ }
1073
+ },
1074
+ "kit_logs": [
1075
+ {
1076
+ "level": "error",
1077
+ "channel": "omni.kit.app._impl",
1078
+ "message": "[py stderr]: Traceback (most recent call last):"
1079
+ },
1080
+ {
1081
+ "level": "error",
1082
+ "channel": "omni.kit.app._impl",
1083
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1084
+ },
1085
+ {
1086
+ "level": "error",
1087
+ "channel": "omni.kit.app._impl",
1088
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1089
+ },
1090
+ {
1091
+ "level": "error",
1092
+ "channel": "omni.kit.app._impl",
1093
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1094
+ },
1095
+ {
1096
+ "level": "error",
1097
+ "channel": "omni.kit.app._impl",
1098
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1099
+ },
1100
+ {
1101
+ "level": "error",
1102
+ "channel": "omni.kit.app._impl",
1103
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1104
+ },
1105
+ {
1106
+ "level": "error",
1107
+ "channel": "omni.kit.app._impl",
1108
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1109
+ },
1110
+ {
1111
+ "level": "error",
1112
+ "channel": "omni.kit.app._impl",
1113
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1114
+ },
1115
+ {
1116
+ "level": "error",
1117
+ "channel": "omni.kit.app._impl",
1118
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1119
+ },
1120
+ {
1121
+ "level": "error",
1122
+ "channel": "omni.kit.app._impl",
1123
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1124
+ },
1125
+ {
1126
+ "level": "error",
1127
+ "channel": "omni.kit.app._impl",
1128
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1129
+ },
1130
+ {
1131
+ "level": "error",
1132
+ "channel": "omni.kit.app._impl",
1133
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1134
+ },
1135
+ {
1136
+ "level": "error",
1137
+ "channel": "omni.kit.app._impl",
1138
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "test_name": "mdl_renders",
1144
+ "engine": "isaac_sim_newton",
1145
+ "engine_version": "6.1.0.0",
1146
+ "status": "pass",
1147
+ "passed": true,
1148
+ "duration": 2.077,
1149
+ "message": "",
1150
+ "metrics": {
1151
+ "_timing_capture_frame_total_s": {
1152
+ "value": 0.583,
1153
+ "unit": null
1154
+ },
1155
+ "_timing_capture_frame_count": {
1156
+ "value": 4,
1157
+ "unit": null
1158
+ },
1159
+ "_timing_capture_frame_avg_ms": {
1160
+ "value": 145.86,
1161
+ "unit": null
1162
+ },
1163
+ "_timing_encode_video_total_s": {
1164
+ "value": 0.0,
1165
+ "unit": null
1166
+ },
1167
+ "_timing_encode_video_count": {
1168
+ "value": 0,
1169
+ "unit": null
1170
+ },
1171
+ "_render_blank_retry_count": {
1172
+ "value": 0,
1173
+ "unit": null
1174
+ },
1175
+ "_render_blank_retry_unrecovered": {
1176
+ "value": 0,
1177
+ "unit": null
1178
+ },
1179
+ "mdl_surface_materials_with_universal": {
1180
+ "value": 12,
1181
+ "unit": null
1182
+ },
1183
+ "mdl_surface_materials_with_mdl": {
1184
+ "value": 12,
1185
+ "unit": null
1186
+ },
1187
+ "mdl_surface_materials_with_mtlx": {
1188
+ "value": 0,
1189
+ "unit": null
1190
+ },
1191
+ "mdl_surface_materials_total": {
1192
+ "value": 12,
1193
+ "unit": null
1194
+ },
1195
+ "mdl_surface_asset_root": {
1196
+ "value": "/World/AssetRoot/Asset",
1197
+ "unit": null
1198
+ },
1199
+ "mdl_surface_contexts_present": {
1200
+ "value": "mdl, universal",
1201
+ "unit": null
1202
+ },
1203
+ "mdl_surface_render_context_order": {
1204
+ "value": "mdl",
1205
+ "unit": null
1206
+ },
1207
+ "mdl_surface_silhouette_pixels": {
1208
+ "value": 56465,
1209
+ "unit": null
1210
+ },
1211
+ "mdl_surface_uncovered_pixels": {
1212
+ "value": 0,
1213
+ "unit": null
1214
+ },
1215
+ "mdl_surface_coverage": {
1216
+ "value": 1.0,
1217
+ "unit": null
1218
+ }
1219
+ },
1220
+ "kit_logs": [
1221
+ {
1222
+ "level": "error",
1223
+ "channel": "omni.kit.app._impl",
1224
+ "message": "[py stderr]: Traceback (most recent call last):"
1225
+ },
1226
+ {
1227
+ "level": "error",
1228
+ "channel": "omni.kit.app._impl",
1229
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1230
+ },
1231
+ {
1232
+ "level": "error",
1233
+ "channel": "omni.kit.app._impl",
1234
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1235
+ },
1236
+ {
1237
+ "level": "error",
1238
+ "channel": "omni.kit.app._impl",
1239
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1240
+ },
1241
+ {
1242
+ "level": "error",
1243
+ "channel": "omni.kit.app._impl",
1244
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1245
+ },
1246
+ {
1247
+ "level": "error",
1248
+ "channel": "omni.kit.app._impl",
1249
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1250
+ },
1251
+ {
1252
+ "level": "error",
1253
+ "channel": "omni.kit.app._impl",
1254
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1255
+ },
1256
+ {
1257
+ "level": "error",
1258
+ "channel": "omni.kit.app._impl",
1259
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1260
+ },
1261
+ {
1262
+ "level": "error",
1263
+ "channel": "omni.kit.app._impl",
1264
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1265
+ },
1266
+ {
1267
+ "level": "error",
1268
+ "channel": "omni.kit.app._impl",
1269
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1270
+ },
1271
+ {
1272
+ "level": "error",
1273
+ "channel": "omni.kit.app._impl",
1274
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1275
+ },
1276
+ {
1277
+ "level": "error",
1278
+ "channel": "omni.kit.app._impl",
1279
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1280
+ },
1281
+ {
1282
+ "level": "error",
1283
+ "channel": "omni.kit.app._impl",
1284
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "test_name": "mimic_joint",
1290
+ "engine": "isaac_sim",
1291
+ "engine_version": "6.1.0.0",
1292
+ "status": "skipped",
1293
+ "passed": false,
1294
+ "duration": 0.896,
1295
+ "message": "MIM: no PhysxMimicJointAPI found on any joint under the asset prim.\n\n Found: 0 joints with PhysxMimicJointAPI applied\n Expected: at least one revolute or prismatic joint with\n PhysxMimicJointAPI:<axisToken> applied (rotX/rotY/rotZ\n or transX/transY/transZ)\n\nFIX (if your asset has coupled joints, e.g. a parallel-jaw gripper\nwhere the two finger joints must move together):\n 1. Pick the driven joint and call it the REFERENCE joint. Leave\n it with a normal drive (PhysicsDriveAPI or JointStateAPI).\n 2. On each FOLLOWER joint, apply PhysxMimicJointAPI keyed to that\n joint's physics:axis instance token (e.g. \"rotX\" for a\n revolute joint with physics:axis = \"X\").\n 3. Set physxMimicJoint:<axis>:gearing (non-zero) and\n physxMimicJoint:<axis>:referenceJoint pointing at the\n reference joint's prim path.\n 4. Both follower AND reference joints must have physics:lowerLimit\n and physics:upperLimit authored, and neither may have\n physics:excludeFromArticulation = true.\n\nPaste-ready USDA snippet (adapt paths, axis token, gearing sign,\nand limits to your asset):\n\n # The follower joint: applies PhysxMimicJointAPI keyed to the axis\n # token of the joint (rotX/rotY/rotZ for revolute, transX/transY/\n # transZ for prismatic). The instance name MUST match physics:axis.\n def PhysicsRevoluteJoint \"follower_joint\" (\n prepend apiSchemas = [\"PhysxMimicJointAPI:rotX\"]\n )\n {\n uniform token physics:axis = \"X\"\n rel physics:body0 = <./path/to/parent_link>\n rel physics:body1 = <./path/to/follower_link>\n float physics:lowerLimit = -45.0 # required: limits must be authored\n float physics:upperLimit = 45.0\n\n # ---- PhysxMimicJointAPI:rotX attributes ----\n # gearing: \u0394q_follower = gearing * \u0394q_reference + offset\n # Must be a non-zero real number. Sign encodes direction:\n # -1 = follower moves opposite the reference (typical for\n # parallel-jaw grippers where one jaw mirrors the other).\n float physxMimicJoint:rotX:gearing = -1.0\n float physxMimicJoint:rotX:offset = 0.0\n float physxMimicJoint:rotX:naturalFrequency = 100.0\n float physxMimicJoint:rotX:dampingRatio = 0.0\n # referenceJoint must point at a joint that does NOT itself\n # carry PhysxMimicJointAPI (no chains/cycles).\n rel physxMimicJoint:rotX:referenceJoint = <./path/to/reference_joint>\n }\n\nREFERENCE:\n Spec: nv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/capabilities/physics_bodies/physics_driven_joints/requirements/mimic-api-check.md (DJ.007)\n Example: sample_content/common_assets/robots_general/Robotiq/ezu_35/simready_isaac_usd/payloads/Physics/physx.usda\n (search for: PhysxMimicJointAPI:rotX on GBA2_TRANS_2 / GBA3_TRANS_3 referencing Jaw_Drive with gearing = -1)\n\nNote: this test is SKIPPED (not failed) because mimic joints are\noptional. If your asset truly has no coupled joints, this skip is\nexpected and benign.",
1296
+ "metrics": {
1297
+ "mim_mimic_pairs_detected": {
1298
+ "value": 0,
1299
+ "unit": null
1300
+ }
1301
+ },
1302
+ "kit_logs": []
1303
+ },
1304
+ {
1305
+ "test_name": "multi_joint_coordination",
1306
+ "engine": "isaac_sim",
1307
+ "engine_version": "6.1.0.0",
1308
+ "status": "pass",
1309
+ "passed": true,
1310
+ "duration": 28.011,
1311
+ "message": "",
1312
+ "metrics": {
1313
+ "mjc_total_joints": {
1314
+ "value": 6,
1315
+ "unit": null
1316
+ },
1317
+ "mjc_valid_joints": {
1318
+ "value": 6,
1319
+ "unit": null
1320
+ },
1321
+ "mjc_loop_joints_skipped": {
1322
+ "value": 0,
1323
+ "unit": null
1324
+ },
1325
+ "_timing_capture_frame_total_s": {
1326
+ "value": 7.545,
1327
+ "unit": null
1328
+ },
1329
+ "_timing_capture_frame_count": {
1330
+ "value": 86,
1331
+ "unit": null
1332
+ },
1333
+ "_timing_capture_frame_avg_ms": {
1334
+ "value": 87.73,
1335
+ "unit": null
1336
+ },
1337
+ "_timing_encode_video_total_s": {
1338
+ "value": 1.4,
1339
+ "unit": null
1340
+ },
1341
+ "_timing_encode_video_count": {
1342
+ "value": 1,
1343
+ "unit": null
1344
+ },
1345
+ "_render_blank_retry_count": {
1346
+ "value": 0,
1347
+ "unit": null
1348
+ },
1349
+ "_render_blank_retry_unrecovered": {
1350
+ "value": 0,
1351
+ "unit": null
1352
+ },
1353
+ "mjc_iterations_passed": {
1354
+ "value": 3,
1355
+ "unit": null
1356
+ },
1357
+ "mjc_iterations_failed": {
1358
+ "value": 0,
1359
+ "unit": null
1360
+ }
1361
+ },
1362
+ "kit_logs": [
1363
+ {
1364
+ "level": "error",
1365
+ "channel": "omni.kit.app._impl",
1366
+ "message": "[py stderr]: Traceback (most recent call last):"
1367
+ },
1368
+ {
1369
+ "level": "error",
1370
+ "channel": "omni.kit.app._impl",
1371
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1372
+ },
1373
+ {
1374
+ "level": "error",
1375
+ "channel": "omni.kit.app._impl",
1376
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1377
+ },
1378
+ {
1379
+ "level": "error",
1380
+ "channel": "omni.kit.app._impl",
1381
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1382
+ },
1383
+ {
1384
+ "level": "error",
1385
+ "channel": "omni.kit.app._impl",
1386
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1387
+ },
1388
+ {
1389
+ "level": "error",
1390
+ "channel": "omni.kit.app._impl",
1391
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1392
+ },
1393
+ {
1394
+ "level": "error",
1395
+ "channel": "omni.kit.app._impl",
1396
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1397
+ },
1398
+ {
1399
+ "level": "error",
1400
+ "channel": "omni.kit.app._impl",
1401
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1402
+ },
1403
+ {
1404
+ "level": "error",
1405
+ "channel": "omni.kit.app._impl",
1406
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1407
+ },
1408
+ {
1409
+ "level": "error",
1410
+ "channel": "omni.kit.app._impl",
1411
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1412
+ },
1413
+ {
1414
+ "level": "error",
1415
+ "channel": "omni.kit.app._impl",
1416
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1417
+ },
1418
+ {
1419
+ "level": "error",
1420
+ "channel": "omni.kit.app._impl",
1421
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1422
+ },
1423
+ {
1424
+ "level": "error",
1425
+ "channel": "omni.kit.app._impl",
1426
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1427
+ }
1428
+ ]
1429
+ },
1430
+ {
1431
+ "test_name": "normals_xz",
1432
+ "engine": "isaac_sim",
1433
+ "engine_version": "6.1.0.0",
1434
+ "status": "pass",
1435
+ "passed": true,
1436
+ "duration": 4.655,
1437
+ "message": "",
1438
+ "metrics": {
1439
+ "_timing_capture_frame_total_s": {
1440
+ "value": 3.024,
1441
+ "unit": null
1442
+ },
1443
+ "_timing_capture_frame_count": {
1444
+ "value": 8,
1445
+ "unit": null
1446
+ },
1447
+ "_timing_capture_frame_avg_ms": {
1448
+ "value": 377.98,
1449
+ "unit": null
1450
+ },
1451
+ "_timing_encode_video_total_s": {
1452
+ "value": 0.241,
1453
+ "unit": null
1454
+ },
1455
+ "_timing_encode_video_count": {
1456
+ "value": 1,
1457
+ "unit": null
1458
+ },
1459
+ "_render_blank_retry_count": {
1460
+ "value": 5,
1461
+ "unit": null
1462
+ },
1463
+ "_render_blank_retry_unrecovered": {
1464
+ "value": 5,
1465
+ "unit": null
1466
+ },
1467
+ "_render_blank_retry[normals_xz_002.png]": {
1468
+ "value": "attempts=6 recovered=False",
1469
+ "unit": null
1470
+ },
1471
+ "_render_blank_retry[normals_xz_004.png]": {
1472
+ "value": "attempts=6 recovered=False",
1473
+ "unit": null
1474
+ },
1475
+ "_render_blank_retry[normals_xz_005.png]": {
1476
+ "value": "attempts=6 recovered=False",
1477
+ "unit": null
1478
+ },
1479
+ "_render_blank_retry[normals_xz_006.png]": {
1480
+ "value": "attempts=6 recovered=False",
1481
+ "unit": null
1482
+ },
1483
+ "_render_blank_retry[normals_xz_008.png]": {
1484
+ "value": "attempts=6 recovered=False",
1485
+ "unit": null
1486
+ },
1487
+ "normals_xz_avg_dark": {
1488
+ "value": 0.0,
1489
+ "unit": null
1490
+ },
1491
+ "normals_xz_max_dark": {
1492
+ "value": 0.0,
1493
+ "unit": null
1494
+ },
1495
+ "normals_xz_problem_frames": {
1496
+ "value": 0,
1497
+ "unit": null
1498
+ },
1499
+ "normals_xz_passed": {
1500
+ "value": 1,
1501
+ "unit": null
1502
+ }
1503
+ },
1504
+ "kit_logs": [
1505
+ {
1506
+ "level": "error",
1507
+ "channel": "omni.kit.app._impl",
1508
+ "message": "[py stderr]: Traceback (most recent call last):"
1509
+ },
1510
+ {
1511
+ "level": "error",
1512
+ "channel": "omni.kit.app._impl",
1513
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1514
+ },
1515
+ {
1516
+ "level": "error",
1517
+ "channel": "omni.kit.app._impl",
1518
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1519
+ },
1520
+ {
1521
+ "level": "error",
1522
+ "channel": "omni.kit.app._impl",
1523
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1524
+ },
1525
+ {
1526
+ "level": "error",
1527
+ "channel": "omni.kit.app._impl",
1528
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1529
+ },
1530
+ {
1531
+ "level": "error",
1532
+ "channel": "omni.kit.app._impl",
1533
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1534
+ },
1535
+ {
1536
+ "level": "error",
1537
+ "channel": "omni.kit.app._impl",
1538
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1539
+ },
1540
+ {
1541
+ "level": "error",
1542
+ "channel": "omni.kit.app._impl",
1543
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1544
+ },
1545
+ {
1546
+ "level": "error",
1547
+ "channel": "omni.kit.app._impl",
1548
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1549
+ },
1550
+ {
1551
+ "level": "error",
1552
+ "channel": "omni.kit.app._impl",
1553
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1554
+ },
1555
+ {
1556
+ "level": "error",
1557
+ "channel": "omni.kit.app._impl",
1558
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1559
+ },
1560
+ {
1561
+ "level": "error",
1562
+ "channel": "omni.kit.app._impl",
1563
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1564
+ },
1565
+ {
1566
+ "level": "error",
1567
+ "channel": "omni.kit.app._impl",
1568
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1569
+ }
1570
+ ]
1571
+ },
1572
+ {
1573
+ "test_name": "normals_xz",
1574
+ "engine": "isaac_sim_newton",
1575
+ "engine_version": "6.1.0.0",
1576
+ "status": "pass",
1577
+ "passed": true,
1578
+ "duration": 4.51,
1579
+ "message": "",
1580
+ "metrics": {
1581
+ "_timing_capture_frame_total_s": {
1582
+ "value": 2.944,
1583
+ "unit": null
1584
+ },
1585
+ "_timing_capture_frame_count": {
1586
+ "value": 8,
1587
+ "unit": null
1588
+ },
1589
+ "_timing_capture_frame_avg_ms": {
1590
+ "value": 367.94,
1591
+ "unit": null
1592
+ },
1593
+ "_timing_encode_video_total_s": {
1594
+ "value": 0.243,
1595
+ "unit": null
1596
+ },
1597
+ "_timing_encode_video_count": {
1598
+ "value": 1,
1599
+ "unit": null
1600
+ },
1601
+ "_render_blank_retry_count": {
1602
+ "value": 5,
1603
+ "unit": null
1604
+ },
1605
+ "_render_blank_retry_unrecovered": {
1606
+ "value": 5,
1607
+ "unit": null
1608
+ },
1609
+ "_render_blank_retry[normals_xz_002.png]": {
1610
+ "value": "attempts=6 recovered=False",
1611
+ "unit": null
1612
+ },
1613
+ "_render_blank_retry[normals_xz_004.png]": {
1614
+ "value": "attempts=6 recovered=False",
1615
+ "unit": null
1616
+ },
1617
+ "_render_blank_retry[normals_xz_005.png]": {
1618
+ "value": "attempts=6 recovered=False",
1619
+ "unit": null
1620
+ },
1621
+ "_render_blank_retry[normals_xz_006.png]": {
1622
+ "value": "attempts=6 recovered=False",
1623
+ "unit": null
1624
+ },
1625
+ "_render_blank_retry[normals_xz_008.png]": {
1626
+ "value": "attempts=6 recovered=False",
1627
+ "unit": null
1628
+ },
1629
+ "normals_xz_avg_dark": {
1630
+ "value": 0.0,
1631
+ "unit": null
1632
+ },
1633
+ "normals_xz_max_dark": {
1634
+ "value": 0.0,
1635
+ "unit": null
1636
+ },
1637
+ "normals_xz_problem_frames": {
1638
+ "value": 0,
1639
+ "unit": null
1640
+ },
1641
+ "normals_xz_passed": {
1642
+ "value": 1,
1643
+ "unit": null
1644
+ }
1645
+ },
1646
+ "kit_logs": []
1647
+ },
1648
+ {
1649
+ "test_name": "pivot",
1650
+ "engine": "isaac_sim",
1651
+ "engine_version": "6.1.0.0",
1652
+ "status": "pass",
1653
+ "passed": true,
1654
+ "duration": 4.788,
1655
+ "message": "",
1656
+ "metrics": {
1657
+ "_timing_capture_frame_total_s": {
1658
+ "value": 1.735,
1659
+ "unit": null
1660
+ },
1661
+ "_timing_capture_frame_count": {
1662
+ "value": 20,
1663
+ "unit": null
1664
+ },
1665
+ "_timing_capture_frame_avg_ms": {
1666
+ "value": 86.77,
1667
+ "unit": null
1668
+ },
1669
+ "_timing_encode_video_total_s": {
1670
+ "value": 0.611,
1671
+ "unit": null
1672
+ },
1673
+ "_timing_encode_video_count": {
1674
+ "value": 2,
1675
+ "unit": null
1676
+ },
1677
+ "_render_blank_retry_count": {
1678
+ "value": 0,
1679
+ "unit": null
1680
+ },
1681
+ "_render_blank_retry_unrecovered": {
1682
+ "value": 0,
1683
+ "unit": null
1684
+ },
1685
+ "pivot_score": {
1686
+ "value": 0.7,
1687
+ "unit": null
1688
+ },
1689
+ "pivot_pivot_height_pct": {
1690
+ "value": 0.0,
1691
+ "unit": null
1692
+ },
1693
+ "pivot_pivot_at_base": {
1694
+ "value": 1,
1695
+ "unit": null
1696
+ },
1697
+ "pivot_pivot_centered_xy": {
1698
+ "value": 0,
1699
+ "unit": null
1700
+ },
1701
+ "pivot_ground_penetration": {
1702
+ "value": 1,
1703
+ "unit": null
1704
+ },
1705
+ "pivot_orbital_motion": {
1706
+ "value": 1,
1707
+ "unit": null
1708
+ },
1709
+ "pivot_passed": {
1710
+ "value": 1,
1711
+ "unit": null
1712
+ }
1713
+ },
1714
+ "kit_logs": [
1715
+ {
1716
+ "level": "error",
1717
+ "channel": "omni.kit.app._impl",
1718
+ "message": "[py stderr]: Traceback (most recent call last):"
1719
+ },
1720
+ {
1721
+ "level": "error",
1722
+ "channel": "omni.kit.app._impl",
1723
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1724
+ },
1725
+ {
1726
+ "level": "error",
1727
+ "channel": "omni.kit.app._impl",
1728
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1729
+ },
1730
+ {
1731
+ "level": "error",
1732
+ "channel": "omni.kit.app._impl",
1733
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1734
+ },
1735
+ {
1736
+ "level": "error",
1737
+ "channel": "omni.kit.app._impl",
1738
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
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>/Documents/standardbots/USD_Validate/.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"
1749
+ },
1750
+ {
1751
+ "level": "error",
1752
+ "channel": "omni.kit.app._impl",
1753
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
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]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1764
+ },
1765
+ {
1766
+ "level": "error",
1767
+ "channel": "omni.kit.app._impl",
1768
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1769
+ },
1770
+ {
1771
+ "level": "error",
1772
+ "channel": "omni.kit.app._impl",
1773
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1774
+ },
1775
+ {
1776
+ "level": "error",
1777
+ "channel": "omni.kit.app._impl",
1778
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1779
+ }
1780
+ ]
1781
+ },
1782
+ {
1783
+ "test_name": "pivot",
1784
+ "engine": "isaac_sim_newton",
1785
+ "engine_version": "6.1.0.0",
1786
+ "status": "pass",
1787
+ "passed": true,
1788
+ "duration": 4.689,
1789
+ "message": "",
1790
+ "metrics": {
1791
+ "_timing_capture_frame_total_s": {
1792
+ "value": 1.565,
1793
+ "unit": null
1794
+ },
1795
+ "_timing_capture_frame_count": {
1796
+ "value": 20,
1797
+ "unit": null
1798
+ },
1799
+ "_timing_capture_frame_avg_ms": {
1800
+ "value": 78.26,
1801
+ "unit": null
1802
+ },
1803
+ "_timing_encode_video_total_s": {
1804
+ "value": 0.616,
1805
+ "unit": null
1806
+ },
1807
+ "_timing_encode_video_count": {
1808
+ "value": 2,
1809
+ "unit": null
1810
+ },
1811
+ "_render_blank_retry_count": {
1812
+ "value": 0,
1813
+ "unit": null
1814
+ },
1815
+ "_render_blank_retry_unrecovered": {
1816
+ "value": 0,
1817
+ "unit": null
1818
+ },
1819
+ "pivot_score": {
1820
+ "value": 0.7,
1821
+ "unit": null
1822
+ },
1823
+ "pivot_pivot_height_pct": {
1824
+ "value": 0.0,
1825
+ "unit": null
1826
+ },
1827
+ "pivot_pivot_at_base": {
1828
+ "value": 1,
1829
+ "unit": null
1830
+ },
1831
+ "pivot_pivot_centered_xy": {
1832
+ "value": 0,
1833
+ "unit": null
1834
+ },
1835
+ "pivot_ground_penetration": {
1836
+ "value": 1,
1837
+ "unit": null
1838
+ },
1839
+ "pivot_orbital_motion": {
1840
+ "value": 1,
1841
+ "unit": null
1842
+ },
1843
+ "pivot_passed": {
1844
+ "value": 1,
1845
+ "unit": null
1846
+ }
1847
+ },
1848
+ "kit_logs": [
1849
+ {
1850
+ "level": "error",
1851
+ "channel": "omni.kit.app._impl",
1852
+ "message": "[py stderr]: Traceback (most recent call last):"
1853
+ },
1854
+ {
1855
+ "level": "error",
1856
+ "channel": "omni.kit.app._impl",
1857
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1858
+ },
1859
+ {
1860
+ "level": "error",
1861
+ "channel": "omni.kit.app._impl",
1862
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1863
+ },
1864
+ {
1865
+ "level": "error",
1866
+ "channel": "omni.kit.app._impl",
1867
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1868
+ },
1869
+ {
1870
+ "level": "error",
1871
+ "channel": "omni.kit.app._impl",
1872
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1873
+ },
1874
+ {
1875
+ "level": "error",
1876
+ "channel": "omni.kit.app._impl",
1877
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1878
+ },
1879
+ {
1880
+ "level": "error",
1881
+ "channel": "omni.kit.app._impl",
1882
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1883
+ },
1884
+ {
1885
+ "level": "error",
1886
+ "channel": "omni.kit.app._impl",
1887
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
1888
+ },
1889
+ {
1890
+ "level": "error",
1891
+ "channel": "omni.kit.app._impl",
1892
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1893
+ },
1894
+ {
1895
+ "level": "error",
1896
+ "channel": "omni.kit.app._impl",
1897
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1898
+ },
1899
+ {
1900
+ "level": "error",
1901
+ "channel": "omni.kit.app._impl",
1902
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
1903
+ },
1904
+ {
1905
+ "level": "error",
1906
+ "channel": "omni.kit.app._impl",
1907
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
1908
+ },
1909
+ {
1910
+ "level": "error",
1911
+ "channel": "omni.kit.app._impl",
1912
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ "test_name": "presence",
1918
+ "engine": "isaac_sim",
1919
+ "engine_version": "6.1.0.0",
1920
+ "status": "pass",
1921
+ "passed": true,
1922
+ "duration": 0.848,
1923
+ "message": "",
1924
+ "metrics": {
1925
+ "_timing_capture_frame_total_s": {
1926
+ "value": 0.107,
1927
+ "unit": null
1928
+ },
1929
+ "_timing_capture_frame_count": {
1930
+ "value": 2,
1931
+ "unit": null
1932
+ },
1933
+ "_timing_capture_frame_avg_ms": {
1934
+ "value": 53.7,
1935
+ "unit": null
1936
+ },
1937
+ "_timing_encode_video_total_s": {
1938
+ "value": 0.0,
1939
+ "unit": null
1940
+ },
1941
+ "_timing_encode_video_count": {
1942
+ "value": 0,
1943
+ "unit": null
1944
+ },
1945
+ "_render_blank_retry_count": {
1946
+ "value": 0,
1947
+ "unit": null
1948
+ },
1949
+ "_render_blank_retry_unrecovered": {
1950
+ "value": 0,
1951
+ "unit": null
1952
+ },
1953
+ "presence_diff_ratio": {
1954
+ "value": 0.05372,
1955
+ "unit": null
1956
+ },
1957
+ "presence_passed": {
1958
+ "value": 1,
1959
+ "unit": null
1960
+ }
1961
+ },
1962
+ "kit_logs": [
1963
+ {
1964
+ "level": "error",
1965
+ "channel": "omni.kit.app._impl",
1966
+ "message": "[py stderr]: Traceback (most recent call last):"
1967
+ },
1968
+ {
1969
+ "level": "error",
1970
+ "channel": "omni.kit.app._impl",
1971
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1972
+ },
1973
+ {
1974
+ "level": "error",
1975
+ "channel": "omni.kit.app._impl",
1976
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
1977
+ },
1978
+ {
1979
+ "level": "error",
1980
+ "channel": "omni.kit.app._impl",
1981
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1982
+ },
1983
+ {
1984
+ "level": "error",
1985
+ "channel": "omni.kit.app._impl",
1986
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
1987
+ },
1988
+ {
1989
+ "level": "error",
1990
+ "channel": "omni.kit.app._impl",
1991
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
1992
+ },
1993
+ {
1994
+ "level": "error",
1995
+ "channel": "omni.kit.app._impl",
1996
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
1997
+ },
1998
+ {
1999
+ "level": "error",
2000
+ "channel": "omni.kit.app._impl",
2001
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
2002
+ },
2003
+ {
2004
+ "level": "error",
2005
+ "channel": "omni.kit.app._impl",
2006
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2007
+ },
2008
+ {
2009
+ "level": "error",
2010
+ "channel": "omni.kit.app._impl",
2011
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2012
+ },
2013
+ {
2014
+ "level": "error",
2015
+ "channel": "omni.kit.app._impl",
2016
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
2017
+ },
2018
+ {
2019
+ "level": "error",
2020
+ "channel": "omni.kit.app._impl",
2021
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
2022
+ },
2023
+ {
2024
+ "level": "error",
2025
+ "channel": "omni.kit.app._impl",
2026
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
2027
+ }
2028
+ ]
2029
+ },
2030
+ {
2031
+ "test_name": "presence",
2032
+ "engine": "isaac_sim_newton",
2033
+ "engine_version": "6.1.0.0",
2034
+ "status": "pass",
2035
+ "passed": true,
2036
+ "duration": 0.858,
2037
+ "message": "",
2038
+ "metrics": {
2039
+ "_timing_capture_frame_total_s": {
2040
+ "value": 0.117,
2041
+ "unit": null
2042
+ },
2043
+ "_timing_capture_frame_count": {
2044
+ "value": 2,
2045
+ "unit": null
2046
+ },
2047
+ "_timing_capture_frame_avg_ms": {
2048
+ "value": 58.73,
2049
+ "unit": null
2050
+ },
2051
+ "_timing_encode_video_total_s": {
2052
+ "value": 0.0,
2053
+ "unit": null
2054
+ },
2055
+ "_timing_encode_video_count": {
2056
+ "value": 0,
2057
+ "unit": null
2058
+ },
2059
+ "_render_blank_retry_count": {
2060
+ "value": 0,
2061
+ "unit": null
2062
+ },
2063
+ "_render_blank_retry_unrecovered": {
2064
+ "value": 0,
2065
+ "unit": null
2066
+ },
2067
+ "presence_diff_ratio": {
2068
+ "value": 0.053733,
2069
+ "unit": null
2070
+ },
2071
+ "presence_passed": {
2072
+ "value": 1,
2073
+ "unit": null
2074
+ }
2075
+ },
2076
+ "kit_logs": [
2077
+ {
2078
+ "level": "error",
2079
+ "channel": "omni.kit.app._impl",
2080
+ "message": "[py stderr]: Traceback (most recent call last):"
2081
+ },
2082
+ {
2083
+ "level": "error",
2084
+ "channel": "omni.kit.app._impl",
2085
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2086
+ },
2087
+ {
2088
+ "level": "error",
2089
+ "channel": "omni.kit.app._impl",
2090
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
2091
+ },
2092
+ {
2093
+ "level": "error",
2094
+ "channel": "omni.kit.app._impl",
2095
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2096
+ },
2097
+ {
2098
+ "level": "error",
2099
+ "channel": "omni.kit.app._impl",
2100
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
2101
+ },
2102
+ {
2103
+ "level": "error",
2104
+ "channel": "omni.kit.app._impl",
2105
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2106
+ },
2107
+ {
2108
+ "level": "error",
2109
+ "channel": "omni.kit.app._impl",
2110
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2111
+ },
2112
+ {
2113
+ "level": "error",
2114
+ "channel": "omni.kit.app._impl",
2115
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
2116
+ },
2117
+ {
2118
+ "level": "error",
2119
+ "channel": "omni.kit.app._impl",
2120
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2121
+ },
2122
+ {
2123
+ "level": "error",
2124
+ "channel": "omni.kit.app._impl",
2125
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2126
+ },
2127
+ {
2128
+ "level": "error",
2129
+ "channel": "omni.kit.app._impl",
2130
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
2131
+ },
2132
+ {
2133
+ "level": "error",
2134
+ "channel": "omni.kit.app._impl",
2135
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
2136
+ },
2137
+ {
2138
+ "level": "error",
2139
+ "channel": "omni.kit.app._impl",
2140
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
2141
+ }
2142
+ ]
2143
+ },
2144
+ {
2145
+ "test_name": "preview_surface_renders",
2146
+ "engine": "isaac_sim",
2147
+ "engine_version": "6.1.0.0",
2148
+ "status": "pass",
2149
+ "passed": true,
2150
+ "duration": 1.946,
2151
+ "message": "",
2152
+ "metrics": {
2153
+ "_timing_capture_frame_total_s": {
2154
+ "value": 0.547,
2155
+ "unit": null
2156
+ },
2157
+ "_timing_capture_frame_count": {
2158
+ "value": 4,
2159
+ "unit": null
2160
+ },
2161
+ "_timing_capture_frame_avg_ms": {
2162
+ "value": 136.79,
2163
+ "unit": null
2164
+ },
2165
+ "_timing_encode_video_total_s": {
2166
+ "value": 0.0,
2167
+ "unit": null
2168
+ },
2169
+ "_timing_encode_video_count": {
2170
+ "value": 0,
2171
+ "unit": null
2172
+ },
2173
+ "_render_blank_retry_count": {
2174
+ "value": 0,
2175
+ "unit": null
2176
+ },
2177
+ "_render_blank_retry_unrecovered": {
2178
+ "value": 0,
2179
+ "unit": null
2180
+ },
2181
+ "universal_surface_materials_with_universal": {
2182
+ "value": 12,
2183
+ "unit": null
2184
+ },
2185
+ "universal_surface_materials_with_mdl": {
2186
+ "value": 12,
2187
+ "unit": null
2188
+ },
2189
+ "universal_surface_materials_with_mtlx": {
2190
+ "value": 0,
2191
+ "unit": null
2192
+ },
2193
+ "universal_surface_materials_total": {
2194
+ "value": 12,
2195
+ "unit": null
2196
+ },
2197
+ "universal_surface_asset_root": {
2198
+ "value": "/World/AssetRoot/Asset",
2199
+ "unit": null
2200
+ },
2201
+ "universal_surface_contexts_present": {
2202
+ "value": "mdl, universal",
2203
+ "unit": null
2204
+ },
2205
+ "universal_surface_render_context_order": {
2206
+ "value": "universal",
2207
+ "unit": null
2208
+ },
2209
+ "universal_surface_silhouette_pixels": {
2210
+ "value": 56118,
2211
+ "unit": null
2212
+ },
2213
+ "universal_surface_uncovered_pixels": {
2214
+ "value": 0,
2215
+ "unit": null
2216
+ },
2217
+ "universal_surface_coverage": {
2218
+ "value": 1.0,
2219
+ "unit": null
2220
+ }
2221
+ },
2222
+ "kit_logs": [
2223
+ {
2224
+ "level": "error",
2225
+ "channel": "omni.kit.app._impl",
2226
+ "message": "[py stderr]: Traceback (most recent call last):"
2227
+ },
2228
+ {
2229
+ "level": "error",
2230
+ "channel": "omni.kit.app._impl",
2231
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2232
+ },
2233
+ {
2234
+ "level": "error",
2235
+ "channel": "omni.kit.app._impl",
2236
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
2237
+ },
2238
+ {
2239
+ "level": "error",
2240
+ "channel": "omni.kit.app._impl",
2241
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2242
+ },
2243
+ {
2244
+ "level": "error",
2245
+ "channel": "omni.kit.app._impl",
2246
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
2247
+ },
2248
+ {
2249
+ "level": "error",
2250
+ "channel": "omni.kit.app._impl",
2251
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2252
+ },
2253
+ {
2254
+ "level": "error",
2255
+ "channel": "omni.kit.app._impl",
2256
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2257
+ },
2258
+ {
2259
+ "level": "error",
2260
+ "channel": "omni.kit.app._impl",
2261
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
2262
+ },
2263
+ {
2264
+ "level": "error",
2265
+ "channel": "omni.kit.app._impl",
2266
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2267
+ },
2268
+ {
2269
+ "level": "error",
2270
+ "channel": "omni.kit.app._impl",
2271
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2272
+ },
2273
+ {
2274
+ "level": "error",
2275
+ "channel": "omni.kit.app._impl",
2276
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
2277
+ },
2278
+ {
2279
+ "level": "error",
2280
+ "channel": "omni.kit.app._impl",
2281
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
2282
+ },
2283
+ {
2284
+ "level": "error",
2285
+ "channel": "omni.kit.app._impl",
2286
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
2287
+ }
2288
+ ]
2289
+ },
2290
+ {
2291
+ "test_name": "preview_surface_renders",
2292
+ "engine": "isaac_sim_newton",
2293
+ "engine_version": "6.1.0.0",
2294
+ "status": "pass",
2295
+ "passed": true,
2296
+ "duration": 1.842,
2297
+ "message": "",
2298
+ "metrics": {
2299
+ "_timing_capture_frame_total_s": {
2300
+ "value": 0.564,
2301
+ "unit": null
2302
+ },
2303
+ "_timing_capture_frame_count": {
2304
+ "value": 4,
2305
+ "unit": null
2306
+ },
2307
+ "_timing_capture_frame_avg_ms": {
2308
+ "value": 140.98,
2309
+ "unit": null
2310
+ },
2311
+ "_timing_encode_video_total_s": {
2312
+ "value": 0.0,
2313
+ "unit": null
2314
+ },
2315
+ "_timing_encode_video_count": {
2316
+ "value": 0,
2317
+ "unit": null
2318
+ },
2319
+ "_render_blank_retry_count": {
2320
+ "value": 0,
2321
+ "unit": null
2322
+ },
2323
+ "_render_blank_retry_unrecovered": {
2324
+ "value": 0,
2325
+ "unit": null
2326
+ },
2327
+ "universal_surface_materials_with_universal": {
2328
+ "value": 12,
2329
+ "unit": null
2330
+ },
2331
+ "universal_surface_materials_with_mdl": {
2332
+ "value": 12,
2333
+ "unit": null
2334
+ },
2335
+ "universal_surface_materials_with_mtlx": {
2336
+ "value": 0,
2337
+ "unit": null
2338
+ },
2339
+ "universal_surface_materials_total": {
2340
+ "value": 12,
2341
+ "unit": null
2342
+ },
2343
+ "universal_surface_asset_root": {
2344
+ "value": "/World/AssetRoot/Asset",
2345
+ "unit": null
2346
+ },
2347
+ "universal_surface_contexts_present": {
2348
+ "value": "mdl, universal",
2349
+ "unit": null
2350
+ },
2351
+ "universal_surface_render_context_order": {
2352
+ "value": "universal",
2353
+ "unit": null
2354
+ },
2355
+ "universal_surface_silhouette_pixels": {
2356
+ "value": 56137,
2357
+ "unit": null
2358
+ },
2359
+ "universal_surface_uncovered_pixels": {
2360
+ "value": 0,
2361
+ "unit": null
2362
+ },
2363
+ "universal_surface_coverage": {
2364
+ "value": 1.0,
2365
+ "unit": null
2366
+ }
2367
+ },
2368
+ "kit_logs": [
2369
+ {
2370
+ "level": "error",
2371
+ "channel": "omni.kit.app._impl",
2372
+ "message": "[py stderr]: Traceback (most recent call last):"
2373
+ },
2374
+ {
2375
+ "level": "error",
2376
+ "channel": "omni.kit.app._impl",
2377
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2378
+ },
2379
+ {
2380
+ "level": "error",
2381
+ "channel": "omni.kit.app._impl",
2382
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
2383
+ },
2384
+ {
2385
+ "level": "error",
2386
+ "channel": "omni.kit.app._impl",
2387
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2388
+ },
2389
+ {
2390
+ "level": "error",
2391
+ "channel": "omni.kit.app._impl",
2392
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
2393
+ },
2394
+ {
2395
+ "level": "error",
2396
+ "channel": "omni.kit.app._impl",
2397
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2398
+ },
2399
+ {
2400
+ "level": "error",
2401
+ "channel": "omni.kit.app._impl",
2402
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2403
+ },
2404
+ {
2405
+ "level": "error",
2406
+ "channel": "omni.kit.app._impl",
2407
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
2408
+ },
2409
+ {
2410
+ "level": "error",
2411
+ "channel": "omni.kit.app._impl",
2412
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2413
+ },
2414
+ {
2415
+ "level": "error",
2416
+ "channel": "omni.kit.app._impl",
2417
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2418
+ },
2419
+ {
2420
+ "level": "error",
2421
+ "channel": "omni.kit.app._impl",
2422
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
2423
+ },
2424
+ {
2425
+ "level": "error",
2426
+ "channel": "omni.kit.app._impl",
2427
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
2428
+ },
2429
+ {
2430
+ "level": "error",
2431
+ "channel": "omni.kit.app._impl",
2432
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
2433
+ }
2434
+ ]
2435
+ },
2436
+ {
2437
+ "test_name": "slope_drop",
2438
+ "engine": "isaac_sim",
2439
+ "engine_version": "6.1.0.0",
2440
+ "status": "skipped",
2441
+ "passed": false,
2442
+ "duration": 0.049,
2443
+ "message": "Asset is world-anchored (FixedJoint to world) -- test not applicable. World-anchored assets cannot fall or slide.",
2444
+ "metrics": {
2445
+ "slope_drop_skipped": {
2446
+ "value": 1,
2447
+ "unit": null
2448
+ }
2449
+ },
2450
+ "kit_logs": []
2451
+ },
2452
+ {
2453
+ "test_name": "state_accuracy",
2454
+ "engine": "isaac_sim",
2455
+ "engine_version": "6.1.0.0",
2456
+ "status": "pass",
2457
+ "passed": true,
2458
+ "duration": 22.814,
2459
+ "message": "",
2460
+ "metrics": {
2461
+ "sta_joints_with_limits": {
2462
+ "value": 6,
2463
+ "unit": null
2464
+ },
2465
+ "sta_joints_skipped_passive": {
2466
+ "value": 0,
2467
+ "unit": null
2468
+ },
2469
+ "sta_joints_skipped_mimic_follower": {
2470
+ "value": 0,
2471
+ "unit": null
2472
+ },
2473
+ "sta_joints_skipped_loop": {
2474
+ "value": 0,
2475
+ "unit": null
2476
+ },
2477
+ "_timing_capture_frame_total_s": {
2478
+ "value": 7.086,
2479
+ "unit": null
2480
+ },
2481
+ "_timing_capture_frame_count": {
2482
+ "value": 84,
2483
+ "unit": null
2484
+ },
2485
+ "_timing_capture_frame_avg_ms": {
2486
+ "value": 84.35,
2487
+ "unit": null
2488
+ },
2489
+ "_timing_encode_video_total_s": {
2490
+ "value": 1.367,
2491
+ "unit": null
2492
+ },
2493
+ "_timing_encode_video_count": {
2494
+ "value": 1,
2495
+ "unit": null
2496
+ },
2497
+ "_render_blank_retry_count": {
2498
+ "value": 0,
2499
+ "unit": null
2500
+ },
2501
+ "_render_blank_retry_unrecovered": {
2502
+ "value": 0,
2503
+ "unit": null
2504
+ },
2505
+ "sta_joints_tested": {
2506
+ "value": 6,
2507
+ "unit": null
2508
+ },
2509
+ "sta_joints_passed": {
2510
+ "value": 6,
2511
+ "unit": null
2512
+ },
2513
+ "sta_joints_failed": {
2514
+ "value": 0,
2515
+ "unit": null
2516
+ },
2517
+ "sta_max_position_error_deg": {
2518
+ "value": 0.07007474320277475,
2519
+ "unit": null
2520
+ }
2521
+ },
2522
+ "kit_logs": [
2523
+ {
2524
+ "level": "error",
2525
+ "channel": "omni.kit.app._impl",
2526
+ "message": "[py stderr]: Traceback (most recent call last):"
2527
+ },
2528
+ {
2529
+ "level": "error",
2530
+ "channel": "omni.kit.app._impl",
2531
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2532
+ },
2533
+ {
2534
+ "level": "error",
2535
+ "channel": "omni.kit.app._impl",
2536
+ "message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
2537
+ },
2538
+ {
2539
+ "level": "error",
2540
+ "channel": "omni.kit.app._impl",
2541
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2542
+ },
2543
+ {
2544
+ "level": "error",
2545
+ "channel": "omni.kit.app._impl",
2546
+ "message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
2547
+ },
2548
+ {
2549
+ "level": "error",
2550
+ "channel": "omni.kit.app._impl",
2551
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2552
+ },
2553
+ {
2554
+ "level": "error",
2555
+ "channel": "omni.kit.app._impl",
2556
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2557
+ },
2558
+ {
2559
+ "level": "error",
2560
+ "channel": "omni.kit.app._impl",
2561
+ "message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
2562
+ },
2563
+ {
2564
+ "level": "error",
2565
+ "channel": "omni.kit.app._impl",
2566
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2567
+ },
2568
+ {
2569
+ "level": "error",
2570
+ "channel": "omni.kit.app._impl",
2571
+ "message": "[py stderr]: File \"<home>/Documents/standardbots/USD_Validate/.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"
2572
+ },
2573
+ {
2574
+ "level": "error",
2575
+ "channel": "omni.kit.app._impl",
2576
+ "message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
2577
+ },
2578
+ {
2579
+ "level": "error",
2580
+ "channel": "omni.kit.app._impl",
2581
+ "message": "[py stderr]: ^^^^^^^^^^^^^^^^"
2582
+ },
2583
+ {
2584
+ "level": "error",
2585
+ "channel": "omni.kit.app._impl",
2586
+ "message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
2587
+ }
2588
+ ]
2589
+ },
2590
+ {
2591
+ "test_name": "velocity_limit",
2592
+ "engine": "isaac_sim",
2593
+ "engine_version": "6.1.0.0",
2594
+ "status": "pass",
2595
+ "passed": true,
2596
+ "duration": 9.234,
2597
+ "message": "",
2598
+ "metrics": {
2599
+ "vel_joints_with_limits": {
2600
+ "value": 6,
2601
+ "unit": null
2602
+ },
2603
+ "_timing_capture_frame_total_s": {
2604
+ "value": 2.46,
2605
+ "unit": null
2606
+ },
2607
+ "_timing_capture_frame_count": {
2608
+ "value": 24,
2609
+ "unit": null
2610
+ },
2611
+ "_timing_capture_frame_avg_ms": {
2612
+ "value": 102.5,
2613
+ "unit": null
2614
+ },
2615
+ "_timing_encode_video_total_s": {
2616
+ "value": 0.532,
2617
+ "unit": null
2618
+ },
2619
+ "_timing_encode_video_count": {
2620
+ "value": 1,
2621
+ "unit": null
2622
+ },
2623
+ "_render_blank_retry_count": {
2624
+ "value": 0,
2625
+ "unit": null
2626
+ },
2627
+ "_render_blank_retry_unrecovered": {
2628
+ "value": 0,
2629
+ "unit": null
2630
+ },
2631
+ "vel_joints_passed": {
2632
+ "value": 6,
2633
+ "unit": null
2634
+ },
2635
+ "vel_joints_failed": {
2636
+ "value": 0,
2637
+ "unit": null
2638
+ }
2639
+ },
2640
+ "kit_logs": []
2641
+ }
2642
+ ]
2643
+ }
standardbots_core/.metadata/standardbots_core_validation.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "core/standardbots_core.usd": {
3
+ "features_summary": {
4
+ "FET_000_ISAAC": {
5
+ "blocking_failure": false,
6
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
7
+ "optional requirements": "['com.nvidia.simready.SR.001']",
8
+ "passed": false,
9
+ "version": "0.1.0"
10
+ },
11
+ "FET_000_MUJOCO": {
12
+ "blocking_failure": false,
13
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
14
+ "optional requirements": "['com.nvidia.simready.RV.007', 'com.nvidia.simready.SR.001']",
15
+ "passed": false,
16
+ "version": "0.1.0"
17
+ },
18
+ "FET_000_NEWTON": {
19
+ "blocking_failure": false,
20
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
21
+ "optional requirements": "['com.nvidia.simready.RV.004', 'com.nvidia.simready.SR.001']",
22
+ "passed": false,
23
+ "version": "0.1.0"
24
+ },
25
+ "FET_000_PHYSX": {
26
+ "blocking_failure": false,
27
+ "dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
28
+ "optional requirements": "['com.nvidia.simready.RV.001', 'com.nvidia.simready.SR.001']",
29
+ "passed": false,
30
+ "version": "0.1.0"
31
+ },
32
+ "FET_000_STANDARD": {
33
+ "blocking_failure": false,
34
+ "dependencies": "[]",
35
+ "optional requirements": "['com.nvidia.simready.SR.001']",
36
+ "passed": false,
37
+ "version": "0.1.0"
38
+ },
39
+ "FET_001_STANDARD": {
40
+ "blocking_failure": false,
41
+ "dependencies": "[]",
42
+ "passed": true,
43
+ "version": "1.0.1"
44
+ },
45
+ "FET_003_MUJOCO": {
46
+ "blocking_failure": false,
47
+ "dependencies": "[]",
48
+ "optional requirements": "['com.nvidia.simready.MUJOCO.COL.001']",
49
+ "passed": false,
50
+ "version": "0.1.0"
51
+ },
52
+ "FET_003_NEWTON": {
53
+ "blocking_failure": false,
54
+ "dependencies": "[]",
55
+ "optional requirements": "['com.nvidia.simready.NEWTON.COL.001']",
56
+ "passed": false,
57
+ "version": "0.1.0"
58
+ },
59
+ "FET_003_PHYSX": {
60
+ "blocking_failure": false,
61
+ "dependencies": "[]",
62
+ "passed": true,
63
+ "version": "0.4.0"
64
+ },
65
+ "FET_003_STANDARD": {
66
+ "blocking_failure": false,
67
+ "dependencies": "[]",
68
+ "passed": true,
69
+ "version": "0.2.0"
70
+ },
71
+ "FET_004_MUJOCO": {
72
+ "blocking_failure": false,
73
+ "dependencies": "[{'FET_003_MUJOCO': {'version': '0.1.0'}}]",
74
+ "optional requirements": "['com.nvidia.simready.MUJOCO.COL.001']",
75
+ "passed": false,
76
+ "version": "0.1.0"
77
+ },
78
+ "FET_004_NEWTON": {
79
+ "blocking_failure": false,
80
+ "dependencies": "[{'FET_003_NEWTON': {'version': '0.1.0'}}]",
81
+ "optional requirements": "['com.nvidia.simready.NEWTON.COL.001']",
82
+ "passed": false,
83
+ "version": "0.1.0"
84
+ },
85
+ "FET_004_PHYSX": {
86
+ "blocking_failure": false,
87
+ "dependencies": "[{'FET_003_PHYSX': {'version': '0.4.0'}}]",
88
+ "passed": true,
89
+ "version": "0.4.0"
90
+ },
91
+ "FET_004_ROBOT_MUJOCO": {
92
+ "blocking_failure": false,
93
+ "dependencies": "[]",
94
+ "optional requirements": "['com.nvidia.simready.MUJOCO.COL.001']",
95
+ "passed": false,
96
+ "version": "0.1.0"
97
+ },
98
+ "FET_004_ROBOT_NEWTON": {
99
+ "blocking_failure": false,
100
+ "dependencies": "[]",
101
+ "optional requirements": "['com.nvidia.simready.NEWTON.COL.001']",
102
+ "passed": false,
103
+ "version": "0.1.0"
104
+ },
105
+ "FET_004_STANDARD": {
106
+ "blocking_failure": false,
107
+ "dependencies": "[{'FET_003_STANDARD': {'version': '0.2.0'}}]",
108
+ "passed": true,
109
+ "version": "0.2.0"
110
+ },
111
+ "FET_006_MDL": {
112
+ "blocking_failure": false,
113
+ "dependencies": "[]",
114
+ "passed": true,
115
+ "version": "0.2.0"
116
+ },
117
+ "FET_006_OPENPBR": {
118
+ "blocking_failure": false,
119
+ "dependencies": "[]",
120
+ "optional requirements": "['com.nvidia.simready.VM.PBR.001']",
121
+ "passed": false,
122
+ "version": "0.1.0"
123
+ },
124
+ "FET_006_STANDARD": {
125
+ "blocking_failure": false,
126
+ "dependencies": "[]",
127
+ "passed": true,
128
+ "version": "0.2.0"
129
+ },
130
+ "FET_010_STANDARD": {
131
+ "blocking_failure": false,
132
+ "dependencies": "[]",
133
+ "optional requirements": "['com.nvidia.simready.DISP.001']",
134
+ "passed": false,
135
+ "version": "0.1.0"
136
+ },
137
+ "FET_021_ISAAC": {
138
+ "blocking_failure": false,
139
+ "dependencies": "[]",
140
+ "passed": true,
141
+ "version": "0.3.0"
142
+ },
143
+ "FET_022_ISAAC": {
144
+ "blocking_failure": false,
145
+ "dependencies": "[{'FET_022_PHYSX': {'version': '0.2.0'}}]",
146
+ "passed": true,
147
+ "version": "0.2.0"
148
+ },
149
+ "FET_022_MUJOCO": {
150
+ "blocking_failure": false,
151
+ "dependencies": "[{'FET_004_ROBOT_MUJOCO': {'version': '0.1.0'}}]",
152
+ "optional requirements": "['com.nvidia.simready.MUJOCO.COL.001', 'com.nvidia.simready.MUJOCO.DJ.001']",
153
+ "passed": false,
154
+ "version": "0.1.0"
155
+ },
156
+ "FET_022_NEWTON": {
157
+ "blocking_failure": false,
158
+ "dependencies": "[{'FET_004_ROBOT_NEWTON': {'version': '0.1.0'}}]",
159
+ "optional requirements": "['com.nvidia.simready.NEWTON.COL.001']",
160
+ "passed": false,
161
+ "version": "0.1.0"
162
+ },
163
+ "FET_022_PHYSX": {
164
+ "blocking_failure": false,
165
+ "dependencies": "[{'FET_004_PHYSX': {'version': '0.4.0'}}]",
166
+ "passed": true,
167
+ "version": "0.2.0"
168
+ },
169
+ "FET_022_STANDARD": {
170
+ "blocking_failure": false,
171
+ "dependencies": "[{'FET_004_STANDARD': {'version': '0.2.0'}}]",
172
+ "passed": true,
173
+ "version": "0.2.0"
174
+ },
175
+ "FET_023_ISAAC": {
176
+ "blocking_failure": false,
177
+ "dependencies": "[]",
178
+ "passed": true,
179
+ "version": "0.1.0"
180
+ },
181
+ "FET_024_MUJOCO": {
182
+ "blocking_failure": false,
183
+ "dependencies": "[{'FET_024_STANDARD': {'version': '0.1.0'}}]",
184
+ "passed": true,
185
+ "version": "0.1.0"
186
+ },
187
+ "FET_024_NEWTON": {
188
+ "blocking_failure": false,
189
+ "dependencies": "[{'FET_024_STANDARD': {'version': '0.1.0'}}]",
190
+ "optional requirements": "['com.nvidia.simready.NEWTON.BA.001']",
191
+ "passed": false,
192
+ "version": "0.1.0"
193
+ },
194
+ "FET_024_PHYSX": {
195
+ "blocking_failure": false,
196
+ "dependencies": "[{'FET_024_STANDARD': {'version': '0.1.0'}}]",
197
+ "passed": true,
198
+ "version": "0.1.0"
199
+ },
200
+ "FET_024_STANDARD": {
201
+ "blocking_failure": false,
202
+ "dependencies": "[]",
203
+ "passed": true,
204
+ "version": "0.1.0"
205
+ },
206
+ "FET_025_ROS": {
207
+ "blocking_failure": false,
208
+ "dependencies": "[]",
209
+ "optional requirements": "['com.nvidia.simready.ROS.001']",
210
+ "passed": false,
211
+ "version": "0.1.0"
212
+ },
213
+ "FET_031_STANDARD": {
214
+ "blocking_failure": false,
215
+ "dependencies": "[]",
216
+ "passed": true,
217
+ "version": "0.1.0"
218
+ },
219
+ "FET_033_STANDARD": {
220
+ "blocking_failure": false,
221
+ "dependencies": "[{'FET_031_STANDARD': {'version': '0.1.0'}}]",
222
+ "passed": true,
223
+ "version": "0.4.0"
224
+ },
225
+ "FET_100_ISAAC": {
226
+ "blocking_failure": false,
227
+ "dependencies": "[{'FET_003_PHYSX': {'version': '0.4.0'}}]",
228
+ "optional requirements": "['com.nvidia.simready.ISA.001']",
229
+ "passed": false,
230
+ "version": "0.3.0"
231
+ }
232
+ },
233
+ "profile_id": "Robot-Body",
234
+ "profile_version": "3.0.0",
235
+ "simready_validate_version": "2026.8.0",
236
+ "tier_versions": {
237
+ "sensors": "2026.8.0",
238
+ "tier_aif": "2026.8.0",
239
+ "tier_core": "2026.8.0"
240
+ }
241
+ }
242
+ }
standardbots_core/com.nvidia.simready.packaging.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": "1.0",
3
+ "package_id": "simready.hf.standardbots.simready-core.standardbots_core.2026.10.08_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": "3512adcc7d23f90dacccd4841ba3825bc734c03ebeaa8059e50ad294bd61757a"
10
+ }
11
+ },
12
+ {
13
+ "name": "com.nvidia.simready.packaging.bom.json",
14
+ "hash": {
15
+ "sha256": "31d5160d42ff31e3f6d926ded541496456cbdbfe2d244e104d1358c6c21a5ef5"
16
+ }
17
+ },
18
+ {
19
+ "name": "com.nvidia.simready.root_usds.json",
20
+ "hash": {
21
+ "sha256": "7f1039349bc577832016d4dc0036eb4bf8379f09d3158509034702a33759e143"
22
+ }
23
+ }
24
+ ],
25
+ "content_hash": {
26
+ "sha256": "2280dcc5f4e8fbe1900db2fdd3127c879a79f73bb7770dab43bca80861ecad59"
27
+ },
28
+ "package_hash": {
29
+ "sha256": "1386381ab0ff83a827ab936e41c7e1559926feed37ecc532607b278048f55ec8"
30
+ }
31
+ }
standardbots_core/core/.thumbs/256x256/standardbots_core.usd.png ADDED

Git LFS Details

  • SHA256: d95c02e91445edbf9e04bfe34b4b8a71a7933b78d33c96d045400bf943bb7fbe
  • Pointer size: 130 Bytes
  • Size of remote file: 14.4 kB
standardbots_core/core/.thumbs/256x256/standardbots_core.usd_light.png ADDED

Git LFS Details

  • SHA256: ed2dd6a16c68a2945f08ac288d4b85599080a7a174d846f239ab374c1504932c
  • Pointer size: 130 Bytes
  • Size of remote file: 14.3 kB
standardbots_core/core/.thumbs/256x256/standardbots_core.usd_transparent.png ADDED

Git LFS Details

  • SHA256: d2f4a5bc8f9df353fc2bb94de21d257677ff3b2c7d1205ecf4921eb6fd25e0c4
  • Pointer size: 130 Bytes
  • Size of remote file: 18 kB
standardbots_core/core/configuration/OmniPBR/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
+ );
standardbots_core/core/configuration/OmniPBR/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
+ );
standardbots_core/core/configuration/OmniPBR/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
+ );
standardbots_core/core/configuration/core_base.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a89b41500ff03fcd4051c85706ea8036c0a253f7aead1120e9e943419267f3a3
3
+ size 3124098
standardbots_core/core/configuration/core_body_light.usda ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #usda 1.0
2
+ (
3
+ """Repaints the arm's dominant body material from the GLB's dark anodised metal to the
4
+ light grey the URDF specifies, as a neutral dielectric. Composed by
5
+ core_physics_light.usda, which core_light_body.usd payloads."""
6
+ defaultPrim = "core"
7
+ )
8
+
9
+ over "core"
10
+ {
11
+ }
12
+
13
+ over "visuals"
14
+ {
15
+ over "base_link"
16
+ {
17
+ over "base_link_textured"
18
+ {
19
+ over "Looks"
20
+ {
21
+ over "material2"
22
+ {
23
+ over "material2"
24
+ {
25
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
26
+ float inputs:metallic_factor = 0
27
+ float inputs:roughness_factor = 0.32
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+
34
+ over "shoulder_link"
35
+ {
36
+ over "shoulder_link_textured"
37
+ {
38
+ over "Looks"
39
+ {
40
+ over "material3"
41
+ {
42
+ over "material3"
43
+ {
44
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
45
+ float inputs:metallic_factor = 0
46
+ float inputs:roughness_factor = 0.32
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ over "upper_arm_link"
54
+ {
55
+ over "upper_arm_link_textured"
56
+ {
57
+ over "Looks"
58
+ {
59
+ over "material0"
60
+ {
61
+ over "material0"
62
+ {
63
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
64
+ float inputs:metallic_factor = 0
65
+ float inputs:roughness_factor = 0.32
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+
72
+ over "forearm_link"
73
+ {
74
+ over "forearm_link_textured"
75
+ {
76
+ over "Looks"
77
+ {
78
+ over "material0"
79
+ {
80
+ over "material0"
81
+ {
82
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
83
+ float inputs:metallic_factor = 0
84
+ float inputs:roughness_factor = 0.32
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+
91
+ over "wrist_1_link"
92
+ {
93
+ over "wrist_1_link_textured"
94
+ {
95
+ over "Looks"
96
+ {
97
+ over "material1"
98
+ {
99
+ over "material1"
100
+ {
101
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
102
+ float inputs:metallic_factor = 0
103
+ float inputs:roughness_factor = 0.32
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+
110
+ over "wrist_2_link"
111
+ {
112
+ over "wrist_2_link_textured"
113
+ {
114
+ over "Looks"
115
+ {
116
+ over "material0"
117
+ {
118
+ over "material0"
119
+ {
120
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
121
+ float inputs:metallic_factor = 0
122
+ float inputs:roughness_factor = 0.32
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ over "wrist_3_link"
130
+ {
131
+ over "wrist_3_link_textured"
132
+ {
133
+ over "Looks"
134
+ {
135
+ over "Arm_Anodise_Gunmetal_Grey_003"
136
+ {
137
+ over "Arm_Anodise_Gunmetal_Grey_003"
138
+ {
139
+ color3f inputs:base_color_factor = (0.86667, 0.86667, 0.8902)
140
+ float inputs:metallic_factor = 0
141
+ float inputs:roughness_factor = 0.32
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+
standardbots_core/core/configuration/core_collision.usd ADDED
Binary file (35.5 kB). View file
 
standardbots_core/core/configuration/core_materials.usda ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #usda 1.0
2
+ (
3
+ """UV-free PBR finish for the link-colour materials the URDF importer created. Every
4
+ link now renders with the material assignments baked into its GLB-derived mesh, so
5
+ no visual binds these any more (DefaultMaterial is still what the collision meshes
6
+ and grasp_identifier_01 bind). Kept as the importer made them.
7
+ Neutral dielectric (metallic 0.0, roughness 0.32),
8
+ except material_wrist_3_link_color: its URDF colour is exactly the pack's
9
+ 'Aluminum Rough' / 'Aluminum Brushed 90' value (202, 209, 238), so it gets metal
10
+ values - as a dielectric it reads as white plastic."""
11
+ defaultPrim = "core"
12
+ )
13
+
14
+ over "core"
15
+ {
16
+ over "Looks"
17
+ {
18
+ over "material_base_link_color"
19
+ {
20
+ token outputs:surface.connect = </core/Looks/material_base_link_color/PreviewSurface.outputs:surface>
21
+
22
+ over "Shader"
23
+ {
24
+ float inputs:metallic_constant = 0
25
+ float inputs:reflection_roughness_constant = 0.32
26
+ }
27
+
28
+ def Shader "PreviewSurface"
29
+ {
30
+ uniform token info:id = "UsdPreviewSurface"
31
+ color3f inputs:diffuseColor = (0.86667, 0.86667, 0.8902)
32
+ float inputs:metallic = 0
33
+ float inputs:roughness = 0.32
34
+ token outputs:surface
35
+ }
36
+ }
37
+
38
+ over "material_forearm_link_color"
39
+ {
40
+ token outputs:surface.connect = </core/Looks/material_forearm_link_color/PreviewSurface.outputs:surface>
41
+
42
+ over "Shader"
43
+ {
44
+ float inputs:metallic_constant = 0
45
+ float inputs:reflection_roughness_constant = 0.32
46
+ }
47
+
48
+ def Shader "PreviewSurface"
49
+ {
50
+ uniform token info:id = "UsdPreviewSurface"
51
+ color3f inputs:diffuseColor = (0.8666667, 0.8666667, 0.8901961)
52
+ float inputs:metallic = 0
53
+ float inputs:roughness = 0.32
54
+ token outputs:surface
55
+ }
56
+ }
57
+
58
+ over "material_shoulder_link_color"
59
+ {
60
+ token outputs:surface.connect = </core/Looks/material_shoulder_link_color/PreviewSurface.outputs:surface>
61
+
62
+ over "Shader"
63
+ {
64
+ float inputs:metallic_constant = 0
65
+ float inputs:reflection_roughness_constant = 0.32
66
+ }
67
+
68
+ def Shader "PreviewSurface"
69
+ {
70
+ uniform token info:id = "UsdPreviewSurface"
71
+ color3f inputs:diffuseColor = (0.8666667, 0.8666667, 0.8901961)
72
+ float inputs:metallic = 0
73
+ float inputs:roughness = 0.32
74
+ token outputs:surface
75
+ }
76
+ }
77
+
78
+ over "material_upper_arm_link_color"
79
+ {
80
+ token outputs:surface.connect = </core/Looks/material_upper_arm_link_color/PreviewSurface.outputs:surface>
81
+
82
+ over "Shader"
83
+ {
84
+ float inputs:metallic_constant = 0
85
+ float inputs:reflection_roughness_constant = 0.32
86
+ }
87
+
88
+ def Shader "PreviewSurface"
89
+ {
90
+ uniform token info:id = "UsdPreviewSurface"
91
+ color3f inputs:diffuseColor = (0.86667, 0.86667, 0.8902)
92
+ float inputs:metallic = 0
93
+ float inputs:roughness = 0.32
94
+ token outputs:surface
95
+ }
96
+ }
97
+
98
+ over "material_wrist_1_link_color"
99
+ {
100
+ token outputs:surface.connect = </core/Looks/material_wrist_1_link_color/PreviewSurface.outputs:surface>
101
+
102
+ over "Shader"
103
+ {
104
+ float inputs:metallic_constant = 0
105
+ float inputs:reflection_roughness_constant = 0.32
106
+ }
107
+
108
+ def Shader "PreviewSurface"
109
+ {
110
+ uniform token info:id = "UsdPreviewSurface"
111
+ color3f inputs:diffuseColor = (0.8666667, 0.8666667, 0.8901961)
112
+ float inputs:metallic = 0
113
+ float inputs:roughness = 0.32
114
+ token outputs:surface
115
+ }
116
+ }
117
+
118
+ over "material_wrist_2_link_color"
119
+ {
120
+ token outputs:surface.connect = </core/Looks/material_wrist_2_link_color/PreviewSurface.outputs:surface>
121
+
122
+ over "Shader"
123
+ {
124
+ float inputs:metallic_constant = 0
125
+ float inputs:reflection_roughness_constant = 0.32
126
+ }
127
+
128
+ def Shader "PreviewSurface"
129
+ {
130
+ uniform token info:id = "UsdPreviewSurface"
131
+ color3f inputs:diffuseColor = (0.8666667, 0.8666667, 0.8901961)
132
+ float inputs:metallic = 0
133
+ float inputs:roughness = 0.32
134
+ token outputs:surface
135
+ }
136
+ }
137
+
138
+ over "material_wrist_3_link_color"
139
+ {
140
+ token outputs:surface.connect = </core/Looks/material_wrist_3_link_color/PreviewSurface.outputs:surface>
141
+
142
+ over "Shader"
143
+ {
144
+ float inputs:metallic_constant = 1
145
+ float inputs:reflection_roughness_constant = 0.4
146
+ }
147
+
148
+ def Shader "PreviewSurface"
149
+ {
150
+ uniform token info:id = "UsdPreviewSurface"
151
+ color3f inputs:diffuseColor = (0.7921569, 0.81960785, 0.93333334)
152
+ float inputs:metallic = 1
153
+ float inputs:roughness = 0.4
154
+ token outputs:surface
155
+ }
156
+ }
157
+
158
+ over "DefaultMaterial"
159
+ {
160
+ token outputs:surface.connect = </core/Looks/DefaultMaterial/PreviewSurface.outputs:surface>
161
+
162
+ over "DefaultMaterial"
163
+ {
164
+ float inputs:metallic_constant = 0
165
+ float inputs:reflection_roughness_constant = 0.32
166
+ }
167
+
168
+ def Shader "PreviewSurface"
169
+ {
170
+ uniform token info:id = "UsdPreviewSurface"
171
+ color3f inputs:diffuseColor = (1, 1, 1)
172
+ float inputs:metallic = 0
173
+ float inputs:roughness = 0.32
174
+ token outputs:surface
175
+ }
176
+ }
177
+
178
+ over "DefaultMaterial_0"
179
+ {
180
+ token outputs:surface.connect = </core/Looks/DefaultMaterial_0/PreviewSurface.outputs:surface>
181
+
182
+ over "DefaultMaterial"
183
+ {
184
+ float inputs:metallic_constant = 0
185
+ float inputs:reflection_roughness_constant = 0.32
186
+ }
187
+
188
+ def Shader "PreviewSurface"
189
+ {
190
+ uniform token info:id = "UsdPreviewSurface"
191
+ color3f inputs:diffuseColor = (0.49803925, 0.49803925, 0.49803925)
192
+ float inputs:metallic = 0
193
+ float inputs:roughness = 0.32
194
+ token outputs:surface
195
+ }
196
+ }
197
+ }
198
+ }
199
+
standardbots_core/core/configuration/core_physics.usd ADDED
Binary file (4.94 kB). View file
 
standardbots_core/core/configuration/core_physics_light.usda ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #usda 1.0
2
+ (
3
+ """Same as core_physics.usd, with core_body_light.usda composed over it.
4
+ Used by core_light_body.usd; see BUILD_NOTES.md section 6."""
5
+ defaultPrim = "core"
6
+ metersPerUnit = 1
7
+ subLayers = [
8
+ @core_body_light.usda@,
9
+ @core_physics.usd@
10
+ ]
11
+ upAxis = "Z"
12
+ )
13
+
standardbots_core/core/configuration/core_sensor.usd ADDED
Binary file (644 Bytes). View file
 
standardbots_core/core/configuration/core_visual.usda ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #usda 1.0
2
+ (
3
+ """Visual-appearance layer for the core arm.
4
+ Replaces the STL-derived visual meshes with the textured GLB-derived meshes under
5
+ ../meshes/visual/. Geometry, collision and physics layers are untouched; deleting
6
+ this layer from the chain restores the plain STL look."""
7
+ defaultPrim = "core"
8
+ subLayers = [
9
+ @./core_base.usd@
10
+ ]
11
+ )
12
+
13
+ over "visuals"
14
+ {
15
+ over "base_link"
16
+ {
17
+ over "base_link" (
18
+ active = false
19
+ )
20
+ {
21
+ }
22
+
23
+ def Xform "base_link_textured" (
24
+ "from the Core web-visualizer GLB Base.glb"
25
+ prepend references = @../meshes/visual/base_link.usd@
26
+ )
27
+ {
28
+ quatd xformOp:orient = (0.7071067811865475, 0.7071067811865476, 0, 0)
29
+ double3 xformOp:scale = (1, 1, 1)
30
+ double3 xformOp:translate = (0, 0, 0)
31
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
32
+ }
33
+ }
34
+
35
+ over "shoulder_link"
36
+ {
37
+ over "shoulder_link" (
38
+ active = false
39
+ )
40
+ {
41
+ }
42
+
43
+ def Xform "shoulder_link_textured" (
44
+ "from the Core web-visualizer GLB J0.glb"
45
+ prepend references = @../meshes/visual/shoulder_link.usd@
46
+ )
47
+ {
48
+ quatd xformOp:orient = (0.7071067811865475, 0.7071067811865476, 0, 0)
49
+ double3 xformOp:scale = (1, 1, 1)
50
+ double3 xformOp:translate = (0, 0, 0)
51
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
52
+ }
53
+ }
54
+
55
+ over "upper_arm_link"
56
+ {
57
+ over "upper_arm_link" (
58
+ active = false
59
+ )
60
+ {
61
+ }
62
+
63
+ def Xform "upper_arm_link_textured" (
64
+ "from the Core web-visualizer GLB J1-J2.glb"
65
+ prepend references = @../meshes/visual/upper_arm_link.usd@
66
+ )
67
+ {
68
+ quatd xformOp:orient = (0.7071067811865475, 0.7071067811865476, 0, 0)
69
+ double3 xformOp:scale = (1, 1, 1)
70
+ double3 xformOp:translate = (0, 0, 0)
71
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
72
+ }
73
+ }
74
+
75
+ over "forearm_link"
76
+ {
77
+ over "forearm_link" (
78
+ active = false
79
+ )
80
+ {
81
+ }
82
+
83
+ def Xform "forearm_link_textured" (
84
+ "from the Core web-visualizer GLB WL-J3.glb"
85
+ prepend references = @../meshes/visual/forearm_link.usd@
86
+ )
87
+ {
88
+ quatd xformOp:orient = (0.7071067811865475, 0.7071067811865476, 0, 0)
89
+ double3 xformOp:scale = (1, 1, 1)
90
+ double3 xformOp:translate = (0, 0, 0)
91
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
92
+ }
93
+ }
94
+
95
+ over "wrist_1_link"
96
+ {
97
+ over "wrist_1_link" (
98
+ active = false
99
+ )
100
+ {
101
+ }
102
+
103
+ def Xform "wrist_1_link_textured" (
104
+ "from the Core web-visualizer GLB J4.glb"
105
+ prepend references = @../meshes/visual/wrist_1_link.usd@
106
+ )
107
+ {
108
+ quatd xformOp:orient = (0.7071067811865475, 0.7071067811865476, 0, 0)
109
+ double3 xformOp:scale = (1, 1, 1)
110
+ double3 xformOp:translate = (0, 0, 0)
111
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
112
+ }
113
+ }
114
+
115
+ over "wrist_2_link"
116
+ {
117
+ over "wrist_2_link" (
118
+ active = false
119
+ )
120
+ {
121
+ }
122
+
123
+ def Xform "wrist_2_link_textured" (
124
+ "from the Core web-visualizer GLB J5.glb"
125
+ prepend references = @../meshes/visual/wrist_2_link.usd@
126
+ )
127
+ {
128
+ quatd xformOp:orient = (0, 0, 0.7071067811865475, 0.7071067811865476)
129
+ double3 xformOp:scale = (1, 1, 1)
130
+ double3 xformOp:translate = (0, 0, 0)
131
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
132
+ }
133
+ }
134
+
135
+ over "wrist_3_link"
136
+ {
137
+ over "wrist_3_link" (
138
+ active = false
139
+ )
140
+ {
141
+ }
142
+
143
+ def Xform "wrist_3_link_textured" (
144
+ "from core-arm-assets/source-assets/glb/EE_NO_CABLE_NO_QC.glb"
145
+ prepend references = @../meshes/visual/wrist_3_link.usd@
146
+ )
147
+ {
148
+ quatd xformOp:orient = (0.5, 0.5, 0.5, 0.5)
149
+ double3 xformOp:scale = (1, 1, 1)
150
+ double3 xformOp:translate = (0, 0, 0)
151
+ uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
152
+ }
153
+ }
154
+ }
155
+
standardbots_core/core/meshes/visual/base_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78bd20a172f64f967412d8a3cbfb88d92a863475873b9b36da0a7e431d10558b
3
+ size 1354340
standardbots_core/core/meshes/visual/forearm_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:209d262f89dd58ed9b57389649cddab3cc40b450142228e6cd5e3caa2acf9fc9
3
+ size 15018659
standardbots_core/core/meshes/visual/gltf/pbr.mdl ADDED
@@ -0,0 +1,1004 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.8;
7
+
8
+ import ::anno::*;
9
+ import ::base::*;
10
+ import ::df::*;
11
+ import ::math::*;
12
+ import ::state::*;
13
+ import ::tex::*;
14
+ import ::scene::*;
15
+ import ::limits::*;
16
+
17
+ export enum gltf_alpha_mode {
18
+ opaque,
19
+ mask,
20
+ blend
21
+ };
22
+
23
+ export enum gltf_wrapping_mode {
24
+ clamp_to_edge = 33071,
25
+ mirrored_repeat = 33648,
26
+ repeat = 10497
27
+ };
28
+
29
+ export struct gltf_texture_lookup_value
30
+ {
31
+ bool valid = false;
32
+ float4 value = float4(0.0, 0.0, 0.0, 1.0);
33
+ };
34
+
35
+ export struct gltf_normal_texture_lookup_value
36
+ {
37
+ bool valid = false;
38
+ float3 value = float3(0.0);
39
+ };
40
+
41
+ float compute_opacity(gltf_alpha_mode mode, float alpha, float cutoff) {
42
+ switch (mode) {
43
+ case mask:
44
+ return alpha < cutoff ? 0.0 : 1.0;
45
+ case blend:
46
+ return alpha;
47
+ case opaque:
48
+ return 1.0;
49
+ }
50
+ }
51
+
52
+ float4 gltf_prepare_tex_float4(gltf_texture_lookup_value sample, float4 default_value = float4(1.0)) {
53
+ return sample.valid ? sample.value : default_value;
54
+ }
55
+
56
+ float3 gltf_prepare_tex_float3(gltf_texture_lookup_value sample, float3 default_value = float3(1.0)) {
57
+ return sample.valid ? float3(sample.value.x, sample.value.y, sample.value.z) : default_value;
58
+ }
59
+
60
+ float3 gltf_prepare_normal(gltf_normal_texture_lookup_value sample) {
61
+ return sample.valid ? sample.value : state::normal();
62
+ }
63
+
64
+ float gltf_prepare_occlusion(gltf_texture_lookup_value sample, float occlusion_strength) {
65
+ float occulusion = sample.valid ? sample.value.x : 1.0;
66
+ return math::lerp(1.0, occulusion, occlusion_strength);
67
+ }
68
+
69
+ color gltf_perpare_emission(gltf_texture_lookup_value sample, color emissive_factor) {
70
+ return emissive_factor * color(gltf_prepare_tex_float3(sample));
71
+ }
72
+
73
+ ::tex::wrap_mode convert_wrap_mode(gltf_wrapping_mode mode)
74
+ {
75
+ if (mode == clamp_to_edge)
76
+ return ::tex::wrap_clamp;
77
+ if (mode == mirrored_repeat)
78
+ return ::tex::wrap_mirrored_repeat;
79
+
80
+ return ::tex::wrap_repeat;
81
+ }
82
+
83
+ float2 khr_texture_transform_apply(
84
+ float2 coord,
85
+ float2 offset,
86
+ float rotation,
87
+ float2 scale
88
+ )
89
+ {
90
+ // MDL expects the texture coordinate origin at the bottom left (gltf at top left)
91
+ // Assuming the renderer follows the MDL specification in which case the coordinates
92
+ // have been flipped either while loading the glTF geometry or while setting up the state.
93
+
94
+ // Undo the flipping for the transformation to get into the original glTF texture space.
95
+ coord = float2(coord.x, 1.0f - coord.y);
96
+
97
+ // first scale
98
+ coord = coord * scale;
99
+ // then rotate
100
+ float cos_rotation = ::math::cos(rotation);
101
+ float sin_rotation = ::math::sin(rotation);
102
+ coord = float2(cos_rotation * coord.x + sin_rotation * coord.y, cos_rotation * coord.y - sin_rotation * coord.x);
103
+ // then translate
104
+ coord = coord + offset;
105
+
106
+ // flip back
107
+ coord = float2(coord.x, 1.0f - coord.y);
108
+ return coord;
109
+ }
110
+
111
+ export gltf_texture_lookup_value gltf_texture_lookup(
112
+ uniform texture_2d texture = texture_2d()
113
+ [[
114
+ anno::in_group("Source"),
115
+ anno::display_name("Texture"),
116
+ anno::description("Texture File")
117
+ ]],
118
+ uniform int tex_coord_index = 0
119
+ [[
120
+ anno::in_group("Source"),
121
+ anno::display_name("Coordinate Set"),
122
+ anno::description("Texture coordinate set (UV-Set). KHR_texture_transform overrides the textureInfo texCoord value if supplied."),
123
+ anno::enable_if("::tex::texture_isvalid(texture)")
124
+ ]],
125
+
126
+ uniform float2 offset = float2(0.0f, 0.0)
127
+ [[
128
+ anno::in_group("Texture Transform"),
129
+ anno::display_name("Offset"),
130
+ anno::description("The offset of the UV coordinate origin as a factor of the texture dimensions."),
131
+ anno::enable_if("::tex::texture_isvalid(texture)")
132
+ ]],
133
+ uniform float rotation = 0.0
134
+ [[
135
+ anno::hard_range(0.0, 2.0 * ::math::PI),
136
+ anno::in_group("Texture Transform"),
137
+ anno::display_name("Rotation"),
138
+ anno::description("Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise."),
139
+ anno::enable_if("::tex::texture_isvalid(texture)")
140
+ ]],
141
+ uniform float2 scale = float2(1.0f, 1.0f)
142
+ [[
143
+ anno::in_group("Texture Transform"),
144
+ anno::display_name("Scale"),
145
+ anno::description("The scale factor applied to the components of the UV coordinates."),
146
+ anno::enable_if("::tex::texture_isvalid(texture)")
147
+ ]],
148
+
149
+ uniform gltf_wrapping_mode wrap_s = repeat
150
+ [[
151
+ anno::in_group("Sampler"),
152
+ anno::display_name("Wrap S"),
153
+ anno::description("S (U) wrapping mode."),
154
+ anno::enable_if("::tex::texture_isvalid(texture)")
155
+ ]],
156
+ uniform gltf_wrapping_mode wrap_t = repeat
157
+ [[
158
+ anno::in_group("Sampler"),
159
+ anno::display_name("Wrap T"),
160
+ anno::description("T (V) wrapping mode."),
161
+ anno::enable_if("::tex::texture_isvalid(texture)")
162
+ ]]
163
+ )
164
+ [[
165
+ anno::author("NVIDIA Corporation"),
166
+ anno::display_name("GLTF Texture Lookup"),
167
+ anno::description("Function to read a color or color with alpha channel texture.")
168
+ ]]
169
+ {
170
+ gltf_texture_lookup_value tex_ret;
171
+ if (!tex::texture_isvalid(texture))
172
+ return tex_ret;
173
+
174
+ float3 tex_coord3 = state::texture_coordinate(tex_coord_index);
175
+ float2 tex_coord = khr_texture_transform_apply(
176
+ coord: float2(tex_coord3.x, tex_coord3.y),
177
+ offset: offset,
178
+ rotation: rotation,
179
+ scale: scale);
180
+
181
+ tex_ret.value = tex::lookup_float4(
182
+ tex: texture,
183
+ coord: tex_coord,
184
+ wrap_u: convert_wrap_mode(wrap_s),
185
+ wrap_v: convert_wrap_mode(wrap_t));
186
+ tex_ret.valid = true;
187
+ return tex_ret;
188
+ }
189
+
190
+ export gltf_normal_texture_lookup_value gltf_normal_texture_lookup(
191
+ uniform texture_2d texture = texture_2d()
192
+ [[
193
+ anno::in_group("Source"),
194
+ anno::display_name("Texture"),
195
+ anno::description("Texture File")
196
+ ]],
197
+ uniform float normal_scale_factor = 1.0
198
+ [[
199
+ anno::hard_range(0.0, 1.0),
200
+ anno::in_group("Source"),
201
+ anno::display_name("Normal Scale Factor"),
202
+ anno::description("Strength of the base layer normal mapping."),
203
+ anno::enable_if("::tex::texture_isvalid(texture)")
204
+ ]],
205
+ uniform int tex_coord_index = 0
206
+ [[
207
+ anno::in_group("Source"),
208
+ anno::display_name("Coordinate Set"),
209
+ anno::description("Texture coordinate set (UV-Set). KHR_texture_transform overrides the textureInfo texCoord value if supplied."),
210
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
211
+ ]],
212
+ uniform int tex_tangent_index = 0
213
+ [[
214
+ anno::hidden(),
215
+ anno::in_group("Source"),
216
+ anno::display_name("Coordinate Set"),
217
+ anno::description("Tangent to be to construct the tangent frame."),
218
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
219
+ ]],
220
+
221
+ uniform float2 offset = float2(0.0f, 0.0)
222
+ [[
223
+ anno::in_group("Texture Transform"),
224
+ anno::display_name("Offset"),
225
+ anno::description("The offset of the UV coordinate origin as a factor of the texture dimensions."),
226
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
227
+ ]],
228
+ uniform float rotation = 0.0
229
+ [[
230
+ anno::hard_range(0.0, 2.0 * ::math::PI),
231
+ anno::in_group("Texture Transform"),
232
+ anno::display_name("Rotation"),
233
+ anno::description("Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise."),
234
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
235
+ ]],
236
+ uniform float2 scale = float2(1.0f, 1.0f)
237
+ [[
238
+ anno::in_group("Texture Transform"),
239
+ anno::display_name("Scale"),
240
+ anno::description("The scale factor applied to the components of the UV coordinates."),
241
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
242
+ ]],
243
+
244
+ uniform gltf_wrapping_mode wrap_s = repeat
245
+ [[
246
+ anno::in_group("Sampler"),
247
+ anno::display_name("Wrap S"),
248
+ anno::description("S (U) wrapping mode."),
249
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
250
+ ]],
251
+ uniform gltf_wrapping_mode wrap_t = repeat
252
+ [[
253
+ anno::in_group("Sampler"),
254
+ anno::display_name("Wrap T"),
255
+ anno::description("T (V) wrapping mode."),
256
+ anno::enable_if("::tex::texture_isvalid(texture) && normal_scale_factor>0.0")
257
+ ]]
258
+ )
259
+ [[
260
+ anno::author("NVIDIA Corporation"),
261
+ anno::display_name("GLTF Normal Texture Lookup"),
262
+ anno::description("Function to read a normal texture.")
263
+ ]]
264
+ {
265
+ gltf_normal_texture_lookup_value tex_ret;
266
+ if (!::tex::texture_isvalid(texture))
267
+ return tex_ret;
268
+
269
+ tex_ret.value = base::tangent_space_normal_texture(
270
+ texture: texture,
271
+ factor: normal_scale_factor,
272
+ uvw: base::transform_coordinate(
273
+ transform: base::rotation_translation_scale(
274
+ rotation: float3(0, 0, rotation),
275
+ translation: float3(offset.x, offset.y, 0),
276
+ scaling: float3(scale.x, scale.y, 1)
277
+ ),
278
+ coordinate: base::texture_coordinate_info(
279
+ position: state::texture_coordinate(tex_coord_index),
280
+ tangent_u: state::texture_tangent_u(tex_tangent_index),
281
+ tangent_v: state::texture_tangent_v(tex_tangent_index)
282
+ )
283
+ ),
284
+ wrap_u: convert_wrap_mode(wrap_s),
285
+ wrap_v: convert_wrap_mode(wrap_t));
286
+ tex_ret.valid = true;
287
+ return tex_ret;
288
+ }
289
+
290
+ export material gltf_material(
291
+ // base color
292
+ uniform color base_color_factor = color(1.0)
293
+ [[
294
+ anno::in_group("Metallic Roughness"),
295
+ anno::display_name("Base Color Factor"),
296
+ anno::description("The base color of the material. Multiplied to the 'Base Color Texture' if available.")
297
+ ]],
298
+
299
+ gltf_texture_lookup_value base_color_texture = gltf_texture_lookup()
300
+ [[
301
+ anno::in_group("Metallic Roughness"),
302
+ anno::display_name("Base Color Texture"),
303
+ anno::description("The base color of the material. Influenced by the 'Base Color Factor'.")
304
+ ]],
305
+
306
+ // KHR_materials_specular
307
+ uniform float specular_factor = 1.0
308
+ [[
309
+ anno::hard_range(0.0, 1.0),
310
+ anno::in_group("Specular"),
311
+ anno::display_name("Specular Factor"),
312
+ anno::description("The strength of the specular reflection. Multiplied to the 'Specular Texture' if available.")
313
+ ]],
314
+ gltf_texture_lookup_value specular_texture = gltf_texture_lookup()
315
+ [[
316
+ anno::in_group("Specular"),
317
+ anno::display_name("Specular Texture"),
318
+ anno::description("A texture that defines the strength of the specular reflection, stored in the alpha (A) channel. This will be multiplied by the 'Specular Factor'.")
319
+ ]],
320
+ uniform color specular_color_factor = color(1.0)
321
+ [[
322
+ anno::in_group("Specular"),
323
+ anno::display_name("Specular Color Factor"),
324
+ anno::description("The F0 color of the specular reflection (linear RGB). Multiplied to the 'Specular Color Texture' if available.")
325
+ ]],
326
+ gltf_texture_lookup_value specular_color_texture = gltf_texture_lookup()
327
+ [[
328
+ anno::in_group("Specular"),
329
+ anno::display_name("Specular Color Texture"),
330
+ anno::description("A texture that defines the F0 color of the specular reflection, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by 'Specular Color Factor'.")
331
+ ]],
332
+
333
+ // metallic roughness
334
+ uniform float metallic_factor = 1.0
335
+ [[
336
+ anno::hard_range(0.0, 1.0),
337
+ anno::in_group("Metallic Roughness"),
338
+ anno::display_name("Metallic Factor"),
339
+ anno::description("The metalness of the material. Select between dielectric (0.0) and metallic (1.0). Multiplied to the 'Metal/Rough Texture' value if available.")
340
+ ]],
341
+
342
+ uniform float roughness_factor = 1.0
343
+ [[
344
+ anno::hard_range(0.0, 1.0),
345
+ anno::in_group("Metallic Roughness"),
346
+ anno::display_name("Roughness Factor"),
347
+ anno::description("The roughness of the material. Select between very glossy (0.0) and dull (1.0). Multiplied to the 'Metal/Rough Texture' value if available.")
348
+ ]],
349
+ gltf_texture_lookup_value metallic_roughness_texture = gltf_texture_lookup()
350
+ [[
351
+ anno::in_group("Metallic Roughness"),
352
+ anno::display_name("Metal/Rough Texture"),
353
+ anno::description("Metallic in the red or blue component and roughness in the green component. Influenced by the 'Metallic Factor' and 'Roughness Factor'."),
354
+ anno::enable_if("metallic_factor>0.0 || roughness_factor>0.0")
355
+ ]],
356
+
357
+ // KHR_materials_anisotropy
358
+ uniform float anisotropy_strength = 0.0
359
+ [[
360
+ anno::hard_range(0.0, 1.0),
361
+ anno::in_group("Anisotropy"),
362
+ anno::display_name("Anisotropy Strength"),
363
+ anno::description("The anisotropy strength. When the anisotropy texture is present, this value is multiplied by the texture's blue channel.")
364
+ ]],
365
+ uniform float anisotropy_rotation = 0.0
366
+ [[
367
+ anno::hard_range(0.0, 2.0 * ::math::PI),
368
+ anno::in_group("Anisotropy"),
369
+ anno::display_name("Anisotropy Rotation"),
370
+ anno::description("The rotation of the anisotropy in tangent, bitangent space, measured in radians counter-clockwise from the tangent. When the anisotropy texture is present, this value provides additional rotation to the vectors in the texture.")
371
+ ]],
372
+ gltf_texture_lookup_value anisotropy_texture = gltf_texture_lookup()
373
+ [[
374
+ anno::in_group("Anisotropy"),
375
+ anno::display_name("Anisotropy Texture"),
376
+ anno::description("The anisotropy texture. Red and green channels represent the anisotropy direction in [− 1, 1] tangent, bitangent space to be rotated by the anisotropy rotation. The blue channel contains strength as [0, 1] to be multiplied by the anisotropy strength.")
377
+ ]],
378
+
379
+ // KHR_materials_ior
380
+ uniform float ior = 1.5
381
+ [[
382
+ anno::hard_range(1.0, 5.0),
383
+ anno::in_group("Metallic Roughness"),
384
+ anno::display_name("IOR"),
385
+ anno::description("The index of refraction.")
386
+ ]],
387
+
388
+ // normal map
389
+ gltf_normal_texture_lookup_value normal_texture = gltf_normal_texture_lookup()
390
+ [[
391
+ anno::in_group("Normal Mapping"),
392
+ anno::display_name("Normal Texture"),
393
+ anno::description("Base layer normal map.")
394
+ ]],
395
+
396
+ // KHR_materials_transmission
397
+ uniform float transmission_factor = 0.0
398
+ [[
399
+ anno::hard_range(0.0, 1.0),
400
+ anno::in_group("Transmission"),
401
+ anno::display_name("Transmission Factor"),
402
+ anno::description("The base percentage of light that is transmitted through the surface. Multiplied to the 'Transmission Texture' if available.")
403
+ ]],
404
+ gltf_texture_lookup_value transmission_texture = gltf_texture_lookup()
405
+ [[
406
+ anno::in_group("Transmission"),
407
+ anno::display_name("Transmission Texture"),
408
+ anno::description("A texture that defines the transmission percentage of the surface, stored in the R channel. Influenced by the 'Transmission Factor'."),
409
+ anno::enable_if("transmission_factor>0")
410
+ ]],
411
+
412
+ // KHR_materials_sheen
413
+ uniform color sheen_color_factor = color(0.0)
414
+ [[
415
+ anno::in_group("Sheen"),
416
+ anno::display_name("Sheen Color Factor"),
417
+ anno::description("The sheen color in linear space. Multiplied to the 'Sheen Color Texture' if available.")
418
+ ]],
419
+ gltf_texture_lookup_value sheen_color_texture = gltf_texture_lookup()
420
+ [[
421
+ anno::in_group("Sheen"),
422
+ anno::display_name("Sheen Color Texture"),
423
+ anno::description("The sheen color (RGB). The sheen color is in sRGB transfer function. Influenced by the 'Sheen Color Factor'.")
424
+ ]],
425
+ uniform float sheen_roughness_factor = 0.0
426
+ [[
427
+ anno::hard_range(0.0, 1.0),
428
+ anno::in_group("Sheen"),
429
+ anno::display_name("Sheen Roughness Factor"),
430
+ anno::description("The sheen roughness. Multiplied to the 'Sheen Roughness Texture' if available.")
431
+ ]],
432
+ gltf_texture_lookup_value sheen_roughness_texture = gltf_texture_lookup()
433
+ [[
434
+ anno::in_group("Sheen"),
435
+ anno::display_name("Sheen Roughness Texture"),
436
+ anno::description("The sheen roughness (Alpha) texture. Influenced by the 'Sheen Roughness Factor'.")
437
+ ]],
438
+
439
+ // KHR_materials_clearcoat
440
+ uniform float clearcoat_factor = 0.0
441
+ [[
442
+ anno::hard_range(0.0, 1.0),
443
+ anno::in_group("Clearcoat"),
444
+ anno::display_name("Clearcoat Factor"),
445
+ anno::description("Strength of the clearcoat. Multiplied to the 'Clearcoat Texture' if available.")
446
+ ]],
447
+ gltf_texture_lookup_value clearcoat_texture = gltf_texture_lookup()
448
+ [[
449
+ anno::in_group("Clearcoat"),
450
+ anno::display_name("Clearcoat Texture"),
451
+ anno::description("Strength of the clearcoat. Influenced by the 'Clearcoat Factor'."),
452
+ anno::enable_if("clearcoat_factor>0")
453
+ ]],
454
+ uniform float clearcoat_roughness_factor = 0.0
455
+ [[
456
+ anno::hard_range(0.0, 1.0),
457
+ anno::in_group("Clearcoat"),
458
+ anno::display_name("Clearcoat Roughness Factor"),
459
+ anno::description("The clearcoat layer roughness. Multiplied to the 'Clearcoat Roughness Texture' if available."),
460
+ anno::enable_if("clearcoat_factor>0.0")
461
+ ]],
462
+ gltf_texture_lookup_value clearcoat_roughness_texture = gltf_texture_lookup()
463
+ [[
464
+ anno::in_group("Clearcoat"),
465
+ anno::display_name("Clearcoat Roughness Texture"),
466
+ anno::description("The clearcoat layer roughness texture. Influenced by the 'Clearcoat Roughness Texture'."),
467
+ anno::enable_if("clearcoat_factor>0.0 && clearcoat_roughness_factor>0.0")
468
+ ]],
469
+ gltf_normal_texture_lookup_value clearcoat_normal_texture = gltf_normal_texture_lookup()
470
+ [[
471
+ anno::in_group("Clearcoat"),
472
+ anno::display_name("Clearcoat Normal"),
473
+ anno::description("The clearcoat normal map texture."),
474
+ anno::enable_if("clearcoat_factor>0.0")
475
+ ]],
476
+
477
+ // KHR_materials_iridescence
478
+ uniform float iridescence_factor = 0.0
479
+ [[
480
+ anno::hard_range(0.0, 1.0),
481
+ anno::in_group("Iridescence"),
482
+ anno::display_name("Iridescence Factor"),
483
+ anno::description("Strength of the iridescence. Multiplied to the 'Iridescence Texture' if available.")
484
+ ]],
485
+ gltf_texture_lookup_value iridescence_texture = gltf_texture_lookup()
486
+ [[
487
+ anno::in_group("Iridescence"),
488
+ anno::display_name("Iridescence Texture"),
489
+ anno::description("Strength of the iridescence. Uses only the red channel, assuming linear space. Influenced by the 'Iridescence Factor'."),
490
+ anno::enable_if("iridescence_factor>0")
491
+ ]],
492
+ uniform float iridescence_ior = 1.3
493
+ [[
494
+ anno::soft_range(1.0, 5.0),
495
+ anno::in_group("Iridescence"),
496
+ anno::display_name("Iridescence IOR"),
497
+ anno::description("The index of refraction of the dielectric thin-film layer.")
498
+ ]],
499
+ uniform float iridescence_thickness_minimum = 100
500
+ [[
501
+ anno::soft_range(0.0, 600.0),
502
+ anno::in_group("Iridescence"),
503
+ anno::display_name("Iridescence Thickness Minimum"),
504
+ anno::description("The minimum thickness of the thin-film layer given in nanometers.")
505
+ ]],
506
+ uniform float iridescence_thickness_maximum = 400
507
+ [[
508
+ anno::soft_range(0.0, 1000.0),
509
+ anno::in_group("Iridescence"),
510
+ anno::display_name("Iridescence Thickness Maximum"),
511
+ anno::description("The maximum thickness of the thin-film layer given in nanometers. Used as thickness if no 'Iridescence Thickness Texture' if available.")
512
+ ]],
513
+ gltf_texture_lookup_value iridescence_thickness_texture = gltf_texture_lookup()
514
+ [[
515
+ anno::in_group("Iridescence"),
516
+ anno::display_name("Iridescence Thickness Texture"),
517
+ anno::description("The thickness texture of the thin-film layer. Uses only the red channel, assuming linear space. Used to blend between 'Iridescence Thickness Minimum' and 'Iridescence Thickness Maximum'."),
518
+ anno::enable_if("iridescence_factor>0")
519
+ ]],
520
+
521
+ // emission
522
+ uniform color emissive_factor = color(0.0)
523
+ [[
524
+ anno::in_group("Emission"),
525
+ anno::display_name("Emissive Factor"),
526
+ anno::description("The emissive color of the material. Multiplied to the 'Emissive Texture' if available.")
527
+ ]],
528
+ gltf_texture_lookup_value emissive_texture = gltf_texture_lookup()
529
+ [[
530
+ anno::in_group("Emission"),
531
+ anno::display_name("Emissive Texture"),
532
+ anno::description("The emissive map texture. Influenced by the 'Emissive Factor'."),
533
+ anno::enable_if("::math::average(emissive_factor)>0.0")
534
+ ]],
535
+ // KHR_materials_emissive_strength
536
+ uniform float emissive_strength = 1.0
537
+ [[
538
+ anno::soft_range(0.0, 10000),
539
+ anno::in_group("Emission"),
540
+ anno::display_name("Emissive Strength"),
541
+ anno::description("The maximum strength of the emissive texture. Multiplied to the 'Emissive Factor'."),
542
+ anno::enable_if("::math::average(emissive_factor)>0.0")
543
+ ]],
544
+
545
+ // KHR_materials_volume
546
+ uniform bool thin_walled = true
547
+ [[
548
+ anno::in_group("Volume"),
549
+ anno::display_name("Thin-walled"),
550
+ anno::description("If true the material is thin-walled. Otherwise the material is a volume boundary. The doubleSided property has no effect on volume boundaries. Note, the thickness parameters are ignored since ray-tracing is used to compute the traveled distance within the volume.")
551
+ ]],
552
+ uniform float attenuation_distance = 0.0
553
+ [[
554
+ anno::soft_range(0.0, ::limits::FLOAT_MAX),
555
+ anno::in_group("Volume"),
556
+ anno::display_name("Attenuation Distance"),
557
+ anno::description("Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space. A value 0.0 disables it")
558
+ ]],
559
+ uniform color attenuation_color = color(1.0)
560
+ [[
561
+ anno::in_group("Volume"),
562
+ anno::display_name("Attenuation Color"),
563
+ anno::description("The color that white light turns into due to absorption when reaching the attenuation distance.")
564
+ ]],
565
+
566
+ // ambient occlusion
567
+ gltf_texture_lookup_value occlusion_texture = gltf_texture_lookup()
568
+ [[
569
+ anno::in_group("Occlusion"),
570
+ anno::display_name("Occlusion Texture"),
571
+ anno::description("The occlusion map texture. Influenced by the 'Occlusion Strength'.")
572
+ ]],
573
+ uniform float occlusion_strength = 1.0
574
+ [[
575
+ anno::hard_range(0.0, 1.0),
576
+ anno::in_group("Occlusion"),
577
+ anno::display_name("Occlusion Strength"),
578
+ anno::description("A scalar multiplier controlling the amount of occlusion applied. Multiplied to the 'Occlusion Texture'.")
579
+ ]],
580
+
581
+ // alpha
582
+ uniform gltf_alpha_mode alpha_mode = opaque
583
+ [[
584
+ anno::in_group("Opacity"),
585
+ anno::display_name("Alpha Mode"),
586
+ anno::description("Select how to interpret the alpha value.")
587
+ ]],
588
+ uniform float base_alpha = 1.0
589
+ [[
590
+ anno::hard_range(0.0, 1.0),
591
+ anno::in_group("Opacity"),
592
+ anno::display_name("Base Alpha"),
593
+ anno::description("Select between transparent (0.0) and opaque (1.0). Multiplied to the base color texture alpha channel if available."),
594
+ anno::enable_if("alpha_mode!=opaque")
595
+ ]],
596
+ // alpha for gltf_alpha_mode::mask
597
+ uniform float alpha_cutoff = 0.5
598
+ [[
599
+ anno::hard_range(0.0, 1.0),
600
+ anno::in_group("Opacity"),
601
+ anno::display_name("Alpha Cutoff"),
602
+ anno::description("Threshold to decide between fully transparent and fully opaque when alpha mode is 'mask'."),
603
+ anno::enable_if("alpha_mode==mask")
604
+ ]],
605
+
606
+ uniform string vertex_color_name = string("displayColor")
607
+ [[
608
+ anno::in_group("Primvar"),
609
+ anno::display_name("Vertex Color Name"),
610
+ anno::description("Name of the vertex color primvar usually COLOR_0(gltf), or displayColor(usd)")
611
+ ]],
612
+
613
+ uniform bool use_vertex_color_alpha = false
614
+ [[
615
+ anno::in_group("Primvar"),
616
+ anno::display_name("Use Opacity Channel From Vertex Color"),
617
+ anno::description("Multipy the Alpha or .w channel from the vertex color with the base alpha value.")
618
+ ]],
619
+
620
+ uniform string vertex_opacity_name = string("displayOpacity")
621
+ [[
622
+ anno::in_group("Primvar"),
623
+ anno::display_name("Vertex Opacity Name"),
624
+ anno::description("Name of the vertex opacity primvar usually the fourth component of COLOR_0(gltf), or displayOpacity(usd)")
625
+ ]]
626
+
627
+ ) [[
628
+ anno::author("NVIDIA Corporation"),
629
+ anno::display_name("GLTF Material - Metallic-Roughness"),
630
+ anno::description("Metallic-Roughness Material that takes the GLTF PBR model and KHR extension parameters as input.")
631
+ ]] = let {
632
+
633
+ // handling GLTF parameters
634
+ // ------------------------------------------------------------------------
635
+
636
+ float4 base_float4 = gltf_prepare_tex_float4(base_color_texture) * ::scene::data_lookup_float4(vertex_color_name, float4(1.0)); // apply vertex color
637
+ color base_color = base_color_factor * color(base_float4.x, base_float4.y, base_float4.z);
638
+
639
+ float alpha = base_alpha * (use_vertex_color_alpha == 1 ? base_float4.w : 1.0) * ((vertex_color_name != vertex_opacity_name) ? ::scene::data_lookup_float(vertex_opacity_name, float(1.0)) : 1.0);
640
+
641
+ float3 metallic_roughness = gltf_prepare_tex_float3(metallic_roughness_texture);
642
+ float metallic = metallic_factor * metallic_roughness.z;
643
+ float roughness = roughness_factor * metallic_roughness.y;
644
+
645
+ float3 normal = gltf_prepare_normal(normal_texture);
646
+ float occlusion = gltf_prepare_occlusion(occlusion_texture, occlusion_strength);
647
+ color emissive_color = gltf_perpare_emission(emissive_texture, emissive_factor * math::max(0.0f, emissive_strength));
648
+
649
+ // KHR_materials_specular
650
+ // ------------------------------------------------------------------------
651
+ color specular_color = color(gltf_prepare_tex_float3(specular_color_texture)) * specular_color_factor;
652
+ float specular = gltf_prepare_tex_float4(specular_texture).w * specular_factor;
653
+
654
+ // KHR_materials_transmission
655
+ // ------------------------------------------------------------------------
656
+ float transmission = gltf_prepare_tex_float4(transmission_texture).x * transmission_factor;
657
+
658
+ // KHR_materials_sheen
659
+ // ------------------------------------------------------------------------
660
+ color sheen_color = color(gltf_prepare_tex_float3(sheen_color_texture)) * sheen_color_factor;
661
+ float sheen_roughness = gltf_prepare_tex_float4(sheen_roughness_texture).w * sheen_roughness_factor;
662
+
663
+ // KHR_materials_clearcoat
664
+ // ------------------------------------------------------------------------
665
+ float clearcoat_blend = gltf_prepare_tex_float3(clearcoat_texture).x * clearcoat_factor;
666
+ float clearcoat_roughness = gltf_prepare_tex_float3(clearcoat_roughness_texture).y * clearcoat_roughness_factor;
667
+ float clearcoat_roughness2 = clearcoat_roughness * clearcoat_roughness;
668
+ float3 clearcoat_normal = gltf_prepare_normal(clearcoat_normal_texture);
669
+ float grazing_refl_coat = math::max((1.0 - clearcoat_roughness), 0.0);
670
+
671
+ // KHR_materials_iridescence
672
+ // ------------------------------------------------------------------------
673
+ float iridescence_strength = gltf_prepare_tex_float3(iridescence_texture).x * iridescence_factor;
674
+ float iridescence_thickness = math::lerp(iridescence_thickness_minimum, iridescence_thickness_maximum, gltf_prepare_tex_float3(iridescence_thickness_texture).x);
675
+
676
+ // KHR_materials_anisotropy
677
+ // ------------------------------------------------------------------------
678
+ float3 anisotropy_tex = gltf_prepare_tex_float3(anisotropy_texture, float3(1.0, 0.5, 1.0));
679
+ float2 anisotropy_tex_dir = float2(anisotropy_tex.x * 2.0 - 1.0, anisotropy_tex.y * 2.0 - 1.0);
680
+ float2 anisotropy_rot = float2(math::cos(anisotropy_rotation), math::sin(anisotropy_rotation));
681
+ float2 anisotropy_dir = float2x2(anisotropy_rot.x, anisotropy_rot.y, -anisotropy_rot.y, anisotropy_rot.x) * math::normalize(anisotropy_tex_dir);
682
+ float3 anisotropy_tangent_u = state::texture_tangent_u(0) * anisotropy_dir.x + state::texture_tangent_v(0) * anisotropy_dir.y;
683
+ float anisotropy = anisotropy_strength * anisotropy_tex.z;
684
+
685
+ // metallic roughness model
686
+ // ------------------------------------------------------------------------
687
+
688
+ // compute final roughness by squaring the "roughness" parameter
689
+ float roughness2 = roughness * roughness;
690
+
691
+ float anisotropy_roughness_u = math::lerp(roughness2, 1.0, anisotropy * anisotropy);
692
+ float anisotropy_roughness_v = roughness2;
693
+
694
+ // reduce the reflectivity at grazing angles to avoid "dark edges"
695
+ // for high roughness due to the layering
696
+ float grazing_refl = math::max((1.0 - roughness), 0.0);
697
+
698
+ // fresnel term based on ior
699
+ float f0 = math::pow((ior - 1.0)/(ior + 1.0), 2.0);
700
+
701
+ // for the dielectric component we layer the glossy component on top of the diffuse one,
702
+ // the glossy layer has no color tint
703
+ bsdf dielectric_component = df::color_custom_curve_layer(
704
+ weight: color(1.0), // roughness is used to weight between diffuse and glossy
705
+ normal_reflectivity: math::min(f0 * specular_color, color(1.0)) * specular,
706
+ grazing_reflectivity: color(grazing_refl * specular),
707
+ layer: df::microfacet_ggx_vcavities_bsdf(
708
+ roughness_u: anisotropy_roughness_u,
709
+ roughness_v: anisotropy_roughness_v,
710
+ tangent_u: anisotropy_tangent_u),
711
+ base: df::weighted_layer(
712
+ weight: transmission,
713
+ base: df::diffuse_reflection_bsdf(tint: base_color * occlusion),
714
+ layer: df::microfacet_ggx_vcavities_bsdf(
715
+ roughness_u: roughness2,
716
+ tint: base_color * occlusion,
717
+ mode: df::scatter_transmit)),
718
+ normal: normal
719
+ );
720
+
721
+ // apply iridescence and make the strength adjustable using a weighted layer
722
+ bsdf dielectric_component_with_thin_film = df::weighted_layer(
723
+ weight: iridescence_strength,
724
+ base: dielectric_component,
725
+ layer: df::thin_film(
726
+ thickness: iridescence_thickness,
727
+ ior: color(iridescence_ior),
728
+ base: dielectric_component
729
+ )
730
+ );
731
+
732
+ // the metallic component doesn't have a diffuse component,
733
+ // its only glossy base_color is applied to tint it
734
+ bsdf metallic_component = df::microfacet_ggx_vcavities_bsdf(
735
+ tint: base_color * occlusion,
736
+ roughness_u: anisotropy_roughness_u,
737
+ roughness_v: anisotropy_roughness_v,
738
+ tangent_u: anisotropy_tangent_u);
739
+
740
+ // apply iridescence and make the strength adjustable using a weighted layer
741
+ // according to KHR_materials_iridescence spec: using dielectric thin film fresnel for metals, too
742
+ color base_color_sqrt = math::min(math::sqrt(math::saturate(base_color * occlusion)), color(0.99f));
743
+ color dielectric_ior = (color(1.0f) + base_color_sqrt) / (color(1.0f) - base_color_sqrt);
744
+ bsdf metallic_component_with_thin_film = df::weighted_layer(
745
+ weight: iridescence_strength,
746
+ base: metallic_component,
747
+ layer: df::thin_film(
748
+ thickness: iridescence_thickness,
749
+ ior: color(iridescence_ior),
750
+ base: df::fresnel_factor(
751
+ ior: dielectric_ior,
752
+ extinction_coefficient: color(0.0f),
753
+ base: df::microfacet_ggx_vcavities_bsdf(roughness_u: roughness2))
754
+ )
755
+ );
756
+
757
+ // apply sheen to the dielectric component
758
+ // add the sheen_color as weight in an outer layer to be able to blend and disable on default
759
+ // otherwise, sheen would be applied and tinted black
760
+ bsdf dielectric_sheen_component = df::color_weighted_layer(
761
+ weight: sheen_color,
762
+ layer: df::sheen_bsdf(
763
+ roughness: sheen_roughness * sheen_roughness,
764
+ tint: color(1.0),
765
+ multiscatter_tint: color(1.0),
766
+ multiscatter: dielectric_component // don't apply thin_film
767
+ ),
768
+ base: dielectric_component_with_thin_film);
769
+
770
+ // final BSDF is a linear blend between dielectric and metallic component
771
+ bsdf dielectric_metal_mix = df::weighted_layer(
772
+ weight: metallic,
773
+ base: dielectric_sheen_component,
774
+ layer: metallic_component_with_thin_film,
775
+ normal: normal);
776
+
777
+ bsdf clearcoated = df::custom_curve_layer(
778
+ weight: clearcoat_blend,
779
+ normal_reflectivity: 0.04,
780
+ grazing_reflectivity: grazing_refl_coat,
781
+ layer: df::microfacet_ggx_vcavities_bsdf(
782
+ mode: df::scatter_reflect,
783
+ roughness_u: clearcoat_roughness2,
784
+ tint: color(1.0)),
785
+ base: df::weighted_layer(
786
+ weight: 1.0,
787
+ layer: dielectric_metal_mix,
788
+ normal: normal),
789
+ normal: clearcoat_normal);
790
+
791
+ } in material(
792
+ thin_walled: thin_walled,
793
+ surface: material_surface(
794
+ scattering: clearcoated,
795
+ emission: material_emission (
796
+ emission: df::diffuse_edf(),
797
+ intensity: emissive_color * ::math::PI
798
+ )
799
+ ),
800
+ volume: material_volume(
801
+ absorption_coefficient: thin_walled ? color(0.0) : (attenuation_distance == 0) ? color(0.0) : -math::log(attenuation_color) / attenuation_distance
802
+ ),
803
+ ior: color(ior),
804
+ geometry: material_geometry(
805
+ cutout_opacity: compute_opacity(alpha_mode, alpha, alpha_cutoff)
806
+ )
807
+ );
808
+
809
+
810
+ export material gltf_material_khr_specular_glossiness(
811
+ // diffuse color
812
+ uniform color diffuse_factor = color(1.0)
813
+ [[
814
+ anno::in_group("PBR Specular Glossiness"),
815
+ anno::display_name("Diffuse Factor"),
816
+ anno::description("The diffuse color of the material. Multiplied to the 'Diffuse Texture' if available.")
817
+ ]],
818
+ gltf_texture_lookup_value diffuse_texture = gltf_texture_lookup()
819
+ [[
820
+ anno::in_group("PBR Specular Glossiness"),
821
+ anno::display_name("Diffuse Texture"),
822
+ anno::description("The diffuse color of the material. Influenced by the 'Diffuse Factor'.")
823
+ ]],
824
+
825
+ // specular glossiness
826
+ uniform color specular_factor = 1.0
827
+ [[
828
+ anno::in_group("PBR Specular Glossiness"),
829
+ anno::display_name("Specular Factor"),
830
+ anno::description("The specular color of the material. Multiplied to the rgb values of the 'Specular/Glossy Texture' if available.")
831
+ ]],
832
+ uniform float glossiness_factor = 1.0
833
+ [[
834
+ anno::hard_range(0.0, 1.0),
835
+ anno::in_group("PBR Specular Glossiness"),
836
+ anno::display_name("Glossiness Factor"),
837
+ anno::description("The glossiness of the material. Select between diffuse (0.0) and nearly specular (1.0). Multiplied to the alpha value of the 'Specular/Glossy Texture' if available.")
838
+ ]],
839
+ gltf_texture_lookup_value specular_glossiness_texture = gltf_texture_lookup()
840
+ [[
841
+ anno::in_group("PBR Specular Glossiness"),
842
+ anno::display_name("Specular/Glossy Texture"),
843
+ anno::description("The specular-glossiness texture. Influenced by the 'Specular Factor' and 'Glossiness Factor'.")
844
+ ]],
845
+
846
+ // normal map
847
+ gltf_normal_texture_lookup_value normal_texture = gltf_normal_texture_lookup()
848
+ [[
849
+ anno::in_group("Normal Mapping"),
850
+ anno::display_name("Normal Texture"),
851
+ anno::description("Base layer normal map.")
852
+ ]],
853
+
854
+ // emission
855
+ uniform color emissive_factor = color(0.0)
856
+ [[
857
+ anno::in_group("Emission"),
858
+ anno::display_name("Emissive Factor"),
859
+ anno::description("The emissive color of the material. Multiplied to the 'Emissive Texture' if available.")
860
+ ]],
861
+ gltf_texture_lookup_value emissive_texture = gltf_texture_lookup()
862
+ [[
863
+ anno::in_group("Emission"),
864
+ anno::display_name("Emissive Texture"),
865
+ anno::description("The emissive map texture. Influenced by the 'Emissive Factor'."),
866
+ anno::enable_if("::math::average(emissive_factor)>0.0")
867
+ ]],
868
+ // KHR_materials_emissive_strength
869
+ uniform float emissive_strength = 1.0
870
+ [[
871
+ anno::soft_range(0.0, 10000),
872
+ anno::in_group("Emission"),
873
+ anno::display_name("Emissive Strength"),
874
+ anno::description("The maximum strength of the emissive texture. Multiplied to the 'Emissive Factor'."),
875
+ anno::enable_if("::math::average(emissive_factor)>0.0")
876
+ ]],
877
+
878
+ // ambient occlusion
879
+ gltf_texture_lookup_value occlusion_texture = gltf_texture_lookup()
880
+ [[
881
+ anno::in_group("Occlusion"),
882
+ anno::display_name("Occlusion Texture"),
883
+ anno::description("The occlusion map texture. Influenced by the 'Occlusion Strength'.")
884
+ ]],
885
+ uniform float occlusion_strength = 1.0
886
+ [[
887
+ anno::hard_range(0.0, 1.0),
888
+ anno::in_group("Occlusion"),
889
+ anno::display_name("Occlusion Strength"),
890
+ anno::description("A scalar multiplier controlling the amount of occlusion applied. Multiplied to the 'Occlusion Texture'.")
891
+ ]],
892
+
893
+ // alpha
894
+ uniform gltf_alpha_mode alpha_mode = opaque
895
+ [[
896
+ anno::in_group("Opacity"),
897
+ anno::display_name("Alpha Mode"),
898
+ anno::description("Select how to interpret the alpha value.")
899
+ ]],
900
+ uniform float base_alpha = 1.0
901
+ [[
902
+ anno::hard_range(0.0, 1.0),
903
+ anno::in_group("Opacity"),
904
+ anno::display_name("Base Alpha"),
905
+ anno::description("Select between transparent (0.0) and opaque (1.0). Multiplied to the base color texture alpha channel if available."),
906
+ anno::enable_if("alpha_mode!=opaque")
907
+ ]],
908
+
909
+ // alpha for gltf_alpha_mode::mask
910
+ uniform float alpha_cutoff = 0.5
911
+ [[
912
+ anno::hard_range(0.0, 1.0),
913
+ anno::in_group("Opacity"),
914
+ anno::display_name("Alpha Cutoff"),
915
+ anno::description("Threshold to decide between fully transparent and fully opaque when alpha mode is 'mask'."),
916
+ anno::enable_if("alpha_mode==mask")
917
+ ]],
918
+
919
+ uniform string vertex_color_name_spec = string("displayColor")
920
+ [[
921
+ anno::in_group("Primvar"),
922
+ anno::display_name("Vertex Color Name"),
923
+ anno::description("Name of the vertex color primvar usually COLOR_0 'gltf', or displayColor 'usd'.")
924
+ ]],
925
+
926
+ uniform bool use_vertex_color_alpha_spec = false
927
+ [[
928
+ anno::in_group("Primvar"),
929
+ anno::display_name("Use Opacity Channel From Vertex Color"),
930
+ anno::description("Multiply the Alpha or .w channel from the vertex color with the base alpha value.")
931
+ ]],
932
+
933
+ uniform string vertex_opacity_name_spec = string("displayOpacity")
934
+ [[
935
+ anno::in_group("Primvar"),
936
+ anno::display_name("Vertex Opacity Name"),
937
+ anno::description("Name of the vertex color primvar usually the .w component of COLOR_0 'gltf', or displayOpacity 'usd'.")
938
+ ]]
939
+
940
+ ) [[
941
+ anno::author("NVIDIA Corporation"),
942
+ anno::display_name("GLTF Material - Specular-Glossiness"),
943
+ anno::description("Specular-Glossiness Material that takes the GLTF KHR extension parameters as input.")
944
+ ]] = let {
945
+
946
+ // handling GLTF parameters
947
+ // ------------------------------------------------------------------------
948
+ float4 diffuse_float4 = gltf_prepare_tex_float4(diffuse_texture) * ::scene::data_lookup_float4(vertex_color_name_spec, float4(1.0)); // apply vertex color
949
+ color diffuse = diffuse_factor * color(diffuse_float4.x, diffuse_float4.y, diffuse_float4.z);
950
+
951
+ float alpha = base_alpha * (use_vertex_color_alpha_spec == 1 ? diffuse_float4.w : 1.0) * ((vertex_color_name_spec != vertex_opacity_name_spec) ? ::scene::data_lookup_float(vertex_opacity_name_spec, float(1.0)) : 1.0);
952
+ //float alpha = base_alpha;
953
+ float4 specular_glossiness = gltf_prepare_tex_float4(specular_glossiness_texture);
954
+ color specular = specular_factor * color(specular_glossiness.x, specular_glossiness.y, specular_glossiness.z);
955
+ float glossiness = glossiness_factor * specular_glossiness.w;
956
+
957
+ float3 normal = gltf_prepare_normal(normal_texture);
958
+ float occlusion = gltf_prepare_occlusion(occlusion_texture, occlusion_strength);
959
+ color emissive_color = gltf_perpare_emission(emissive_texture, emissive_factor * math::max(0.0f, emissive_strength));
960
+
961
+ // specular glossiness model
962
+ // ------------------------------------------------------------------------
963
+
964
+ //color c_diff = diffuse * (1.0 - math::maxvalue(specular));
965
+ float F_0 = math::max_value(specular);
966
+ color F_0_tint = F_0==0.0? color(0.0) : (specular/F_0);
967
+
968
+ float a = (1.0 - glossiness) * (1.0 - glossiness);
969
+
970
+ // diffuse BRDF
971
+ bsdf diffuse_brdf = df::diffuse_reflection_bsdf(
972
+ tint: diffuse * occlusion,
973
+ roughness: 0.0);
974
+
975
+ // specular BRDF
976
+ bsdf specular_brdf = df::microfacet_ggx_smith_bsdf(
977
+ tint: color(occlusion),
978
+ roughness_u: a,
979
+ roughness_v: a,
980
+ tangent_u: state::texture_tangent_u(0));
981
+ bsdf tinted_specular = df::directional_factor(normal_tint: F_0_tint, grazing_tint: color(1.0), exponent: 5.0, base: specular_brdf);
982
+ //- Custom curve for specular/diffuse angular mix
983
+ bsdf diffuse_specular_mix = df::custom_curve_layer(
984
+ normal_reflectivity: F_0,
985
+ grazing_reflectivity: 1.0,
986
+ exponent: 5.0,
987
+ weight: 1.0,
988
+ layer: tinted_specular,
989
+ base: diffuse_brdf,
990
+ normal: normal);
991
+
992
+ } in material(
993
+ surface: material_surface(
994
+ scattering: diffuse_specular_mix,
995
+ emission: material_emission (
996
+ emission: df::diffuse_edf(),
997
+ intensity: emissive_color * ::math::PI
998
+ )
999
+ ),
1000
+ geometry: material_geometry(
1001
+ normal: normal,
1002
+ cutout_opacity: compute_opacity(alpha_mode, alpha, alpha_cutoff)
1003
+ )
1004
+ );
standardbots_core/core/meshes/visual/shoulder_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80d917007828570a321d465cbdd76f2a47d5782d44b2bbfda79650dec1e7d16e
3
+ size 4513658
standardbots_core/core/meshes/visual/textures/Base_texture0.png ADDED

Git LFS Details

  • SHA256: 10fa25aef51208ad2679296289d4a11142395dc0ef3a14a04a92a0b277ec72a4
  • Pointer size: 129 Bytes
  • Size of remote file: 4.96 kB
standardbots_core/core/meshes/visual/textures/Base_texture1.png ADDED

Git LFS Details

  • SHA256: b9e374cf0c3e88f0f8fe9a596f75d4d0b98860754da1666eb5069337dc6dde8f
  • Pointer size: 129 Bytes
  • Size of remote file: 5.17 kB
standardbots_core/core/meshes/visual/textures/J0_texture0.png ADDED

Git LFS Details

  • SHA256: 52a432b1531b44d466d783f8ccd780405141273624c75f19d086f143883b8f3f
  • Pointer size: 129 Bytes
  • Size of remote file: 5.04 kB
standardbots_core/core/meshes/visual/textures/J0_texture1.png ADDED

Git LFS Details

  • SHA256: 8867d379eb02ad4658cbd94e6fad51dcae6ef4942e2e65a45074850d7fb30ecd
  • Pointer size: 129 Bytes
  • Size of remote file: 5.31 kB
standardbots_core/core/meshes/visual/textures/J1-J2_texture0.png ADDED

Git LFS Details

  • SHA256: 3799ed538d9c6c9bf3d4d198e12500874c90a412210f956e92a89e9eedde9afa
  • Pointer size: 129 Bytes
  • Size of remote file: 1.9 kB
standardbots_core/core/meshes/visual/textures/J1-J2_texture1.png ADDED

Git LFS Details

  • SHA256: 33cfc14e8f9d540d67d1fbd413c1a90e55ed5d20beb6e67378a91d0b35a21196
  • Pointer size: 129 Bytes
  • Size of remote file: 1.9 kB
standardbots_core/core/meshes/visual/textures/J4_texture0.png ADDED

Git LFS Details

  • SHA256: 5a53f653698f7e500b0600f5788ed331934005b011785dc4a4e6f95258bbeb60
  • Pointer size: 128 Bytes
  • Size of remote file: 690 Bytes
standardbots_core/core/meshes/visual/textures/J5_texture0.png ADDED

Git LFS Details

  • SHA256: 230272ebdcda0ffd6c4d858744c7f12a79b753d80203c1aa06bc4caf6d1efc35
  • Pointer size: 128 Bytes
  • Size of remote file: 707 Bytes
standardbots_core/core/meshes/visual/textures/WL-J3_texture0.png ADDED

Git LFS Details

  • SHA256: 7ecb62c5c3c582447f020f31582e9022ac67a1e6334315fcd9fc23c2a23a9a0c
  • Pointer size: 129 Bytes
  • Size of remote file: 3.57 kB
standardbots_core/core/meshes/visual/textures/WL-J3_texture1.png ADDED

Git LFS Details

  • SHA256: 69f2a1eb8e92e808b5f40b41eb3c02d85e5b39928ba16ca640a117788c7cec2c
  • Pointer size: 129 Bytes
  • Size of remote file: 3.57 kB
standardbots_core/core/meshes/visual/upper_arm_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1635159c18803118f24158dd217b135a03d9f6f568d873b66789782e1adb2ac
3
+ size 9721038
standardbots_core/core/meshes/visual/wrist_1_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e34d5ba68994cb4bfdab3ee430a860eab910c1a3b303ffa037bcb8125a3bc1ad
3
+ size 3696327
standardbots_core/core/meshes/visual/wrist_2_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d135c5742a7d8640bba640f8ff00a8894966dd3a6a02b10dca46ede14c2968
3
+ size 3707739
standardbots_core/core/meshes/visual/wrist_3_link.usd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7778882c12aff064fc05df84fffade50e4401ef1c882d86aba8ce85a44095c26
3
+ size 5122522
standardbots_core/core/preview/core_front.png ADDED

Git LFS Details

  • SHA256: ba3536655c62d571adc3a6feaaf4067028887f520a7aa8a8799e82df3219ee38
  • Pointer size: 131 Bytes
  • Size of remote file: 157 kB
standardbots_core/core/preview/core_shoulder_detail.png ADDED

Git LFS Details

  • SHA256: a03284532feed233f6671d044ceb037885be146edabb9dc371d746818f575f84
  • Pointer size: 131 Bytes
  • Size of remote file: 232 kB
standardbots_core/core/preview/core_side.png ADDED

Git LFS Details

  • SHA256: 408bb8112d41de3e398e198921473a4a723b6b652b5dd3859fc56cba04cbfe1e
  • Pointer size: 131 Bytes
  • Size of remote file: 134 kB
standardbots_core/core/preview/core_three_quarter.png ADDED

Git LFS Details

  • SHA256: c3a910bc8cd80cc3afcd41eb994f4712940191bd86e97e385e1571a628d3438b
  • Pointer size: 131 Bytes
  • Size of remote file: 240 kB
standardbots_core/core/preview/core_wrist_detail.png ADDED

Git LFS Details

  • SHA256: 925a3cbcd6267f3263eb9369a5add38114462e903efc731bf3f13ec15fc203e1
  • Pointer size: 131 Bytes
  • Size of remote file: 297 kB
standardbots_core/core/standardbots_core.usd ADDED
Binary file (3.6 kB). View file