Add SimReady package: PPC_500KVA
Browse files- .gitattributes +3 -0
- PPC_500KVA/.metadata/PPC_500KVA_benchmark.json +510 -0
- PPC_500KVA/.metadata/PPC_500KVA_validation.json +70 -0
- PPC_500KVA/.metadata/com.nvidia.simready.conformance.Package@1.0.0.json +35 -0
- PPC_500KVA/.metadata/com.nvidia.simready.packaging.bom.json +144 -0
- PPC_500KVA/com.nvidia.simready.packaging.json +19 -0
- PPC_500KVA/simready_usd/.simready/validation.json +68 -0
- PPC_500KVA/simready_usd/.thumbs/256x256/PPC_500KVA_main.usd.png +3 -0
- PPC_500KVA/simready_usd/.thumbs/256x256/PPC_500KVA_main.usd_light.png +3 -0
- PPC_500KVA/simready_usd/.thumbs/256x256/PPC_500KVA_main.usd_transparent.png +3 -0
- PPC_500KVA/simready_usd/PPC_500KVA_main.usd +3 -0
- PPC_500KVA/simready_usd/layers/2026_07_15_PPC_500KVA_ConnectionPoints.usd +0 -0
- PPC_500KVA/simready_usd/layers/PPC_500KVA_properties.json +353 -0
- PPC_500KVA/simready_usd/layers/PPC_500KVA_properties.usda +671 -0
- PPC_500KVA/simready_usd/materials/Carpaint_Solid.mdl +1112 -0
- PPC_500KVA/simready_usd/materials/OmniPBR/OmniPBR.mdl +419 -0
- PPC_500KVA/simready_usd/materials/OmniPBR/OmniPBRBase.mdl +493 -0
- PPC_500KVA/simready_usd/materials/OmniPBR/OmniPBR_ClearCoat.mdl +734 -0
- PPC_500KVA/simready_usd/materials/Plastic_Thick_Translucent.mdl +673 -0
- PPC_500KVA/simready_usd/materials/WhiteMode.mdl +31 -0
- PPC_500KVA/simready_usd/payloads/external.usd +3 -0
- PPC_500KVA/simready_usd/payloads/internal.usd +3 -0
- PPC_500KVA/simready_usd/textures/PFA_Screen.png +3 -0
.gitattributes
CHANGED
|
@@ -142,3 +142,6 @@ PFA755EXB2AC3341NN2NNS002/simready_usd/PFA755EXB2AC3341NN2NNS002_main.usd filter
|
|
| 142 |
PFA755EXB2EC3341NN2NNS001/simready_usd/payloads/external.usd filter=lfs diff=lfs merge=lfs -text
|
| 143 |
PFA755EXB2EC3341NN2NNS001/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs -text
|
| 144 |
PFA755EXB2EC3341NN2NNS001/simready_usd/PFA755EXB2EC3341NN2NNS001_main.usd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
PFA755EXB2EC3341NN2NNS001/simready_usd/payloads/external.usd filter=lfs diff=lfs merge=lfs -text
|
| 143 |
PFA755EXB2EC3341NN2NNS001/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs -text
|
| 144 |
PFA755EXB2EC3341NN2NNS001/simready_usd/PFA755EXB2EC3341NN2NNS001_main.usd filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
PPC_500KVA/simready_usd/payloads/external.usd filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
PPC_500KVA/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
PPC_500KVA/simready_usd/PPC_500KVA_main.usd filter=lfs diff=lfs merge=lfs -text
|
PPC_500KVA/.metadata/PPC_500KVA_benchmark.json
ADDED
|
@@ -0,0 +1,510 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "1.0",
|
| 3 |
+
"asset": "PPC_500KVA",
|
| 4 |
+
"run_timestamp": "2026-10-22T15:07:26Z",
|
| 5 |
+
"passed": true,
|
| 6 |
+
"results": [
|
| 7 |
+
{
|
| 8 |
+
"test_name": "culling_xz",
|
| 9 |
+
"engine": "isaac_sim",
|
| 10 |
+
"engine_version": "6.2.0.0",
|
| 11 |
+
"status": "pass",
|
| 12 |
+
"passed": true,
|
| 13 |
+
"duration": 26.36,
|
| 14 |
+
"message": "",
|
| 15 |
+
"metrics": {
|
| 16 |
+
"_timing_capture_frame_total_s": {
|
| 17 |
+
"value": 2.579,
|
| 18 |
+
"unit": null
|
| 19 |
+
},
|
| 20 |
+
"_timing_capture_frame_count": {
|
| 21 |
+
"value": 16,
|
| 22 |
+
"unit": null
|
| 23 |
+
},
|
| 24 |
+
"_timing_capture_frame_avg_ms": {
|
| 25 |
+
"value": 161.19,
|
| 26 |
+
"unit": null
|
| 27 |
+
},
|
| 28 |
+
"_timing_encode_video_total_s": {
|
| 29 |
+
"value": 0.578,
|
| 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.026861,
|
| 46 |
+
"unit": null
|
| 47 |
+
},
|
| 48 |
+
"culling_xz_mean_diff": {
|
| 49 |
+
"value": 0.004247,
|
| 50 |
+
"unit": null
|
| 51 |
+
},
|
| 52 |
+
"culling_xz_worst_angle": {
|
| 53 |
+
"value": 225.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": "light_response",
|
| 65 |
+
"engine": "isaac_sim",
|
| 66 |
+
"engine_version": "6.2.0.0",
|
| 67 |
+
"status": "pass",
|
| 68 |
+
"passed": true,
|
| 69 |
+
"duration": 20.438,
|
| 70 |
+
"message": "",
|
| 71 |
+
"metrics": {
|
| 72 |
+
"_timing_capture_frame_total_s": {
|
| 73 |
+
"value": 4.7,
|
| 74 |
+
"unit": null
|
| 75 |
+
},
|
| 76 |
+
"_timing_capture_frame_count": {
|
| 77 |
+
"value": 30,
|
| 78 |
+
"unit": null
|
| 79 |
+
},
|
| 80 |
+
"_timing_capture_frame_avg_ms": {
|
| 81 |
+
"value": 156.67,
|
| 82 |
+
"unit": null
|
| 83 |
+
},
|
| 84 |
+
"_timing_encode_video_total_s": {
|
| 85 |
+
"value": 0.86,
|
| 86 |
+
"unit": null
|
| 87 |
+
},
|
| 88 |
+
"_timing_encode_video_count": {
|
| 89 |
+
"value": 1,
|
| 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 |
+
"light_response_variation_ratio": {
|
| 101 |
+
"value": 0.586207,
|
| 102 |
+
"unit": null
|
| 103 |
+
},
|
| 104 |
+
"light_response_blank_ratio": {
|
| 105 |
+
"value": 0.0,
|
| 106 |
+
"unit": null
|
| 107 |
+
},
|
| 108 |
+
"light_response_blank_frames": {
|
| 109 |
+
"value": 0,
|
| 110 |
+
"unit": null
|
| 111 |
+
},
|
| 112 |
+
"light_response_total_frames": {
|
| 113 |
+
"value": 30,
|
| 114 |
+
"unit": null
|
| 115 |
+
},
|
| 116 |
+
"light_response_total_pairs": {
|
| 117 |
+
"value": 29,
|
| 118 |
+
"unit": null
|
| 119 |
+
},
|
| 120 |
+
"light_response_different_pairs": {
|
| 121 |
+
"value": 17,
|
| 122 |
+
"unit": null
|
| 123 |
+
},
|
| 124 |
+
"light_response_passed": {
|
| 125 |
+
"value": 1,
|
| 126 |
+
"unit": null
|
| 127 |
+
},
|
| 128 |
+
"light_response_max_pair_change": {
|
| 129 |
+
"value": 0.762979,
|
| 130 |
+
"unit": null
|
| 131 |
+
},
|
| 132 |
+
"light_response_min_pair_change": {
|
| 133 |
+
"value": 0.008434,
|
| 134 |
+
"unit": null
|
| 135 |
+
}
|
| 136 |
+
},
|
| 137 |
+
"kit_logs": []
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"test_name": "normals_xz",
|
| 141 |
+
"engine": "isaac_sim",
|
| 142 |
+
"engine_version": "6.2.0.0",
|
| 143 |
+
"status": "pass",
|
| 144 |
+
"passed": true,
|
| 145 |
+
"duration": 14.14,
|
| 146 |
+
"message": "",
|
| 147 |
+
"metrics": {
|
| 148 |
+
"_timing_capture_frame_total_s": {
|
| 149 |
+
"value": 1.17,
|
| 150 |
+
"unit": null
|
| 151 |
+
},
|
| 152 |
+
"_timing_capture_frame_count": {
|
| 153 |
+
"value": 8,
|
| 154 |
+
"unit": null
|
| 155 |
+
},
|
| 156 |
+
"_timing_capture_frame_avg_ms": {
|
| 157 |
+
"value": 146.25,
|
| 158 |
+
"unit": null
|
| 159 |
+
},
|
| 160 |
+
"_timing_encode_video_total_s": {
|
| 161 |
+
"value": 0.281,
|
| 162 |
+
"unit": null
|
| 163 |
+
},
|
| 164 |
+
"_timing_encode_video_count": {
|
| 165 |
+
"value": 1,
|
| 166 |
+
"unit": null
|
| 167 |
+
},
|
| 168 |
+
"_render_blank_retry_count": {
|
| 169 |
+
"value": 0,
|
| 170 |
+
"unit": null
|
| 171 |
+
},
|
| 172 |
+
"_render_blank_retry_unrecovered": {
|
| 173 |
+
"value": 0,
|
| 174 |
+
"unit": null
|
| 175 |
+
},
|
| 176 |
+
"normals_xz_avg_dark": {
|
| 177 |
+
"value": 3.6e-05,
|
| 178 |
+
"unit": null
|
| 179 |
+
},
|
| 180 |
+
"normals_xz_max_dark": {
|
| 181 |
+
"value": 0.0002,
|
| 182 |
+
"unit": null
|
| 183 |
+
},
|
| 184 |
+
"normals_xz_problem_frames": {
|
| 185 |
+
"value": 0,
|
| 186 |
+
"unit": null
|
| 187 |
+
},
|
| 188 |
+
"normals_xz_passed": {
|
| 189 |
+
"value": 1,
|
| 190 |
+
"unit": null
|
| 191 |
+
}
|
| 192 |
+
},
|
| 193 |
+
"kit_logs": [
|
| 194 |
+
{
|
| 195 |
+
"level": "error",
|
| 196 |
+
"channel": "omni.kit.app._impl",
|
| 197 |
+
"message": "[py stderr]: Traceback (most recent call last):"
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"level": "error",
|
| 201 |
+
"channel": "omni.kit.app._impl",
|
| 202 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/impl/texture.py\", line 429, in on_drawable_changed"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"level": "error",
|
| 206 |
+
"channel": "omni.kit.app._impl",
|
| 207 |
+
"message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"level": "error",
|
| 211 |
+
"channel": "omni.kit.app._impl",
|
| 212 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"level": "error",
|
| 216 |
+
"channel": "omni.kit.app._impl",
|
| 217 |
+
"message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"level": "error",
|
| 221 |
+
"channel": "omni.kit.app._impl",
|
| 222 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"level": "error",
|
| 226 |
+
"channel": "omni.kit.app._impl",
|
| 227 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"level": "error",
|
| 231 |
+
"channel": "omni.kit.app._impl",
|
| 232 |
+
"message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"level": "error",
|
| 236 |
+
"channel": "omni.kit.app._impl",
|
| 237 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"level": "error",
|
| 241 |
+
"channel": "omni.kit.app._impl",
|
| 242 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"level": "error",
|
| 246 |
+
"channel": "omni.kit.app._impl",
|
| 247 |
+
"message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"level": "error",
|
| 251 |
+
"channel": "omni.kit.app._impl",
|
| 252 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^"
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"level": "error",
|
| 256 |
+
"channel": "omni.kit.app._impl",
|
| 257 |
+
"message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
|
| 258 |
+
}
|
| 259 |
+
]
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"test_name": "pivot",
|
| 263 |
+
"engine": "isaac_sim",
|
| 264 |
+
"engine_version": "6.2.0.0",
|
| 265 |
+
"status": "pass",
|
| 266 |
+
"passed": true,
|
| 267 |
+
"duration": 22.735,
|
| 268 |
+
"message": "",
|
| 269 |
+
"metrics": {
|
| 270 |
+
"_timing_capture_frame_total_s": {
|
| 271 |
+
"value": 3.404,
|
| 272 |
+
"unit": null
|
| 273 |
+
},
|
| 274 |
+
"_timing_capture_frame_count": {
|
| 275 |
+
"value": 20,
|
| 276 |
+
"unit": null
|
| 277 |
+
},
|
| 278 |
+
"_timing_capture_frame_avg_ms": {
|
| 279 |
+
"value": 170.2,
|
| 280 |
+
"unit": null
|
| 281 |
+
},
|
| 282 |
+
"_timing_encode_video_total_s": {
|
| 283 |
+
"value": 0.75,
|
| 284 |
+
"unit": null
|
| 285 |
+
},
|
| 286 |
+
"_timing_encode_video_count": {
|
| 287 |
+
"value": 2,
|
| 288 |
+
"unit": null
|
| 289 |
+
},
|
| 290 |
+
"_render_blank_retry_count": {
|
| 291 |
+
"value": 0,
|
| 292 |
+
"unit": null
|
| 293 |
+
},
|
| 294 |
+
"_render_blank_retry_unrecovered": {
|
| 295 |
+
"value": 0,
|
| 296 |
+
"unit": null
|
| 297 |
+
},
|
| 298 |
+
"pivot_score": {
|
| 299 |
+
"value": 0.9,
|
| 300 |
+
"unit": null
|
| 301 |
+
},
|
| 302 |
+
"pivot_pivot_height_pct": {
|
| 303 |
+
"value": -0.0,
|
| 304 |
+
"unit": null
|
| 305 |
+
},
|
| 306 |
+
"pivot_pivot_at_base": {
|
| 307 |
+
"value": 1,
|
| 308 |
+
"unit": null
|
| 309 |
+
},
|
| 310 |
+
"pivot_pivot_centered_xy": {
|
| 311 |
+
"value": 1,
|
| 312 |
+
"unit": null
|
| 313 |
+
},
|
| 314 |
+
"pivot_ground_penetration": {
|
| 315 |
+
"value": 1,
|
| 316 |
+
"unit": null
|
| 317 |
+
},
|
| 318 |
+
"pivot_orbital_motion": {
|
| 319 |
+
"value": 0,
|
| 320 |
+
"unit": null
|
| 321 |
+
},
|
| 322 |
+
"pivot_passed": {
|
| 323 |
+
"value": 1,
|
| 324 |
+
"unit": null
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"kit_logs": [
|
| 328 |
+
{
|
| 329 |
+
"level": "error",
|
| 330 |
+
"channel": "omni.kit.app._impl",
|
| 331 |
+
"message": "[py stderr]: Traceback (most recent call last):"
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"level": "error",
|
| 335 |
+
"channel": "omni.kit.app._impl",
|
| 336 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/impl/texture.py\", line 429, in on_drawable_changed"
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"level": "error",
|
| 340 |
+
"channel": "omni.kit.app._impl",
|
| 341 |
+
"message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"level": "error",
|
| 345 |
+
"channel": "omni.kit.app._impl",
|
| 346 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"level": "error",
|
| 350 |
+
"channel": "omni.kit.app._impl",
|
| 351 |
+
"message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"level": "error",
|
| 355 |
+
"channel": "omni.kit.app._impl",
|
| 356 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"level": "error",
|
| 360 |
+
"channel": "omni.kit.app._impl",
|
| 361 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"level": "error",
|
| 365 |
+
"channel": "omni.kit.app._impl",
|
| 366 |
+
"message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"level": "error",
|
| 370 |
+
"channel": "omni.kit.app._impl",
|
| 371 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"level": "error",
|
| 375 |
+
"channel": "omni.kit.app._impl",
|
| 376 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"level": "error",
|
| 380 |
+
"channel": "omni.kit.app._impl",
|
| 381 |
+
"message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"level": "error",
|
| 385 |
+
"channel": "omni.kit.app._impl",
|
| 386 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^"
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"level": "error",
|
| 390 |
+
"channel": "omni.kit.app._impl",
|
| 391 |
+
"message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
|
| 392 |
+
}
|
| 393 |
+
]
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"test_name": "presence",
|
| 397 |
+
"engine": "isaac_sim",
|
| 398 |
+
"engine_version": "6.2.0.0",
|
| 399 |
+
"status": "pass",
|
| 400 |
+
"passed": true,
|
| 401 |
+
"duration": 11.078,
|
| 402 |
+
"message": "",
|
| 403 |
+
"metrics": {
|
| 404 |
+
"_timing_capture_frame_total_s": {
|
| 405 |
+
"value": 0.297,
|
| 406 |
+
"unit": null
|
| 407 |
+
},
|
| 408 |
+
"_timing_capture_frame_count": {
|
| 409 |
+
"value": 2,
|
| 410 |
+
"unit": null
|
| 411 |
+
},
|
| 412 |
+
"_timing_capture_frame_avg_ms": {
|
| 413 |
+
"value": 148.5,
|
| 414 |
+
"unit": null
|
| 415 |
+
},
|
| 416 |
+
"_timing_encode_video_total_s": {
|
| 417 |
+
"value": 0.0,
|
| 418 |
+
"unit": null
|
| 419 |
+
},
|
| 420 |
+
"_timing_encode_video_count": {
|
| 421 |
+
"value": 0,
|
| 422 |
+
"unit": null
|
| 423 |
+
},
|
| 424 |
+
"_render_blank_retry_count": {
|
| 425 |
+
"value": 0,
|
| 426 |
+
"unit": null
|
| 427 |
+
},
|
| 428 |
+
"_render_blank_retry_unrecovered": {
|
| 429 |
+
"value": 0,
|
| 430 |
+
"unit": null
|
| 431 |
+
},
|
| 432 |
+
"presence_diff_ratio": {
|
| 433 |
+
"value": 0.329572,
|
| 434 |
+
"unit": null
|
| 435 |
+
},
|
| 436 |
+
"presence_passed": {
|
| 437 |
+
"value": 1,
|
| 438 |
+
"unit": null
|
| 439 |
+
}
|
| 440 |
+
},
|
| 441 |
+
"kit_logs": [
|
| 442 |
+
{
|
| 443 |
+
"level": "error",
|
| 444 |
+
"channel": "omni.kit.app._impl",
|
| 445 |
+
"message": "[py stderr]: Traceback (most recent call last):"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"level": "error",
|
| 449 |
+
"channel": "omni.kit.app._impl",
|
| 450 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/impl/texture.py\", line 429, in on_drawable_changed"
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"level": "error",
|
| 454 |
+
"channel": "omni.kit.app._impl",
|
| 455 |
+
"message": "[py stderr]: self.__drawable_changed_fn(texture[\"rp_resource\"], presentation_key)"
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"level": "error",
|
| 459 |
+
"channel": "omni.kit.app._impl",
|
| 460 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/widget.py\", line 516, in __set_image_data"
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"level": "error",
|
| 464 |
+
"channel": "omni.kit.app._impl",
|
| 465 |
+
"message": "[py stderr]: vp_api._sync_viewport_api(camera, canvas_size, vp_api.time, view, projection, force_update=True) # noqa PLW0212"
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"level": "error",
|
| 469 |
+
"channel": "omni.kit.app._impl",
|
| 470 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"level": "error",
|
| 474 |
+
"channel": "omni.kit.app._impl",
|
| 475 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/api.py\", line 546, in _sync_viewport_api"
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"level": "error",
|
| 479 |
+
"channel": "omni.kit.app._impl",
|
| 480 |
+
"message": "[py stderr]: self.__projection = self._conform_projection(policy, camera, image_aspect, canvas_aspect, projection)"
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"level": "error",
|
| 484 |
+
"channel": "omni.kit.app._impl",
|
| 485 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"level": "error",
|
| 489 |
+
"channel": "omni.kit.app._impl",
|
| 490 |
+
"message": "[py stderr]: File \"../iv/lib/site-packages/isaacsim/extscache/omni.kit.widget.viewport-110.0.1+187cf21b/omni/kit/widget/viewport/api.py\", line 476, in _conform_projection"
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"level": "error",
|
| 494 |
+
"channel": "omni.kit.app._impl",
|
| 495 |
+
"message": "[py stderr]: gf_camera = camera.GetCamera(self.__time)"
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"level": "error",
|
| 499 |
+
"channel": "omni.kit.app._impl",
|
| 500 |
+
"message": "[py stderr]: ^^^^^^^^^^^^^^^^"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"level": "error",
|
| 504 |
+
"channel": "omni.kit.app._impl",
|
| 505 |
+
"message": "[py stderr]: AttributeError: 'NoneType' object has no attribute 'GetCamera'"
|
| 506 |
+
}
|
| 507 |
+
]
|
| 508 |
+
}
|
| 509 |
+
]
|
| 510 |
+
}
|
PPC_500KVA/.metadata/PPC_500KVA_validation.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"simready_usd/PPC_500KVA_main.usd": {
|
| 3 |
+
"features_summary": {
|
| 4 |
+
"FET200_AIF": {
|
| 5 |
+
"blocking_failure": true,
|
| 6 |
+
"dependencies": "[]",
|
| 7 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 8 |
+
"passed": false,
|
| 9 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 10 |
+
"version": "0.1.0"
|
| 11 |
+
},
|
| 12 |
+
"FET201_AIF": {
|
| 13 |
+
"blocking_failure": true,
|
| 14 |
+
"dependencies": "[{'FET200_AIF': {'version': '0.1.0'}}]",
|
| 15 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 16 |
+
"passed": false,
|
| 17 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 18 |
+
"version": "0.2.0"
|
| 19 |
+
},
|
| 20 |
+
"FET202_AIF": {
|
| 21 |
+
"blocking_failure": true,
|
| 22 |
+
"dependencies": "[{'FET201_AIF': {'version': '0.2.0'}}]",
|
| 23 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 24 |
+
"passed": false,
|
| 25 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 26 |
+
"version": "0.2.0"
|
| 27 |
+
},
|
| 28 |
+
"FET203_AIF": {
|
| 29 |
+
"blocking_failure": true,
|
| 30 |
+
"dependencies": "[{'FET201_AIF': {'version': '0.2.0'}}]",
|
| 31 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 32 |
+
"passed": false,
|
| 33 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 34 |
+
"version": "0.2.0"
|
| 35 |
+
},
|
| 36 |
+
"FET_000_STANDARD": {
|
| 37 |
+
"blocking_failure": false,
|
| 38 |
+
"dependencies": "[]",
|
| 39 |
+
"passed": true,
|
| 40 |
+
"version": "0.2.0"
|
| 41 |
+
},
|
| 42 |
+
"FET_001_STANDARD": {
|
| 43 |
+
"blocking_failure": false,
|
| 44 |
+
"dependencies": "[]",
|
| 45 |
+
"passed": true,
|
| 46 |
+
"version": "1.0.0"
|
| 47 |
+
},
|
| 48 |
+
"FET_031_STANDARD": {
|
| 49 |
+
"blocking_failure": false,
|
| 50 |
+
"dependencies": "[]",
|
| 51 |
+
"passed": true,
|
| 52 |
+
"version": "0.1.0"
|
| 53 |
+
},
|
| 54 |
+
"FET_033_STANDARD": {
|
| 55 |
+
"blocking_failure": false,
|
| 56 |
+
"dependencies": "[{'FET_031_STANDARD': {'version': '0.1.0'}}]",
|
| 57 |
+
"passed": true,
|
| 58 |
+
"version": "0.4.0"
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"profile_id": "AIF-Entity",
|
| 62 |
+
"profile_version": "0.2.0",
|
| 63 |
+
"simready_validate_version": "2026.8.0",
|
| 64 |
+
"tier_versions": {
|
| 65 |
+
"sensors": "2026.8.0",
|
| 66 |
+
"tier_aif": "2026.8.0",
|
| 67 |
+
"tier_core": "2026.8.0"
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
}
|
PPC_500KVA/.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-22T15:07:31",
|
| 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 |
+
}
|
PPC_500KVA/.metadata/com.nvidia.simready.packaging.bom.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"items": [
|
| 4 |
+
{
|
| 5 |
+
"relative_path": "simready_usd/.simready/validation.json",
|
| 6 |
+
"size": 2821,
|
| 7 |
+
"hash": {
|
| 8 |
+
"sha256-flat-1mb": "fd0c1042ab90e4c7fc8e7e938cd2d2a77235ab339c4104667f7e0265c99dcab6",
|
| 9 |
+
"sha256": "91b4b5c9d27bbf52ffff962cf9e334771a5f5d9638782a6e76b19b55316b29b8"
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"relative_path": "simready_usd/.thumbs/256x256/PPC_500KVA_main.usd.png",
|
| 14 |
+
"size": 574415,
|
| 15 |
+
"hash": {
|
| 16 |
+
"sha256-flat-1mb": "34c66f1ea7db7cc23b41b9f3dec1153461cfbb0ae7f4ca34cead0927d4e56d53",
|
| 17 |
+
"sha256": "dad094f4ddf1cf342eba885d08bb427bb2804f9beea768bf72d2951b915392db"
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"relative_path": "simready_usd/.thumbs/256x256/PPC_500KVA_main.usd_light.png",
|
| 22 |
+
"size": 565453,
|
| 23 |
+
"hash": {
|
| 24 |
+
"sha256-flat-1mb": "ffbfe8196a10e7ddcc81ac60b1e7909d48b8bb18d11a2b9bf3083ee44420def1",
|
| 25 |
+
"sha256": "dd5f9e6a584b7b4e37bce3a3f3bcba7493b897f4b243b684af1bc7425e39fc6a"
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"relative_path": "simready_usd/.thumbs/256x256/PPC_500KVA_main.usd_transparent.png",
|
| 30 |
+
"size": 430642,
|
| 31 |
+
"hash": {
|
| 32 |
+
"sha256-flat-1mb": "e2a85807349597bdf5f856d68036f79dac24c3a831fc4a6deb13f4be2f9dd7f8",
|
| 33 |
+
"sha256": "59fc889977dffa0b8e640a2815c665add5e2cf18b08e890661f7ac482bf07d06"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"relative_path": "simready_usd/PPC_500KVA_main.usd",
|
| 38 |
+
"size": 51317497,
|
| 39 |
+
"hash": {
|
| 40 |
+
"sha256-flat-1mb": "813610063edc2029c22583d43e8d65f392f0237e1db4b5308b96cee5d6a50b3d",
|
| 41 |
+
"sha256": "1f9b1701060efd85b4aaf189c2aeebe363c96ca7e146500bb5560b05e3c238d5",
|
| 42 |
+
"sha256-first1m": "ce1370e3d857fde0c36a3246eac78493eedb2921968609d020a349620f5eaecf"
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"relative_path": "simready_usd/layers/2026_07_15_PPC_500KVA_ConnectionPoints.usd",
|
| 47 |
+
"size": 6516,
|
| 48 |
+
"hash": {
|
| 49 |
+
"sha256-flat-1mb": "b645c503ed56482b63ea479613dc401b482896019f1ec0161ad80f52664c4058",
|
| 50 |
+
"sha256": "3bfca18ae4c1851e2f4d75ee29571e0cdad438469e909df7fa562715f69fc3e2"
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"relative_path": "simready_usd/layers/PPC_500KVA_properties.json",
|
| 55 |
+
"size": 11486,
|
| 56 |
+
"hash": {
|
| 57 |
+
"sha256-flat-1mb": "8eb25baa8c14fc1a7a9232638b9b14663b5907a7061330101f8474bc8abe1e37",
|
| 58 |
+
"sha256": "9d3a8f413a10c80c30072d47f9953ff611885e750602184f49d9f01e4d2ba1dc"
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"relative_path": "simready_usd/layers/PPC_500KVA_properties.usda",
|
| 63 |
+
"size": 20437,
|
| 64 |
+
"hash": {
|
| 65 |
+
"sha256-flat-1mb": "32775362fab50b128d3a9c2baf71af52e1f685a3d9755d48ef88cce83513fe82",
|
| 66 |
+
"sha256": "995f6be1d847550c0ef74517af5ecacb68586b0412c5c432cdea2beb815a061c"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"relative_path": "simready_usd/materials/Carpaint_Solid.mdl",
|
| 71 |
+
"size": 44585,
|
| 72 |
+
"hash": {
|
| 73 |
+
"sha256-flat-1mb": "26159d8a8bbbc4ea913351f189b2eb1146ab7c2e51d9a8285262ecb0ab2964d7",
|
| 74 |
+
"sha256": "e51996b5c78df239742fcf76ed3475002328afd0c5ba7922932bca89330a3b56"
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"relative_path": "simready_usd/materials/OmniPBR/OmniPBR.mdl",
|
| 79 |
+
"size": 16010,
|
| 80 |
+
"hash": {
|
| 81 |
+
"sha256-flat-1mb": "ecc9a58be7f4dd86920d4d9e3c7ff37b4306bc818da5074c2e184950e43a143f",
|
| 82 |
+
"sha256": "6e6b3acbccd236e21a6c29964a431d2a53e77251cc6b8b1bc975eb1c62da1781"
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"relative_path": "simready_usd/materials/OmniPBR/OmniPBRBase.mdl",
|
| 87 |
+
"size": 19369,
|
| 88 |
+
"hash": {
|
| 89 |
+
"sha256-flat-1mb": "001afd3ed8918a1fd8623689cf100e375bf3797f1398cb0a8a2727300e83016f",
|
| 90 |
+
"sha256": "a8fd9fe174e91892e94d06da90ba453a124024c2ce2c033be9d82c9e2f76a3b7"
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"relative_path": "simready_usd/materials/OmniPBR/OmniPBR_ClearCoat.mdl",
|
| 95 |
+
"size": 29789,
|
| 96 |
+
"hash": {
|
| 97 |
+
"sha256-flat-1mb": "04bcb74cc928617064a7d3978735156b0976d66d0716fc57dfa7877b8f3d9f33",
|
| 98 |
+
"sha256": "d84c5ba482561c0eaea2e0c5b607358af549e36cd921773462f92dbc4f32cbc3"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"relative_path": "simready_usd/materials/Plastic_Thick_Translucent.mdl",
|
| 103 |
+
"size": 30015,
|
| 104 |
+
"hash": {
|
| 105 |
+
"sha256-flat-1mb": "94779fc778fbfb109243127729938f1e4834767b5b42257a06c70e2cfab35b4a",
|
| 106 |
+
"sha256": "81f86d0ed3fbfa87812de56055cbcafc27f68b925d4d5e769633973e9c3c892a"
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"relative_path": "simready_usd/materials/WhiteMode.mdl",
|
| 111 |
+
"size": 998,
|
| 112 |
+
"hash": {
|
| 113 |
+
"sha256-flat-1mb": "c07b0292c81dd4217326e9f2c755ff2d7ff470422fa974e6e03d907a2b62cc2f",
|
| 114 |
+
"sha256": "3bc76f53a19cada6acc1c4f9463264f0934f3dd45805cbe6af56c7b7df895b5d"
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"relative_path": "simready_usd/payloads/external.usd",
|
| 119 |
+
"size": 44991891,
|
| 120 |
+
"hash": {
|
| 121 |
+
"sha256-flat-1mb": "c407798a115e15fd824790ec43e0ebe434340f0629dfda36616694436dddabab",
|
| 122 |
+
"sha256": "5b3f71133af73f6b53c8fb39fb762cabe6204350ad727d761b12e1143a8a678b",
|
| 123 |
+
"sha256-first1m": "8ca618e850a4c8c90552ca3004f1c82806edf847ab89ecd98fa30cfab856015f"
|
| 124 |
+
}
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"relative_path": "simready_usd/payloads/internal.usd",
|
| 128 |
+
"size": 4079645,
|
| 129 |
+
"hash": {
|
| 130 |
+
"sha256-flat-1mb": "8efa975f2aa49be02fce62dd123bf3311575e79090c59a3e6032b6502c80d5b5",
|
| 131 |
+
"sha256": "2af23122b1ef1fa29da47536a61f67e0009ce6e121c0dfdd66e2e85c2856bb75",
|
| 132 |
+
"sha256-first1m": "a851af7454054f7b496b897d37cc2b1a688686220eef856db96ce61693276911"
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"relative_path": "simready_usd/textures/PFA_Screen.png",
|
| 137 |
+
"size": 227280,
|
| 138 |
+
"hash": {
|
| 139 |
+
"sha256-flat-1mb": "2ddf7d1e086636d061b78081675fe4f4634ee50f85175c05596192dc6f7623c4",
|
| 140 |
+
"sha256": "851e6fe37f0089dc1ab513acb95e8d9411954a1085132d6d17aa68b7e0742954"
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
]
|
| 144 |
+
}
|
PPC_500KVA/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.Vertiv.simready-assets.PPC_500KVA.2026.10.22_00",
|
| 4 |
+
"license": "cc-by-4.0",
|
| 5 |
+
"metadata": [
|
| 6 |
+
{
|
| 7 |
+
"name": "com.nvidia.simready.packaging.bom.json",
|
| 8 |
+
"hash": {
|
| 9 |
+
"sha256": "f41f966d5f32c53d44887cfbc00c534e998531864b0995b7d88c7e7b0e3b55f4"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"content_hash": {
|
| 14 |
+
"sha256": "706ebcf7f1f9304e2b613c3981ffe430d7c80e9122da6d2fb10a7b3b366daf0f"
|
| 15 |
+
},
|
| 16 |
+
"package_hash": {
|
| 17 |
+
"sha256": "dad598eff91681d61ee6289de1e1fd6c69ee671d7d1cdfc8c905f35068b5c96d"
|
| 18 |
+
}
|
| 19 |
+
}
|
PPC_500KVA/simready_usd/.simready/validation.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"SimReady_Metadata": {
|
| 3 |
+
"validation": {
|
| 4 |
+
"profile": "AIF-Entity",
|
| 5 |
+
"profile_version": "0.2.0",
|
| 6 |
+
"validated_features": {
|
| 7 |
+
"2026-10-22": {
|
| 8 |
+
"FET200_AIF": {
|
| 9 |
+
"blocking_failure": true,
|
| 10 |
+
"dependencies": "[]",
|
| 11 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 12 |
+
"passed": false,
|
| 13 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 14 |
+
"version": "0.1.0"
|
| 15 |
+
},
|
| 16 |
+
"FET201_AIF": {
|
| 17 |
+
"blocking_failure": true,
|
| 18 |
+
"dependencies": "[{'FET200_AIF': {'version': '0.1.0'}}]",
|
| 19 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 20 |
+
"passed": false,
|
| 21 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 22 |
+
"version": "0.2.0"
|
| 23 |
+
},
|
| 24 |
+
"FET202_AIF": {
|
| 25 |
+
"blocking_failure": true,
|
| 26 |
+
"dependencies": "[{'FET201_AIF': {'version': '0.2.0'}}]",
|
| 27 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 28 |
+
"passed": false,
|
| 29 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 30 |
+
"version": "0.2.0"
|
| 31 |
+
},
|
| 32 |
+
"FET203_AIF": {
|
| 33 |
+
"blocking_failure": true,
|
| 34 |
+
"dependencies": "[{'FET201_AIF': {'version': '0.2.0'}}]",
|
| 35 |
+
"failing requirements": "['com.nvidia.simready.AM.007']",
|
| 36 |
+
"passed": false,
|
| 37 |
+
"requirement_messages": "{\"com.nvidia.simready.AM.007\": [\"No equipment class definition found for assetClass 'PDU'. Defined classes: cdu, compute-rack, crah, ups.\"]}",
|
| 38 |
+
"version": "0.2.0"
|
| 39 |
+
},
|
| 40 |
+
"FET_000_STANDARD": {
|
| 41 |
+
"blocking_failure": false,
|
| 42 |
+
"dependencies": "[]",
|
| 43 |
+
"passed": true,
|
| 44 |
+
"version": "0.2.0"
|
| 45 |
+
},
|
| 46 |
+
"FET_001_STANDARD": {
|
| 47 |
+
"blocking_failure": false,
|
| 48 |
+
"dependencies": "[]",
|
| 49 |
+
"passed": true,
|
| 50 |
+
"version": "1.0.0"
|
| 51 |
+
},
|
| 52 |
+
"FET_031_STANDARD": {
|
| 53 |
+
"blocking_failure": false,
|
| 54 |
+
"dependencies": "[]",
|
| 55 |
+
"passed": true,
|
| 56 |
+
"version": "0.1.0"
|
| 57 |
+
},
|
| 58 |
+
"FET_033_STANDARD": {
|
| 59 |
+
"blocking_failure": false,
|
| 60 |
+
"dependencies": "[{'FET_031_STANDARD': {'version': '0.1.0'}}]",
|
| 61 |
+
"passed": true,
|
| 62 |
+
"version": "0.4.0"
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
}
|
| 68 |
+
}
|
PPC_500KVA/simready_usd/.thumbs/256x256/PPC_500KVA_main.usd.png
ADDED
|
|
Git LFS Details
|
PPC_500KVA/simready_usd/.thumbs/256x256/PPC_500KVA_main.usd_light.png
ADDED
|
|
Git LFS Details
|
PPC_500KVA/simready_usd/.thumbs/256x256/PPC_500KVA_main.usd_transparent.png
ADDED
|
|
Git LFS Details
|
PPC_500KVA/simready_usd/PPC_500KVA_main.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f9b1701060efd85b4aaf189c2aeebe363c96ca7e146500bb5560b05e3c238d5
|
| 3 |
+
size 51317497
|
PPC_500KVA/simready_usd/layers/2026_07_15_PPC_500KVA_ConnectionPoints.usd
ADDED
|
Binary file (6.52 kB). View file
|
|
|
PPC_500KVA/simready_usd/lay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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"properties": {
|
| 3 |
+
"aif:spec:inputVoltageTolerance": {
|
| 4 |
+
"type": "string",
|
| 5 |
+
"value": "480",
|
| 6 |
+
"description": "Input Voltage Tolerance in Volt"
|
| 7 |
+
},
|
| 8 |
+
"aif:spec:inputFrequency": {
|
| 9 |
+
"type": "int",
|
| 10 |
+
"value": 60,
|
| 11 |
+
"description": "Nominal Input Frequence in Hz"
|
| 12 |
+
},
|
| 13 |
+
"aif:spec:withstandVoltsAlternatingCurrent": {
|
| 14 |
+
"type": "string",
|
| 15 |
+
"value": "",
|
| 16 |
+
"description": "Withstand Volts Alternating Current in VAC"
|
| 17 |
+
},
|
| 18 |
+
"aif:spec:outputConnection": {
|
| 19 |
+
"type": "string",
|
| 20 |
+
"value": "3-phase, 4-wire plus ground; Top and Bottom cable entry/exit",
|
| 21 |
+
"description": "Output Connection Type"
|
| 22 |
+
},
|
| 23 |
+
"aif:spec:inputConnection": {
|
| 24 |
+
"type": "string",
|
| 25 |
+
"value": "3-phase, 3-wire plus ground; Top and Bottom cable entry/exit",
|
| 26 |
+
"description": "Input Connections Type"
|
| 27 |
+
},
|
| 28 |
+
"aif:spec:storageTemperature": {
|
| 29 |
+
"type": "float",
|
| 30 |
+
"value": 328.0,
|
| 31 |
+
"description": ""
|
| 32 |
+
},
|
| 33 |
+
"aif:spec:operatingTemperature": {
|
| 34 |
+
"type": "int",
|
| 35 |
+
"value": 313,
|
| 36 |
+
"description": "Operating Temperature in Kelvin"
|
| 37 |
+
},
|
| 38 |
+
"aif:spec:coolingMethod": {
|
| 39 |
+
"type": "string",
|
| 40 |
+
"value": "Convection cooled",
|
| 41 |
+
"description": "Cooling Method"
|
| 42 |
+
},
|
| 43 |
+
"aif:spec:controlPanel": {
|
| 44 |
+
"type": "string",
|
| 45 |
+
"value": "9.0\" Color touchscreen display (Liebert® DPM)",
|
| 46 |
+
"description": "Control Panel"
|
| 47 |
+
},
|
| 48 |
+
"aif:spec:inputBreakerRating": {
|
| 49 |
+
"type": "string",
|
| 50 |
+
"value": "Main Input Circuit Breaker (MICB)specific Amp rating TBD",
|
| 51 |
+
"description": "Input Breaker Rating in Amp"
|
| 52 |
+
},
|
| 53 |
+
"aif:spec:monitoringConfiguration": {
|
| 54 |
+
"type": "string",
|
| 55 |
+
"value": "System level (Input & Output) + Branch Circuit Level (BCMS); Measured Values: Voltage, Current, Power Factor, Energy, Harmonics",
|
| 56 |
+
"description": "Monitoring_Configuration"
|
| 57 |
+
},
|
| 58 |
+
"aif:spec:electricalCapacity": {
|
| 59 |
+
"type": "float",
|
| 60 |
+
"value": 500.0,
|
| 61 |
+
"description": "Electrical Capacity in KVA"
|
| 62 |
+
},
|
| 63 |
+
"aif:spec:neutralConductorratingRating": {
|
| 64 |
+
"type": "int",
|
| 65 |
+
"value": 2,
|
| 66 |
+
"description": "Neutral Conductor Rating in percentage"
|
| 67 |
+
},
|
| 68 |
+
"aif:spec:transformerMaterial": {
|
| 69 |
+
"type": "string",
|
| 70 |
+
"value": "Copper (Cu) and Aluminum (Al) both available",
|
| 71 |
+
"description": "Transformer Material"
|
| 72 |
+
},
|
| 73 |
+
"aif:spec:outputActivePower": {
|
| 74 |
+
"type": "float",
|
| 75 |
+
"value": 500.0,
|
| 76 |
+
"description": "Output Active Power (kW)"
|
| 77 |
+
},
|
| 78 |
+
"aif:spec:electricalInputVoltage": {
|
| 79 |
+
"type": "string",
|
| 80 |
+
"value": "",
|
| 81 |
+
"description": "Electrical Nominal Voltage in Volt"
|
| 82 |
+
},
|
| 83 |
+
"aif:spec:electricalCurrent": {
|
| 84 |
+
"type": "string",
|
| 85 |
+
"value": "",
|
| 86 |
+
"description": "Electrical Current"
|
| 87 |
+
},
|
| 88 |
+
"aif:spec:inputCurrentDistortion": {
|
| 89 |
+
"type": "string",
|
| 90 |
+
"value": "",
|
| 91 |
+
"description": "Input Current Distortion (THDi) at Nominal Voltage at Full Load"
|
| 92 |
+
},
|
| 93 |
+
"aif:spec:electricalInputFrequency": {
|
| 94 |
+
"type": "int",
|
| 95 |
+
"value": 60,
|
| 96 |
+
"description": "Electrical Input Frequency in Hz"
|
| 97 |
+
},
|
| 98 |
+
"aif:spec:electricalOutputPhase": {
|
| 99 |
+
"type": "int",
|
| 100 |
+
"value": 3,
|
| 101 |
+
"description": "Electrical Output Phase"
|
| 102 |
+
},
|
| 103 |
+
"aif:spec:electricalInputPhase": {
|
| 104 |
+
"type": "int",
|
| 105 |
+
"value": 3,
|
| 106 |
+
"description": "Electrical Input Phase"
|
| 107 |
+
},
|
| 108 |
+
"aif:spec:transformerCtLocation": {
|
| 109 |
+
"type": "string",
|
| 110 |
+
"value": "",
|
| 111 |
+
"description": "Transformer CT Location"
|
| 112 |
+
},
|
| 113 |
+
"aif:spec:transformerRating": {
|
| 114 |
+
"type": "string",
|
| 115 |
+
"value": "",
|
| 116 |
+
"description": "Transformer Rating"
|
| 117 |
+
},
|
| 118 |
+
"aif:spec:temperatureRiseOption": {
|
| 119 |
+
"type": "float",
|
| 120 |
+
"value": 423.0,
|
| 121 |
+
"description": "Temperature Rise Options in Kelvin"
|
| 122 |
+
},
|
| 123 |
+
"aif:spec:inputPowerFactor": {
|
| 124 |
+
"type": "string",
|
| 125 |
+
"value": "",
|
| 126 |
+
"description": "Electrical Power Factor"
|
| 127 |
+
},
|
| 128 |
+
"aif:spec:dcRippleVoltage": {
|
| 129 |
+
"type": "string",
|
| 130 |
+
"value": "",
|
| 131 |
+
"description": "DC Ripple at Float Voltage"
|
| 132 |
+
},
|
| 133 |
+
"aif:spec:displaySize": {
|
| 134 |
+
"type": "float",
|
| 135 |
+
"value": 229.0,
|
| 136 |
+
"description": "Color touchscreen Display in mm"
|
| 137 |
+
},
|
| 138 |
+
"aif:spec:nominalBatteryBus": {
|
| 139 |
+
"type": "string",
|
| 140 |
+
"value": "",
|
| 141 |
+
"description": "Nominal Battery Bus"
|
| 142 |
+
},
|
| 143 |
+
"aif:spec:loadPowerFactor": {
|
| 144 |
+
"type": "string",
|
| 145 |
+
"value": "",
|
| 146 |
+
"description": "Load Power Factor Supported (Without Derating)"
|
| 147 |
+
},
|
| 148 |
+
"aif:spec:outputVoltage": {
|
| 149 |
+
"type": "string",
|
| 150 |
+
"value": "415/240",
|
| 151 |
+
"description": "Output Voltage in Volt"
|
| 152 |
+
},
|
| 153 |
+
"aif:spec:electricalOutputFrequency": {
|
| 154 |
+
"type": "string",
|
| 155 |
+
"value": "",
|
| 156 |
+
"description": "Electrical Output Frequency in Hz"
|
| 157 |
+
},
|
| 158 |
+
"aif:spec:outputThdNominalVoltage": {
|
| 159 |
+
"type": "string",
|
| 160 |
+
"value": "",
|
| 161 |
+
"description": "Output THD at Nominal Voltage at RMS value"
|
| 162 |
+
},
|
| 163 |
+
"aif:spec:outputThdNominalVoltageWithNonLinearLoad": {
|
| 164 |
+
"type": "string",
|
| 165 |
+
"value": "",
|
| 166 |
+
"description": "Output THD at Nominal Voltage including a 100kVA Non Linear Load per IEC 6204 at RMS value"
|
| 167 |
+
},
|
| 168 |
+
"aif:spec:distributionBreakers": {
|
| 169 |
+
"type": "int",
|
| 170 |
+
"value": 8,
|
| 171 |
+
"description": "Number of Distribution Breakers"
|
| 172 |
+
},
|
| 173 |
+
"aif:spec:distributionRating": {
|
| 174 |
+
"type": "string",
|
| 175 |
+
"value": "Up to 8 x 600AF or 4 x 1200AF subfeed breakers",
|
| 176 |
+
"description": "Distribution Breakers AF/AT & Rating"
|
| 177 |
+
},
|
| 178 |
+
"aif:spec:monitoringCards": {
|
| 179 |
+
"type": "string",
|
| 180 |
+
"value": "",
|
| 181 |
+
"description": "Number of Monitoring Cards"
|
| 182 |
+
},
|
| 183 |
+
"aif:spec:kvaRating": {
|
| 184 |
+
"type": "int",
|
| 185 |
+
"value": 500,
|
| 186 |
+
"description": "KVA Rating"
|
| 187 |
+
},
|
| 188 |
+
"aif:spec:monitoring": {
|
| 189 |
+
"type": "string",
|
| 190 |
+
"value": "Input/Output monitoring available at system level and branch circuit level",
|
| 191 |
+
"description": "Monitoring of Transformer & Distribution"
|
| 192 |
+
},
|
| 193 |
+
"aif:spec:breakerConfiguration": {
|
| 194 |
+
"type": "string",
|
| 195 |
+
"value": "Up to 8 x 600AF or 4 x 1200AF subfeed breakers Auxiliary Switch(s) and Alarm Switch accessories available",
|
| 196 |
+
"description": "Breaker Configuration"
|
| 197 |
+
},
|
| 198 |
+
"aif:spec:transientRecoveryLoad": {
|
| 199 |
+
"type": "string",
|
| 200 |
+
"value": "",
|
| 201 |
+
"description": "Translent Recovery 100 Load Step"
|
| 202 |
+
},
|
| 203 |
+
"aif:spec:voltageDisplacement": {
|
| 204 |
+
"type": "string",
|
| 205 |
+
"value": "",
|
| 206 |
+
"description": "Voltage Displacement"
|
| 207 |
+
},
|
| 208 |
+
"aif:spec:overloadAtNominalVoltage": {
|
| 209 |
+
"type": "string",
|
| 210 |
+
"value": "",
|
| 211 |
+
"description": "Overload at Nominal Voltage in Volt and 77degF (25degC)"
|
| 212 |
+
},
|
| 213 |
+
"aif:spec:upsEnclosureClass": {
|
| 214 |
+
"type": "string",
|
| 215 |
+
"value": "",
|
| 216 |
+
"description": "UPS Enclosure Class with and without front door open"
|
| 217 |
+
},
|
| 218 |
+
"aif:spec:color": {
|
| 219 |
+
"type": "string",
|
| 220 |
+
"value": "",
|
| 221 |
+
"description": "Color"
|
| 222 |
+
},
|
| 223 |
+
"aif:spec:relativeHumidity": {
|
| 224 |
+
"type": "int",
|
| 225 |
+
"value": 90,
|
| 226 |
+
"description": "Relative Humidity in percentage"
|
| 227 |
+
},
|
| 228 |
+
"aif:spec:operatingAltitude": {
|
| 229 |
+
"type": "float",
|
| 230 |
+
"value": 2012.0,
|
| 231 |
+
"description": "Operating Altitude without derating in meter"
|
| 232 |
+
},
|
| 233 |
+
"aif:spec:communicationOptions": {
|
| 234 |
+
"type": "string",
|
| 235 |
+
"value": "Modbus TCP, SNMP, BACnet IP or MSTP, Modbus/RTU, SMS, Email, HTTP/HTTPS, Vertiv Protocol",
|
| 236 |
+
"description": "Communication Options"
|
| 237 |
+
},
|
| 238 |
+
"aif:spec:cardCompatibility": {
|
| 239 |
+
"type": "string",
|
| 240 |
+
"value": "",
|
| 241 |
+
"description": "Card Compatibility"
|
| 242 |
+
},
|
| 243 |
+
"aif:core:manufacturer": {
|
| 244 |
+
"type": "string",
|
| 245 |
+
"value": "Vertiv",
|
| 246 |
+
"description": "Equipment manufacturer name [AIF-MANAGED]"
|
| 247 |
+
},
|
| 248 |
+
"aif:core:modelNumber": {
|
| 249 |
+
"type": "string",
|
| 250 |
+
"value": "Liebert PPC 500 kVA",
|
| 251 |
+
"description": "Equipment model number [AIF-MANAGED]"
|
| 252 |
+
},
|
| 253 |
+
"aif:core:overallGeometryDimensions": {
|
| 254 |
+
"type": "vector3f",
|
| 255 |
+
"value": [
|
| 256 |
+
1524.0,
|
| 257 |
+
1219.0,
|
| 258 |
+
2159.0
|
| 259 |
+
],
|
| 260 |
+
"description": "Overall Geometry (WxDxH) (mm)"
|
| 261 |
+
},
|
| 262 |
+
"aif:core:weight": {
|
| 263 |
+
"type": "int",
|
| 264 |
+
"value": 2650,
|
| 265 |
+
"description": "Equipment weight in kilograms"
|
| 266 |
+
},
|
| 267 |
+
"aif:core:height": {
|
| 268 |
+
"type": "int",
|
| 269 |
+
"value": 2159,
|
| 270 |
+
"description": "Equipment height in mm"
|
| 271 |
+
},
|
| 272 |
+
"aif:core:width": {
|
| 273 |
+
"type": "int",
|
| 274 |
+
"value": 1524,
|
| 275 |
+
"description": "Equipment width in mm"
|
| 276 |
+
},
|
| 277 |
+
"aif:core:depth": {
|
| 278 |
+
"type": "float",
|
| 279 |
+
"value": 1219.2,
|
| 280 |
+
"description": "Equipment depth in mm"
|
| 281 |
+
},
|
| 282 |
+
"aif:core:installationClearance": {
|
| 283 |
+
"type": "string",
|
| 284 |
+
"value": "",
|
| 285 |
+
"description": "Installation Clearance in mm"
|
| 286 |
+
},
|
| 287 |
+
"aif:core:topClearance": {
|
| 288 |
+
"type": "string",
|
| 289 |
+
"value": "",
|
| 290 |
+
"description": "Top Clearance in mm"
|
| 291 |
+
},
|
| 292 |
+
"aif:core:sideClearance": {
|
| 293 |
+
"type": "string",
|
| 294 |
+
"value": "",
|
| 295 |
+
"description": "Side Clearance (For installation) in mm"
|
| 296 |
+
},
|
| 297 |
+
"aif:core:frontClearance": {
|
| 298 |
+
"type": "string",
|
| 299 |
+
"value": "",
|
| 300 |
+
"description": "Front Clearance in mm"
|
| 301 |
+
},
|
| 302 |
+
"aif:core:accessibilityRequirement": {
|
| 303 |
+
"type": "string",
|
| 304 |
+
"value": "",
|
| 305 |
+
"description": "Service clearance in mm"
|
| 306 |
+
},
|
| 307 |
+
"aif:core:assetVersion": {
|
| 308 |
+
"type": "string",
|
| 309 |
+
"value": "0.1",
|
| 310 |
+
"description": "Design Revision of Digital Twin Asset"
|
| 311 |
+
},
|
| 312 |
+
"aif:core:assetClass": {
|
| 313 |
+
"type": "string",
|
| 314 |
+
"value": "PDU",
|
| 315 |
+
"description": "Class of AI Factory Equipment"
|
| 316 |
+
},
|
| 317 |
+
"aif:core:simreadyVersion": {
|
| 318 |
+
"type": "string",
|
| 319 |
+
"value": "0.1",
|
| 320 |
+
"description": "SimReady version"
|
| 321 |
+
},
|
| 322 |
+
"aif:core:sceneOptimizerVersion": {
|
| 323 |
+
"type": "string",
|
| 324 |
+
"value": "get_scene_optimizer_id()",
|
| 325 |
+
"description": "Scene Optimizer version"
|
| 326 |
+
},
|
| 327 |
+
"aif:core:assetValidatorVersion": {
|
| 328 |
+
"type": "string",
|
| 329 |
+
"value": "get_asset_validator_id()",
|
| 330 |
+
"description": "Asset Validator version"
|
| 331 |
+
},
|
| 332 |
+
"aif:core:assetDescription": {
|
| 333 |
+
"type": "string",
|
| 334 |
+
"value": "Designed for high-density applications such as AI workloads, this power conditioning and distribution cabinet delivers the performance and reliability of a custom-engineered system with the efficiency and cost-effectiveness of a pre-packaged, factory-tested solution. Available in capacities ranging from 400 kVA up to 1000 kVA, it is ideal for mission-critical environments requiring robust power infrastructure.",
|
| 335 |
+
"description": "Human Readable Description of Asset"
|
| 336 |
+
},
|
| 337 |
+
"aif:core:connectsToModelDocumentation": {
|
| 338 |
+
"type": "string",
|
| 339 |
+
"value": "https://www.vertiv.com/497459/globalassets/products/critical-power/power-distribution/liebert-ppc-distribution-cabinet/vertiv-liebert-ppc-400-750-kva-pdu-data-sheet-sl-71294.pdf",
|
| 340 |
+
"description": "Product documentation URL [AIF-MANAGED]"
|
| 341 |
+
},
|
| 342 |
+
"aif:core:assetCreationDate": {
|
| 343 |
+
"type": "string",
|
| 344 |
+
"value": "2026-07-30 00:00:00",
|
| 345 |
+
"description": "Creation Date of Revision of Asset ISO 8601 format (YYYY-MM-DD)"
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
"metadata": {
|
| 349 |
+
"description": "AIF properties for USD equipment models",
|
| 350 |
+
"version": "1.0",
|
| 351 |
+
"created": "2025-12-02"
|
| 352 |
+
}
|
| 353 |
+
}
|
PPC_500KVA/simready_usd/layers/PPC_500KVA_properties.usda
ADDED
|
@@ -0,0 +1,671 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#usda 1.0
|
| 2 |
+
(
|
| 3 |
+
defaultPrim = "PPC_500KVA"
|
| 4 |
+
)
|
| 5 |
+
|
| 6 |
+
over "PPC_500KVA"
|
| 7 |
+
{
|
| 8 |
+
custom float aif:core:accessibilityRequirement = 0
|
| 9 |
+
custom string aif:core:assetClass = "PDU" (
|
| 10 |
+
customData = {
|
| 11 |
+
dictionary omni = {
|
| 12 |
+
dictionary kit = {
|
| 13 |
+
bool locked = 1
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
}
|
| 17 |
+
doc = "Class of AI Factory Equipment [AIF-MANAGED]"
|
| 18 |
+
)
|
| 19 |
+
custom string aif:core:assetCreationDate = "2026-07-30" (
|
| 20 |
+
customData = {
|
| 21 |
+
dictionary omni = {
|
| 22 |
+
dictionary kit = {
|
| 23 |
+
bool locked = 1
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
doc = "Creation Date of Revision of Asset ISO 8601 format (YYYY-MM-DD) [AIF-MANAGED]"
|
| 28 |
+
)
|
| 29 |
+
custom string aif:core:assetDescription = "Designed for high-density applications such as AI workloads, this power conditioning and distribution cabinet delivers the performance and reliability of a custom-engineered system with the efficiency and cost-effectiveness of a pre-packaged, factory-tested solution. Available in capacities ranging from 400 kVA up to 1000 kVA, it is ideal for mission-critical environments requiring robust power infrastructure." (
|
| 30 |
+
customData = {
|
| 31 |
+
dictionary omni = {
|
| 32 |
+
dictionary kit = {
|
| 33 |
+
bool locked = 1
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
doc = "Human Readable Description of Asset [AIF-MANAGED]"
|
| 38 |
+
)
|
| 39 |
+
custom string aif:core:assetValidatorVersion = "1.18.0" (
|
| 40 |
+
customData = {
|
| 41 |
+
dictionary omni = {
|
| 42 |
+
dictionary kit = {
|
| 43 |
+
bool locked = 1
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
doc = "Asset Validator version [AIF-MANAGED]"
|
| 48 |
+
)
|
| 49 |
+
custom string aif:core:assetVersion = "0.1" (
|
| 50 |
+
customData = {
|
| 51 |
+
dictionary omni = {
|
| 52 |
+
dictionary kit = {
|
| 53 |
+
bool locked = 1
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
doc = "Design Revision of Digital Twin Asset [AIF-MANAGED]"
|
| 58 |
+
)
|
| 59 |
+
custom string aif:core:connectsToModelDocumentation = "https://www.vertiv.com/497459/globalassets/products/critical-power/power-distribution/liebert-ppc-distribution-cabinet/vertiv-liebert-ppc-400-750-kva-pdu-data-sheet-sl-71294.pdf" (
|
| 60 |
+
customData = {
|
| 61 |
+
dictionary omni = {
|
| 62 |
+
dictionary kit = {
|
| 63 |
+
bool locked = 1
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
doc = "Product documentation URL [AIF-MANAGED]"
|
| 68 |
+
)
|
| 69 |
+
custom float aif:core:depth = 1219.2 (
|
| 70 |
+
customData = {
|
| 71 |
+
dictionary omni = {
|
| 72 |
+
dictionary kit = {
|
| 73 |
+
bool locked = 1
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
doc = "Equipment depth in mm [AIF-MANAGED]"
|
| 78 |
+
)
|
| 79 |
+
custom string aif:core:frontClearance = "" (
|
| 80 |
+
customData = {
|
| 81 |
+
dictionary omni = {
|
| 82 |
+
dictionary kit = {
|
| 83 |
+
bool locked = 1
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
doc = "Front Clearance in mm [AIF-MANAGED]"
|
| 88 |
+
)
|
| 89 |
+
custom int aif:core:height = 2159 (
|
| 90 |
+
customData = {
|
| 91 |
+
dictionary omni = {
|
| 92 |
+
dictionary kit = {
|
| 93 |
+
bool locked = 1
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
}
|
| 97 |
+
doc = "Equipment height in mm [AIF-MANAGED]"
|
| 98 |
+
)
|
| 99 |
+
custom float aif:core:installationClearance = 0
|
| 100 |
+
custom string aif:core:manufacturer = "Vertiv" (
|
| 101 |
+
customData = {
|
| 102 |
+
dictionary omni = {
|
| 103 |
+
dictionary kit = {
|
| 104 |
+
bool locked = 1
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
doc = "Equipment manufacturer name [AIF-MANAGED]"
|
| 109 |
+
)
|
| 110 |
+
custom string aif:core:modelNumber = "Liebert PPC 500 kVA" (
|
| 111 |
+
customData = {
|
| 112 |
+
dictionary omni = {
|
| 113 |
+
dictionary kit = {
|
| 114 |
+
bool locked = 1
|
| 115 |
+
}
|
| 116 |
+
}
|
| 117 |
+
}
|
| 118 |
+
doc = "Equipment model number [AIF-MANAGED]"
|
| 119 |
+
)
|
| 120 |
+
custom vector3f aif:core:overallGeometryDimensions = (1524, 1219, 2159) (
|
| 121 |
+
customData = {
|
| 122 |
+
dictionary omni = {
|
| 123 |
+
dictionary kit = {
|
| 124 |
+
bool locked = 1
|
| 125 |
+
}
|
| 126 |
+
}
|
| 127 |
+
}
|
| 128 |
+
doc = "Overall Geometry (WxDxH) (mm) [AIF-MANAGED]"
|
| 129 |
+
)
|
| 130 |
+
custom string aif:core:sceneOptimizerVersion = "110.1.0" (
|
| 131 |
+
customData = {
|
| 132 |
+
dictionary omni = {
|
| 133 |
+
dictionary kit = {
|
| 134 |
+
bool locked = 1
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
doc = "Scene Optimizer version [AIF-MANAGED]"
|
| 139 |
+
)
|
| 140 |
+
custom string aif:core:sideClearance = "" (
|
| 141 |
+
customData = {
|
| 142 |
+
dictionary omni = {
|
| 143 |
+
dictionary kit = {
|
| 144 |
+
bool locked = 1
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
doc = "Side Clearance (For installation) in mm [AIF-MANAGED]"
|
| 149 |
+
)
|
| 150 |
+
custom string aif:core:simreadyVersion = "0.2.0" (
|
| 151 |
+
customData = {
|
| 152 |
+
dictionary omni = {
|
| 153 |
+
dictionary kit = {
|
| 154 |
+
bool locked = 1
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
}
|
| 158 |
+
doc = "SimReady version [AIF-MANAGED]"
|
| 159 |
+
)
|
| 160 |
+
custom string aif:core:topClearance = "" (
|
| 161 |
+
customData = {
|
| 162 |
+
dictionary omni = {
|
| 163 |
+
dictionary kit = {
|
| 164 |
+
bool locked = 1
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
doc = "Top Clearance in mm [AIF-MANAGED]"
|
| 169 |
+
)
|
| 170 |
+
custom int aif:core:weight = 2650 (
|
| 171 |
+
customData = {
|
| 172 |
+
dictionary omni = {
|
| 173 |
+
dictionary kit = {
|
| 174 |
+
bool locked = 1
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
}
|
| 178 |
+
doc = "Equipment weight in kilograms [AIF-MANAGED]"
|
| 179 |
+
)
|
| 180 |
+
custom int aif:core:width = 1524 (
|
| 181 |
+
customData = {
|
| 182 |
+
dictionary omni = {
|
| 183 |
+
dictionary kit = {
|
| 184 |
+
bool locked = 1
|
| 185 |
+
}
|
| 186 |
+
}
|
| 187 |
+
}
|
| 188 |
+
doc = "Equipment width in mm [AIF-MANAGED]"
|
| 189 |
+
)
|
| 190 |
+
custom string aif:spec:breakerConfiguration = "Up to 8 x 600AF or 4 x 1200AF subfeed breakers Auxiliary Switch(s) and Alarm Switch accessories available" (
|
| 191 |
+
customData = {
|
| 192 |
+
dictionary omni = {
|
| 193 |
+
dictionary kit = {
|
| 194 |
+
bool locked = 1
|
| 195 |
+
}
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
doc = "Breaker Configuration [AIF-MANAGED]"
|
| 199 |
+
)
|
| 200 |
+
custom string aif:spec:cardCompatibility = "" (
|
| 201 |
+
customData = {
|
| 202 |
+
dictionary omni = {
|
| 203 |
+
dictionary kit = {
|
| 204 |
+
bool locked = 1
|
| 205 |
+
}
|
| 206 |
+
}
|
| 207 |
+
}
|
| 208 |
+
doc = "Card Compatibility [AIF-MANAGED]"
|
| 209 |
+
)
|
| 210 |
+
custom string aif:spec:color = "" (
|
| 211 |
+
customData = {
|
| 212 |
+
dictionary omni = {
|
| 213 |
+
dictionary kit = {
|
| 214 |
+
bool locked = 1
|
| 215 |
+
}
|
| 216 |
+
}
|
| 217 |
+
}
|
| 218 |
+
doc = "Color [AIF-MANAGED]"
|
| 219 |
+
)
|
| 220 |
+
custom string aif:spec:communicationOptions = "Modbus TCP, SNMP, BACnet IP or MSTP, Modbus/RTU, SMS, Email, HTTP/HTTPS, Vertiv Protocol" (
|
| 221 |
+
customData = {
|
| 222 |
+
dictionary omni = {
|
| 223 |
+
dictionary kit = {
|
| 224 |
+
bool locked = 1
|
| 225 |
+
}
|
| 226 |
+
}
|
| 227 |
+
}
|
| 228 |
+
doc = "Communication Options [AIF-MANAGED]"
|
| 229 |
+
)
|
| 230 |
+
custom string aif:spec:controlPanel = '9.0" Color touchscreen display (Liebert® DPM)' (
|
| 231 |
+
customData = {
|
| 232 |
+
dictionary omni = {
|
| 233 |
+
dictionary kit = {
|
| 234 |
+
bool locked = 1
|
| 235 |
+
}
|
| 236 |
+
}
|
| 237 |
+
}
|
| 238 |
+
doc = "Control Panel [AIF-MANAGED]"
|
| 239 |
+
)
|
| 240 |
+
custom string aif:spec:coolingMethod = "Convection cooled" (
|
| 241 |
+
customData = {
|
| 242 |
+
dictionary omni = {
|
| 243 |
+
dictionary kit = {
|
| 244 |
+
bool locked = 1
|
| 245 |
+
}
|
| 246 |
+
}
|
| 247 |
+
}
|
| 248 |
+
doc = "Cooling Method [AIF-MANAGED]"
|
| 249 |
+
)
|
| 250 |
+
custom string aif:spec:dcRippleVoltage = "" (
|
| 251 |
+
customData = {
|
| 252 |
+
dictionary omni = {
|
| 253 |
+
dictionary kit = {
|
| 254 |
+
bool locked = 1
|
| 255 |
+
}
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
doc = "DC Ripple at Float Voltage [AIF-MANAGED]"
|
| 259 |
+
)
|
| 260 |
+
custom float aif:spec:displaySize = 229 (
|
| 261 |
+
customData = {
|
| 262 |
+
dictionary omni = {
|
| 263 |
+
dictionary kit = {
|
| 264 |
+
bool locked = 1
|
| 265 |
+
}
|
| 266 |
+
}
|
| 267 |
+
}
|
| 268 |
+
doc = "Color touchscreen Display in mm [AIF-MANAGED]"
|
| 269 |
+
)
|
| 270 |
+
custom int aif:spec:distributionBreakers = 8 (
|
| 271 |
+
customData = {
|
| 272 |
+
dictionary omni = {
|
| 273 |
+
dictionary kit = {
|
| 274 |
+
bool locked = 1
|
| 275 |
+
}
|
| 276 |
+
}
|
| 277 |
+
}
|
| 278 |
+
doc = "Number of Distribution Breakers [AIF-MANAGED]"
|
| 279 |
+
)
|
| 280 |
+
custom string aif:spec:distributionRating = "Up to 8 x 600AF or 4 x 1200AF subfeed breakers" (
|
| 281 |
+
customData = {
|
| 282 |
+
dictionary omni = {
|
| 283 |
+
dictionary kit = {
|
| 284 |
+
bool locked = 1
|
| 285 |
+
}
|
| 286 |
+
}
|
| 287 |
+
}
|
| 288 |
+
doc = "Distribution Breakers AF/AT & Rating [AIF-MANAGED]"
|
| 289 |
+
)
|
| 290 |
+
custom float aif:spec:electricalCapacity = 500 (
|
| 291 |
+
customData = {
|
| 292 |
+
dictionary omni = {
|
| 293 |
+
dictionary kit = {
|
| 294 |
+
bool locked = 1
|
| 295 |
+
}
|
| 296 |
+
}
|
| 297 |
+
}
|
| 298 |
+
doc = "Electrical Capacity in KVA [AIF-MANAGED]"
|
| 299 |
+
)
|
| 300 |
+
custom string aif:spec:electricalCurrent = "" (
|
| 301 |
+
customData = {
|
| 302 |
+
dictionary omni = {
|
| 303 |
+
dictionary kit = {
|
| 304 |
+
bool locked = 1
|
| 305 |
+
}
|
| 306 |
+
}
|
| 307 |
+
}
|
| 308 |
+
doc = "Electrical Current [AIF-MANAGED]"
|
| 309 |
+
)
|
| 310 |
+
custom int aif:spec:electricalInputFrequency = 60 (
|
| 311 |
+
customData = {
|
| 312 |
+
dictionary omni = {
|
| 313 |
+
dictionary kit = {
|
| 314 |
+
bool locked = 1
|
| 315 |
+
}
|
| 316 |
+
}
|
| 317 |
+
}
|
| 318 |
+
doc = "Electrical Input Frequency in Hz [AIF-MANAGED]"
|
| 319 |
+
)
|
| 320 |
+
custom int aif:spec:electricalInputPhase = 3 (
|
| 321 |
+
customData = {
|
| 322 |
+
dictionary omni = {
|
| 323 |
+
dictionary kit = {
|
| 324 |
+
bool locked = 1
|
| 325 |
+
}
|
| 326 |
+
}
|
| 327 |
+
}
|
| 328 |
+
doc = "Electrical Input Phase [AIF-MANAGED]"
|
| 329 |
+
)
|
| 330 |
+
custom string aif:spec:electricalInputVoltage = "" (
|
| 331 |
+
customData = {
|
| 332 |
+
dictionary omni = {
|
| 333 |
+
dictionary kit = {
|
| 334 |
+
bool locked = 1
|
| 335 |
+
}
|
| 336 |
+
}
|
| 337 |
+
}
|
| 338 |
+
doc = "Electrical Nominal Voltage in Volt [AIF-MANAGED]"
|
| 339 |
+
)
|
| 340 |
+
custom string aif:spec:electricalOutputFrequency = "" (
|
| 341 |
+
customData = {
|
| 342 |
+
dictionary omni = {
|
| 343 |
+
dictionary kit = {
|
| 344 |
+
bool locked = 1
|
| 345 |
+
}
|
| 346 |
+
}
|
| 347 |
+
}
|
| 348 |
+
doc = "Electrical Output Frequency in Hz [AIF-MANAGED]"
|
| 349 |
+
)
|
| 350 |
+
custom int aif:spec:electricalOutputPhase = 3 (
|
| 351 |
+
customData = {
|
| 352 |
+
dictionary omni = {
|
| 353 |
+
dictionary kit = {
|
| 354 |
+
bool locked = 1
|
| 355 |
+
}
|
| 356 |
+
}
|
| 357 |
+
}
|
| 358 |
+
doc = "Electrical Output Phase [AIF-MANAGED]"
|
| 359 |
+
)
|
| 360 |
+
custom string aif:spec:inputBreakerRating = "Main Input Circuit Breaker (MICB)specific Amp rating TBD" (
|
| 361 |
+
customData = {
|
| 362 |
+
dictionary omni = {
|
| 363 |
+
dictionary kit = {
|
| 364 |
+
bool locked = 1
|
| 365 |
+
}
|
| 366 |
+
}
|
| 367 |
+
}
|
| 368 |
+
doc = "Input Breaker Rating in Amp [AIF-MANAGED]"
|
| 369 |
+
)
|
| 370 |
+
custom string aif:spec:inputConnection = "3-phase, 3-wire plus ground; Top and Bottom cable entry/exit" (
|
| 371 |
+
customData = {
|
| 372 |
+
dictionary omni = {
|
| 373 |
+
dictionary kit = {
|
| 374 |
+
bool locked = 1
|
| 375 |
+
}
|
| 376 |
+
}
|
| 377 |
+
}
|
| 378 |
+
doc = "Input Connections Type [AIF-MANAGED]"
|
| 379 |
+
)
|
| 380 |
+
custom string aif:spec:inputCurrentDistortion = "" (
|
| 381 |
+
customData = {
|
| 382 |
+
dictionary omni = {
|
| 383 |
+
dictionary kit = {
|
| 384 |
+
bool locked = 1
|
| 385 |
+
}
|
| 386 |
+
}
|
| 387 |
+
}
|
| 388 |
+
doc = "Input Current Distortion (THDi) at Nominal Voltage at Full Load [AIF-MANAGED]"
|
| 389 |
+
)
|
| 390 |
+
custom int aif:spec:inputFrequency = 60 (
|
| 391 |
+
customData = {
|
| 392 |
+
dictionary omni = {
|
| 393 |
+
dictionary kit = {
|
| 394 |
+
bool locked = 1
|
| 395 |
+
}
|
| 396 |
+
}
|
| 397 |
+
}
|
| 398 |
+
doc = "Nominal Input Frequence in Hz [AIF-MANAGED]"
|
| 399 |
+
)
|
| 400 |
+
custom string aif:spec:inputPowerFactor = "" (
|
| 401 |
+
customData = {
|
| 402 |
+
dictionary omni = {
|
| 403 |
+
dictionary kit = {
|
| 404 |
+
bool locked = 1
|
| 405 |
+
}
|
| 406 |
+
}
|
| 407 |
+
}
|
| 408 |
+
doc = "Electrical Power Factor [AIF-MANAGED]"
|
| 409 |
+
)
|
| 410 |
+
custom string aif:spec:inputVoltageTolerance = "480" (
|
| 411 |
+
customData = {
|
| 412 |
+
dictionary omni = {
|
| 413 |
+
dictionary kit = {
|
| 414 |
+
bool locked = 1
|
| 415 |
+
}
|
| 416 |
+
}
|
| 417 |
+
}
|
| 418 |
+
doc = "Input Voltage Tolerance in Volt [AIF-MANAGED]"
|
| 419 |
+
)
|
| 420 |
+
custom int aif:spec:kvaRating = 500 (
|
| 421 |
+
customData = {
|
| 422 |
+
dictionary omni = {
|
| 423 |
+
dictionary kit = {
|
| 424 |
+
bool locked = 1
|
| 425 |
+
}
|
| 426 |
+
}
|
| 427 |
+
}
|
| 428 |
+
doc = "KVA Rating [AIF-MANAGED]"
|
| 429 |
+
)
|
| 430 |
+
custom string aif:spec:loadPowerFactor = "" (
|
| 431 |
+
customData = {
|
| 432 |
+
dictionary omni = {
|
| 433 |
+
dictionary kit = {
|
| 434 |
+
bool locked = 1
|
| 435 |
+
}
|
| 436 |
+
}
|
| 437 |
+
}
|
| 438 |
+
doc = "Load Power Factor Supported (Without Derating) [AIF-MANAGED]"
|
| 439 |
+
)
|
| 440 |
+
custom string aif:spec:monitoring = "Input/Output monitoring available at system level and branch circuit level" (
|
| 441 |
+
customData = {
|
| 442 |
+
dictionary omni = {
|
| 443 |
+
dictionary kit = {
|
| 444 |
+
bool locked = 1
|
| 445 |
+
}
|
| 446 |
+
}
|
| 447 |
+
}
|
| 448 |
+
doc = "Monitoring of Transformer & Distribution [AIF-MANAGED]"
|
| 449 |
+
)
|
| 450 |
+
custom string aif:spec:monitoringCards = "" (
|
| 451 |
+
customData = {
|
| 452 |
+
dictionary omni = {
|
| 453 |
+
dictionary kit = {
|
| 454 |
+
bool locked = 1
|
| 455 |
+
}
|
| 456 |
+
}
|
| 457 |
+
}
|
| 458 |
+
doc = "Number of Monitoring Cards [AIF-MANAGED]"
|
| 459 |
+
)
|
| 460 |
+
custom string aif:spec:monitoringConfiguration = "System level (Input & Output) + Branch Circuit Level (BCMS); Measured Values: Voltage, Current, Power Factor, Energy, Harmonics" (
|
| 461 |
+
customData = {
|
| 462 |
+
dictionary omni = {
|
| 463 |
+
dictionary kit = {
|
| 464 |
+
bool locked = 1
|
| 465 |
+
}
|
| 466 |
+
}
|
| 467 |
+
}
|
| 468 |
+
doc = "Monitoring_Configuration [AIF-MANAGED]"
|
| 469 |
+
)
|
| 470 |
+
custom int aif:spec:neutralConductorratingRating = 2 (
|
| 471 |
+
customData = {
|
| 472 |
+
dictionary omni = {
|
| 473 |
+
dictionary kit = {
|
| 474 |
+
bool locked = 1
|
| 475 |
+
}
|
| 476 |
+
}
|
| 477 |
+
}
|
| 478 |
+
doc = "Neutral Conductor Rating in percentage [AIF-MANAGED]"
|
| 479 |
+
)
|
| 480 |
+
custom string aif:spec:nominalBatteryBus = "" (
|
| 481 |
+
customData = {
|
| 482 |
+
dictionary omni = {
|
| 483 |
+
dictionary kit = {
|
| 484 |
+
bool locked = 1
|
| 485 |
+
}
|
| 486 |
+
}
|
| 487 |
+
}
|
| 488 |
+
doc = "Nominal Battery Bus [AIF-MANAGED]"
|
| 489 |
+
)
|
| 490 |
+
custom float aif:spec:operatingAltitude = 2012 (
|
| 491 |
+
customData = {
|
| 492 |
+
dictionary omni = {
|
| 493 |
+
dictionary kit = {
|
| 494 |
+
bool locked = 1
|
| 495 |
+
}
|
| 496 |
+
}
|
| 497 |
+
}
|
| 498 |
+
doc = "Operating Altitude without derating in meter [AIF-MANAGED]"
|
| 499 |
+
)
|
| 500 |
+
custom int aif:spec:operatingTemperature = 313 (
|
| 501 |
+
customData = {
|
| 502 |
+
dictionary omni = {
|
| 503 |
+
dictionary kit = {
|
| 504 |
+
bool locked = 1
|
| 505 |
+
}
|
| 506 |
+
}
|
| 507 |
+
}
|
| 508 |
+
doc = "Operating Temperature in Kelvin [AIF-MANAGED]"
|
| 509 |
+
)
|
| 510 |
+
custom float aif:spec:outputActivePower = 500 (
|
| 511 |
+
customData = {
|
| 512 |
+
dictionary omni = {
|
| 513 |
+
dictionary kit = {
|
| 514 |
+
bool locked = 1
|
| 515 |
+
}
|
| 516 |
+
}
|
| 517 |
+
}
|
| 518 |
+
doc = "Output Active Power (kW) [AIF-MANAGED]"
|
| 519 |
+
)
|
| 520 |
+
custom string aif:spec:outputConnection = "3-phase, 4-wire plus ground; Top and Bottom cable entry/exit" (
|
| 521 |
+
customData = {
|
| 522 |
+
dictionary omni = {
|
| 523 |
+
dictionary kit = {
|
| 524 |
+
bool locked = 1
|
| 525 |
+
}
|
| 526 |
+
}
|
| 527 |
+
}
|
| 528 |
+
doc = "Output Connection Type [AIF-MANAGED]"
|
| 529 |
+
)
|
| 530 |
+
custom string aif:spec:outputThdNominalVoltage = "" (
|
| 531 |
+
customData = {
|
| 532 |
+
dictionary omni = {
|
| 533 |
+
dictionary kit = {
|
| 534 |
+
bool locked = 1
|
| 535 |
+
}
|
| 536 |
+
}
|
| 537 |
+
}
|
| 538 |
+
doc = "Output THD at Nominal Voltage at RMS value [AIF-MANAGED]"
|
| 539 |
+
)
|
| 540 |
+
custom string aif:spec:outputThdNominalVoltageWithNonLinearLoad = "" (
|
| 541 |
+
customData = {
|
| 542 |
+
dictionary omni = {
|
| 543 |
+
dictionary kit = {
|
| 544 |
+
bool locked = 1
|
| 545 |
+
}
|
| 546 |
+
}
|
| 547 |
+
}
|
| 548 |
+
doc = "Output THD at Nominal Voltage including a 100kVA Non Linear Load per IEC 6204 at RMS value [AIF-MANAGED]"
|
| 549 |
+
)
|
| 550 |
+
custom string aif:spec:outputVoltage = "415/240" (
|
| 551 |
+
customData = {
|
| 552 |
+
dictionary omni = {
|
| 553 |
+
dictionary kit = {
|
| 554 |
+
bool locked = 1
|
| 555 |
+
}
|
| 556 |
+
}
|
| 557 |
+
}
|
| 558 |
+
doc = "Output Voltage in Volt [AIF-MANAGED]"
|
| 559 |
+
)
|
| 560 |
+
custom string aif:spec:overloadAtNominalVoltage = "" (
|
| 561 |
+
customData = {
|
| 562 |
+
dictionary omni = {
|
| 563 |
+
dictionary kit = {
|
| 564 |
+
bool locked = 1
|
| 565 |
+
}
|
| 566 |
+
}
|
| 567 |
+
}
|
| 568 |
+
doc = "Overload at Nominal Voltage in Volt and 77degF (25degC) [AIF-MANAGED]"
|
| 569 |
+
)
|
| 570 |
+
custom int aif:spec:relativeHumidity = 90 (
|
| 571 |
+
customData = {
|
| 572 |
+
dictionary omni = {
|
| 573 |
+
dictionary kit = {
|
| 574 |
+
bool locked = 1
|
| 575 |
+
}
|
| 576 |
+
}
|
| 577 |
+
}
|
| 578 |
+
doc = "Relative Humidity in percentage [AIF-MANAGED]"
|
| 579 |
+
)
|
| 580 |
+
custom float aif:spec:storageTemperature = 328 (
|
| 581 |
+
customData = {
|
| 582 |
+
dictionary omni = {
|
| 583 |
+
dictionary kit = {
|
| 584 |
+
bool locked = 1
|
| 585 |
+
}
|
| 586 |
+
}
|
| 587 |
+
}
|
| 588 |
+
doc = "[AIF-MANAGED]"
|
| 589 |
+
)
|
| 590 |
+
custom float aif:spec:temperatureRiseOption = 423 (
|
| 591 |
+
customData = {
|
| 592 |
+
dictionary omni = {
|
| 593 |
+
dictionary kit = {
|
| 594 |
+
bool locked = 1
|
| 595 |
+
}
|
| 596 |
+
}
|
| 597 |
+
}
|
| 598 |
+
doc = "Temperature Rise Options in Kelvin [AIF-MANAGED]"
|
| 599 |
+
)
|
| 600 |
+
custom string aif:spec:transformerCtLocation = "" (
|
| 601 |
+
customData = {
|
| 602 |
+
dictionary omni = {
|
| 603 |
+
dictionary kit = {
|
| 604 |
+
bool locked = 1
|
| 605 |
+
}
|
| 606 |
+
}
|
| 607 |
+
}
|
| 608 |
+
doc = "Transformer CT Location [AIF-MANAGED]"
|
| 609 |
+
)
|
| 610 |
+
custom string aif:spec:transformerMaterial = "Copper (Cu) and Aluminum (Al) both available" (
|
| 611 |
+
customData = {
|
| 612 |
+
dictionary omni = {
|
| 613 |
+
dictionary kit = {
|
| 614 |
+
bool locked = 1
|
| 615 |
+
}
|
| 616 |
+
}
|
| 617 |
+
}
|
| 618 |
+
doc = "Transformer Material [AIF-MANAGED]"
|
| 619 |
+
)
|
| 620 |
+
custom string aif:spec:transformerRating = "" (
|
| 621 |
+
customData = {
|
| 622 |
+
dictionary omni = {
|
| 623 |
+
dictionary kit = {
|
| 624 |
+
bool locked = 1
|
| 625 |
+
}
|
| 626 |
+
}
|
| 627 |
+
}
|
| 628 |
+
doc = "Transformer Rating [AIF-MANAGED]"
|
| 629 |
+
)
|
| 630 |
+
custom string aif:spec:transientRecoveryLoad = "" (
|
| 631 |
+
customData = {
|
| 632 |
+
dictionary omni = {
|
| 633 |
+
dictionary kit = {
|
| 634 |
+
bool locked = 1
|
| 635 |
+
}
|
| 636 |
+
}
|
| 637 |
+
}
|
| 638 |
+
doc = "Translent Recovery 100 Load Step [AIF-MANAGED]"
|
| 639 |
+
)
|
| 640 |
+
custom string aif:spec:upsEnclosureClass = "" (
|
| 641 |
+
customData = {
|
| 642 |
+
dictionary omni = {
|
| 643 |
+
dictionary kit = {
|
| 644 |
+
bool locked = 1
|
| 645 |
+
}
|
| 646 |
+
}
|
| 647 |
+
}
|
| 648 |
+
doc = "UPS Enclosure Class with and without front door open [AIF-MANAGED]"
|
| 649 |
+
)
|
| 650 |
+
custom string aif:spec:voltageDisplacement = "" (
|
| 651 |
+
customData = {
|
| 652 |
+
dictionary omni = {
|
| 653 |
+
dictionary kit = {
|
| 654 |
+
bool locked = 1
|
| 655 |
+
}
|
| 656 |
+
}
|
| 657 |
+
}
|
| 658 |
+
doc = "Voltage Displacement [AIF-MANAGED]"
|
| 659 |
+
)
|
| 660 |
+
custom string aif:spec:withstandVoltsAlternatingCurrent = "" (
|
| 661 |
+
customData = {
|
| 662 |
+
dictionary omni = {
|
| 663 |
+
dictionary kit = {
|
| 664 |
+
bool locked = 1
|
| 665 |
+
}
|
| 666 |
+
}
|
| 667 |
+
}
|
| 668 |
+
doc = "Withstand Volts Alternating Current in VAC [AIF-MANAGED]"
|
| 669 |
+
)
|
| 670 |
+
}
|
| 671 |
+
|
PPC_500KVA/simready_usd/materials/Carpaint_Solid.mdl
ADDED
|
@@ -0,0 +1,1112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/******************************************************************************
|
| 2 |
+
* Copyright 2023 NVIDIA Corporation. All rights reserved. *
|
| 3 |
+
******************************************************************************
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,
|
| 6 |
+
to any person obtaining a copy of the sample definition code that uses our
|
| 7 |
+
Material Definition Language (the "MDL Materials"), to reproduce and distribute
|
| 8 |
+
the MDL Materials, including without limitation the rights to use, copy, merge,
|
| 9 |
+
publish, distribute, and sell modified and unmodified copies of the MDL
|
| 10 |
+
Materials, and to permit persons to whom the MDL Materials is furnished to do
|
| 11 |
+
so, in all cases solely for use with NVIDIA's Material Definition Language,
|
| 12 |
+
subject to the following further conditions:
|
| 13 |
+
|
| 14 |
+
1. The above copyright notices, this list of conditions, and the disclaimer
|
| 15 |
+
that follows shall be retained in all copies of one or more of the MDL
|
| 16 |
+
Materials, including in any software with which the MDL Materials are bundled,
|
| 17 |
+
redistributed, and/or sold, and included either as stand-alone text files,
|
| 18 |
+
human-readable headers or in the appropriate machine-readable metadata fields
|
| 19 |
+
within text or binary files as long as those fields can be easily viewed by the
|
| 20 |
+
user, as applicable.
|
| 21 |
+
2. The name of NVIDIA shall not be used to promote, endorse or advertise any
|
| 22 |
+
Modified Version without specific prior written permission, except a) to comply
|
| 23 |
+
with the notice requirements otherwise contained herein; or b) to acknowledge
|
| 24 |
+
the contribution(s) of NVIDIA.
|
| 25 |
+
|
| 26 |
+
THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 27 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
| 28 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
| 29 |
+
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR
|
| 30 |
+
ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
|
| 31 |
+
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
|
| 32 |
+
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
|
| 33 |
+
THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.
|
| 34 |
+
*/
|
| 35 |
+
|
| 36 |
+
mdl 1.6;
|
| 37 |
+
import ::df::*;
|
| 38 |
+
import ::math::*;
|
| 39 |
+
import ::anno::*;
|
| 40 |
+
import ::state::*;
|
| 41 |
+
import ::base::*;
|
| 42 |
+
import ::tex::*;
|
| 43 |
+
import ::nvidia::core_definitions::dimension;
|
| 44 |
+
import ::nvidia::core_definitions::blend_colors;
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
const string COPYRIGHT =
|
| 48 |
+
" Copyright 2023 NVIDIA Corporation. All rights reserved.\n"
|
| 49 |
+
" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
|
| 50 |
+
" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
|
| 51 |
+
" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
|
| 52 |
+
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
|
| 53 |
+
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
|
| 54 |
+
" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
|
| 55 |
+
" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
|
| 56 |
+
" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
|
| 57 |
+
" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
|
| 58 |
+
" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
::base::texture_coordinate_info transform_coordinate_2(
|
| 62 |
+
float4x4 transform
|
| 63 |
+
[[ ::anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix") ]],
|
| 64 |
+
::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info()
|
| 65 |
+
[[ ::anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection") ]]
|
| 66 |
+
) [[
|
| 67 |
+
::anno::description("Transform a texture coordinate by a matrix") ,
|
| 68 |
+
::anno::noinline()
|
| 69 |
+
]]
|
| 70 |
+
{
|
| 71 |
+
// Version 2
|
| 72 |
+
float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1);
|
| 73 |
+
//Try aproximating it for the case that the rotation is only aroud z and assuming the texture layout is nice and z is ~constant.
|
| 74 |
+
//just pretend there is no other rotation happening
|
| 75 |
+
//get rid of scaling and translation. Then extract fields where sin and cos would be in a simple 2d transform around z.
|
| 76 |
+
float4 u = transform[0];
|
| 77 |
+
float3 ru = ::math::normalize(float3(u.x,u.y,u.z));
|
| 78 |
+
float cos = ru.x;
|
| 79 |
+
float sin = -ru.y;
|
| 80 |
+
|
| 81 |
+
return ::base::texture_coordinate_info(
|
| 82 |
+
float3(r_position.x,r_position.y,r_position.z),
|
| 83 |
+
::math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v),
|
| 84 |
+
::math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u));
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
// Takes the standard input that every material has. It combines a couple of
|
| 88 |
+
// functions in one convenience function.
|
| 89 |
+
::base::texture_coordinate_info vmat_transform(
|
| 90 |
+
float2 translation = float2(0.0f, 0.0f),
|
| 91 |
+
float rotation = 0.0f, // rotation in degrees
|
| 92 |
+
float2 scaling = float2(1.0f, 1.0f),
|
| 93 |
+
uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw,
|
| 94 |
+
uniform int uv_space = 0
|
| 95 |
+
)
|
| 96 |
+
{
|
| 97 |
+
float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f;
|
| 98 |
+
float4x4 scale =
|
| 99 |
+
float4x4(1.0f /scaling.x, 0.f , 0.f , 0.f,
|
| 100 |
+
0.f , 1.0f /scaling.y , 0.f , 0.f,
|
| 101 |
+
0.f , 0.f , 1.0f, 0.f,
|
| 102 |
+
translation.x , translation.y , 0.0f, 1.f);
|
| 103 |
+
|
| 104 |
+
float s = ::math::sin(rotation_rad);
|
| 105 |
+
float c = ::math::cos(rotation_rad);
|
| 106 |
+
float4x4 rotate =
|
| 107 |
+
float4x4( c , -s , 0.0f , 0.0f,
|
| 108 |
+
s , c , 0.0f , 0.0f,
|
| 109 |
+
0.0f, 0.0f , 1.0f , 0.0f,
|
| 110 |
+
0.f , 0.0f , 0.0f , 1.f);
|
| 111 |
+
|
| 112 |
+
return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space));
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
float histogram_range(float input, float range = 1.0f, float position = 0.5f)
|
| 118 |
+
{
|
| 119 |
+
float low = ::math::clamp(1.0f - ::math::min(((1.0f - position) + range * 0.5f), (1.0f - position) * 2), 0.0f, 1.0f);
|
| 120 |
+
float high = ::math::clamp(::math::min((position + range * 0.5f ), position * 2.0f), 0.0f, 1.0f);
|
| 121 |
+
return ::math::lerp(low, high, input);
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
//
|
| 125 |
+
// flake noise utilities
|
| 126 |
+
//
|
| 127 |
+
int hash(int seed, int i)
|
| 128 |
+
{
|
| 129 |
+
return (i ^ seed) * 1075385539;
|
| 130 |
+
}
|
| 131 |
+
int rnd_init(int3 pos)
|
| 132 |
+
{
|
| 133 |
+
return hash(hash(hash(0, pos.x), pos.y), pos.z);
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
int rnd_next(int seed) {
|
| 137 |
+
// xorshift32 using signed int
|
| 138 |
+
seed ^= seed << 13;
|
| 139 |
+
seed ^= seed >>> 17;
|
| 140 |
+
seed ^= seed << 5;
|
| 141 |
+
return seed;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
float rnd_value(int seed)
|
| 145 |
+
{
|
| 146 |
+
//return ::math::abs(float(seed) * 4.6566fe-10f);
|
| 147 |
+
return ::math::abs(float(seed) * 0.00000000046566f);
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
// apply random rotation (using "Fast Random Rotation Matrices" by James Arvo)
|
| 151 |
+
float3 rotate_pos(float3 pos, float3 xi)
|
| 152 |
+
{
|
| 153 |
+
float theta = ::math::PI * 2.0f * xi.x;
|
| 154 |
+
float phi = ::math::PI * 2.0f * xi.y;
|
| 155 |
+
float z = xi.z * 2.0f;
|
| 156 |
+
|
| 157 |
+
float r = ::math::sqrt(z);
|
| 158 |
+
float[2] sp_cp = ::math::sincos(phi);
|
| 159 |
+
float Vx = sp_cp[0] * r;
|
| 160 |
+
float Vy = sp_cp[1] * r;
|
| 161 |
+
float Vz = ::math::sqrt(2.0f - z);
|
| 162 |
+
|
| 163 |
+
float[2] st_ct = ::math::sincos(theta);
|
| 164 |
+
float Sx = Vx * st_ct[1] - Vy * st_ct[0];
|
| 165 |
+
float Sy = Vx * st_ct[0] + Vy * st_ct[1];
|
| 166 |
+
|
| 167 |
+
float3x3 M(
|
| 168 |
+
Vx * Sx - st_ct[1], Vx * Sy - st_ct[0], Vx * Vz,
|
| 169 |
+
Vy * Sx + st_ct[0], Vy * Sy - st_ct[1], Vy * Vz,
|
| 170 |
+
Vz * Sx, Vz * Sy, 1.0f - z);
|
| 171 |
+
|
| 172 |
+
return M * pos;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
struct flake_noise_value {
|
| 176 |
+
// flake priority (in [0..1], 0: no flake, flakes with higher priority shadow flakes "below" them)
|
| 177 |
+
float priority;
|
| 178 |
+
// Stores values from the functions (once normal, another time the color)
|
| 179 |
+
// current pseudo random number generator seed
|
| 180 |
+
int rnd_seed;
|
| 181 |
+
float4 carrier;
|
| 182 |
+
};
|
| 183 |
+
|
| 184 |
+
// flake noise function with controllable regularity, flake size, and probability
|
| 185 |
+
flake_noise_value flake_noise(
|
| 186 |
+
float3 pos,
|
| 187 |
+
float jitter_scale = 1.0f,
|
| 188 |
+
float flake_diameter = 0.75f,
|
| 189 |
+
float flake_probability = 1.0f)
|
| 190 |
+
{
|
| 191 |
+
float3 base_pos = ::math::floor(pos);
|
| 192 |
+
int3 base_pos_i = int3(base_pos);
|
| 193 |
+
|
| 194 |
+
// limit the flake size to the allowed maximum (such that looking at all neighbors is sufficient)
|
| 195 |
+
flake_diameter = ::math::min(flake_diameter, (1.5f - 0.5f * jitter_scale) / ::math::sqrt(3.0f));
|
| 196 |
+
|
| 197 |
+
flake_noise_value val(0.0f, 0, float4(0.0f));
|
| 198 |
+
|
| 199 |
+
for (int i = -1; i < 2; ++i) {
|
| 200 |
+
for (int j = -1; j < 2; ++j) {
|
| 201 |
+
for (int k = -1; k < 2; ++k) {
|
| 202 |
+
|
| 203 |
+
int seed = rnd_init(base_pos_i + int3(i, j, k));
|
| 204 |
+
|
| 205 |
+
seed = rnd_next(seed);
|
| 206 |
+
if (rnd_value(seed) > flake_probability)
|
| 207 |
+
continue;
|
| 208 |
+
|
| 209 |
+
seed = rnd_next(seed);
|
| 210 |
+
float priority = rnd_value(seed);
|
| 211 |
+
if (priority < val.priority)
|
| 212 |
+
continue;
|
| 213 |
+
|
| 214 |
+
float3 flake_pos = base_pos + float3(i, j, k) + float3(0.5f);
|
| 215 |
+
|
| 216 |
+
if (jitter_scale > 0.0f) {
|
| 217 |
+
seed = rnd_next(seed);
|
| 218 |
+
flake_pos.x += (rnd_value(seed) - 0.5f) * jitter_scale;
|
| 219 |
+
seed = rnd_next(seed);
|
| 220 |
+
flake_pos.y += (rnd_value(seed) - 0.5f) * jitter_scale;
|
| 221 |
+
seed = rnd_next(seed);
|
| 222 |
+
flake_pos.z += (rnd_value(seed) - 0.5f) * jitter_scale;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
float3 p = pos - flake_pos;
|
| 226 |
+
if (::math::dot(p, p) >= flake_diameter * flake_diameter * 4.0f)
|
| 227 |
+
continue;
|
| 228 |
+
|
| 229 |
+
float3 xi_rot;
|
| 230 |
+
seed = rnd_next(seed);
|
| 231 |
+
xi_rot.x = rnd_value(seed);
|
| 232 |
+
seed = rnd_next(seed);
|
| 233 |
+
xi_rot.y = rnd_value(seed);
|
| 234 |
+
seed = rnd_next(seed);
|
| 235 |
+
xi_rot.z = rnd_value(seed);
|
| 236 |
+
p = rotate_pos(p, xi_rot);
|
| 237 |
+
|
| 238 |
+
if (::math::abs(p.x) <= flake_diameter &&
|
| 239 |
+
::math::abs(p.y) <= flake_diameter &&
|
| 240 |
+
::math::abs(p.z) <= flake_diameter)
|
| 241 |
+
{
|
| 242 |
+
val.priority = priority;
|
| 243 |
+
val.rnd_seed = seed;
|
| 244 |
+
}
|
| 245 |
+
}
|
| 246 |
+
}
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
return val;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
// create a flake normal by importance sampling the Beckmann distribution with given roughness
|
| 253 |
+
flake_noise_value flake_normal(
|
| 254 |
+
flake_noise_value val,
|
| 255 |
+
float spread)
|
| 256 |
+
{
|
| 257 |
+
if (val.priority <= 0.0f)
|
| 258 |
+
{
|
| 259 |
+
val.carrier = float4(::state::normal().x, ::state::normal().y, ::state::normal().z, 1.0f);
|
| 260 |
+
return val;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
int seed = rnd_next(val.rnd_seed);
|
| 264 |
+
float xi0 = rnd_value(seed);
|
| 265 |
+
seed = rnd_next(seed);
|
| 266 |
+
float xi1 = rnd_value(seed);
|
| 267 |
+
|
| 268 |
+
float phi = ::math::PI * 2.0f * xi0;
|
| 269 |
+
|
| 270 |
+
float roughness = spread * spread;
|
| 271 |
+
|
| 272 |
+
float tantheta = ::math::sqrt(-roughness * roughness * ::math::log(1.0f - xi1));
|
| 273 |
+
float sintheta = tantheta / ::math::sqrt(1.0f + tantheta * tantheta);
|
| 274 |
+
float costheta = ::math::sqrt(1.0f - sintheta * sintheta);
|
| 275 |
+
|
| 276 |
+
float[2] scphi = ::math::sincos(phi);
|
| 277 |
+
|
| 278 |
+
val.rnd_seed = seed;
|
| 279 |
+
|
| 280 |
+
float3 normal = ::state::texture_tangent_u(0) * scphi[1] * sintheta +
|
| 281 |
+
::state::texture_tangent_v(0) * scphi[0] * sintheta +
|
| 282 |
+
::state::normal() * costheta;
|
| 283 |
+
|
| 284 |
+
val.carrier = float4(normal.x, normal.y, normal.z, 1.0f);
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
return val;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
|
| 291 |
+
export material Carpaint_Solid(
|
| 292 |
+
color base_color = color(0.002125f, 0.051269f, 0.046665f) [[
|
| 293 |
+
::anno::description("Sets the base color of the carpaint"),
|
| 294 |
+
::anno::display_name("Base "),
|
| 295 |
+
::anno::in_group("Appearance"),
|
| 296 |
+
::anno::ui_order(0)
|
| 297 |
+
]],
|
| 298 |
+
float ground_coat_influence = 0.9f [[
|
| 299 |
+
::anno::description("The ground coat layer is a metallic base layer over which the base color coat, the flakes and the clearcoat are applied. Use the parameter 'Ground Coat Brightness' to adjust its brightness."),
|
| 300 |
+
::anno::display_name("Base Coat Influence"),
|
| 301 |
+
::anno::in_group("Appearance"),
|
| 302 |
+
::anno::hard_range(0.f, 1.f),
|
| 303 |
+
::anno::ui_order(1)
|
| 304 |
+
]],
|
| 305 |
+
float ground_coat_brightness = 0.24f [[
|
| 306 |
+
::anno::description("Adjusts the brightness of the metallic ground coat over which the base color coat, the flakes and the clearcoat are applied. Only has an effect, if the Ground Coat Influence is greater than 0.0"),
|
| 307 |
+
::anno::display_name("Base Coat Brightness"),
|
| 308 |
+
::anno::in_group("Appearance"),
|
| 309 |
+
::anno::hard_range(0.f, 1.f),
|
| 310 |
+
::anno::ui_order(2)
|
| 311 |
+
]],
|
| 312 |
+
float edge_darkening = 0.96f [[
|
| 313 |
+
::anno::description("The amount how much colors fade to darker color when looking at the carpaint at grazing angles. Low values make the carpaint look more flat"),
|
| 314 |
+
::anno::display_name("Edge Darkening"),
|
| 315 |
+
::anno::in_group("Appearance"),
|
| 316 |
+
::anno::hard_range(0.f, 1.f),
|
| 317 |
+
::anno::ui_order(3)
|
| 318 |
+
]],
|
| 319 |
+
color flakes_tint = color(0.016807f, 0.171441f, 0.417885f) [[
|
| 320 |
+
::anno::description("The color of the flakes"),
|
| 321 |
+
::anno::display_name("Flakes Tint"),
|
| 322 |
+
::anno::in_group("Flakes"),
|
| 323 |
+
::anno::ui_order(4)
|
| 324 |
+
]],
|
| 325 |
+
uniform float flakes_density = 0.29f [[
|
| 326 |
+
::anno::description("Adjusts the density of the flakes. Lower number means less flake particles being applied."),
|
| 327 |
+
::anno::display_name("Flakes Density"),
|
| 328 |
+
::anno::in_group("Flakes"),
|
| 329 |
+
::anno::hard_range(0.f, 1.f),
|
| 330 |
+
::anno::ui_order(5)
|
| 331 |
+
]],
|
| 332 |
+
float spread = 0.12f [[
|
| 333 |
+
::anno::description("The amount how much flakes are pointing to random directions. It is strongly discouraged using a value of 0.0 as the flakes will be oriented exactly as the surface normal, which will result in an unnatural look. Higher values lead to a more scintillating look of the flakes."),
|
| 334 |
+
::anno::display_name("Flakes Spread"),
|
| 335 |
+
::anno::enable_if("flakes_density > 0.0f"),
|
| 336 |
+
::anno::in_group("Flakes"),
|
| 337 |
+
::anno::hard_range(0.f, 1.f),
|
| 338 |
+
::anno::ui_order(6)
|
| 339 |
+
]],
|
| 340 |
+
float flakes_roughness = 0.46f [[
|
| 341 |
+
::anno::description("The roughness of the flakes itself. Higher values smoothen out the look of the flakes. Depending on the flakes being used in carpaints, use low values for a sparkling flake effect while mica flakes tend to have a higher roughness, leading to a smoother more pearlescent look on the final carpaint"),
|
| 342 |
+
::anno::display_name("Flakes Roughness"),
|
| 343 |
+
::anno::enable_if("flakes_density > 0.0f"),
|
| 344 |
+
::anno::in_group("Flakes"),
|
| 345 |
+
::anno::hard_range(0.f, 1.f),
|
| 346 |
+
::anno::ui_order(7)
|
| 347 |
+
]],
|
| 348 |
+
float flakes_size = 0.1f [[
|
| 349 |
+
::anno::description("Size of the metal flakes in millimeters."),
|
| 350 |
+
::anno::display_name("Flakes Size (mm)"),
|
| 351 |
+
::anno::enable_if("flakes_density > 0.0f"),
|
| 352 |
+
::anno::soft_range(0.f, 1.f),
|
| 353 |
+
::anno::in_group("Flakes"),
|
| 354 |
+
::anno::ui_order(8)
|
| 355 |
+
]],
|
| 356 |
+
float candy_flip = 0.f [[
|
| 357 |
+
::anno::description("Changes the tint of the coating to fade towards the flake color to produce a candy paint effect. "),
|
| 358 |
+
::anno::display_name("Candy Coating"),
|
| 359 |
+
::anno::in_group("Flakes"),
|
| 360 |
+
::anno::hard_range(0.f, 1.f),
|
| 361 |
+
::anno::ui_order(9)
|
| 362 |
+
]],
|
| 363 |
+
float flake_layer_visibility = 0.f [[
|
| 364 |
+
::anno::description("Adjusts how much the flakes contribute to the final look. Lowering the value makes the flakes appear more transparent. At value of 0.0 no flakes are not rendered at all"),
|
| 365 |
+
::anno::display_name("Flakes Visibility"),
|
| 366 |
+
::anno::enable_if("flakes_density > 0.0f"),
|
| 367 |
+
::anno::in_group("Flakes"),
|
| 368 |
+
::anno::hard_range(0.f, 1.f),
|
| 369 |
+
::anno::ui_order(10)
|
| 370 |
+
]],
|
| 371 |
+
uniform texture_2d roughness_texture = texture_2d("./textures/smudges_scratches_A_rough.jpg", ::tex::gamma_linear) [[
|
| 372 |
+
::anno::description("Texture to use for adding variation to the roughness on the clearcoat"),
|
| 373 |
+
::anno::display_name("Roughness Texture"),
|
| 374 |
+
::anno::in_group("Clearcoat"),
|
| 375 |
+
::anno::ui_order(11)
|
| 376 |
+
]],
|
| 377 |
+
float clearcoat_rough = 0.f [[
|
| 378 |
+
::anno::description("The roughness of the clearcoat"),
|
| 379 |
+
::anno::display_name("Clearcoat Roughness"),
|
| 380 |
+
::anno::in_group("Clearcoat"),
|
| 381 |
+
::anno::hard_range(0.f, 1.f),
|
| 382 |
+
::anno::ui_order(12)
|
| 383 |
+
]],
|
| 384 |
+
float roughness_variation = 0.f [[
|
| 385 |
+
::anno::description("The amount of variation to apply to the roughness. This parameter only has an effect when the clearcoat roughness is not zero or one"),
|
| 386 |
+
::anno::display_name("Clearcoat Roughness Variation"),
|
| 387 |
+
::anno::in_group("Clearcoat"),
|
| 388 |
+
::anno::hard_range(0.f, 1.f),
|
| 389 |
+
::anno::ui_order(13)
|
| 390 |
+
]],
|
| 391 |
+
float clearcoat_ior = 1.600f [[
|
| 392 |
+
::anno::description("The index of refraction for the clearcoat layer"),
|
| 393 |
+
::anno::display_name("Clearcoat Index of Refraction"),
|
| 394 |
+
::anno::in_group("Clearcoat"),
|
| 395 |
+
::anno::soft_range(1.f, 3.f),
|
| 396 |
+
::anno::hard_range(1.f, 5.f),
|
| 397 |
+
::anno::ui_order(14)
|
| 398 |
+
]],
|
| 399 |
+
float clearcoat_visibility = 1.f [[
|
| 400 |
+
::anno::description("While the full value is the correct physical behavior of the clearcoat, lowering the value to reduce the amount of reflection for artistic purposes"),
|
| 401 |
+
::anno::display_name("Clearcoat Visibility"),
|
| 402 |
+
::anno::in_group("Clearcoat"),
|
| 403 |
+
::anno::hard_range(0.f, 1.f),
|
| 404 |
+
::anno::ui_order(15)
|
| 405 |
+
]],
|
| 406 |
+
uniform float orange_peel_strength = 0.f [[
|
| 407 |
+
::anno::description("Strength of the bump mapping effect"),
|
| 408 |
+
::anno::display_name("Coat Orange Peel Strength"),
|
| 409 |
+
::anno::in_group("Clearcoat"),
|
| 410 |
+
::anno::soft_range(0.f, 1.f),
|
| 411 |
+
::anno::hard_range(0.f, 1.f),
|
| 412 |
+
::anno::ui_order(16)
|
| 413 |
+
]],
|
| 414 |
+
uniform float orange_peel_size = 1.f [[
|
| 415 |
+
::anno::description("Size of the biggest feature of the pattern"),
|
| 416 |
+
::anno::display_name("Coat Orange Peel Size"),
|
| 417 |
+
::anno::soft_range(0.f, 1.f),
|
| 418 |
+
::anno::in_group("Clearcoat"),
|
| 419 |
+
::anno::ui_order(17)
|
| 420 |
+
]],
|
| 421 |
+
float2 texture_translate = float2(0.f) [[
|
| 422 |
+
::anno::description("Controls the position of the texture."),
|
| 423 |
+
::anno::display_name("Texture Translate"),
|
| 424 |
+
::anno::in_group("Transform"),
|
| 425 |
+
::anno::ui_order(18)
|
| 426 |
+
]],
|
| 427 |
+
float texture_rotate = 0.f [[
|
| 428 |
+
::anno::description("Rotates angle of the texture in degrees."),
|
| 429 |
+
::anno::display_name("Texture Rotate"),
|
| 430 |
+
::anno::in_group("Transform"),
|
| 431 |
+
::anno::soft_range(0.f, 360.f),
|
| 432 |
+
::anno::ui_order(19)
|
| 433 |
+
]],
|
| 434 |
+
float2 texture_scale = float2(1.f) [[
|
| 435 |
+
::anno::description("Larger numbers increase the size."),
|
| 436 |
+
::anno::display_name("Texture Scale"),
|
| 437 |
+
::anno::in_group("Transform"),
|
| 438 |
+
::nvidia::core_definitions::dimension(float2(1.0, 1.0)),
|
| 439 |
+
::anno::ui_order(20)
|
| 440 |
+
]],
|
| 441 |
+
uniform bool roundcorners_enable = false [[
|
| 442 |
+
::anno::description("Enables the round corneer effect. Comes at a slight performance cost as additional raytracing calls are rquired to evaluate the round corner effect"),
|
| 443 |
+
::anno::display_name("Enable Round Corners"),
|
| 444 |
+
::anno::in_group("Round Corners"),
|
| 445 |
+
::anno::ui_order(22)
|
| 446 |
+
]],
|
| 447 |
+
uniform float roundcorners_radius_mm = 1.5f [[
|
| 448 |
+
::anno::description("Radius of the rounded corners in millimeters"),
|
| 449 |
+
::anno::display_name("Round Corner Radius (mm)"),
|
| 450 |
+
::anno::in_group("Round Corners"),
|
| 451 |
+
::anno::soft_range(0.f, 10.f),
|
| 452 |
+
::anno::ui_order(23)
|
| 453 |
+
]],
|
| 454 |
+
uniform bool roundcorners_across_materials = false [[
|
| 455 |
+
::anno::description("Applies the round corner effect across different materials when enabled."),
|
| 456 |
+
::anno::display_name("Across Materials"),
|
| 457 |
+
::anno::in_group("Round Corners"),
|
| 458 |
+
::anno::ui_order(27)
|
| 459 |
+
]],
|
| 460 |
+
uniform int uv_space_index = 0 [[
|
| 461 |
+
::anno::description("Use selected UV space for material."),
|
| 462 |
+
::anno::display_name("UV Space Index"),
|
| 463 |
+
::anno::in_group("Advanced"),
|
| 464 |
+
::anno::ui_order(28)
|
| 465 |
+
]]
|
| 466 |
+
|
| 467 |
+
|
| 468 |
+
)
|
| 469 |
+
[[
|
| 470 |
+
::anno::author("NVIDIA"),
|
| 471 |
+
::anno::display_name("Carpaint Solid"),
|
| 472 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 473 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "shiny", "flakes", "metallic", "glitter", "pigment", "clearcoat", "automotive", "design")),
|
| 474 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Carpaint_Solid.png"),
|
| 475 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 476 |
+
]]
|
| 477 |
+
=
|
| 478 |
+
let {
|
| 479 |
+
bool tmp0 = false;
|
| 480 |
+
// Tried Scaling factors for flakes to fit 1mm size both in Substance Designer and (Iray for) Rhino
|
| 481 |
+
// Rhino scaling factor: 1492.537313432835
|
| 482 |
+
// Substance Designer Scaling factor: 1158.6829010512
|
| 483 |
+
float flakes_size_m = (1492.537313432835f/flakes_size); // Flake scaling adjustment, so that flake size is in mm
|
| 484 |
+
float flake_layer_visibility_m = 1.0f - flake_layer_visibility;
|
| 485 |
+
|
| 486 |
+
::base::texture_coordinate_info coord_info = ::base::coordinate_source(::base::texture_coordinate_object, 0);
|
| 487 |
+
|
| 488 |
+
float scale_trans = ::state::transform_scale(::state::coordinate_object, ::state::coordinate_world, 1.0f);
|
| 489 |
+
|
| 490 |
+
float3 source_coord = coord_info.position * ::state::meters_per_scene_unit() * scale_trans;
|
| 491 |
+
|
| 492 |
+
::base::texture_coordinate_info transformed_coord = ::base::transform_coordinate(
|
| 493 |
+
::base::rotation_translation_scale(float3(0.0f), float3(0.0f), float3(scale_trans)),
|
| 494 |
+
coord_info
|
| 495 |
+
);
|
| 496 |
+
|
| 497 |
+
material_surface tmp1(::df::fresnel_layer(clearcoat_ior, clearcoat_visibility, ::df::simple_glossy_bsdf(histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough) * histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough), histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough) * histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough), nvidia::core_definitions::blend_colors(color(1.f, 1.f, 1.f), flakes_tint, ::base::color_layer_blend, candy_flip).tint, nvidia::core_definitions::blend_colors(color(1.f, 1.f, 1.f), flakes_tint, ::base::color_layer_blend, candy_flip).tint, ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::directional_factor(color(1.f, 1.f, 1.f), color(1.f - edge_darkening), 1.f, flakes_density > 0.f ? ::df::weighted_layer(::math::lerp(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density).priority > 0.001f ? 1.0f : 0.0f , 0.f, flake_layer_visibility_m), ::df::microfacet_ggx_smith_bsdf(flakes_roughness * 0.340000004f, flakes_roughness * 0.340000004f, flakes_tint, color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::directional_factor(base_color, color(1.f - edge_darkening), 1.f, ::df::weighted_layer(ground_coat_influence * 0.5f, ::df::microfacet_ggx_vcavities_bsdf(0.40959999f, 0.40959999f, color(ground_coat_brightness * 0.949999988f + 0.0500000007f), color(ground_coat_brightness * 0.949999988f + 0.0500000007f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::diffuse_reflection_bsdf(base_color, 0.f), ::state::normal())), float3(flake_normal(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density ), spread).carrier.x, flake_normal(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density ), spread).carrier.y, flake_normal(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density ), spread).carrier.z)) : ::df::directional_factor(base_color, color(1.f - edge_darkening), 1.f, ::df::weighted_layer(ground_coat_influence * 0.5f, ::df::microfacet_ggx_vcavities_bsdf(0.40959999f, 0.40959999f, color(ground_coat_brightness * 0.949999988f + 0.0500000007f), color(ground_coat_brightness * 0.949999988f + 0.0500000007f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::diffuse_reflection_bsdf(base_color, 0.f), ::state::normal()))), orange_peel_strength > 0.f ? ::base::perlin_noise_bump_texture(transformed_coord, orange_peel_strength, orange_peel_size, false, false, 0.f, 2, false, false, float3(0.f), 1.f, 0.f, 1.f, ::state::normal()) : ::state::normal()), material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
|
| 498 |
+
material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
|
| 499 |
+
color tmp3 = color(1.f, 1.f, 1.f);
|
| 500 |
+
material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f));
|
| 501 |
+
material_geometry tmp5(float3(0.f), 1.f, roundcorners_enable ? ::state::rounded_corner_normal(roundcorners_radius_mm * 0.00100000005f, roundcorners_across_materials, 1.f) : ::state::normal());
|
| 502 |
+
hair_bsdf tmp6 = hair_bsdf();
|
| 503 |
+
} in
|
| 504 |
+
material(
|
| 505 |
+
thin_walled: tmp0,
|
| 506 |
+
surface: tmp1,
|
| 507 |
+
backface: tmp2,
|
| 508 |
+
ior: tmp3,
|
| 509 |
+
volume: tmp4,
|
| 510 |
+
geometry: tmp5,
|
| 511 |
+
hair: tmp6);
|
| 512 |
+
|
| 513 |
+
|
| 514 |
+
// ------------------- 2 (Plain White) -------------------
|
| 515 |
+
export material White(*)
|
| 516 |
+
[[
|
| 517 |
+
::anno::author("NVIDIA"),
|
| 518 |
+
::anno::display_name("Carpaint Solid - White"),
|
| 519 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 520 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "white", "light", "neutral")),
|
| 521 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.White.png"),
|
| 522 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 523 |
+
]]
|
| 524 |
+
= Carpaint_Solid(
|
| 525 |
+
base_color: color(0.768151f, 0.768151f, 0.768151f),
|
| 526 |
+
ground_coat_influence: 0.0f,
|
| 527 |
+
ground_coat_brightness: 0.24f,
|
| 528 |
+
edge_darkening: 0.56f,
|
| 529 |
+
flakes_tint: color(0.552011f, 0.552011f, 0.552011f),
|
| 530 |
+
flakes_density: 0.0f,
|
| 531 |
+
spread: 0.47f,
|
| 532 |
+
flakes_roughness: 0.34f,
|
| 533 |
+
flakes_size: 0.5f,
|
| 534 |
+
candy_flip: 0.0f,
|
| 535 |
+
flake_layer_visibility: 1.0f,
|
| 536 |
+
// roughness_texture:
|
| 537 |
+
clearcoat_rough: 0.05f,
|
| 538 |
+
roughness_variation: 0.34f,
|
| 539 |
+
clearcoat_ior: 1.6f,
|
| 540 |
+
clearcoat_visibility: 1.0f,
|
| 541 |
+
orange_peel_strength: 0.0f,
|
| 542 |
+
orange_peel_size: 0.01f
|
| 543 |
+
);
|
| 544 |
+
|
| 545 |
+
// ------------------- 3 (vintage White) -------------------
|
| 546 |
+
export material Vintage_White(*)
|
| 547 |
+
[[
|
| 548 |
+
::anno::author("NVIDIA"),
|
| 549 |
+
::anno::display_name("Carpaint Solid - Vintage White"),
|
| 550 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 551 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "vintage", "white", "light", "neutral")),
|
| 552 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Vintage_White.png"),
|
| 553 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 554 |
+
]]
|
| 555 |
+
= Carpaint_Solid(
|
| 556 |
+
base_color: color(0.672443f, 0.630757f, 0.502886f),
|
| 557 |
+
ground_coat_influence: 0.0f,
|
| 558 |
+
ground_coat_brightness: 0.24f,
|
| 559 |
+
edge_darkening: 0.28f,
|
| 560 |
+
flakes_tint: color(0.603827f, 0.665387f, 0.693872f),
|
| 561 |
+
flakes_density: 0.0f,
|
| 562 |
+
spread: 0.41f,
|
| 563 |
+
flakes_roughness: 0.32f,
|
| 564 |
+
flakes_size: 0.5f,
|
| 565 |
+
candy_flip: 0.0f,
|
| 566 |
+
flake_layer_visibility: 0.0f,
|
| 567 |
+
// roughness_texture:
|
| 568 |
+
clearcoat_rough: 0.05f,
|
| 569 |
+
roughness_variation: 0.34f,
|
| 570 |
+
clearcoat_ior: 1.6f,
|
| 571 |
+
clearcoat_visibility: 1.0f,
|
| 572 |
+
orange_peel_strength: 0.06f,
|
| 573 |
+
orange_peel_size: 0.01f
|
| 574 |
+
);
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
// ------------------- 4 (Black) -------------------
|
| 578 |
+
export material Black(*)
|
| 579 |
+
[[
|
| 580 |
+
::anno::author("NVIDIA"),
|
| 581 |
+
::anno::display_name("Carpaint Solid - Black"),
|
| 582 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 583 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "black", "dark", "neutral")),
|
| 584 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Black.png"),
|
| 585 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 586 |
+
]]
|
| 587 |
+
= Carpaint_Solid(
|
| 588 |
+
base_color: color(0.006049f, 0.006049f, 0.006049f),
|
| 589 |
+
ground_coat_influence: 0.97f,
|
| 590 |
+
ground_coat_brightness: 0.17f,
|
| 591 |
+
edge_darkening: 0.57f,
|
| 592 |
+
flakes_tint: color(0.552011f, 0.552011f, 0.552011f),
|
| 593 |
+
flakes_density: 0.0f,
|
| 594 |
+
spread: 0.47f,
|
| 595 |
+
flakes_roughness: 0.34f,
|
| 596 |
+
flakes_size: 0.5f,
|
| 597 |
+
candy_flip: 0.0f,
|
| 598 |
+
flake_layer_visibility: 0.0f,
|
| 599 |
+
// roughness_texture:
|
| 600 |
+
clearcoat_rough: 0.05f,
|
| 601 |
+
roughness_variation: 0.36f,
|
| 602 |
+
clearcoat_ior: 1.6f,
|
| 603 |
+
clearcoat_visibility: 1.0f,
|
| 604 |
+
orange_peel_strength: 0.0f,
|
| 605 |
+
orange_peel_size: 0.01f
|
| 606 |
+
);
|
| 607 |
+
|
| 608 |
+
// ------------------- 5 (Black Matte) -------------------
|
| 609 |
+
export material Black_Matte(*)
|
| 610 |
+
[[
|
| 611 |
+
::anno::author("NVIDIA"),
|
| 612 |
+
::anno::display_name("Carpaint Solid - Black Matte"),
|
| 613 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 614 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "black", "dark", "neutral")),
|
| 615 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Black_Matte.png"),
|
| 616 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 617 |
+
]]
|
| 618 |
+
= Carpaint_Solid(
|
| 619 |
+
base_color: color(0.006995f, 0.006995f, 0.006995f),
|
| 620 |
+
ground_coat_influence: 0.11f,
|
| 621 |
+
ground_coat_brightness: 0.64f,
|
| 622 |
+
edge_darkening: 0.0f,
|
| 623 |
+
flakes_tint: color(0.577580f, 0.577580f, 0.577580f),
|
| 624 |
+
flakes_density: 0.12f,
|
| 625 |
+
spread: 0.39f,
|
| 626 |
+
flakes_roughness: 0.5f,
|
| 627 |
+
flakes_size: 0.5f,
|
| 628 |
+
candy_flip: 0.0f,
|
| 629 |
+
flake_layer_visibility: 0.0f,
|
| 630 |
+
// roughness_texture:
|
| 631 |
+
clearcoat_rough: 0.48f,
|
| 632 |
+
roughness_variation: 0.14f,
|
| 633 |
+
clearcoat_ior: 1.6f,
|
| 634 |
+
clearcoat_visibility: 1.0f,
|
| 635 |
+
orange_peel_strength: 0.0f,
|
| 636 |
+
orange_peel_size: 0.01f
|
| 637 |
+
);
|
| 638 |
+
|
| 639 |
+
// ------------------- 6 -------------------
|
| 640 |
+
export material Agent_Gray(*)
|
| 641 |
+
[[
|
| 642 |
+
::anno::author("NVIDIA"),
|
| 643 |
+
::anno::display_name("Carpaint Solid - Agent Gray"),
|
| 644 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 645 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "gray", "neutral")),
|
| 646 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Agent_Gray.png"),
|
| 647 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 648 |
+
]]
|
| 649 |
+
= Carpaint_Solid(
|
| 650 |
+
base_color: color(0.234551f, 0.254152f, 0.234551f),
|
| 651 |
+
ground_coat_influence: 0.11f,
|
| 652 |
+
ground_coat_brightness: 0.64f,
|
| 653 |
+
edge_darkening: 0.0f,
|
| 654 |
+
flakes_tint: color(0.644480f, 0.701102f, 0.644480f),
|
| 655 |
+
flakes_density: 0.2f,
|
| 656 |
+
spread: 0.25f,
|
| 657 |
+
flakes_roughness: 0.5f,
|
| 658 |
+
flakes_size: 0.5f,
|
| 659 |
+
candy_flip: 0.0f,
|
| 660 |
+
flake_layer_visibility: 0.0f,
|
| 661 |
+
// roughness_texture:
|
| 662 |
+
clearcoat_rough: 0.06f,
|
| 663 |
+
roughness_variation: 0.36f,
|
| 664 |
+
clearcoat_ior: 1.6f,
|
| 665 |
+
clearcoat_visibility: 1.0f,
|
| 666 |
+
orange_peel_strength: 0.0f,
|
| 667 |
+
orange_peel_size: 0.01f
|
| 668 |
+
);
|
| 669 |
+
|
| 670 |
+
|
| 671 |
+
// ------------------- 7 (Agent Gray Matte)-------------------
|
| 672 |
+
export material Agent_Gray_Matte(*)
|
| 673 |
+
[[
|
| 674 |
+
::anno::author("NVIDIA"),
|
| 675 |
+
::anno::display_name("Carpaint Solid - Agent Gray Matte"),
|
| 676 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 677 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "matte", "gray", "neutral")),
|
| 678 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Agent_Gray_Matte.png"),
|
| 679 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 680 |
+
]]
|
| 681 |
+
= Carpaint_Solid(
|
| 682 |
+
base_color: color(0.234551f, 0.254152f, 0.234551f),
|
| 683 |
+
ground_coat_influence: 0.11f,
|
| 684 |
+
ground_coat_brightness: 0.64f,
|
| 685 |
+
edge_darkening: 0.0f,
|
| 686 |
+
flakes_tint: color(0.644480f, 0.701102f, 0.644480f),
|
| 687 |
+
flakes_density: 0.21f,
|
| 688 |
+
spread: 0.25f,
|
| 689 |
+
flakes_roughness: 0.5f,
|
| 690 |
+
flakes_size: 0.5f,
|
| 691 |
+
candy_flip: 0.0f,
|
| 692 |
+
flake_layer_visibility: 0.0f,
|
| 693 |
+
// roughness_texture:
|
| 694 |
+
clearcoat_rough: 0.4f,
|
| 695 |
+
roughness_variation: 0.14f,
|
| 696 |
+
clearcoat_ior: 1.6f,
|
| 697 |
+
clearcoat_visibility: 1.0f,
|
| 698 |
+
orange_peel_strength: 0.0f,
|
| 699 |
+
orange_peel_size: 0.01f
|
| 700 |
+
);
|
| 701 |
+
|
| 702 |
+
// ------------------- 8 (Blood Red)-------------------
|
| 703 |
+
export material Blood_Red(*)
|
| 704 |
+
[[
|
| 705 |
+
::anno::author("NVIDIA"),
|
| 706 |
+
::anno::display_name("Carpaint Solid - Blood Red"),
|
| 707 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 708 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "red", "warm", "saturated")),
|
| 709 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Blood_Red.png"),
|
| 710 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 711 |
+
]]
|
| 712 |
+
= Carpaint_Solid(
|
| 713 |
+
base_color: color(0.462077f, 0.022174f, 0.015209f),
|
| 714 |
+
ground_coat_influence: 0.03f,
|
| 715 |
+
ground_coat_brightness: 0.24f,
|
| 716 |
+
edge_darkening: 0.56f,
|
| 717 |
+
flakes_tint: color(0.552011f, 0.552011f, 0.552011f),
|
| 718 |
+
flakes_density: 0.0f,
|
| 719 |
+
spread: 0.47f,
|
| 720 |
+
flakes_roughness: 0.34f,
|
| 721 |
+
flakes_size: 0.5f,
|
| 722 |
+
candy_flip: 0.0f,
|
| 723 |
+
flake_layer_visibility: 0.0f,
|
| 724 |
+
// roughness_texture:
|
| 725 |
+
clearcoat_rough: 0.05f,
|
| 726 |
+
roughness_variation: 0.36f,
|
| 727 |
+
clearcoat_ior: 1.6f,
|
| 728 |
+
clearcoat_visibility: 1.0f,
|
| 729 |
+
orange_peel_strength: 0.0f,
|
| 730 |
+
orange_peel_size: 0.01f
|
| 731 |
+
);
|
| 732 |
+
|
| 733 |
+
// ------------------- 9 (Tarreri Red)-------------------
|
| 734 |
+
export material Tarreri_Red(*)
|
| 735 |
+
[[
|
| 736 |
+
::anno::author("NVIDIA"),
|
| 737 |
+
::anno::display_name("Carpaint Solid - Tarreri Red"),
|
| 738 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 739 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "red", "warm", "saturated")),
|
| 740 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Tarreri_Red.png"),
|
| 741 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 742 |
+
]]
|
| 743 |
+
= Carpaint_Solid(
|
| 744 |
+
base_color: color(0.672443f, 0.038204f, 0.026241f),
|
| 745 |
+
ground_coat_influence: 0.03f,
|
| 746 |
+
ground_coat_brightness: 0.24f,
|
| 747 |
+
edge_darkening: 0.56f,
|
| 748 |
+
flakes_tint: color(0.672443f, 0.095307f, 0.078187f),
|
| 749 |
+
flakes_density: 0.0f,
|
| 750 |
+
spread: 0.47f,
|
| 751 |
+
flakes_roughness: 0.34f,
|
| 752 |
+
flakes_size: 0.5f,
|
| 753 |
+
candy_flip: 0.0f,
|
| 754 |
+
flake_layer_visibility: 0.0f,
|
| 755 |
+
// roughness_texture:
|
| 756 |
+
clearcoat_rough: 0.05f,
|
| 757 |
+
roughness_variation: 0.36f,
|
| 758 |
+
clearcoat_ior: 1.6f,
|
| 759 |
+
clearcoat_visibility: 1.0f,
|
| 760 |
+
orange_peel_strength: 0.0f,
|
| 761 |
+
orange_peel_size: 0.01f
|
| 762 |
+
);
|
| 763 |
+
|
| 764 |
+
|
| 765 |
+
// ------------------- 10 (Dark Decent Red)-------------------
|
| 766 |
+
export material Dark_Decent_Red(*)
|
| 767 |
+
[[
|
| 768 |
+
::anno::author("NVIDIA"),
|
| 769 |
+
::anno::display_name("Carpaint Solid - Dark Decent Red"),
|
| 770 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 771 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "red", "warm", "dark")),
|
| 772 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Dark_Decent_Red.png"),
|
| 773 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 774 |
+
]]
|
| 775 |
+
= Carpaint_Solid(
|
| 776 |
+
base_color: color(0.135633f, 0.012983f, 0.027321f),
|
| 777 |
+
ground_coat_influence: 0.19f,
|
| 778 |
+
ground_coat_brightness: 0.24f,
|
| 779 |
+
edge_darkening: 0.1f,
|
| 780 |
+
flakes_tint: color(0.135633f, 0.012983f, 0.027321f),
|
| 781 |
+
flakes_density: 0.0f,
|
| 782 |
+
spread: 0.38f,
|
| 783 |
+
flakes_roughness: 0.18f,
|
| 784 |
+
flakes_size: 0.5f,
|
| 785 |
+
candy_flip: 0.0f,
|
| 786 |
+
flake_layer_visibility: 0.0f,
|
| 787 |
+
// roughness_texture:
|
| 788 |
+
clearcoat_rough: 0.05f,
|
| 789 |
+
roughness_variation: 0.36f,
|
| 790 |
+
clearcoat_ior: 1.6f,
|
| 791 |
+
clearcoat_visibility: 1.0f,
|
| 792 |
+
orange_peel_strength: 0.0f,
|
| 793 |
+
orange_peel_size: 0.01f
|
| 794 |
+
);
|
| 795 |
+
|
| 796 |
+
// ------------------- 11 (Vintage Maroon)-------------------
|
| 797 |
+
export material Vintage_Maroon(*)
|
| 798 |
+
[[
|
| 799 |
+
::anno::author("NVIDIA"),
|
| 800 |
+
::anno::display_name("Carpaint Solid - Vintage Maroon"),
|
| 801 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 802 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "dark", "brown", "red")),
|
| 803 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Vintage_Maroon.png"),
|
| 804 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 805 |
+
]]
|
| 806 |
+
= Carpaint_Solid(
|
| 807 |
+
base_color: color(0.283149f, 0.054480f, 0.063010f),
|
| 808 |
+
ground_coat_influence: 0.19f,
|
| 809 |
+
ground_coat_brightness: 0.24f,
|
| 810 |
+
edge_darkening: 0.1f,
|
| 811 |
+
flakes_tint: color(0.283149f, 0.054480f, 0.063010f),
|
| 812 |
+
flakes_density: 0.0f,
|
| 813 |
+
spread: 0.38f,
|
| 814 |
+
flakes_roughness: 0.3f,
|
| 815 |
+
flakes_size: 0.5f,
|
| 816 |
+
candy_flip: 0.0f,
|
| 817 |
+
flake_layer_visibility: 0.0f,
|
| 818 |
+
// roughness_texture:
|
| 819 |
+
clearcoat_rough: 0.05f,
|
| 820 |
+
roughness_variation: 0.36f,
|
| 821 |
+
clearcoat_ior: 1.6f,
|
| 822 |
+
clearcoat_visibility: 1.0f,
|
| 823 |
+
orange_peel_strength: 0.0f,
|
| 824 |
+
orange_peel_size: 0.01f
|
| 825 |
+
);
|
| 826 |
+
|
| 827 |
+
// ------------------- 12 -------------------
|
| 828 |
+
export material Orange(*)
|
| 829 |
+
[[
|
| 830 |
+
::anno::author("NVIDIA"),
|
| 831 |
+
::anno::display_name("Carpaint Solid - Orange"),
|
| 832 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 833 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "orange", "warm", "saturated")),
|
| 834 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Orange.png"),
|
| 835 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 836 |
+
]]
|
| 837 |
+
= Carpaint_Solid(
|
| 838 |
+
base_color: color(0.623960f, 0.262251f, 0.022174f),
|
| 839 |
+
ground_coat_influence: 0.11f,
|
| 840 |
+
ground_coat_brightness: 0.64f,
|
| 841 |
+
edge_darkening: 0.0f,
|
| 842 |
+
flakes_tint: color(0.017642f, 0.262251f, 0.623960f),
|
| 843 |
+
flakes_density: 0.59f,
|
| 844 |
+
spread: 0.25f,
|
| 845 |
+
flakes_roughness: 0.5f,
|
| 846 |
+
flakes_size: 0.5f,
|
| 847 |
+
candy_flip: 0.0f,
|
| 848 |
+
flake_layer_visibility: 0.0f,
|
| 849 |
+
// roughness_texture:
|
| 850 |
+
clearcoat_rough: 0.06f,
|
| 851 |
+
roughness_variation: 0.36f,
|
| 852 |
+
clearcoat_ior: 1.6f,
|
| 853 |
+
clearcoat_visibility: 1.0f,
|
| 854 |
+
orange_peel_strength: 0.0f,
|
| 855 |
+
orange_peel_size: 0.01f
|
| 856 |
+
);
|
| 857 |
+
|
| 858 |
+
|
| 859 |
+
// ------------------- 13 (Brown Matte) -------------------
|
| 860 |
+
export material Brown_Matte(*)
|
| 861 |
+
[[
|
| 862 |
+
::anno::author("NVIDIA"),
|
| 863 |
+
::anno::display_name("Carpaint Solid - Brown Matte"),
|
| 864 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 865 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "brown", "matte")),
|
| 866 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Brown_Matte.png"),
|
| 867 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 868 |
+
]]
|
| 869 |
+
= Carpaint_Solid(
|
| 870 |
+
base_color: color(0.300544f, 0.250158f, 0.187821f),
|
| 871 |
+
ground_coat_influence: 0.11f,
|
| 872 |
+
ground_coat_brightness: 0.64f,
|
| 873 |
+
edge_darkening: 0.0f,
|
| 874 |
+
flakes_tint: color(0.300544f, 0.250158f, 0.187821f),
|
| 875 |
+
flakes_density: 0.0f,
|
| 876 |
+
spread: 0.39f,
|
| 877 |
+
flakes_roughness: 0.5f,
|
| 878 |
+
flakes_size: 0.5f,
|
| 879 |
+
candy_flip: 0.0f,
|
| 880 |
+
flake_layer_visibility: 0.0f,
|
| 881 |
+
// roughness_texture:
|
| 882 |
+
clearcoat_rough: 0.5f,
|
| 883 |
+
roughness_variation: 0.14f,
|
| 884 |
+
clearcoat_ior: 1.6f,
|
| 885 |
+
clearcoat_visibility: 1.0f,
|
| 886 |
+
orange_peel_strength: 0.0f,
|
| 887 |
+
orange_peel_size: 0.01f
|
| 888 |
+
);
|
| 889 |
+
|
| 890 |
+
|
| 891 |
+
// ------------------- 14 (Bumblebee) -------------------
|
| 892 |
+
export material Bumblebee(*)
|
| 893 |
+
[[
|
| 894 |
+
::anno::author("NVIDIA"),
|
| 895 |
+
::anno::display_name("Carpaint Solid - Bumblebee"),
|
| 896 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 897 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "yellow", "warm", "light", "saturated")),
|
| 898 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Bumblebee.png"),
|
| 899 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 900 |
+
]]
|
| 901 |
+
= Carpaint_Solid(
|
| 902 |
+
base_color: color(0.775822f, 0.564712f, 0.030713f),
|
| 903 |
+
ground_coat_influence: 0.09f,
|
| 904 |
+
ground_coat_brightness: 0.64f,
|
| 905 |
+
edge_darkening: 0.1f,
|
| 906 |
+
flakes_tint: color(1.000000f, 0.479320f, 0.095307f),
|
| 907 |
+
flakes_density: 0.0f,
|
| 908 |
+
spread: 0.54f,
|
| 909 |
+
flakes_roughness: 0.37f,
|
| 910 |
+
flakes_size: 0.5f,
|
| 911 |
+
candy_flip: 0.0f,
|
| 912 |
+
flake_layer_visibility: 0.0f,
|
| 913 |
+
// roughness_texture:
|
| 914 |
+
clearcoat_rough: 0.06f,
|
| 915 |
+
roughness_variation: 0.14f,
|
| 916 |
+
clearcoat_ior: 1.6f,
|
| 917 |
+
clearcoat_visibility: 1.0f,
|
| 918 |
+
orange_peel_strength: 0.0f,
|
| 919 |
+
orange_peel_size: 0.01f
|
| 920 |
+
);
|
| 921 |
+
|
| 922 |
+
|
| 923 |
+
// ------------------- 15 (Wasp) -------------------
|
| 924 |
+
export material Wasp(*)
|
| 925 |
+
[[
|
| 926 |
+
::anno::author("NVIDIA"),
|
| 927 |
+
::anno::display_name("Carpaint Solid - Wasp"),
|
| 928 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 929 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "yellow", "warm", "light", "saturated")),
|
| 930 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Wasp.png"),
|
| 931 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 932 |
+
]]
|
| 933 |
+
= Carpaint_Solid(
|
| 934 |
+
base_color: color(0.701102f, 0.603827f, 0.022174f),
|
| 935 |
+
ground_coat_influence: 0.0f,
|
| 936 |
+
ground_coat_brightness: 0.5f,
|
| 937 |
+
edge_darkening: 0.12f,
|
| 938 |
+
flakes_tint: color(1.000000f, 0.479320f, 0.076185f),
|
| 939 |
+
flakes_density: 0.0f,
|
| 940 |
+
spread: 0.54f,
|
| 941 |
+
flakes_roughness: 0.37f,
|
| 942 |
+
flakes_size: 0.5f,
|
| 943 |
+
candy_flip: 0.0f,
|
| 944 |
+
flake_layer_visibility: 0.0f,
|
| 945 |
+
// roughness_texture:
|
| 946 |
+
clearcoat_rough: 0.06f,
|
| 947 |
+
roughness_variation: 0.14f,
|
| 948 |
+
clearcoat_ior: 1.6f,
|
| 949 |
+
clearcoat_visibility: 1.0f,
|
| 950 |
+
orange_peel_strength: 0.0f,
|
| 951 |
+
orange_peel_size: 0.01f
|
| 952 |
+
);
|
| 953 |
+
|
| 954 |
+
// ------------------- 16 (Feline Dark Green)-------------------
|
| 955 |
+
export material Feline_Dark_Green(*)
|
| 956 |
+
[[
|
| 957 |
+
::anno::author("NVIDIA"),
|
| 958 |
+
::anno::display_name("Carpaint Solid - Feline Dark Green"),
|
| 959 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 960 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "green", "dark")),
|
| 961 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Feline_Dark_Green.png"),
|
| 962 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 963 |
+
]]
|
| 964 |
+
= Carpaint_Solid(
|
| 965 |
+
base_color: color(0.010330f, 0.099899f, 0.043735f),
|
| 966 |
+
ground_coat_influence: 0.19f,
|
| 967 |
+
ground_coat_brightness: 0.24f,
|
| 968 |
+
edge_darkening: 0.1f,
|
| 969 |
+
flakes_tint: color(0.010330f, 0.099899f, 0.043735f),
|
| 970 |
+
flakes_density: 0.0f,
|
| 971 |
+
spread: 0.38f,
|
| 972 |
+
flakes_roughness: 0.3f,
|
| 973 |
+
flakes_size: 0.5f,
|
| 974 |
+
candy_flip: 0.0f,
|
| 975 |
+
flake_layer_visibility: 0.0f,
|
| 976 |
+
// roughness_texture:
|
| 977 |
+
clearcoat_rough: 0.05f,
|
| 978 |
+
roughness_variation: 0.36f,
|
| 979 |
+
clearcoat_ior: 1.6f,
|
| 980 |
+
clearcoat_visibility: 1.0f,
|
| 981 |
+
orange_peel_strength: 0.0f,
|
| 982 |
+
orange_peel_size: 0.01f
|
| 983 |
+
);
|
| 984 |
+
|
| 985 |
+
|
| 986 |
+
// ------------------- 17 (Hunting Green Matte) -------------------
|
| 987 |
+
export material Hunting_Green_Matte(*)
|
| 988 |
+
[[
|
| 989 |
+
::anno::author("NVIDIA"),
|
| 990 |
+
::anno::display_name("Carpaint Solid - Hunting Green Matte"),
|
| 991 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 992 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "green", "dark", "matte")),
|
| 993 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Hunting_Green_Matte.png"),
|
| 994 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 995 |
+
]]
|
| 996 |
+
= Carpaint_Solid(
|
| 997 |
+
base_color: color(0.162029f, 0.187821f, 0.114435f),
|
| 998 |
+
ground_coat_influence: 0.11f,
|
| 999 |
+
ground_coat_brightness: 0.64f,
|
| 1000 |
+
edge_darkening: 0.0f,
|
| 1001 |
+
flakes_tint: color(0.318547f, 0.456411f, 0.127438f),
|
| 1002 |
+
flakes_density: 0.0f,
|
| 1003 |
+
spread: 0.3f,
|
| 1004 |
+
flakes_roughness: 0.5f,
|
| 1005 |
+
flakes_size: 0.5f,
|
| 1006 |
+
candy_flip: 0.0f,
|
| 1007 |
+
flake_layer_visibility: 0.0f,
|
| 1008 |
+
// roughness_texture:
|
| 1009 |
+
clearcoat_rough: 0.4f,
|
| 1010 |
+
roughness_variation: 0.14f,
|
| 1011 |
+
clearcoat_ior: 1.6f,
|
| 1012 |
+
clearcoat_visibility: 1.0f,
|
| 1013 |
+
orange_peel_strength: 0.0f,
|
| 1014 |
+
orange_peel_size: 0.01f
|
| 1015 |
+
);
|
| 1016 |
+
|
| 1017 |
+
|
| 1018 |
+
// ------------------- 18 (Vintage Sky Blue) -------------------
|
| 1019 |
+
export material Vintage_Sky_Blue(*)
|
| 1020 |
+
[[
|
| 1021 |
+
::anno::author("NVIDIA"),
|
| 1022 |
+
::anno::display_name("Carpaint Solid - Vintage Sky Blue"),
|
| 1023 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 1024 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "blue", "light", "cool")),
|
| 1025 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Vintage_Sky_Blue.png"),
|
| 1026 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 1027 |
+
]]
|
| 1028 |
+
= Carpaint_Solid(
|
| 1029 |
+
base_color: color(0.318547f, 0.564712f, 0.603827f),
|
| 1030 |
+
ground_coat_influence: 0.06f,
|
| 1031 |
+
ground_coat_brightness: 0.24f,
|
| 1032 |
+
edge_darkening: 0.0f,
|
| 1033 |
+
flakes_tint: color(0.603827f, 127.338437f, 0.693872f),
|
| 1034 |
+
flakes_density: 0.0f,
|
| 1035 |
+
spread: 0.41f,
|
| 1036 |
+
flakes_roughness: 0.32f,
|
| 1037 |
+
flakes_size: 0.5f,
|
| 1038 |
+
candy_flip: 0.0f,
|
| 1039 |
+
flake_layer_visibility: 0.0f,
|
| 1040 |
+
// roughness_texture:
|
| 1041 |
+
clearcoat_rough: 0.06f,
|
| 1042 |
+
roughness_variation: 0.34f,
|
| 1043 |
+
clearcoat_ior: 1.6f,
|
| 1044 |
+
clearcoat_visibility: 1.0f,
|
| 1045 |
+
orange_peel_strength: 0.06f,
|
| 1046 |
+
orange_peel_size: 0.01f
|
| 1047 |
+
);
|
| 1048 |
+
|
| 1049 |
+
|
| 1050 |
+
// ------------------- 19 (Blue)-------------------
|
| 1051 |
+
export material Blue(*)
|
| 1052 |
+
[[
|
| 1053 |
+
::anno::author("NVIDIA"),
|
| 1054 |
+
::anno::display_name("Carpaint Solid - Blue"),
|
| 1055 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 1056 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "blue", "cool", "saturated")),
|
| 1057 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Blue.png"),
|
| 1058 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 1059 |
+
]]
|
| 1060 |
+
= Carpaint_Solid(
|
| 1061 |
+
base_color: color(0.012983f, 0.296138f, 0.462077f),
|
| 1062 |
+
ground_coat_influence: 0.00f,
|
| 1063 |
+
ground_coat_brightness: 0.24f,
|
| 1064 |
+
edge_darkening: 0.0f,
|
| 1065 |
+
flakes_tint: color(0.012983f, 0.234551f, 0.665387f),
|
| 1066 |
+
flakes_density: 0.5f,
|
| 1067 |
+
spread: 0.47f,
|
| 1068 |
+
flakes_roughness: 0.34f,
|
| 1069 |
+
flakes_size: 0.5f,
|
| 1070 |
+
candy_flip: 0.0f,
|
| 1071 |
+
flake_layer_visibility: 0.0f,
|
| 1072 |
+
// roughness_texture:
|
| 1073 |
+
clearcoat_rough: 0.06f,
|
| 1074 |
+
roughness_variation: 0.36f,
|
| 1075 |
+
clearcoat_ior: 1.6f,
|
| 1076 |
+
clearcoat_visibility: 1.0f,
|
| 1077 |
+
orange_peel_strength: 0.0f,
|
| 1078 |
+
orange_peel_size: 0.01f
|
| 1079 |
+
);
|
| 1080 |
+
|
| 1081 |
+
|
| 1082 |
+
|
| 1083 |
+
// ------------------- 20 (Dark Decent Blue) -------------------
|
| 1084 |
+
export material Dark_Decent_Blue(*)
|
| 1085 |
+
[[
|
| 1086 |
+
::anno::author("NVIDIA"),
|
| 1087 |
+
::anno::display_name("Carpaint Solid - Dark Decent Blue"),
|
| 1088 |
+
::anno::description("Multilayered carpaint material with metallic flakes"),
|
| 1089 |
+
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "blue", "cool", "dark")),
|
| 1090 |
+
::anno::thumbnail("./.thumbs/Carpaint_Solid.Dark_Decent_Blue.png"),
|
| 1091 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 1092 |
+
]]
|
| 1093 |
+
= Carpaint_Solid(
|
| 1094 |
+
base_color: color(0.013702f, 0.046665f, 0.147027f),
|
| 1095 |
+
ground_coat_influence: 0.19f,
|
| 1096 |
+
ground_coat_brightness: 0.24f,
|
| 1097 |
+
edge_darkening: 0.1f,
|
| 1098 |
+
flakes_tint: color(0.012983f, 0.234551f, 0.665387f),
|
| 1099 |
+
flakes_density: 0.5f,
|
| 1100 |
+
spread: 0.25f,
|
| 1101 |
+
flakes_roughness: 0.34f,
|
| 1102 |
+
flakes_size: 0.5f,
|
| 1103 |
+
candy_flip: 0.0f,
|
| 1104 |
+
flake_layer_visibility: 0.0f,
|
| 1105 |
+
// roughness_texture:
|
| 1106 |
+
clearcoat_rough: 0.06f,
|
| 1107 |
+
roughness_variation: 0.36f,
|
| 1108 |
+
clearcoat_ior: 1.6f,
|
| 1109 |
+
clearcoat_visibility: 1.0f,
|
| 1110 |
+
orange_peel_strength: 0.0f,
|
| 1111 |
+
orange_peel_size: 0.01f
|
| 1112 |
+
);
|
PPC_500KVA/simready_usd/materials/OmniPBR/OmniPBR.mdl
ADDED
|
@@ -0,0 +1,419 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2022 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
mdl 1.7;
|
| 30 |
+
|
| 31 |
+
import ::df::*;
|
| 32 |
+
import ::state::*;
|
| 33 |
+
import ::math::*;
|
| 34 |
+
import ::base::*;
|
| 35 |
+
import ::state::*;
|
| 36 |
+
import ::tex::*;
|
| 37 |
+
import ::anno::*;
|
| 38 |
+
|
| 39 |
+
import ::debug::*;
|
| 40 |
+
|
| 41 |
+
import ::nvidia::core_definitions::file_texture;
|
| 42 |
+
import ::nvidia::core_definitions::normalmap_texture;
|
| 43 |
+
|
| 44 |
+
import OmniPBR_ClearCoat::*;
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
// OmniPBR //
|
| 48 |
+
|
| 49 |
+
export material OmniPBR(
|
| 50 |
+
|
| 51 |
+
// Albdeo //
|
| 52 |
+
|
| 53 |
+
color diffuse_color_constant = color(0.2) [[
|
| 54 |
+
anno::display_name("Albedo Color"),
|
| 55 |
+
anno::description("This is the albedo base color"),
|
| 56 |
+
anno::in_group("Albedo")
|
| 57 |
+
]],
|
| 58 |
+
uniform texture_2d diffuse_texture = texture_2d() [[
|
| 59 |
+
anno::display_name("Albedo Map"),
|
| 60 |
+
anno::in_group("Albedo")
|
| 61 |
+
]],
|
| 62 |
+
float albedo_desaturation = float(0.0) [[
|
| 63 |
+
anno::display_name("Albedo Map Desaturation"),
|
| 64 |
+
anno::description("Desaturates the albedo map"),
|
| 65 |
+
anno::in_group("Albedo"),
|
| 66 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 67 |
+
]],
|
| 68 |
+
float albedo_add = float(0.0) [[
|
| 69 |
+
anno::display_name("Albedo Add"),
|
| 70 |
+
anno::description("Adds a constant value to the diffuse color "),
|
| 71 |
+
anno::in_group("Albedo"),
|
| 72 |
+
anno::soft_range(float(-1.0), float(1.0))
|
| 73 |
+
]],
|
| 74 |
+
float albedo_brightness = float(1.0) [[
|
| 75 |
+
anno::display_name("Albedo Brightness"),
|
| 76 |
+
anno::description("Multiplier for the diffuse color "),
|
| 77 |
+
anno::in_group("Albedo"),
|
| 78 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 79 |
+
]],
|
| 80 |
+
color diffuse_tint = color(1.0) [[
|
| 81 |
+
anno::display_name("Color Tint"),
|
| 82 |
+
anno::description("When enabled, this color value is multiplied over the final albedo color"),
|
| 83 |
+
anno::in_group("Albedo")
|
| 84 |
+
]],
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
// Reflectivity //
|
| 88 |
+
|
| 89 |
+
float reflection_roughness_constant = float(0.5) [[
|
| 90 |
+
anno::display_name("Roughness Amount"),
|
| 91 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 92 |
+
anno::in_group("Reflectivity"),
|
| 93 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 94 |
+
]],
|
| 95 |
+
float reflection_roughness_texture_influence = float(0.0) [[
|
| 96 |
+
anno::display_name("Roughness Map Influence"),
|
| 97 |
+
anno::description("Blends between the constant value and the lookup of the roughness texture"),
|
| 98 |
+
anno::in_group("Reflectivity"),
|
| 99 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 100 |
+
]],
|
| 101 |
+
uniform texture_2d reflectionroughness_texture = texture_2d() [[
|
| 102 |
+
anno::display_name("Roughness Map"),
|
| 103 |
+
anno::in_group("Reflectivity"),
|
| 104 |
+
anno::usage("roughness")
|
| 105 |
+
]],
|
| 106 |
+
float metallic_constant = float(0.0) [[
|
| 107 |
+
anno::display_name("Metallic Amount"),
|
| 108 |
+
anno::description("Metallic Material"),
|
| 109 |
+
anno::in_group("Reflectivity"),
|
| 110 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 111 |
+
]],
|
| 112 |
+
float metallic_texture_influence = float(0.0) [[
|
| 113 |
+
anno::display_name("Metallic Map Influence"),
|
| 114 |
+
anno::description("Blends between the constant value and the lookup of the metallic texture"),
|
| 115 |
+
anno::in_group("Reflectivity"),
|
| 116 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 117 |
+
]],
|
| 118 |
+
uniform texture_2d metallic_texture = texture_2d() [[
|
| 119 |
+
anno::display_name("Metallic Map"),
|
| 120 |
+
anno::in_group("Reflectivity"),
|
| 121 |
+
anno::usage("metalness")
|
| 122 |
+
]],
|
| 123 |
+
float specular_level = float(0.5) [[
|
| 124 |
+
anno::display_name("Specular"),
|
| 125 |
+
anno::description("The specular level (intensity) of the material"),
|
| 126 |
+
anno::in_group("Reflectivity"),
|
| 127 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 128 |
+
]],
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
// ORM //
|
| 132 |
+
|
| 133 |
+
uniform bool enable_ORM_texture = false [[
|
| 134 |
+
anno::display_name("Enable ORM Texture"),
|
| 135 |
+
anno::description("The ORM texture will be used to extract the Occlusion, Roughness and Metallic textures from R,G,B channels"),
|
| 136 |
+
anno::in_group("Reflectivity")
|
| 137 |
+
]],
|
| 138 |
+
uniform texture_2d ORM_texture = texture_2d() [[
|
| 139 |
+
anno::display_name("ORM Map"),
|
| 140 |
+
anno::description("Texture that has Occlusion, Roughness and Metallic maps stored in their respective R, G and B channels"),
|
| 141 |
+
anno::in_group("Reflectivity"),
|
| 142 |
+
anno::usage("roughness")
|
| 143 |
+
]],
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
// AO Group //
|
| 147 |
+
|
| 148 |
+
float ao_to_diffuse = 0.0 [[
|
| 149 |
+
anno::display_name("AO to diffuse"),
|
| 150 |
+
anno::description("Controls the amount of ambient occlusion multiplied against the diffuse color channel"),
|
| 151 |
+
anno::in_group("AO"),
|
| 152 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 153 |
+
]],
|
| 154 |
+
uniform texture_2d ao_texture = texture_2d() [[
|
| 155 |
+
anno::display_name("Ambient Occlusion Map"),
|
| 156 |
+
anno::description("The ambient occlusion texture for the material"),
|
| 157 |
+
anno::in_group("AO"),
|
| 158 |
+
anno::usage("occlusion")
|
| 159 |
+
]],
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
// Emission //
|
| 163 |
+
|
| 164 |
+
uniform bool enable_emission = false [[
|
| 165 |
+
anno::display_name("Enable Emission"),
|
| 166 |
+
anno::description("Enables the emission of light from the material"),
|
| 167 |
+
anno::in_group("Emissive")
|
| 168 |
+
]],
|
| 169 |
+
color emissive_color = color(1.0,0.1,0.1) [[
|
| 170 |
+
anno::display_name("Emissive Color"),
|
| 171 |
+
anno::description("The emission color"),
|
| 172 |
+
anno::in_group("Emissive"),
|
| 173 |
+
anno::enable_if("enable_emission == true")
|
| 174 |
+
]],
|
| 175 |
+
uniform texture_2d emissive_color_texture = texture_2d() [[
|
| 176 |
+
anno::display_name("Emissive Color map"),
|
| 177 |
+
anno::in_group("Emissive"),
|
| 178 |
+
anno::description("The emissive color texture"),
|
| 179 |
+
anno::enable_if("enable_emission == true")
|
| 180 |
+
]],
|
| 181 |
+
uniform texture_2d emissive_mask_texture = texture_2d() [[
|
| 182 |
+
anno::display_name("Emissive Mask map"),
|
| 183 |
+
anno::description("The texture masking the emissive color"),
|
| 184 |
+
anno::in_group("Emissive"),
|
| 185 |
+
anno::enable_if("enable_emission == true"),
|
| 186 |
+
anno::usage("occlusion")
|
| 187 |
+
]],
|
| 188 |
+
float emissive_intensity = float(40.0) [[
|
| 189 |
+
anno::display_name("Emissive Intensity"),
|
| 190 |
+
anno::description("Intensity of the emission"),
|
| 191 |
+
anno::in_group("Emissive"),
|
| 192 |
+
anno::enable_if("enable_emission == true")
|
| 193 |
+
]],
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
// Cutout Opacity //
|
| 197 |
+
|
| 198 |
+
uniform bool enable_opacity = false [[
|
| 199 |
+
anno::display_name("Enable Opacity"),
|
| 200 |
+
anno::description("Enables the use of cutout opacity"),
|
| 201 |
+
anno::in_group("Opacity")
|
| 202 |
+
]],
|
| 203 |
+
uniform texture_2d opacity_texture = texture_2d() [[
|
| 204 |
+
anno::display_name("Opacity Map"),
|
| 205 |
+
anno::in_group("Opacity"),
|
| 206 |
+
anno::usage("opacity")
|
| 207 |
+
]],
|
| 208 |
+
float opacity_constant = float(1.0) [[
|
| 209 |
+
anno::display_name("Opacity Amount"),
|
| 210 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 211 |
+
anno::in_group("Opacity"),
|
| 212 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 213 |
+
]],
|
| 214 |
+
uniform bool enable_opacity_texture = false [[
|
| 215 |
+
anno::display_name("Enable Opacity Texture"),
|
| 216 |
+
anno::description("Enables or disables the usage of the opacity texture map"),
|
| 217 |
+
anno::in_group("Opacity")
|
| 218 |
+
]],
|
| 219 |
+
uniform base::mono_mode opacity_mode = base::mono_average [[
|
| 220 |
+
anno::display_name("Opacity Mono Source"),
|
| 221 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 222 |
+
anno::in_group("Opacity")
|
| 223 |
+
]],
|
| 224 |
+
uniform float opacity_threshold = float(0.0) [[
|
| 225 |
+
anno::hard_range(0.0, 1.0),
|
| 226 |
+
anno::display_name("Opacity Threshold"),
|
| 227 |
+
anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 228 |
+
anno::in_group("Opacity")
|
| 229 |
+
]],
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
// Normal //
|
| 233 |
+
|
| 234 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 235 |
+
[[
|
| 236 |
+
anno::hard_range(0.0, 1.0),
|
| 237 |
+
anno::display_name("Normal map to roughness weight"),
|
| 238 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 239 |
+
anno::in_group("Normal")
|
| 240 |
+
]],
|
| 241 |
+
uniform float bump_factor = float(1.0) [[
|
| 242 |
+
anno::display_name("Normal Strength"),
|
| 243 |
+
anno::description("Strength of normal map"),
|
| 244 |
+
anno::in_group("Normal"),
|
| 245 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 246 |
+
]],
|
| 247 |
+
uniform texture_2d normalmap_texture = texture_2d() [[
|
| 248 |
+
anno::display_name("Normal Map"),
|
| 249 |
+
anno::in_group("Normal"),
|
| 250 |
+
anno::usage("normal")
|
| 251 |
+
]],
|
| 252 |
+
uniform float detail_bump_factor = float(0.3) [[
|
| 253 |
+
anno::display_name("Detail Normal Strength"),
|
| 254 |
+
anno::in_group("Normal"),
|
| 255 |
+
anno::description("Strength of the detail normal"),
|
| 256 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 257 |
+
]],
|
| 258 |
+
uniform texture_2d detail_normalmap_texture = texture_2d() [[
|
| 259 |
+
anno::display_name("Detail Normal Map"),
|
| 260 |
+
anno::in_group("Normal"),
|
| 261 |
+
anno::usage("normal")
|
| 262 |
+
]],
|
| 263 |
+
uniform bool flip_tangent_u = false [[
|
| 264 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 265 |
+
anno::in_group("Normal")
|
| 266 |
+
]],
|
| 267 |
+
uniform bool flip_tangent_v = true [[
|
| 268 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 269 |
+
anno::in_group("Normal")
|
| 270 |
+
]],
|
| 271 |
+
|
| 272 |
+
|
| 273 |
+
// UVW Projection Group //
|
| 274 |
+
|
| 275 |
+
uniform bool project_uvw = false [[
|
| 276 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 277 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 278 |
+
anno::in_group("UV")
|
| 279 |
+
]],
|
| 280 |
+
uniform bool world_or_object = false [[
|
| 281 |
+
anno::display_name("Enable World Space"),
|
| 282 |
+
anno::description("When enabled, uses world space for projection, otherwise object space is used"),
|
| 283 |
+
anno::in_group("UV"),
|
| 284 |
+
anno::enable_if("project_uvw == true")
|
| 285 |
+
]],
|
| 286 |
+
uniform int uv_space_index = 0 [[
|
| 287 |
+
anno::display_name("UV Space Index"),
|
| 288 |
+
anno::description("UV Space Index."),
|
| 289 |
+
anno::in_group("UV"),
|
| 290 |
+
anno::enable_if("project_uvw == true"),
|
| 291 |
+
anno::hard_range(int(0), int(3))
|
| 292 |
+
]],
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
// UVW Adjustments Group //
|
| 296 |
+
|
| 297 |
+
uniform float2 texture_translate = float2(0.0) [[
|
| 298 |
+
anno::display_name("Texture Translate"),
|
| 299 |
+
anno::description("Controls position of texture."),
|
| 300 |
+
anno::in_group("UV"),
|
| 301 |
+
anno::enable_if("project_uvw == true")
|
| 302 |
+
]],
|
| 303 |
+
uniform float texture_rotate = float(0.0) [[
|
| 304 |
+
anno::display_name("Texture Rotate"),
|
| 305 |
+
anno::description("Rotates angle of texture in degrees."),
|
| 306 |
+
anno::in_group("UV"),
|
| 307 |
+
anno::enable_if("project_uvw == true")
|
| 308 |
+
]],
|
| 309 |
+
uniform float2 texture_scale = float2(1.0) [[
|
| 310 |
+
anno::display_name("Texture Tiling"),
|
| 311 |
+
anno::description("Controls the repetition of the texture."),
|
| 312 |
+
anno::in_group("UV"),
|
| 313 |
+
anno::enable_if("project_uvw == true")
|
| 314 |
+
]],
|
| 315 |
+
uniform float2 detail_texture_translate = float2(0.0) [[
|
| 316 |
+
anno::display_name("Detail Texture Translate"),
|
| 317 |
+
anno::description("Controls the position of the detail texture."),
|
| 318 |
+
anno::in_group("UV"),
|
| 319 |
+
anno::enable_if("project_uvw == true")
|
| 320 |
+
]],
|
| 321 |
+
uniform float detail_texture_rotate = float(0.0) [[
|
| 322 |
+
anno::display_name("Detail Texture Rotate"),
|
| 323 |
+
anno::description("Rotates angle of the detail texture in degrees."),
|
| 324 |
+
anno::in_group("UV"),
|
| 325 |
+
anno::enable_if("project_uvw == true")
|
| 326 |
+
]],
|
| 327 |
+
uniform float2 detail_texture_scale = float2(1.0) [[
|
| 328 |
+
anno::display_name("Detail Texture Tiling"),
|
| 329 |
+
anno::description("Controls the repetition of the detail texture."),
|
| 330 |
+
anno::in_group("UV"),
|
| 331 |
+
anno::enable_if("project_uvw == true")
|
| 332 |
+
]],
|
| 333 |
+
|
| 334 |
+
|
| 335 |
+
// Geometry //
|
| 336 |
+
|
| 337 |
+
uniform float round_edges_radius = float(0.0) [[
|
| 338 |
+
anno::display_name("Round Edge Radius"),
|
| 339 |
+
anno::description("Influence radius around the edges in meters"),
|
| 340 |
+
anno::in_group("Geometry"),
|
| 341 |
+
anno::soft_range(0.0, 1.0)
|
| 342 |
+
]],
|
| 343 |
+
uniform float round_edges_roundness = float(1.0) [[
|
| 344 |
+
anno::display_name("Round Edge Roundness"),
|
| 345 |
+
anno::description("Determines how round the edge will look"),
|
| 346 |
+
anno::in_group("Geometry"),
|
| 347 |
+
anno::hard_range(0.0, 1.0)
|
| 348 |
+
]],
|
| 349 |
+
uniform bool round_edges_across_materials = false [[
|
| 350 |
+
anno::display_name("Round Edge Across Materials"),
|
| 351 |
+
anno::description("Normal smoothing happens only between facets of equal material, \n"
|
| 352 |
+
"\t\tunless this parameter is set true, in which case the smoothing \n"
|
| 353 |
+
"\t\thappens between facets irrespective of their materials"),
|
| 354 |
+
anno::in_group("Geometry")
|
| 355 |
+
]]
|
| 356 |
+
)
|
| 357 |
+
[[
|
| 358 |
+
anno::display_name("OmniPBR"),
|
| 359 |
+
anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
|
| 360 |
+
anno::in_group("Base"),
|
| 361 |
+
anno::version( 2, 1, 2),
|
| 362 |
+
anno::author("NVIDIA CORPORATION"),
|
| 363 |
+
anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
|
| 364 |
+
]] = let {
|
| 365 |
+
|
| 366 |
+
material base = OmniPBR_ClearCoat::OmniPBR_ClearCoat(
|
| 367 |
+
diffuse_color_constant: diffuse_color_constant,
|
| 368 |
+
diffuse_texture: diffuse_texture,
|
| 369 |
+
albedo_desaturation: albedo_desaturation,
|
| 370 |
+
albedo_add: albedo_add,
|
| 371 |
+
albedo_brightness: albedo_brightness,
|
| 372 |
+
diffuse_tint: diffuse_tint,
|
| 373 |
+
reflection_roughness_constant: reflection_roughness_constant,
|
| 374 |
+
reflection_roughness_texture_influence: reflection_roughness_texture_influence,
|
| 375 |
+
reflectionroughness_texture: reflectionroughness_texture,
|
| 376 |
+
metallic_constant: metallic_constant,
|
| 377 |
+
metallic_texture_influence: metallic_texture_influence,
|
| 378 |
+
metallic_texture: metallic_texture,
|
| 379 |
+
specular_level: specular_level,
|
| 380 |
+
enable_ORM_texture: enable_ORM_texture,
|
| 381 |
+
ORM_texture: ORM_texture,
|
| 382 |
+
ao_to_diffuse: ao_to_diffuse,
|
| 383 |
+
ao_texture: ao_texture,
|
| 384 |
+
enable_emission: enable_emission,
|
| 385 |
+
emissive_color: emissive_color,
|
| 386 |
+
emissive_color_texture: emissive_color_texture,
|
| 387 |
+
emissive_mask_texture: emissive_mask_texture,
|
| 388 |
+
emissive_intensity: emissive_intensity,
|
| 389 |
+
enable_opacity: enable_opacity,
|
| 390 |
+
opacity_texture: opacity_texture,
|
| 391 |
+
opacity_constant: opacity_constant,
|
| 392 |
+
enable_opacity_texture: enable_opacity_texture,
|
| 393 |
+
opacity_mode: opacity_mode,
|
| 394 |
+
opacity_threshold: opacity_threshold,
|
| 395 |
+
geometry_normal_roughness_strength: geometry_normal_roughness_strength,
|
| 396 |
+
bump_factor: bump_factor,
|
| 397 |
+
normalmap_texture: normalmap_texture,
|
| 398 |
+
detail_bump_factor: detail_bump_factor,
|
| 399 |
+
detail_normalmap_texture: detail_normalmap_texture,
|
| 400 |
+
flip_tangent_u: flip_tangent_u,
|
| 401 |
+
flip_tangent_v: flip_tangent_v,
|
| 402 |
+
project_uvw: project_uvw,
|
| 403 |
+
world_or_object: world_or_object,
|
| 404 |
+
uv_space_index: uv_space_index,
|
| 405 |
+
texture_translate: texture_translate,
|
| 406 |
+
texture_rotate: texture_rotate,
|
| 407 |
+
texture_scale: texture_scale,
|
| 408 |
+
detail_texture_translate: detail_texture_translate,
|
| 409 |
+
detail_texture_rotate: detail_texture_rotate,
|
| 410 |
+
detail_texture_scale: detail_texture_scale,
|
| 411 |
+
round_edges_radius: round_edges_radius,
|
| 412 |
+
round_edges_roundness: round_edges_roundness,
|
| 413 |
+
round_edges_across_materials: round_edges_across_materials
|
| 414 |
+
);
|
| 415 |
+
|
| 416 |
+
} in material(
|
| 417 |
+
surface: base.surface,
|
| 418 |
+
geometry: base.geometry
|
| 419 |
+
);
|
PPC_500KVA/simready_usd/materials/OmniPBR/OmniPBRBase.mdl
ADDED
|
@@ -0,0 +1,493 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2022 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
mdl 1.7;
|
| 30 |
+
|
| 31 |
+
import ::df::*;
|
| 32 |
+
import ::state::*;
|
| 33 |
+
import ::math::*;
|
| 34 |
+
import ::base::*;
|
| 35 |
+
import ::tex::*;
|
| 36 |
+
import ::anno::*;
|
| 37 |
+
import ::anno::*;
|
| 38 |
+
|
| 39 |
+
export float3 HemiOctahedronToUnitVector( float2 Oct ) [[
|
| 40 |
+
anno::hidden()
|
| 41 |
+
]]
|
| 42 |
+
{
|
| 43 |
+
Oct = float2( Oct.x + Oct.y, Oct.x - Oct.y ) * 0.5;
|
| 44 |
+
float3 N = float3( Oct.x, Oct.y, 1.0 - math::dot( float2(1.0), math::abs(Oct) ) );
|
| 45 |
+
return math::normalize(N);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
export struct NormalData [[
|
| 49 |
+
anno::hidden()
|
| 50 |
+
]]
|
| 51 |
+
{
|
| 52 |
+
float3 normal;
|
| 53 |
+
float2 roughness;
|
| 54 |
+
};
|
| 55 |
+
|
| 56 |
+
export NormalData tangent_space_normal_roughness_texture(
|
| 57 |
+
uniform texture_2d texture
|
| 58 |
+
[[
|
| 59 |
+
anno::description("The input texture"),
|
| 60 |
+
anno::usage("normal")
|
| 61 |
+
]],
|
| 62 |
+
uniform float factor = 1.0f
|
| 63 |
+
[[ anno::description("Determines the degree of bumpiness") ]],
|
| 64 |
+
uniform bool flip_tangent_u = false
|
| 65 |
+
[[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
|
| 66 |
+
uniform bool flip_tangent_v = false
|
| 67 |
+
[[ anno::description("Can be used to fix mismatches between the object's tangent space and the normal map's tangent space") ]],
|
| 68 |
+
base::texture_coordinate_info uvw = base::texture_coordinate_info()
|
| 69 |
+
[[ anno::description("Parameterization to be used for texture mapping. Defaults to texture channel 0.") ]],
|
| 70 |
+
uniform float2 crop_u = float2( 0.0, 1.0)
|
| 71 |
+
[[ anno::description("Restricts the texture access to sub-domain of the texture in the u direction") ]],
|
| 72 |
+
uniform float2 crop_v = float2( 0.0, 1.0)
|
| 73 |
+
[[ anno::description("Restricts the texture access to sub-domain of the texture in the v direction") ]],
|
| 74 |
+
uniform tex::wrap_mode wrap_u = tex::wrap_repeat
|
| 75 |
+
[[ anno::description("Wrapping mode in the u direction") ]],
|
| 76 |
+
uniform tex::wrap_mode wrap_v = tex::wrap_repeat
|
| 77 |
+
[[ anno::description("Wrapping mode in the v direction") ]],
|
| 78 |
+
uniform bool clip = false
|
| 79 |
+
[[
|
| 80 |
+
anno::description("deprecated, usewrap_mode=tex::wrap_clip. Defines wrap_clamp behavior. If true, lookup outside [0,1] results in no bump"),
|
| 81 |
+
anno::hidden()
|
| 82 |
+
]],
|
| 83 |
+
uniform float scale = 1.
|
| 84 |
+
[[
|
| 85 |
+
anno::description("Scales the value red from the texture file. Can be used to adapt to different normal map formats"),
|
| 86 |
+
anno::unused()
|
| 87 |
+
]],
|
| 88 |
+
uniform float offset = 0.
|
| 89 |
+
[[
|
| 90 |
+
anno::description("Offset applied to the value red from the texture file. Can be used to adapt to different normal map formats"),
|
| 91 |
+
anno::unused()
|
| 92 |
+
]],
|
| 93 |
+
uniform float animation_start_time = 0.
|
| 94 |
+
[[ anno::description("When to start playing first frame of the animation ") ]],
|
| 95 |
+
uniform int2 animation_crop = int2(0, 0)
|
| 96 |
+
[[ anno::description("If the texture is an animation, the range of frames to be played can be specified.") ]],
|
| 97 |
+
uniform tex::wrap_mode animation_wrap = tex::wrap_repeat
|
| 98 |
+
[[ anno::description("Defines what to do outside of regular animation time") ]],
|
| 99 |
+
uniform float animation_fps = 30
|
| 100 |
+
[[ anno::description("Framerate to use for animation playback") ]]
|
| 101 |
+
)
|
| 102 |
+
[[
|
| 103 |
+
anno::description("Interprets the color values of a bitmap as a vector in tangent space"),
|
| 104 |
+
anno::hidden(),
|
| 105 |
+
anno::noinline()
|
| 106 |
+
]]
|
| 107 |
+
{
|
| 108 |
+
NormalData normalData;
|
| 109 |
+
normalData.roughness = float2(0);
|
| 110 |
+
normalData.normal = state::normal();
|
| 111 |
+
|
| 112 |
+
float frame = 0.0;
|
| 113 |
+
if(animation_crop != int2(0,0)) //only if we have an animation
|
| 114 |
+
{
|
| 115 |
+
frame = (::state::animation_time()-animation_start_time) * animation_fps ; //start playing at first frame of the animation
|
| 116 |
+
switch ( animation_wrap) {
|
| 117 |
+
case tex::wrap_repeat:
|
| 118 |
+
frame=frame>0? math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.x:
|
| 119 |
+
math::fmod(frame,animation_crop.y-animation_crop.x)+animation_crop.y;
|
| 120 |
+
break;
|
| 121 |
+
case tex::wrap_mirrored_repeat:
|
| 122 |
+
float animation_crop_2y = 2.0*animation_crop.y;
|
| 123 |
+
frame=frame>0? math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop.x:
|
| 124 |
+
math::fmod(frame,(animation_crop.y-animation_crop.x)*2.0)+animation_crop_2y-animation_crop.x;
|
| 125 |
+
if(frame>animation_crop.y)
|
| 126 |
+
frame = animation_crop_2y-frame;
|
| 127 |
+
break;
|
| 128 |
+
case tex::wrap_clamp:
|
| 129 |
+
frame = math::clamp( frame+animation_crop.x, animation_crop.x, animation_crop.y);
|
| 130 |
+
break;
|
| 131 |
+
case tex::wrap_clip:
|
| 132 |
+
frame += animation_crop.x;
|
| 133 |
+
if(frame < animation_crop.x || frame > animation_crop.y) return normalData;
|
| 134 |
+
break;
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
if (tex::width(texture) == 0 || tex::height(texture) == 0 || // avoid division by zero in texremapu for invalid resource
|
| 139 |
+
factor == 0.0f)
|
| 140 |
+
return normalData;
|
| 141 |
+
{
|
| 142 |
+
if (clip) {
|
| 143 |
+
if (wrap_u == tex::wrap_clamp && (uvw.position.x < 0. || uvw.position.x > 1.)) {
|
| 144 |
+
return normalData;
|
| 145 |
+
}
|
| 146 |
+
if (wrap_v == tex::wrap_clamp && (uvw.position.y < 0. || uvw.position.y > 1.)) {
|
| 147 |
+
return normalData;
|
| 148 |
+
}
|
| 149 |
+
}
|
| 150 |
+
if (wrap_u == tex::wrap_clip && (uvw.position.x < 0. || uvw.position.x > 1.)) {
|
| 151 |
+
return normalData;
|
| 152 |
+
}
|
| 153 |
+
if (wrap_v == tex::wrap_clip && (uvw.position.y < 0. || uvw.position.y > 1.)) {
|
| 154 |
+
return normalData;
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
bool pixel_flip_u = flip_tangent_u;
|
| 158 |
+
bool pixel_flip_v = flip_tangent_v;
|
| 159 |
+
//if we mirror repeat a tangent space texture, tangent space needs to be flipped for every other tile
|
| 160 |
+
if (wrap_u == tex::wrap_mirrored_repeat) {
|
| 161 |
+
if( uvw.position.x > 0. && int(uvw.position.x) % 2 == 1)
|
| 162 |
+
pixel_flip_u = ! pixel_flip_u;
|
| 163 |
+
else if( uvw.position.x < 0. && int(uvw.position.x) % 2 == 0)
|
| 164 |
+
pixel_flip_u = ! pixel_flip_u;
|
| 165 |
+
}
|
| 166 |
+
if (wrap_v == tex::wrap_mirrored_repeat) {
|
| 167 |
+
if( uvw.position.y > 0. && int(uvw.position.y) % 2 == 1)
|
| 168 |
+
pixel_flip_v = ! pixel_flip_v;
|
| 169 |
+
else if( uvw.position.y < 0. && int(uvw.position.y) % 2 == 0)
|
| 170 |
+
pixel_flip_v = ! pixel_flip_v;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
float3 transformed_tangent_u = uvw.tangent_u;
|
| 174 |
+
float3 transformed_tangent_v = uvw.tangent_v;
|
| 175 |
+
|
| 176 |
+
if (pixel_flip_u)
|
| 177 |
+
transformed_tangent_u=-transformed_tangent_u;
|
| 178 |
+
if (pixel_flip_v)
|
| 179 |
+
transformed_tangent_v=-transformed_tangent_v;
|
| 180 |
+
|
| 181 |
+
float3 tangent_space_normal;
|
| 182 |
+
float4 normal_raw = tex::lookup_float4(texture,float2(uvw.position.x,uvw.position.y), wrap_u, wrap_v, crop_u, crop_v, frame);
|
| 183 |
+
if(normal_raw.x > 1.5)
|
| 184 |
+
{
|
| 185 |
+
// octahedron packed by OV
|
| 186 |
+
normal_raw.x -= 2.0;
|
| 187 |
+
normal_raw.x -= 0.5;
|
| 188 |
+
normal_raw.y -= 0.5;
|
| 189 |
+
tangent_space_normal = HemiOctahedronToUnitVector(float2(normal_raw.x, normal_raw.y) * 2.0);
|
| 190 |
+
normalData.roughness = float2(normal_raw.z, normal_raw.w);
|
| 191 |
+
}
|
| 192 |
+
else
|
| 193 |
+
{
|
| 194 |
+
// regular
|
| 195 |
+
tangent_space_normal = (float3(normal_raw.x, normal_raw.y, normal_raw.z) - float3(0.5)) * 2.0;
|
| 196 |
+
normalData.roughness = float2(0);
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
normalData.normal = math::normalize(
|
| 200 |
+
transformed_tangent_u * tangent_space_normal.x * factor +
|
| 201 |
+
transformed_tangent_v * tangent_space_normal.y * factor +
|
| 202 |
+
state::normal() * tangent_space_normal.z);
|
| 203 |
+
|
| 204 |
+
return normalData;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
|
| 208 |
+
export material OmniPBRBase(
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
// Albdeo //
|
| 212 |
+
|
| 213 |
+
color diffuse_reflection_color = color(0.2) [[
|
| 214 |
+
anno::display_name("Albedo Color"),
|
| 215 |
+
anno::description("This is the albedo base color"),
|
| 216 |
+
anno::in_group("Albedo")
|
| 217 |
+
]],
|
| 218 |
+
color diffuse_tint = color(1.0) [[
|
| 219 |
+
anno::display_name("Albedo Tint"),
|
| 220 |
+
anno::description("When enabled, this color value is multiplied over the final albedo color"),
|
| 221 |
+
anno::in_group("Albedo")
|
| 222 |
+
]],
|
| 223 |
+
|
| 224 |
+
|
| 225 |
+
// Reflecitivity //
|
| 226 |
+
|
| 227 |
+
float specular_reflection_roughness = float(0.0) [[
|
| 228 |
+
anno::display_name("Roughness"),
|
| 229 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 230 |
+
anno::in_group("Reflectivity"),
|
| 231 |
+
anno::hard_range(0.0, 1.0)
|
| 232 |
+
]],
|
| 233 |
+
float2 specular_reflection_aniso_roughness = float2(0.0, 0.0) [[
|
| 234 |
+
anno::display_name("Aniso roughness"),
|
| 235 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 236 |
+
anno::in_group("Reflectivity"),
|
| 237 |
+
anno::hidden()
|
| 238 |
+
]],
|
| 239 |
+
float metalness = float(0.0) [[
|
| 240 |
+
anno::display_name("Metalness"),
|
| 241 |
+
anno::description("Bias towards pure specular reflection"),
|
| 242 |
+
anno::in_group("Reflectivity"),
|
| 243 |
+
anno::hard_range(0.0, 1.0)
|
| 244 |
+
]],
|
| 245 |
+
float specular_level = float(0.5) [[
|
| 246 |
+
anno::display_name("Specular"),
|
| 247 |
+
anno::description("The specular level (intensity) of the material"),
|
| 248 |
+
anno::in_group("Reflectivity"),
|
| 249 |
+
anno::soft_range(0.0, 1.0)
|
| 250 |
+
]],
|
| 251 |
+
|
| 252 |
+
|
| 253 |
+
// Emission //
|
| 254 |
+
|
| 255 |
+
uniform bool enable_emission = false [[
|
| 256 |
+
anno::display_name("Enable Emission"),
|
| 257 |
+
anno::description("Enables the emission of light from the material"),
|
| 258 |
+
anno::in_group("Emissive")
|
| 259 |
+
]],
|
| 260 |
+
color emission_color = color(1.0,0.1,0.1) [[
|
| 261 |
+
anno::display_name("Emissive Color"),
|
| 262 |
+
anno::description("The emission color"),
|
| 263 |
+
anno::in_group("Emissive"),
|
| 264 |
+
anno::enable_if("enable_emission == true")
|
| 265 |
+
]],
|
| 266 |
+
float emission_intensity = float(40.0) [[
|
| 267 |
+
anno::display_name("Emissive Intensity"),
|
| 268 |
+
anno::description("Intensity of the emission"),
|
| 269 |
+
anno::in_group("Emissive"),
|
| 270 |
+
anno::soft_range(0.0, 1000.0),
|
| 271 |
+
anno::enable_if("enable_emission == true")
|
| 272 |
+
]],
|
| 273 |
+
|
| 274 |
+
|
| 275 |
+
// Geometry Opacity //
|
| 276 |
+
|
| 277 |
+
uniform bool enable_opacity = false [[
|
| 278 |
+
anno::display_name("Enable Opacity"),
|
| 279 |
+
anno::description("Enables the use of cutout opacity"),
|
| 280 |
+
anno::in_group("Opacity")
|
| 281 |
+
]],
|
| 282 |
+
float geometry_opacity = float(1.0) [[
|
| 283 |
+
anno::display_name("Opacity Amount"),
|
| 284 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 285 |
+
anno::in_group("Opacity"),
|
| 286 |
+
anno::hard_range(0.0, 1.0)
|
| 287 |
+
]],
|
| 288 |
+
uniform float geometry_opacity_threshold = 0.f
|
| 289 |
+
[[
|
| 290 |
+
anno::display_name("Opacity Threshold"),
|
| 291 |
+
anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 292 |
+
anno::in_group("Opacity"),
|
| 293 |
+
anno::hard_range(0.0, 1.0)
|
| 294 |
+
]],
|
| 295 |
+
|
| 296 |
+
|
| 297 |
+
// Clearcoat //
|
| 298 |
+
|
| 299 |
+
uniform bool enable_coat = false [[
|
| 300 |
+
anno::display_name("Enable Clearcoat Layer"),
|
| 301 |
+
anno::description("Adds a coat layer on top of the material when enabled"),
|
| 302 |
+
anno::in_group("Clearcoat")
|
| 303 |
+
]],
|
| 304 |
+
float coat_weight = float(1.0) [[
|
| 305 |
+
anno::display_name("Clearcoat Weight"),
|
| 306 |
+
anno::description("Sets the weight for coat layer"),
|
| 307 |
+
anno::in_group("Clearcoat"),
|
| 308 |
+
anno::hard_range(0.0, 1.0)
|
| 309 |
+
]],
|
| 310 |
+
color coat_color = color(1.0) [[
|
| 311 |
+
anno::display_name("Clearcoat Tint"),
|
| 312 |
+
anno::description("Clearcoat is tinted and affects the underlying material"),
|
| 313 |
+
anno::in_group("Clearcoat")
|
| 314 |
+
]],
|
| 315 |
+
float coat_transparency = float(1.0) [[
|
| 316 |
+
anno::display_name("Clearcoat Transparency"),
|
| 317 |
+
anno::description("Adjusts the transparency of the coat. Can be turned into a fully opaque coat covering the underlying layer"),
|
| 318 |
+
anno::in_group("Clearcoat"),
|
| 319 |
+
anno::hard_range(0.0, 1.0)
|
| 320 |
+
]],
|
| 321 |
+
float coat_roughness = float(0.0) [[
|
| 322 |
+
anno::display_name("Clearcoat Roughness"),
|
| 323 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 324 |
+
anno::in_group("Clearcoat"),
|
| 325 |
+
anno::hard_range(0.0, 1.0)
|
| 326 |
+
]],
|
| 327 |
+
float2 coat_aniso_roughness = float2(0.0, 0.0) [[
|
| 328 |
+
anno::display_name("Clearcoat aniso roughness"),
|
| 329 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 330 |
+
anno::in_group("Clearcoat"),
|
| 331 |
+
anno::hidden()
|
| 332 |
+
]],
|
| 333 |
+
float coat_ior = float(1.56) [[
|
| 334 |
+
anno::display_name("Clearcoat IOR"),
|
| 335 |
+
anno::description("Sets the Index of refraction for the coat layer"),
|
| 336 |
+
anno::in_group("Clearcoat"),
|
| 337 |
+
anno::soft_range(0.0, 4.0)
|
| 338 |
+
]],
|
| 339 |
+
float3 clearcoat_geometry_normal = state::normal() [[
|
| 340 |
+
anno::display_name("Clearcoat Normal"),
|
| 341 |
+
anno::in_group("Clearcoat"),
|
| 342 |
+
anno::usage("normal")
|
| 343 |
+
]],
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
// Geometry //
|
| 347 |
+
|
| 348 |
+
uniform float round_edges_radius = float(0.0) [[
|
| 349 |
+
anno::display_name("Round Edge Radius"),
|
| 350 |
+
anno::description("Influence radius around the edges in meters"),
|
| 351 |
+
anno::in_group("Geometry"),
|
| 352 |
+
anno::soft_range(0.0, 1.0)
|
| 353 |
+
]],
|
| 354 |
+
uniform float round_edges_roundness = float(1.0) [[
|
| 355 |
+
anno::display_name("Round Edge Roundness"),
|
| 356 |
+
anno::description("Determines how round the edge will look"),
|
| 357 |
+
anno::in_group("Geometry"),
|
| 358 |
+
anno::hard_range(0.0, 1.0)
|
| 359 |
+
]],
|
| 360 |
+
uniform bool round_edges_across_materials = false [[
|
| 361 |
+
anno::display_name("Round Edge Across Materials"),
|
| 362 |
+
anno::description("Normal smoothing happens only between facets of equal material, \n"
|
| 363 |
+
"\t\tunless this parameter is set true, in which case the smoothing \n"
|
| 364 |
+
"\t\thappens between facets irrespective of their materials"),
|
| 365 |
+
anno::in_group("Geometry")
|
| 366 |
+
]],
|
| 367 |
+
float3 geometry_normal = state::normal() [[
|
| 368 |
+
anno::display_name("Geometry Normal"),
|
| 369 |
+
anno::in_group("Geometry"),
|
| 370 |
+
anno::usage("normal")
|
| 371 |
+
]]
|
| 372 |
+
|
| 373 |
+
)
|
| 374 |
+
[[
|
| 375 |
+
anno::display_name("OmniPBR Base"),
|
| 376 |
+
anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
|
| 377 |
+
anno::in_group("Omni Materials"),
|
| 378 |
+
anno::version( 2, 1, 1),
|
| 379 |
+
anno::author("NVIDIA CORPORATION"),
|
| 380 |
+
anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic"))
|
| 381 |
+
]]
|
| 382 |
+
= let{
|
| 383 |
+
|
| 384 |
+
// Diffuse Bsdf //
|
| 385 |
+
|
| 386 |
+
color tinted_diffuse_color = diffuse_reflection_color * diffuse_tint;
|
| 387 |
+
|
| 388 |
+
color base_color = tinted_diffuse_color;
|
| 389 |
+
|
| 390 |
+
bsdf diffuse_bsdf = df::weighted_layer(
|
| 391 |
+
weight: 1.0,
|
| 392 |
+
layer: df::diffuse_reflection_bsdf(
|
| 393 |
+
tint: base_color,
|
| 394 |
+
roughness: float(0.0)
|
| 395 |
+
),
|
| 396 |
+
base: bsdf(),
|
| 397 |
+
normal: geometry_normal
|
| 398 |
+
);
|
| 399 |
+
|
| 400 |
+
// Glossy Reflection Bsdf //
|
| 401 |
+
|
| 402 |
+
float roughness_u = math::clamp(specular_reflection_roughness * specular_reflection_roughness
|
| 403 |
+
+ specular_reflection_aniso_roughness.x * specular_reflection_aniso_roughness.x, 0, 1);
|
| 404 |
+
float roughness_v = math::clamp(specular_reflection_roughness * specular_reflection_roughness
|
| 405 |
+
+ specular_reflection_aniso_roughness.y * specular_reflection_aniso_roughness.y, 0, 1);
|
| 406 |
+
bsdf ggx_smith_bsdf = df::microfacet_ggx_smith_bsdf(
|
| 407 |
+
roughness_u: roughness_u,
|
| 408 |
+
roughness_v: roughness_v,
|
| 409 |
+
tint: color(1.0),
|
| 410 |
+
mode: df::scatter_reflect
|
| 411 |
+
);
|
| 412 |
+
|
| 413 |
+
bsdf custom_curve_layer_bsdf = df::custom_curve_layer(
|
| 414 |
+
normal_reflectivity: 0.08,
|
| 415 |
+
grazing_reflectivity: 1.0,
|
| 416 |
+
exponent: 5.0,
|
| 417 |
+
weight: specular_level,
|
| 418 |
+
layer: ggx_smith_bsdf,
|
| 419 |
+
base: diffuse_bsdf,
|
| 420 |
+
normal: geometry_normal
|
| 421 |
+
);
|
| 422 |
+
|
| 423 |
+
bsdf directional_factor_bsdf = df::tint(base_color, ggx_smith_bsdf);
|
| 424 |
+
|
| 425 |
+
bsdf omni_PBR_bsdf = df::weighted_layer(
|
| 426 |
+
weight: metalness,
|
| 427 |
+
layer: directional_factor_bsdf,
|
| 428 |
+
base: custom_curve_layer_bsdf,
|
| 429 |
+
normal: geometry_normal
|
| 430 |
+
);
|
| 431 |
+
|
| 432 |
+
// Clear Coat //
|
| 433 |
+
|
| 434 |
+
float coat_roughness_u = math::clamp(coat_roughness * coat_roughness
|
| 435 |
+
+ coat_aniso_roughness.x * coat_aniso_roughness.x, 0, 1);
|
| 436 |
+
float coat_roughness_v = math::clamp(coat_roughness * coat_roughness
|
| 437 |
+
+ coat_aniso_roughness.y * coat_aniso_roughness.y, 0, 1);
|
| 438 |
+
bsdf coat_bsdf = df::microfacet_ggx_smith_bsdf(
|
| 439 |
+
roughness_u: coat_roughness_u,
|
| 440 |
+
roughness_v: coat_roughness_v,
|
| 441 |
+
tint: color(1.0),
|
| 442 |
+
mode: df::scatter_reflect
|
| 443 |
+
);
|
| 444 |
+
|
| 445 |
+
bsdf opaque_coat = df::weighted_layer(
|
| 446 |
+
weight: coat_transparency,
|
| 447 |
+
layer: ::df::tint(
|
| 448 |
+
tint: coat_color,
|
| 449 |
+
base: omni_PBR_bsdf
|
| 450 |
+
),
|
| 451 |
+
base: ::df::diffuse_reflection_bsdf(
|
| 452 |
+
tint: coat_color
|
| 453 |
+
)
|
| 454 |
+
);
|
| 455 |
+
|
| 456 |
+
bsdf omni_PBR_coated_bsdf = df::fresnel_layer(
|
| 457 |
+
ior: coat_ior,
|
| 458 |
+
weight: coat_weight,
|
| 459 |
+
layer: coat_bsdf,
|
| 460 |
+
base: opaque_coat,
|
| 461 |
+
normal: clearcoat_geometry_normal
|
| 462 |
+
);
|
| 463 |
+
|
| 464 |
+
bsdf final_bsdf = enable_coat ? omni_PBR_coated_bsdf : omni_PBR_bsdf;
|
| 465 |
+
|
| 466 |
+
color emission_value = enable_emission ? emission_color * color(emission_intensity) : color(0.0);
|
| 467 |
+
|
| 468 |
+
float opacity_value = geometry_opacity;
|
| 469 |
+
float cutout_opacity = enable_opacity ? ((geometry_opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= geometry_opacity_threshold) ? 1.0 : 0)) : 1.0;
|
| 470 |
+
|
| 471 |
+
material_emission emission = material_emission(
|
| 472 |
+
df::diffuse_edf(),
|
| 473 |
+
intensity: emission_value
|
| 474 |
+
);
|
| 475 |
+
|
| 476 |
+
material_surface surface = material_surface(
|
| 477 |
+
scattering: final_bsdf,
|
| 478 |
+
emission: emission
|
| 479 |
+
);
|
| 480 |
+
|
| 481 |
+
material_geometry geometry = material_geometry(
|
| 482 |
+
normal: state::rounded_corner_normal(
|
| 483 |
+
radius: round_edges_radius,
|
| 484 |
+
across_materials: round_edges_across_materials,
|
| 485 |
+
roundness: round_edges_roundness
|
| 486 |
+
),
|
| 487 |
+
cutout_opacity: cutout_opacity
|
| 488 |
+
);
|
| 489 |
+
|
| 490 |
+
} in material(
|
| 491 |
+
surface: surface,
|
| 492 |
+
geometry: geometry
|
| 493 |
+
);
|
PPC_500KVA/simready_usd/materials/OmniPBR/OmniPBR_ClearCoat.mdl
ADDED
|
@@ -0,0 +1,734 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2022 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
mdl 1.7;
|
| 30 |
+
|
| 31 |
+
import ::df::*;
|
| 32 |
+
import ::state::*;
|
| 33 |
+
import ::math::*;
|
| 34 |
+
import ::base::*;
|
| 35 |
+
import ::state::*;
|
| 36 |
+
import ::tex::*;
|
| 37 |
+
import ::anno::*;
|
| 38 |
+
|
| 39 |
+
import ::debug::*;
|
| 40 |
+
|
| 41 |
+
import ::nvidia::core_definitions::file_texture;
|
| 42 |
+
import ::nvidia::core_definitions::normalmap_texture;
|
| 43 |
+
|
| 44 |
+
import OmniPBRBase::*;
|
| 45 |
+
|
| 46 |
+
// Functions //
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
// Returns a matrix from R,T,S. inputs //
|
| 50 |
+
|
| 51 |
+
uniform float4x4 rotation_translation_scale(
|
| 52 |
+
uniform float3 rotation = float3(0.)
|
| 53 |
+
[[ anno::description("Rotation applied to every UVW coordinate") ]],
|
| 54 |
+
uniform float3 translation = float3(0.)
|
| 55 |
+
[[ anno::description("Offset applied to every UVW coordinate") ]],
|
| 56 |
+
uniform float3 scaling = float3(1.)
|
| 57 |
+
[[ anno::description("Scale applied to every UVW coordinate") ]]
|
| 58 |
+
)
|
| 59 |
+
[[
|
| 60 |
+
anno::description("Construct a transformation matrix from euler rotation, translation and scale"),
|
| 61 |
+
anno::hidden()
|
| 62 |
+
]]
|
| 63 |
+
{
|
| 64 |
+
float4x4 scale =
|
| 65 |
+
float4x4(scaling.x , 0.0 , 0.0 , 0.0,
|
| 66 |
+
0.0 , scaling.y , 0.0 , 0.0,
|
| 67 |
+
0.0 , 0.0 , scaling.z , 0.0,
|
| 68 |
+
translation.x , translation.y , translation.z , 1.0);
|
| 69 |
+
|
| 70 |
+
float3 s = math::sin(rotation);
|
| 71 |
+
float3 c = math::cos(rotation);
|
| 72 |
+
|
| 73 |
+
float4x4 rotate =
|
| 74 |
+
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,
|
| 75 |
+
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,
|
| 76 |
+
-s.y , s.x*c.y , c.x*c.y , 0.0,
|
| 77 |
+
0.0 , 0.0 , 0 , 1.0);
|
| 78 |
+
|
| 79 |
+
return scale * rotate;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
// Returns the normal n in tangent space, given n is in internal space. //
|
| 83 |
+
|
| 84 |
+
float3 transform_internal_to_tangent(float3 n)
|
| 85 |
+
{
|
| 86 |
+
/* flip_tangent_v */
|
| 87 |
+
return
|
| 88 |
+
n.x* float3(state::texture_tangent_u(0).x,-state::texture_tangent_v(0).x,state::normal().x)+
|
| 89 |
+
n.y* float3(state::texture_tangent_u(0).y,-state::texture_tangent_v(0).y,state::normal().y)+
|
| 90 |
+
n.z* float3(state::texture_tangent_u(0).z,-state::texture_tangent_v(0).z,state::normal().z);
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
// Returns the normal n in internal space, given n is in tangent space.
|
| 94 |
+
float3 transform_tangent_to_internal(float3 n)
|
| 95 |
+
{
|
| 96 |
+
return state::texture_tangent_u(0) * n.x -
|
| 97 |
+
state::texture_tangent_v(0) * n.y + /* flip_tangent_v */
|
| 98 |
+
state::normal() * n.z;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
// Returns a normal by adding a detail normal to a global normal.
|
| 102 |
+
export float3 add_detail_normal(float3 nd = state::normal(), float3 n = state::normal())
|
| 103 |
+
{
|
| 104 |
+
// http://blog.selfshadow.com/publications/blending-in-detail/
|
| 105 |
+
float3 n_t = transform_internal_to_tangent(n);
|
| 106 |
+
float3 nd_t = transform_internal_to_tangent(nd);
|
| 107 |
+
n_t = n_t + float3(0.,0.,1.);
|
| 108 |
+
nd_t = nd_t * float3(-1.,-1.,1.);
|
| 109 |
+
n = n_t * math::dot(n_t, nd_t)/n_t.z - nd_t;
|
| 110 |
+
return math::normalize(transform_tangent_to_internal(n));
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
base::texture_return multiply_colors(
|
| 114 |
+
color color_1 = color(1.0, 1.0, 1.0),
|
| 115 |
+
color color_2 = color(.5, .5, .5),
|
| 116 |
+
float weight = 1.0
|
| 117 |
+
)
|
| 118 |
+
[[
|
| 119 |
+
anno::hidden()
|
| 120 |
+
]]
|
| 121 |
+
{
|
| 122 |
+
return base::blend_color_layers(
|
| 123 |
+
layers: base::color_layer[](
|
| 124 |
+
base::color_layer(
|
| 125 |
+
layer_color: color_2,
|
| 126 |
+
weight: weight,
|
| 127 |
+
mode: base::color_layer_multiply
|
| 128 |
+
)),
|
| 129 |
+
base: color_1
|
| 130 |
+
);
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
// OmniPBR Clearcoat //
|
| 135 |
+
|
| 136 |
+
export material OmniPBR_ClearCoat(
|
| 137 |
+
|
| 138 |
+
// Albdeo //
|
| 139 |
+
|
| 140 |
+
color diffuse_color_constant = color(0.2) [[
|
| 141 |
+
anno::display_name("Albedo Color"),
|
| 142 |
+
anno::description("This is the albedo base color"),
|
| 143 |
+
anno::in_group("Albedo")
|
| 144 |
+
]],
|
| 145 |
+
uniform texture_2d diffuse_texture = texture_2d() [[
|
| 146 |
+
anno::display_name("Albedo Map"),
|
| 147 |
+
anno::in_group("Albedo")
|
| 148 |
+
]],
|
| 149 |
+
float albedo_desaturation = float(0.0) [[
|
| 150 |
+
anno::display_name("Albedo Map Desaturation"),
|
| 151 |
+
anno::description("Desaturates the albedo map"),
|
| 152 |
+
anno::in_group("Albedo"),
|
| 153 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 154 |
+
]],
|
| 155 |
+
float albedo_add = float(0.0) [[
|
| 156 |
+
anno::display_name("Albedo Add"),
|
| 157 |
+
anno::description("Adds a constant value to the diffuse color "),
|
| 158 |
+
anno::in_group("Albedo"),
|
| 159 |
+
anno::soft_range(float(-1.0), float(1.0))
|
| 160 |
+
]],
|
| 161 |
+
float albedo_brightness = float(1.0) [[
|
| 162 |
+
anno::display_name("Albedo Brightness"),
|
| 163 |
+
anno::description("Multiplier for the diffuse color "),
|
| 164 |
+
anno::in_group("Albedo"),
|
| 165 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 166 |
+
]],
|
| 167 |
+
color diffuse_tint = color(1.0) [[
|
| 168 |
+
anno::display_name("Color Tint"),
|
| 169 |
+
anno::description("When enabled, this color value is multiplied over the final albedo color"),
|
| 170 |
+
anno::in_group("Albedo")
|
| 171 |
+
]],
|
| 172 |
+
|
| 173 |
+
|
| 174 |
+
// Reflectivity //
|
| 175 |
+
|
| 176 |
+
float reflection_roughness_constant = float(0.5) [[
|
| 177 |
+
anno::display_name("Roughness Amount"),
|
| 178 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 179 |
+
anno::in_group("Reflectivity"),
|
| 180 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 181 |
+
]],
|
| 182 |
+
float reflection_roughness_texture_influence = float(0.0) [[
|
| 183 |
+
anno::display_name("Roughness Map Influence"),
|
| 184 |
+
anno::description("Blends between the constant value and the lookup of the roughness texture"),
|
| 185 |
+
anno::in_group("Reflectivity"),
|
| 186 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 187 |
+
]],
|
| 188 |
+
uniform texture_2d reflectionroughness_texture = texture_2d() [[
|
| 189 |
+
anno::display_name("Roughness Map"),
|
| 190 |
+
anno::in_group("Reflectivity"),
|
| 191 |
+
anno::usage("roughness")
|
| 192 |
+
]],
|
| 193 |
+
float metallic_constant = float(0.0) [[
|
| 194 |
+
anno::display_name("Metallic Amount"),
|
| 195 |
+
anno::description("Metallic Material"),
|
| 196 |
+
anno::in_group("Reflectivity"),
|
| 197 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 198 |
+
]],
|
| 199 |
+
float metallic_texture_influence = float(0.0) [[
|
| 200 |
+
anno::display_name("Metallic Map Influence"),
|
| 201 |
+
anno::description("Blends between the constant value and the lookup of the metallic texture"),
|
| 202 |
+
anno::in_group("Reflectivity"),
|
| 203 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 204 |
+
]],
|
| 205 |
+
uniform texture_2d metallic_texture = texture_2d() [[
|
| 206 |
+
anno::display_name("Metallic Map"),
|
| 207 |
+
anno::in_group("Reflectivity"),
|
| 208 |
+
anno::usage("metalness")
|
| 209 |
+
]],
|
| 210 |
+
float specular_level = float(0.5) [[
|
| 211 |
+
anno::display_name("Specular"),
|
| 212 |
+
anno::description("The specular level (intensity) of the material"),
|
| 213 |
+
anno::in_group("Reflectivity"),
|
| 214 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 215 |
+
]],
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
// ORM //
|
| 219 |
+
|
| 220 |
+
uniform bool enable_ORM_texture = false [[
|
| 221 |
+
anno::display_name("Enable ORM Texture"),
|
| 222 |
+
anno::description("The ORM texture will be used to extract the Occlusion, Roughness and Metallic textures from R,G,B channels"),
|
| 223 |
+
anno::in_group("Reflectivity")
|
| 224 |
+
]],
|
| 225 |
+
uniform texture_2d ORM_texture = texture_2d() [[
|
| 226 |
+
anno::display_name("ORM Map"),
|
| 227 |
+
anno::description("Texture that has Occlusion, Roughness and Metallic maps stored in their respective R, G and B channels"),
|
| 228 |
+
anno::in_group("Reflectivity"),
|
| 229 |
+
anno::usage("roughness")
|
| 230 |
+
]],
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
// AO Group //
|
| 234 |
+
|
| 235 |
+
float ao_to_diffuse = 0.0 [[
|
| 236 |
+
anno::display_name("AO to diffuse"),
|
| 237 |
+
anno::description("Controls the amount of ambient occlusion multiplied against the diffuse color channel"),
|
| 238 |
+
anno::in_group("AO"),
|
| 239 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 240 |
+
]],
|
| 241 |
+
uniform texture_2d ao_texture = texture_2d() [[
|
| 242 |
+
anno::display_name("Ambient Occlusion Map"),
|
| 243 |
+
anno::description("The ambient occlusion texture for the material"),
|
| 244 |
+
anno::in_group("AO"),
|
| 245 |
+
anno::usage("occlusion")
|
| 246 |
+
]],
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
// Emission //
|
| 250 |
+
|
| 251 |
+
uniform bool enable_emission = false [[
|
| 252 |
+
anno::display_name("Enable Emission"),
|
| 253 |
+
anno::description("Enables the emission of light from the material"),
|
| 254 |
+
anno::in_group("Emissive")
|
| 255 |
+
]],
|
| 256 |
+
color emissive_color = color(1.0,0.1,0.1) [[
|
| 257 |
+
anno::display_name("Emissive Color"),
|
| 258 |
+
anno::description("The emission color"),
|
| 259 |
+
anno::in_group("Emissive"),
|
| 260 |
+
anno::enable_if("enable_emission == true")
|
| 261 |
+
]],
|
| 262 |
+
uniform texture_2d emissive_color_texture = texture_2d() [[
|
| 263 |
+
anno::display_name("Emissive Color map"),
|
| 264 |
+
anno::in_group("Emissive"),
|
| 265 |
+
anno::description("The emissive color texture"),
|
| 266 |
+
anno::enable_if("enable_emission == true")
|
| 267 |
+
]],
|
| 268 |
+
uniform texture_2d emissive_mask_texture = texture_2d() [[
|
| 269 |
+
anno::display_name("Emissive Mask map"),
|
| 270 |
+
anno::description("The texture masking the emissive color"),
|
| 271 |
+
anno::in_group("Emissive"),
|
| 272 |
+
anno::enable_if("enable_emission == true"),
|
| 273 |
+
anno::usage("occlusion")
|
| 274 |
+
]],
|
| 275 |
+
float emissive_intensity = float(40.0) [[
|
| 276 |
+
anno::display_name("Emissive Intensity"),
|
| 277 |
+
anno::description("Intensity of the emission"),
|
| 278 |
+
anno::in_group("Emissive"),
|
| 279 |
+
anno::enable_if("enable_emission == true")
|
| 280 |
+
]],
|
| 281 |
+
|
| 282 |
+
|
| 283 |
+
// Cutout Opacity //
|
| 284 |
+
|
| 285 |
+
uniform bool enable_opacity = false [[
|
| 286 |
+
anno::display_name("Enable Opacity"),
|
| 287 |
+
anno::description("Enables the use of cutout opacity"),
|
| 288 |
+
anno::in_group("Opacity")
|
| 289 |
+
]],
|
| 290 |
+
uniform texture_2d opacity_texture = texture_2d() [[
|
| 291 |
+
anno::display_name("Opacity Map"),
|
| 292 |
+
anno::in_group("Opacity"),
|
| 293 |
+
anno::usage("opacity")
|
| 294 |
+
]],
|
| 295 |
+
float opacity_constant = float(1.0) [[
|
| 296 |
+
anno::display_name("Opacity Amount"),
|
| 297 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 298 |
+
anno::in_group("Opacity"),
|
| 299 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 300 |
+
]],
|
| 301 |
+
uniform bool enable_opacity_texture = false [[
|
| 302 |
+
anno::display_name("Enable Opacity Texture"),
|
| 303 |
+
anno::description("Enables or disables the usage of the opacity texture map"),
|
| 304 |
+
anno::in_group("Opacity")
|
| 305 |
+
]],
|
| 306 |
+
uniform base::mono_mode opacity_mode = base::mono_average [[
|
| 307 |
+
anno::display_name("Opacity Mono Source"),
|
| 308 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 309 |
+
anno::in_group("Opacity")
|
| 310 |
+
]],
|
| 311 |
+
uniform float opacity_threshold = float(0.0) [[
|
| 312 |
+
anno::display_name("Opacity Threshold"),
|
| 313 |
+
anno::description("If 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 314 |
+
anno::in_group("Opacity"),
|
| 315 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 316 |
+
]],
|
| 317 |
+
|
| 318 |
+
|
| 319 |
+
// Clearcoat //
|
| 320 |
+
|
| 321 |
+
uniform bool enable_clearcoat = false [[
|
| 322 |
+
anno::display_name("Enable Clearcoat Layer"),
|
| 323 |
+
anno::description("Adds a clearcoat layer on top of the material when enabled"),
|
| 324 |
+
anno::in_group("Clearcoat")
|
| 325 |
+
]],
|
| 326 |
+
float clearcoat_weight = float(1.0) [[
|
| 327 |
+
anno::display_name("Clearcoat Weight"),
|
| 328 |
+
anno::description("Sets the weight for clearcoat layer"),
|
| 329 |
+
anno::in_group("Clearcoat"),
|
| 330 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 331 |
+
]],
|
| 332 |
+
color clearcoat_tint = color(1.0) [[
|
| 333 |
+
anno::display_name("Clearcoat Tint"),
|
| 334 |
+
anno::description("Clearcoat is tinted and affects the underlying material"),
|
| 335 |
+
anno::in_group("Clearcoat")
|
| 336 |
+
]],
|
| 337 |
+
float clearcoat_transparency = float(1.0) [[
|
| 338 |
+
anno::display_name("Clearcoat Transparency"),
|
| 339 |
+
anno::description("Adjusts the transparency of the clearcoat. Can be turned into a fully opaque clearcoat covering the underlying layer"),
|
| 340 |
+
anno::in_group("Clearcoat"),
|
| 341 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 342 |
+
]],
|
| 343 |
+
float clearcoat_reflection_roughness = float(0.0) [[
|
| 344 |
+
anno::display_name("Clearcoat Roughness"),
|
| 345 |
+
anno::description("Higher roughness values lead to more blurry reflections"),
|
| 346 |
+
anno::in_group("Clearcoat"),
|
| 347 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 348 |
+
]],
|
| 349 |
+
float clearcoat_ior = float(1.56) [[
|
| 350 |
+
anno::display_name("Clearcoat IOR"),
|
| 351 |
+
anno::description("Sets the Index of refraction for the clearcoat layer"),
|
| 352 |
+
anno::in_group("Clearcoat"),
|
| 353 |
+
anno::soft_range(float(0.0), float(4.0))
|
| 354 |
+
]],
|
| 355 |
+
uniform float clearcoat_bump_factor = float(1.0) [[
|
| 356 |
+
anno::display_name("Clearcoat Normal Map Strength"),
|
| 357 |
+
anno::description("Strength of normal map."),
|
| 358 |
+
anno::in_group("Clearcoat"),
|
| 359 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 360 |
+
]],
|
| 361 |
+
uniform texture_2d clearcoat_normalmap_texture = texture_2d() [[
|
| 362 |
+
anno::display_name("Clearcoat Normal Map"),
|
| 363 |
+
anno::description("Enables the usage of the normalmap texture"),
|
| 364 |
+
anno::in_group("Clearcoat"),
|
| 365 |
+
anno::usage("normal")
|
| 366 |
+
]],
|
| 367 |
+
uniform float2 clearcoat_texture_translate = float2(0.0) [[
|
| 368 |
+
anno::display_name("Clearcoat Texture Translate"),
|
| 369 |
+
anno::description("Controls the position of the clearcoat texture"),
|
| 370 |
+
anno::ui_order(1),
|
| 371 |
+
anno::in_group("UV")
|
| 372 |
+
]],
|
| 373 |
+
uniform float clearcoat_texture_rotate = float(0.0) [[
|
| 374 |
+
anno::display_name("Clearcoat Texture Rotate"),
|
| 375 |
+
anno::description("Rotates angle of the clearcoat texture in degrees"),
|
| 376 |
+
anno::ui_order(2),
|
| 377 |
+
anno::in_group("UV")
|
| 378 |
+
]],
|
| 379 |
+
uniform float2 clearcoat_texture_scale = float2(1.0) [[
|
| 380 |
+
anno::display_name("Clearcoat Texture Tiling"),
|
| 381 |
+
anno::description("Controls the repetition of the clearcoat texture"),
|
| 382 |
+
anno::ui_order(3),
|
| 383 |
+
anno::in_group("UV")
|
| 384 |
+
]],
|
| 385 |
+
float clearcoat_flatten = float(1.0) [[
|
| 386 |
+
anno::display_name("Clearcoat Flatten"),
|
| 387 |
+
anno::description("Flattens the clearcoat to even out the underlying bump maps"),
|
| 388 |
+
anno::in_group("Clearcoat"),
|
| 389 |
+
anno::hard_range(float(0.0), float(1.0))
|
| 390 |
+
]],
|
| 391 |
+
|
| 392 |
+
|
| 393 |
+
// Normal //
|
| 394 |
+
|
| 395 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 396 |
+
[[
|
| 397 |
+
anno::hard_range(0.0, 1.0),
|
| 398 |
+
anno::display_name("Normal map to roughness weight"),
|
| 399 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 400 |
+
anno::in_group("Normal")
|
| 401 |
+
]],
|
| 402 |
+
uniform float bump_factor = float(1.0) [[
|
| 403 |
+
anno::display_name("Normal Strength"),
|
| 404 |
+
anno::description("Strength of normal map"),
|
| 405 |
+
anno::in_group("Normal"),
|
| 406 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 407 |
+
]],
|
| 408 |
+
uniform texture_2d normalmap_texture = texture_2d() [[
|
| 409 |
+
anno::display_name("Normal Map"),
|
| 410 |
+
anno::in_group("Normal"),
|
| 411 |
+
anno::usage("normal")
|
| 412 |
+
]],
|
| 413 |
+
uniform float detail_bump_factor = float(0.3) [[
|
| 414 |
+
anno::display_name("Detail Normal Strength"),
|
| 415 |
+
anno::in_group("Normal"),
|
| 416 |
+
anno::description("Strength of the detail normal"),
|
| 417 |
+
anno::soft_range(float(0.0), float(1.0))
|
| 418 |
+
]],
|
| 419 |
+
uniform texture_2d detail_normalmap_texture = texture_2d() [[
|
| 420 |
+
anno::display_name("Detail Normal Map"),
|
| 421 |
+
anno::in_group("Normal"),
|
| 422 |
+
anno::usage("normal")
|
| 423 |
+
]],
|
| 424 |
+
uniform bool flip_tangent_u = false [[
|
| 425 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 426 |
+
anno::in_group("Normal")
|
| 427 |
+
]],
|
| 428 |
+
uniform bool flip_tangent_v = true [[
|
| 429 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 430 |
+
anno::in_group("Normal")
|
| 431 |
+
]],
|
| 432 |
+
|
| 433 |
+
|
| 434 |
+
// UVW Projection Group //
|
| 435 |
+
|
| 436 |
+
uniform bool project_uvw = false [[
|
| 437 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 438 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 439 |
+
anno::in_group("UV")
|
| 440 |
+
]],
|
| 441 |
+
uniform bool world_or_object = false [[
|
| 442 |
+
anno::display_name("Enable World Space"),
|
| 443 |
+
anno::description("When enabled, uses world space for projection, otherwise object space is used"),
|
| 444 |
+
anno::in_group("UV"),
|
| 445 |
+
anno::enable_if("project_uvw == true")
|
| 446 |
+
]],
|
| 447 |
+
uniform int uv_space_index = 0 [[
|
| 448 |
+
anno::display_name("UV Space Index"),
|
| 449 |
+
anno::description("UV Space Index"),
|
| 450 |
+
anno::in_group("UV"),
|
| 451 |
+
anno::enable_if("project_uvw == true"),
|
| 452 |
+
anno::hard_range(int(0), int(3))
|
| 453 |
+
]],
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
// UVW Adjustments Group //
|
| 457 |
+
|
| 458 |
+
uniform float2 texture_translate = float2(0.0) [[
|
| 459 |
+
anno::display_name("Texture Translate"),
|
| 460 |
+
anno::description("Controls position of texture."),
|
| 461 |
+
anno::in_group("UV"),
|
| 462 |
+
anno::enable_if("project_uvw == true")
|
| 463 |
+
]],
|
| 464 |
+
uniform float texture_rotate = float(0.0) [[
|
| 465 |
+
anno::display_name("Texture Rotate"),
|
| 466 |
+
anno::description("Rotates angle of texture in degrees."),
|
| 467 |
+
anno::in_group("UV"),
|
| 468 |
+
anno::enable_if("project_uvw == true")
|
| 469 |
+
]],
|
| 470 |
+
uniform float2 texture_scale = float2(1.0) [[
|
| 471 |
+
anno::display_name("Texture Tiling"),
|
| 472 |
+
anno::description("Controls repetition of the texture."),
|
| 473 |
+
anno::in_group("UV"),
|
| 474 |
+
anno::enable_if("project_uvw == true")
|
| 475 |
+
]],
|
| 476 |
+
uniform float2 detail_texture_translate = float2(0.0) [[
|
| 477 |
+
anno::display_name("Detail Texture Translate"),
|
| 478 |
+
anno::description("Controls the position of the detail texture."),
|
| 479 |
+
anno::in_group("UV"),
|
| 480 |
+
anno::enable_if("project_uvw == true")
|
| 481 |
+
]],
|
| 482 |
+
uniform float detail_texture_rotate = float(0.0) [[
|
| 483 |
+
anno::display_name("Detail Texture Rotate"),
|
| 484 |
+
anno::description("Rotates angle of the detail texture in degrees."),
|
| 485 |
+
anno::in_group("UV"),
|
| 486 |
+
anno::enable_if("project_uvw == true")
|
| 487 |
+
]],
|
| 488 |
+
uniform float2 detail_texture_scale = float2(1.0) [[
|
| 489 |
+
anno::display_name("Detail Texture Tiling"),
|
| 490 |
+
anno::description("Controls repetition of the detail texture."),
|
| 491 |
+
anno::in_group("UV"),
|
| 492 |
+
anno::enable_if("project_uvw == true")
|
| 493 |
+
]],
|
| 494 |
+
|
| 495 |
+
|
| 496 |
+
// Geometry //
|
| 497 |
+
|
| 498 |
+
uniform float round_edges_radius = float(0.0) [[
|
| 499 |
+
anno::display_name("Round Edge Radius"),
|
| 500 |
+
anno::description("Influence radius around the edges in meters"),
|
| 501 |
+
anno::in_group("Geometry"),
|
| 502 |
+
anno::soft_range(0.0, 1.0)
|
| 503 |
+
]],
|
| 504 |
+
uniform float round_edges_roundness = float(1.0) [[
|
| 505 |
+
anno::display_name("Round Edge Roundness"),
|
| 506 |
+
anno::description("Determines how round the edge will look"),
|
| 507 |
+
anno::in_group("Geometry"),
|
| 508 |
+
anno::hard_range(0.0, 1.0)
|
| 509 |
+
]],
|
| 510 |
+
uniform bool round_edges_across_materials = false [[
|
| 511 |
+
anno::display_name("Round Edge Across Materials"),
|
| 512 |
+
anno::description("Normal smoothing happens only between facets of equal material, \n"
|
| 513 |
+
"\t\tunless this parameter is set true, in which case the smoothing \n"
|
| 514 |
+
"\t\thappens between facets irrespective of their materials"),
|
| 515 |
+
anno::in_group("Geometry")
|
| 516 |
+
]]
|
| 517 |
+
)
|
| 518 |
+
[[
|
| 519 |
+
anno::display_name("OmniPBR ClearCoat "),
|
| 520 |
+
anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."),
|
| 521 |
+
anno::in_group("Base"),
|
| 522 |
+
anno::version( 2, 1, 1),
|
| 523 |
+
anno::author("NVIDIA CORPORATION"),
|
| 524 |
+
anno::key_words(string[]("omni", "PBR", "opacity", "clearcoat", "omniverse", "generic"))
|
| 525 |
+
]] = let {
|
| 526 |
+
|
| 527 |
+
// UVW lookup and transformation //
|
| 528 |
+
base::texture_coordinate_system the_system = world_or_object ? base::texture_coordinate_world : base::texture_coordinate_object;
|
| 529 |
+
|
| 530 |
+
base::texture_coordinate_info uvw = project_uvw ? base::coordinate_projection(
|
| 531 |
+
coordinate_system: the_system,
|
| 532 |
+
texture_space: uv_space_index,
|
| 533 |
+
projection_type: base::projection_cubic
|
| 534 |
+
) :
|
| 535 |
+
base::coordinate_source(
|
| 536 |
+
coordinate_system: base::texture_coordinate_uvw,
|
| 537 |
+
texture_space: uv_space_index
|
| 538 |
+
);
|
| 539 |
+
|
| 540 |
+
base::texture_coordinate_info transformed_uvw = base::transform_coordinate(
|
| 541 |
+
transform: rotation_translation_scale(
|
| 542 |
+
scaling: float3(texture_scale.x, texture_scale.y, 1.0),
|
| 543 |
+
rotation: float3(0.0, 0.0, texture_rotate/180.*math::PI ),
|
| 544 |
+
translation: float3(texture_translate.x, texture_translate.y, 0.0)
|
| 545 |
+
),
|
| 546 |
+
coordinate: uvw
|
| 547 |
+
);
|
| 548 |
+
|
| 549 |
+
base::texture_coordinate_info detail_transformed_uvw = base::transform_coordinate(
|
| 550 |
+
transform: rotation_translation_scale(
|
| 551 |
+
scaling: float3(detail_texture_scale.x, detail_texture_scale.y, 1.0),
|
| 552 |
+
rotation: float3(0.0, 0.0, detail_texture_rotate/180.*math::PI ),
|
| 553 |
+
translation: float3(detail_texture_translate.x, detail_texture_translate.y, 0.0)
|
| 554 |
+
),
|
| 555 |
+
coordinate: uvw
|
| 556 |
+
);
|
| 557 |
+
|
| 558 |
+
base::texture_coordinate_info clearcoat_transformed_uvw = base::transform_coordinate(
|
| 559 |
+
transform: rotation_translation_scale(
|
| 560 |
+
scaling: float3(clearcoat_texture_scale.x, clearcoat_texture_scale.y, 1.0),
|
| 561 |
+
rotation: float3(0.0, 0.0, clearcoat_texture_rotate/180.*math::PI ),
|
| 562 |
+
translation: float3(clearcoat_texture_translate.x, clearcoat_texture_translate.y, 0.f)
|
| 563 |
+
),
|
| 564 |
+
coordinate: uvw
|
| 565 |
+
);
|
| 566 |
+
|
| 567 |
+
// Normal calculations //
|
| 568 |
+
OmniPBRBase::NormalData defaultData = OmniPBRBase::NormalData(state::normal(), float2(0));
|
| 569 |
+
|
| 570 |
+
OmniPBRBase::NormalData normal_data = tex::texture_isvalid(normalmap_texture) ?
|
| 571 |
+
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 572 |
+
texture: normalmap_texture,
|
| 573 |
+
factor: bump_factor,
|
| 574 |
+
uvw: transformed_uvw,
|
| 575 |
+
flip_tangent_u: flip_tangent_u,
|
| 576 |
+
flip_tangent_v: flip_tangent_v // true for dx, false for opengl
|
| 577 |
+
//flip_tangent_v: true
|
| 578 |
+
|
| 579 |
+
) : defaultData;
|
| 580 |
+
float3 the_normal = normal_data.normal;
|
| 581 |
+
|
| 582 |
+
OmniPBRBase::NormalData detail_normal_data = tex::texture_isvalid(detail_normalmap_texture) ?
|
| 583 |
+
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 584 |
+
texture: detail_normalmap_texture,
|
| 585 |
+
factor: detail_bump_factor,
|
| 586 |
+
uvw: detail_transformed_uvw,
|
| 587 |
+
flip_tangent_u: flip_tangent_u,
|
| 588 |
+
flip_tangent_v: flip_tangent_v // true for dx, false for opengl
|
| 589 |
+
) : defaultData;
|
| 590 |
+
float3 detail_normal = detail_normal_data.normal;
|
| 591 |
+
|
| 592 |
+
OmniPBRBase::NormalData clearcoat_normal_data = tex::texture_isvalid(clearcoat_normalmap_texture) ?
|
| 593 |
+
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 594 |
+
texture: clearcoat_normalmap_texture,
|
| 595 |
+
factor: clearcoat_bump_factor,
|
| 596 |
+
uvw: clearcoat_transformed_uvw,
|
| 597 |
+
flip_tangent_u: flip_tangent_u,
|
| 598 |
+
flip_tangent_v: flip_tangent_v // true for dx, false for opengl
|
| 599 |
+
) : defaultData;
|
| 600 |
+
float3 clearcoat_normal = clearcoat_normal_data.normal;
|
| 601 |
+
|
| 602 |
+
|
| 603 |
+
float3 diffuse_gloss_normal = tex::texture_isvalid(detail_normalmap_texture) ? add_detail_normal(detail_normal, the_normal) : the_normal;
|
| 604 |
+
float3 flattened_clearcoat_normal = ::math::lerp(diffuse_gloss_normal, ::state::normal(), clearcoat_flatten);
|
| 605 |
+
float3 final_clearcoat_normal = tex::texture_isvalid(clearcoat_normalmap_texture) ? add_detail_normal(flattened_clearcoat_normal, clearcoat_normal)
|
| 606 |
+
: flattened_clearcoat_normal;
|
| 607 |
+
|
| 608 |
+
|
| 609 |
+
// ORM Handling //
|
| 610 |
+
|
| 611 |
+
float3 ORM_lookup = tex::lookup_float3(
|
| 612 |
+
tex: ORM_texture,
|
| 613 |
+
coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
|
| 614 |
+
);
|
| 615 |
+
|
| 616 |
+
|
| 617 |
+
float3 roughness_lookup = tex::lookup_float3(
|
| 618 |
+
tex: reflectionroughness_texture,
|
| 619 |
+
coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
|
| 620 |
+
);
|
| 621 |
+
|
| 622 |
+
float roughness_selection = enable_ORM_texture ? ORM_lookup.y : roughness_lookup.x;
|
| 623 |
+
float reflection_roughness_s = math::lerp(reflection_roughness_constant, roughness_selection, reflection_roughness_texture_influence);
|
| 624 |
+
float2 reflection_roughness = float2(math::sqrt(reflection_roughness_s*reflection_roughness_s + (geometry_normal_roughness_strength * normal_data.roughness.x * normal_data.roughness.x)),
|
| 625 |
+
math::sqrt(reflection_roughness_s*reflection_roughness_s + (geometry_normal_roughness_strength * normal_data.roughness.y * normal_data.roughness.y)));
|
| 626 |
+
|
| 627 |
+
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)),
|
| 628 |
+
math::sqrt(clearcoat_reflection_roughness*clearcoat_reflection_roughness + (geometry_normal_roughness_strength * clearcoat_normal_data.roughness.y * clearcoat_normal_data.roughness.y)));
|
| 629 |
+
|
| 630 |
+
// Diffuse Color Lookup and AO //
|
| 631 |
+
|
| 632 |
+
base::texture_return base_lookup = base::file_texture(
|
| 633 |
+
texture: diffuse_texture,
|
| 634 |
+
color_offset: color(albedo_add),
|
| 635 |
+
color_scale: color(albedo_brightness),
|
| 636 |
+
mono_source: base::mono_luminance,
|
| 637 |
+
uvw: transformed_uvw,
|
| 638 |
+
clip: false
|
| 639 |
+
);
|
| 640 |
+
|
| 641 |
+
base::texture_return ao_lookup = base::file_texture(
|
| 642 |
+
texture: ao_texture,
|
| 643 |
+
color_offset: color(0.0, 0.0, 0.0),
|
| 644 |
+
color_scale: color(1.0, 1.0, 1.0),
|
| 645 |
+
mono_source: base::mono_average,
|
| 646 |
+
uvw: transformed_uvw,
|
| 647 |
+
clip: false
|
| 648 |
+
);
|
| 649 |
+
|
| 650 |
+
|
| 651 |
+
color ao_color = enable_ORM_texture ? color(ORM_lookup.x) : ao_lookup.tint;
|
| 652 |
+
color desaturated_base = math::lerp(base_lookup.tint, color(base_lookup.mono), albedo_desaturation);
|
| 653 |
+
color diffuse = tex::texture_isvalid(diffuse_texture)? desaturated_base : diffuse_color_constant;
|
| 654 |
+
color tinted_diffuse = multiply_colors(diffuse, diffuse_tint, 1.0).tint;
|
| 655 |
+
|
| 656 |
+
color base_color = multiply_colors(
|
| 657 |
+
color_1: tinted_diffuse,
|
| 658 |
+
color_2: ao_color,
|
| 659 |
+
weight: ao_to_diffuse
|
| 660 |
+
).tint;
|
| 661 |
+
|
| 662 |
+
|
| 663 |
+
// Metalness //
|
| 664 |
+
|
| 665 |
+
float3 metallic_lookup = tex::lookup_float3(
|
| 666 |
+
tex: metallic_texture,
|
| 667 |
+
coord: float2(transformed_uvw.position.x, transformed_uvw.position.y)
|
| 668 |
+
);
|
| 669 |
+
|
| 670 |
+
float metallic_selection = enable_ORM_texture ? ORM_lookup.z : metallic_lookup.x;
|
| 671 |
+
float metallic = math::lerp(metallic_constant, metallic_selection, metallic_texture_influence);
|
| 672 |
+
|
| 673 |
+
|
| 674 |
+
// Emission //
|
| 675 |
+
|
| 676 |
+
color emission_color_texture = tex::texture_isvalid(emissive_color_texture) ?
|
| 677 |
+
base::file_texture(
|
| 678 |
+
texture: emissive_color_texture,
|
| 679 |
+
color_offset: color(0.0, 0.0, 0.0),
|
| 680 |
+
color_scale: color(1.0, 1.0, 1.0),
|
| 681 |
+
mono_source: base::mono_average,
|
| 682 |
+
uvw: transformed_uvw,
|
| 683 |
+
clip: false
|
| 684 |
+
).tint : emissive_color;
|
| 685 |
+
|
| 686 |
+
color emission_mask_texture = tex::texture_isvalid(emissive_mask_texture) ?
|
| 687 |
+
base::file_texture(
|
| 688 |
+
texture: emissive_mask_texture,
|
| 689 |
+
color_offset: color(0.0, 0.0, 0.0),
|
| 690 |
+
color_scale: color(1.0, 1.0, 1.0),
|
| 691 |
+
mono_source: base::mono_average,
|
| 692 |
+
uvw: transformed_uvw,
|
| 693 |
+
clip: false
|
| 694 |
+
).tint : color(1.0);
|
| 695 |
+
|
| 696 |
+
color final_emission_color = enable_emission ? emission_color_texture * emission_mask_texture: color(0.0);
|
| 697 |
+
|
| 698 |
+
// Opacity //
|
| 699 |
+
|
| 700 |
+
float opacity_value = enable_opacity_texture ? base::file_texture(
|
| 701 |
+
texture: opacity_texture,
|
| 702 |
+
mono_source: opacity_mode,
|
| 703 |
+
uvw: transformed_uvw
|
| 704 |
+
).mono : opacity_constant;
|
| 705 |
+
|
| 706 |
+
float cutout_opacity = enable_opacity ? ((opacity_threshold == 0.0) ? opacity_value : ((opacity_value >= opacity_threshold) ? 1.0 : 0)) : 1.0;
|
| 707 |
+
|
| 708 |
+
material base = OmniPBRBase::OmniPBRBase(
|
| 709 |
+
diffuse_reflection_color: base_color,
|
| 710 |
+
specular_reflection_aniso_roughness: reflection_roughness,
|
| 711 |
+
specular_level: specular_level,
|
| 712 |
+
metalness: metallic,
|
| 713 |
+
enable_emission: enable_emission,
|
| 714 |
+
emission_color: final_emission_color,
|
| 715 |
+
emission_intensity: emissive_intensity,
|
| 716 |
+
enable_coat: enable_clearcoat,
|
| 717 |
+
coat_weight: clearcoat_weight,
|
| 718 |
+
coat_color: clearcoat_tint,
|
| 719 |
+
coat_transparency: clearcoat_transparency,
|
| 720 |
+
coat_aniso_roughness: clearcoat_reflection_roughness2,
|
| 721 |
+
coat_ior: clearcoat_ior,
|
| 722 |
+
enable_opacity: enable_opacity,
|
| 723 |
+
geometry_opacity: cutout_opacity,
|
| 724 |
+
clearcoat_geometry_normal: final_clearcoat_normal,
|
| 725 |
+
round_edges_radius: round_edges_radius,
|
| 726 |
+
round_edges_roundness: round_edges_roundness,
|
| 727 |
+
round_edges_across_materials: round_edges_across_materials,
|
| 728 |
+
geometry_normal: diffuse_gloss_normal
|
| 729 |
+
);
|
| 730 |
+
|
| 731 |
+
} in material(
|
| 732 |
+
surface: base.surface,
|
| 733 |
+
geometry: base.geometry
|
| 734 |
+
);
|
PPC_500KVA/simready_usd/materials/Plastic_Thick_Translucent.mdl
ADDED
|
@@ -0,0 +1,673 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*****************************************************************************
|
| 2 |
+
* Copyright 2023 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
******************************************************************************
|
| 4 |
+
|
| 5 |
+
MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,
|
| 6 |
+
WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,
|
| 7 |
+
THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 8 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
| 9 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
| 10 |
+
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA
|
| 11 |
+
CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
|
| 12 |
+
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
|
| 13 |
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
| 14 |
+
THE USE OR INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN
|
| 15 |
+
THE MDL MATERIALS.
|
| 16 |
+
*/
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
// This file contains samples of very fast rendering SSS plastics for iray
|
| 20 |
+
//
|
| 21 |
+
|
| 22 |
+
mdl 1.4;
|
| 23 |
+
import ::df::*;
|
| 24 |
+
import ::math::*;
|
| 25 |
+
import ::anno::*;
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
const string COPYRIGHT =
|
| 29 |
+
" Copyright 2023 NVIDIA Corporation. All rights reserved.\n"
|
| 30 |
+
" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
|
| 31 |
+
" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
|
| 32 |
+
" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
|
| 33 |
+
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
|
| 34 |
+
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
|
| 35 |
+
" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
|
| 36 |
+
" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
|
| 37 |
+
" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
|
| 38 |
+
" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
|
| 39 |
+
" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
// Template for absorption and scattering, do not use directly
|
| 44 |
+
material volume_absorption(
|
| 45 |
+
color absorption = color(0.8665f, 0.7769f, 0.1559f),
|
| 46 |
+
color scattering = color(.5f),
|
| 47 |
+
float distance_scale = .03f,
|
| 48 |
+
float directional_bias = 0.0f,
|
| 49 |
+
uniform float ior = 1.2f
|
| 50 |
+
|
| 51 |
+
)
|
| 52 |
+
[[
|
| 53 |
+
::anno::author("NVIDIA ARC"),
|
| 54 |
+
::anno::display_name("Volume Absorption"),
|
| 55 |
+
::anno::description("Pure volume absorption material"),
|
| 56 |
+
::anno::author("NVIDIA"),
|
| 57 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 58 |
+
::anno::hidden()
|
| 59 |
+
|
| 60 |
+
]] = material (
|
| 61 |
+
ior: color(ior),
|
| 62 |
+
surface: material_surface (
|
| 63 |
+
scattering: ::df::specular_bsdf (
|
| 64 |
+
tint: color (1.0f, 1.0f, 1.0f),
|
| 65 |
+
mode: ::df::scatter_reflect_transmit
|
| 66 |
+
)
|
| 67 |
+
),
|
| 68 |
+
volume: material_volume (
|
| 69 |
+
scattering: ::df::anisotropic_vdf(
|
| 70 |
+
directional_bias: directional_bias
|
| 71 |
+
),
|
| 72 |
+
absorption_coefficient: (distance_scale <= 0)? color(0): ::math::log(absorption) / -distance_scale,
|
| 73 |
+
scattering_coefficient: (distance_scale <= 0)? color(0): ::math::log(scattering) / -distance_scale
|
| 74 |
+
)
|
| 75 |
+
);
|
| 76 |
+
|
| 77 |
+
// plastic_full_weighted_mix
|
| 78 |
+
// Plastic material using diffuse reflection, diffuse transmission
|
| 79 |
+
// and SSS. Due to the diffuse transmission the volume absorption will
|
| 80 |
+
// render faster and converge smoother than when using specular transmission.
|
| 81 |
+
export material Plastic_Thick_Translucent(
|
| 82 |
+
color diffuse_color = color(0.6940f, 0.5831f, 0.0493f)
|
| 83 |
+
[[
|
| 84 |
+
::anno::display_name("Diffuse Color"),
|
| 85 |
+
::anno::description("The diffuse color of the plastic material"),
|
| 86 |
+
::anno::in_group("Appearance")
|
| 87 |
+
]],
|
| 88 |
+
float diffuse_weight = 0.3f
|
| 89 |
+
[[
|
| 90 |
+
::anno::display_name("Diffuse Weight"),
|
| 91 |
+
::anno::description("The weight of the diffuse color of the plastic material. It is recommended to keep "
|
| 92 |
+
"the value around 0.5, lower values make the material appear more transparent while higher values make "
|
| 93 |
+
"it more opaque."),
|
| 94 |
+
::anno::in_group("Appearance"),
|
| 95 |
+
::anno::hard_range(0.f, 1.f)
|
| 96 |
+
]],
|
| 97 |
+
color absorption = color(0.8665f, 0.7769f, 0.1559f)
|
| 98 |
+
[[
|
| 99 |
+
::anno::display_name("Absorption Color"),
|
| 100 |
+
::anno::description("Sets the absorption color (this is color when light goes extinct)of the plastic material"),
|
| 101 |
+
::anno::in_group("Appearance")
|
| 102 |
+
]],
|
| 103 |
+
color scattering = color(.5f)
|
| 104 |
+
[[
|
| 105 |
+
::anno::display_name("Scattering Color"),
|
| 106 |
+
::anno::description("Sets the absorption color (this is color when light goes extinct)of the plastic material"),
|
| 107 |
+
::anno::in_group("Appearance")
|
| 108 |
+
]],
|
| 109 |
+
float distance_scale = 1.5f
|
| 110 |
+
[[
|
| 111 |
+
::anno::display_name("Distance Scale"),
|
| 112 |
+
::anno::description("Scales how quickly light is absorbed. Set this value low enough to see "
|
| 113 |
+
"some light extinction taking place. Tip: Set 'diffuse_weight' to 0.0 while adjusting this "
|
| 114 |
+
"material parameter for your scene"),
|
| 115 |
+
::anno::in_group("Appearance")
|
| 116 |
+
]],
|
| 117 |
+
|
| 118 |
+
color diffuse_transmission_tint = color(1.0000f, 0.7249f, 0.1972f)
|
| 119 |
+
[[
|
| 120 |
+
::anno::display_name("Diffuse Transmission Color"),
|
| 121 |
+
::anno::description("The tinting of light scattering through the plastic material"),
|
| 122 |
+
::anno::in_group("Appearance")
|
| 123 |
+
]],
|
| 124 |
+
|
| 125 |
+
float reflection_roughness = 0.0f
|
| 126 |
+
[[
|
| 127 |
+
::anno::display_name("Roughness"),
|
| 128 |
+
::anno::description("The roughness of the reflection on the plastic"),
|
| 129 |
+
::anno::in_group("Appearance"),
|
| 130 |
+
::anno::hard_range(0.f, 1.f)
|
| 131 |
+
]]
|
| 132 |
+
)
|
| 133 |
+
[[
|
| 134 |
+
::anno::author("NVIDIA ARC"),
|
| 135 |
+
::anno::display_name("Plastic Full Control"),
|
| 136 |
+
::anno::description("Plastic Material finegrained controls of its appearance"),
|
| 137 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.Plastic_Thick_Translucent.png"),
|
| 138 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny")),
|
| 139 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 140 |
+
::anno::hidden()
|
| 141 |
+
]] = let {
|
| 142 |
+
float reflection_weight = 1.0f;
|
| 143 |
+
float normal_reflectivity = 0.04f;
|
| 144 |
+
float grazing_reflectivity = 1.0f;
|
| 145 |
+
float reflectivity_exponent = 5.0f;
|
| 146 |
+
uniform float ior = 1.4f;
|
| 147 |
+
|
| 148 |
+
material plastic = volume_absorption(
|
| 149 |
+
absorption: absorption,
|
| 150 |
+
scattering: scattering,
|
| 151 |
+
distance_scale: distance_scale,
|
| 152 |
+
ior: ior
|
| 153 |
+
);
|
| 154 |
+
|
| 155 |
+
bsdf transdiff = ::df::diffuse_transmission_bsdf(
|
| 156 |
+
tint: diffuse_transmission_tint
|
| 157 |
+
);
|
| 158 |
+
|
| 159 |
+
bsdf diffuse = ::df::diffuse_reflection_bsdf(
|
| 160 |
+
tint: diffuse_color
|
| 161 |
+
);
|
| 162 |
+
|
| 163 |
+
bsdf diffuse_mix_layer = ::df::weighted_layer(
|
| 164 |
+
base: transdiff,
|
| 165 |
+
layer: diffuse,
|
| 166 |
+
weight: diffuse_weight
|
| 167 |
+
|
| 168 |
+
);
|
| 169 |
+
|
| 170 |
+
bsdf glossy_reflection = ::df::simple_glossy_bsdf(
|
| 171 |
+
tint: color(1.0f),
|
| 172 |
+
roughness_u: reflection_roughness,
|
| 173 |
+
mode: ::df::scatter_reflect
|
| 174 |
+
);
|
| 175 |
+
|
| 176 |
+
bsdf final_layer = ::df::custom_curve_layer(
|
| 177 |
+
normal_reflectivity: normal_reflectivity,
|
| 178 |
+
grazing_reflectivity: grazing_reflectivity,
|
| 179 |
+
layer: glossy_reflection,
|
| 180 |
+
base: diffuse_mix_layer,
|
| 181 |
+
weight: reflection_weight,
|
| 182 |
+
exponent: reflectivity_exponent
|
| 183 |
+
);
|
| 184 |
+
|
| 185 |
+
} in material (
|
| 186 |
+
surface: material_surface(
|
| 187 |
+
scattering: final_layer
|
| 188 |
+
),
|
| 189 |
+
|
| 190 |
+
volume: plastic.volume
|
| 191 |
+
);
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
export material plastic_simple_controls(
|
| 195 |
+
color diffuse_color = color(0.6940f, 0.5831f, 0.0493f)
|
| 196 |
+
[[
|
| 197 |
+
::anno::display_name("Diffuse Color"),
|
| 198 |
+
::anno::description("The diffuse color of the plastic material"),
|
| 199 |
+
::anno::in_group("Appearance")
|
| 200 |
+
]],
|
| 201 |
+
float diffuse_weight = 0.5f
|
| 202 |
+
[[
|
| 203 |
+
::anno::display_name("Diffuse Weight"),
|
| 204 |
+
::anno::description("The weight of the diffuse color of the plastic material. It is recommended to keep "
|
| 205 |
+
"the value around 0.5, lower values make the material appear more transparent while higher values make "
|
| 206 |
+
"it more opaque."),
|
| 207 |
+
::anno::in_group("Appearance"),
|
| 208 |
+
::anno::hard_range(0.f, 1.f)
|
| 209 |
+
]],
|
| 210 |
+
color transmissive_color = color(0.8665f, 0.7769f, 0.1559f)
|
| 211 |
+
[[
|
| 212 |
+
::anno::display_name("Transmissive Color"),
|
| 213 |
+
::anno::description("The tinting of light scattering through the plastic material"),
|
| 214 |
+
::anno::in_group("Appearance")
|
| 215 |
+
]],
|
| 216 |
+
float reflection_roughness = 0.0f
|
| 217 |
+
[[
|
| 218 |
+
::anno::display_name("Roughness"),
|
| 219 |
+
::anno::description("The roughness of the reflection on the plastic"),
|
| 220 |
+
::anno::in_group("Appearance"),
|
| 221 |
+
::anno::hard_range(0.f, 1.f)
|
| 222 |
+
]],
|
| 223 |
+
float distance_scale = 0.005f
|
| 224 |
+
[[
|
| 225 |
+
::anno::display_name("Distance Scale"),
|
| 226 |
+
::anno::description("Scales how quickly light is absorbed. Set this value low enough to see "
|
| 227 |
+
"some light extinction taking place. Tip: Set 'diffuse_weight' to 0.0 while adjusting this "
|
| 228 |
+
"material parameter for your scene"),
|
| 229 |
+
::anno::in_group("Appearance")
|
| 230 |
+
]]
|
| 231 |
+
|
| 232 |
+
)
|
| 233 |
+
[[
|
| 234 |
+
::anno::author("NVIDIA ARC"),
|
| 235 |
+
::anno::display_name("Plastic"),
|
| 236 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 237 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 238 |
+
"(which can be verified by setting 'Diffuse Weight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 239 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny")),
|
| 240 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_simple_controls.png"),
|
| 241 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 242 |
+
::anno::hidden()
|
| 243 |
+
]] = Plastic_Thick_Translucent(
|
| 244 |
+
absorption: ::math::pow(transmissive_color, 0.2f),
|
| 245 |
+
scattering: color(0.5f),
|
| 246 |
+
distance_scale: distance_scale,
|
| 247 |
+
diffuse_transmission_tint: ::math::pow(transmissive_color, 0.2f),
|
| 248 |
+
diffuse_color: diffuse_color,
|
| 249 |
+
diffuse_weight: diffuse_weight,
|
| 250 |
+
reflection_roughness: reflection_roughness
|
| 251 |
+
|
| 252 |
+
);
|
| 253 |
+
|
| 254 |
+
|
| 255 |
+
|
| 256 |
+
// 01 - Black
|
| 257 |
+
export material plastic_black(*)
|
| 258 |
+
[[
|
| 259 |
+
::anno::author("NVIDIA ARC"),
|
| 260 |
+
::anno::display_name("Plastic Black"),
|
| 261 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 262 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 263 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 264 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "dark", "black", "neutral")),
|
| 265 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_black.png"),
|
| 266 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 267 |
+
]] = plastic_simple_controls(
|
| 268 |
+
diffuse_color: color(0.034230f),
|
| 269 |
+
diffuse_weight: .5f,
|
| 270 |
+
transmissive_color: color(0.034230f),
|
| 271 |
+
distance_scale: 0.002f,
|
| 272 |
+
reflection_roughness: 0.05f
|
| 273 |
+
);
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
// 02 - Dark Gray
|
| 277 |
+
export material plastic_dark_gray(*)
|
| 278 |
+
[[
|
| 279 |
+
::anno::author("NVIDIA ARC"),
|
| 280 |
+
::anno::display_name("Plastic Dark Gray"),
|
| 281 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 282 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 283 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 284 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "dark", "gray", "neutral")),
|
| 285 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_dark_gray.png"),
|
| 286 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 287 |
+
]] = plastic_simple_controls(
|
| 288 |
+
diffuse_color: color(0.127530f),
|
| 289 |
+
diffuse_weight: .5f,
|
| 290 |
+
transmissive_color: color(0.089194f),
|
| 291 |
+
distance_scale: 0.002f,
|
| 292 |
+
reflection_roughness: 0.05f
|
| 293 |
+
);
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
// 03 - Light Gray
|
| 297 |
+
export material plastic_light_gray(*)
|
| 298 |
+
[[
|
| 299 |
+
::anno::author("NVIDIA ARC"),
|
| 300 |
+
::anno::display_name("Plastic Light Gray"),
|
| 301 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 302 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 303 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 304 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "light", "gray", "neutral")),
|
| 305 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_light_gray.png"),
|
| 306 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 307 |
+
]] = plastic_simple_controls(
|
| 308 |
+
diffuse_color: color(0.464741f),
|
| 309 |
+
diffuse_weight: .5f,
|
| 310 |
+
transmissive_color: color(0.358654f),
|
| 311 |
+
distance_scale: 0.002f,
|
| 312 |
+
reflection_roughness: 0.05f
|
| 313 |
+
);
|
| 314 |
+
|
| 315 |
+
|
| 316 |
+
// 04 - White
|
| 317 |
+
export material plastic_white(*)
|
| 318 |
+
[[
|
| 319 |
+
::anno::author("NVIDIA ARC"),
|
| 320 |
+
::anno::display_name("Plastic White"),
|
| 321 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 322 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 323 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 324 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "light", "white", "neutral")),
|
| 325 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_white.png"),
|
| 326 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 327 |
+
]] = plastic_simple_controls(
|
| 328 |
+
diffuse_color: color(0.915750f),
|
| 329 |
+
diffuse_weight: .5f,
|
| 330 |
+
transmissive_color: color(0.812241f),
|
| 331 |
+
distance_scale: 0.002f,
|
| 332 |
+
reflection_roughness: 0.05f
|
| 333 |
+
);
|
| 334 |
+
|
| 335 |
+
|
| 336 |
+
// 05 - Ivory White
|
| 337 |
+
export material plastic_ivory_white(*)
|
| 338 |
+
[[
|
| 339 |
+
::anno::author("NVIDIA ARC"),
|
| 340 |
+
::anno::display_name("Plastic Ivory White"),
|
| 341 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 342 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 343 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 344 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "white", "bright", "ivory", "warm")),
|
| 345 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_ivory_white.png"),
|
| 346 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 347 |
+
]] = plastic_simple_controls(
|
| 348 |
+
diffuse_color: color(0.899385f, 0.843370f, 0.694081f),
|
| 349 |
+
diffuse_weight: .5f,
|
| 350 |
+
transmissive_color: color(0.722672f, 0.708298f, 0.547994f),
|
| 351 |
+
distance_scale: 0.002f,
|
| 352 |
+
reflection_roughness: 0.05f
|
| 353 |
+
);
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
// 06 - Lemon
|
| 357 |
+
export material plastic_lemon(*)
|
| 358 |
+
[[
|
| 359 |
+
::anno::author("NVIDIA ARC"),
|
| 360 |
+
::anno::display_name("Plastic Lemon"),
|
| 361 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 362 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 363 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 364 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "lemon", "yellow", "light", "warm")),
|
| 365 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_lemon.png"),
|
| 366 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 367 |
+
]] = plastic_simple_controls(
|
| 368 |
+
diffuse_color: color(0.859174f, 0.875138f, 0.039947f),
|
| 369 |
+
diffuse_weight: .5f,
|
| 370 |
+
transmissive_color: color(0.98211f, 0.843370f, 0.031551f),
|
| 371 |
+
distance_scale: 0.002f,
|
| 372 |
+
reflection_roughness: 0.05f
|
| 373 |
+
);
|
| 374 |
+
|
| 375 |
+
|
| 376 |
+
// 07 - Yellow Orange
|
| 377 |
+
export material plastic_yellow_orange(*)
|
| 378 |
+
[[
|
| 379 |
+
::anno::author("NVIDIA ARC"),
|
| 380 |
+
::anno::display_name("Plastic Yellow"),
|
| 381 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 382 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 383 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 384 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "light", "orange", "yellow", "warm")),
|
| 385 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_yellow_orange.png"),
|
| 386 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 387 |
+
]] = plastic_simple_controls(
|
| 388 |
+
diffuse_color: color(0.875138f, 0.612066f, 0.039947f),
|
| 389 |
+
diffuse_weight: .5f,
|
| 390 |
+
transmissive_color: color(0.899385f, 0.373615f, 0.030257f),
|
| 391 |
+
distance_scale: 0.002f,
|
| 392 |
+
reflection_roughness: 0.05f
|
| 393 |
+
);
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
// 08 - Orange
|
| 397 |
+
export material plastic_orange(*)
|
| 398 |
+
[[
|
| 399 |
+
::anno::author("NVIDIA ARC"),
|
| 400 |
+
::anno::display_name("Plastic Orange"),
|
| 401 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 402 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 403 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 404 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "orange", "warm")),
|
| 405 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_orange.png"),
|
| 406 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 407 |
+
]] = plastic_simple_controls(
|
| 408 |
+
diffuse_color: color(0.875138f, 0.353741f, 0.030257f),
|
| 409 |
+
diffuse_weight: .5f,
|
| 410 |
+
transmissive_color: color(0.891262f, 0.420508f, 0.022013f),
|
| 411 |
+
distance_scale: 0.002f,
|
| 412 |
+
reflection_roughness: 0.05f
|
| 413 |
+
);
|
| 414 |
+
|
| 415 |
+
|
| 416 |
+
// 09 - Dark Orange
|
| 417 |
+
export material plastic_dark_orange(*)
|
| 418 |
+
[[
|
| 419 |
+
::anno::author("NVIDIA ARC"),
|
| 420 |
+
::anno::display_name("Plastic Dark Orange"),
|
| 421 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 422 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 423 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 424 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "dark", "orange", "warm")),
|
| 425 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_dark_orange.png"),
|
| 426 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 427 |
+
]] = plastic_simple_controls(
|
| 428 |
+
diffuse_color: color(0.535642f, 0.127530f, 0.022013f),
|
| 429 |
+
diffuse_weight: .5f,
|
| 430 |
+
transmissive_color: color(0.827726f, 0.267358f, 0.022013f),
|
| 431 |
+
distance_scale: 0.002f,
|
| 432 |
+
reflection_roughness: 0.05f
|
| 433 |
+
);
|
| 434 |
+
|
| 435 |
+
|
| 436 |
+
// 10 - Red
|
| 437 |
+
export material plastic_red(*)
|
| 438 |
+
[[
|
| 439 |
+
::anno::author("NVIDIA ARC"),
|
| 440 |
+
::anno::display_name("Plastic Red"),
|
| 441 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 442 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 443 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 444 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "red", "cherry", "warm")),
|
| 445 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_red.png"),
|
| 446 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 447 |
+
]] = plastic_simple_controls(
|
| 448 |
+
diffuse_color: color(0.547994f, 0.027755f, 0.027755f),
|
| 449 |
+
diffuse_weight: .5f,
|
| 450 |
+
transmissive_color: color(0.875138f, 0.022013f, 0.022013f),
|
| 451 |
+
distance_scale: 0.002f,
|
| 452 |
+
reflection_roughness: 0.05f
|
| 453 |
+
);
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
// 11 - Magenta
|
| 457 |
+
export material plastic_magenta(*)
|
| 458 |
+
[[
|
| 459 |
+
::anno::author("NVIDIA ARC"),
|
| 460 |
+
::anno::display_name("Plastic Magenta"),
|
| 461 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 462 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 463 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 464 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "magenta")),
|
| 465 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_magenta.png"),
|
| 466 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 467 |
+
]] = plastic_simple_controls(
|
| 468 |
+
diffuse_color: color(0.547994f, 0.047776f, 0.554227f),
|
| 469 |
+
diffuse_weight: .5f,
|
| 470 |
+
transmissive_color: color(0.722672f, 0.030257f, 0.566810f),
|
| 471 |
+
distance_scale: 0.002f,
|
| 472 |
+
reflection_roughness: 0.05f
|
| 473 |
+
);
|
| 474 |
+
|
| 475 |
+
|
| 476 |
+
// 12 - Purple
|
| 477 |
+
export material plastic_purple(*)
|
| 478 |
+
[[
|
| 479 |
+
::anno::author("NVIDIA ARC"),
|
| 480 |
+
::anno::display_name("Plastic Purple"),
|
| 481 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 482 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 483 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 484 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "purple")),
|
| 485 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_purple.png"),
|
| 486 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 487 |
+
]] = plastic_simple_controls(
|
| 488 |
+
diffuse_color: color(0.193972f, 0.017936f, 0.464741f),
|
| 489 |
+
diffuse_weight: .5f,
|
| 490 |
+
transmissive_color: color(0.701170f, 0.018913f, 0.645555f),
|
| 491 |
+
distance_scale: 0.002f,
|
| 492 |
+
reflection_roughness: 0.05f
|
| 493 |
+
);
|
| 494 |
+
|
| 495 |
+
|
| 496 |
+
// 13 - Dark Blue
|
| 497 |
+
export material plastic_dark_blue(*)
|
| 498 |
+
[[
|
| 499 |
+
::anno::author("NVIDIA ARC"),
|
| 500 |
+
::anno::display_name("Plastic Dark Blue"),
|
| 501 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 502 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 503 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 504 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "dark", "blue", "cool")),
|
| 505 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_dark_blue.png"),
|
| 506 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 507 |
+
]] = plastic_simple_controls(
|
| 508 |
+
diffuse_color: color(0.027755f, 0.058187f, 0.311180f),
|
| 509 |
+
diffuse_weight: .5f,
|
| 510 |
+
transmissive_color: color(0.027755f, 0.058187f, 0.311180f),
|
| 511 |
+
distance_scale: 0.002f,
|
| 512 |
+
reflection_roughness: 0.05f
|
| 513 |
+
);
|
| 514 |
+
|
| 515 |
+
|
| 516 |
+
// 14 - Blue
|
| 517 |
+
export material plastic_blue(*)
|
| 518 |
+
[[
|
| 519 |
+
::anno::author("NVIDIA ARC"),
|
| 520 |
+
::anno::display_name("Plastic Blue"),
|
| 521 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 522 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 523 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 524 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "blue", "cool")),
|
| 525 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_blue.png"),
|
| 526 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 527 |
+
]] = plastic_simple_controls(
|
| 528 |
+
diffuse_color: color(0.034230f, 0.173439f, 0.843370f),
|
| 529 |
+
diffuse_weight: .5f,
|
| 530 |
+
transmissive_color: color(0.034230f, 0.124741f, 0.659224f),
|
| 531 |
+
distance_scale: 0.002f,
|
| 532 |
+
reflection_roughness: 0.05f
|
| 533 |
+
);
|
| 534 |
+
|
| 535 |
+
|
| 536 |
+
// 15 - Sky Blue
|
| 537 |
+
export material plastic_sky_blue(*)
|
| 538 |
+
[[
|
| 539 |
+
::anno::author("NVIDIA ARC"),
|
| 540 |
+
::anno::display_name("Plastic Sky Blue"),
|
| 541 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 542 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 543 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 544 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "blue", "sky", "cool")),
|
| 545 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_sky_blue.png"),
|
| 546 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 547 |
+
]] = plastic_simple_controls(
|
| 548 |
+
diffuse_color: color(0.061907f, 0.535642f, 0.875138f),
|
| 549 |
+
diffuse_weight: .5f,
|
| 550 |
+
transmissive_color: color(0.028991f, 0.358654f, 0.673049f),
|
| 551 |
+
distance_scale: 0.002f,
|
| 552 |
+
reflection_roughness: 0.05f
|
| 553 |
+
);
|
| 554 |
+
|
| 555 |
+
|
| 556 |
+
// 16 - Light Blue
|
| 557 |
+
export material plastic_light_blue(*)
|
| 558 |
+
[[
|
| 559 |
+
::anno::author("NVIDIA ARC"),
|
| 560 |
+
::anno::display_name("Plastic Light Blue"),
|
| 561 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 562 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 563 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 564 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "light", "blue", "cool")),
|
| 565 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_light_blue.png"),
|
| 566 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 567 |
+
]] = plastic_simple_controls(
|
| 568 |
+
diffuse_color: color(0.263175f, 0.774227f, 0.827726f),
|
| 569 |
+
diffuse_weight: .5f,
|
| 570 |
+
transmissive_color: color(0.163641f, 0.592438f, 0.759300f),
|
| 571 |
+
distance_scale: 0.002f,
|
| 572 |
+
reflection_roughness: 0.05f
|
| 573 |
+
);
|
| 574 |
+
|
| 575 |
+
|
| 576 |
+
// 17 - Teal
|
| 577 |
+
export material plastic_teal(*)
|
| 578 |
+
[[
|
| 579 |
+
::anno::author("NVIDIA ARC"),
|
| 580 |
+
::anno::display_name("Plastic Teal"),
|
| 581 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 582 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 583 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 584 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "teal", "cool")),
|
| 585 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_teal.png"),
|
| 586 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 587 |
+
]] = plastic_simple_controls(
|
| 588 |
+
diffuse_color: color(0.037029f, 0.579547f, 0.329729f),
|
| 589 |
+
diffuse_weight: .5f,
|
| 590 |
+
transmissive_color: color(0.022013f, 0.476177f, 0.353741f),
|
| 591 |
+
distance_scale: 0.002f,
|
| 592 |
+
reflection_roughness: 0.05f
|
| 593 |
+
);
|
| 594 |
+
|
| 595 |
+
|
| 596 |
+
// 18 - Dark Green
|
| 597 |
+
export material plastic_dark_green(*)
|
| 598 |
+
[[
|
| 599 |
+
::anno::author("NVIDIA ARC"),
|
| 600 |
+
::anno::display_name("Plastic Dark Green"),
|
| 601 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 602 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 603 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 604 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "dark", "green")),
|
| 605 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_dark_green.png"),
|
| 606 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 607 |
+
]] = plastic_simple_controls(
|
| 608 |
+
diffuse_color: color(0.034230f, 0.141980f, 0.034230f),
|
| 609 |
+
diffuse_weight: .5f,
|
| 610 |
+
transmissive_color: color(0.016988f, 0.141980f, 0.016988f),
|
| 611 |
+
distance_scale: 0.002f,
|
| 612 |
+
reflection_roughness: 0.05f
|
| 613 |
+
);
|
| 614 |
+
|
| 615 |
+
|
| 616 |
+
// 19 - Green
|
| 617 |
+
export material plastic_green(*)
|
| 618 |
+
[[
|
| 619 |
+
::anno::author("NVIDIA ARC"),
|
| 620 |
+
::anno::display_name("Plastic Green"),
|
| 621 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 622 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 623 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 624 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "green")),
|
| 625 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_green.png"),
|
| 626 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 627 |
+
]] = plastic_simple_controls(
|
| 628 |
+
diffuse_color: color(0.016988f, 0.311180f, 0.016988f),
|
| 629 |
+
diffuse_weight: .5f,
|
| 630 |
+
transmissive_color: color(0.012664f, 0.358654f, 0.012664f),
|
| 631 |
+
distance_scale: 0.002f,
|
| 632 |
+
reflection_roughness: 0.05f
|
| 633 |
+
);
|
| 634 |
+
|
| 635 |
+
|
| 636 |
+
// 20 - Light Green
|
| 637 |
+
export material plastic_light_green(*)
|
| 638 |
+
[[
|
| 639 |
+
::anno::author("NVIDIA ARC"),
|
| 640 |
+
::anno::display_name("Plastic Light Green"),
|
| 641 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 642 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 643 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 644 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "light", "green")),
|
| 645 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_light_green.png"),
|
| 646 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 647 |
+
]] = plastic_simple_controls(
|
| 648 |
+
diffuse_color: color(0.030257f, 0.687031f, 0.027755f),
|
| 649 |
+
diffuse_weight: .5f,
|
| 650 |
+
transmissive_color: color(0.030257f, 0.701170f, 0.027755f),
|
| 651 |
+
distance_scale: 0.002f,
|
| 652 |
+
reflection_roughness: 0.05f
|
| 653 |
+
);
|
| 654 |
+
|
| 655 |
+
|
| 656 |
+
// 21 - Lime Green
|
| 657 |
+
export material plastic_lime_green(*)
|
| 658 |
+
[[
|
| 659 |
+
::anno::author("NVIDIA ARC"),
|
| 660 |
+
::anno::display_name("Plastic Lime Green"),
|
| 661 |
+
::anno::description("Plastic material with a simple but fast light scattering for dense scattering plastic materials. "
|
| 662 |
+
"The material was built to scatter light within the range of a few centimeters. If light scattering cannot be seen "
|
| 663 |
+
"(which can be verified by setting 'Diffuse Wight' to 0.0), check the scene units scale or increase 'Distance Scale'."),
|
| 664 |
+
::anno::key_words(string[]("plastic", "artificial", "scattering", "SSS", "diffuse", "translucent", "new", "shiny", "lime", "green", "light")),
|
| 665 |
+
::anno::thumbnail("./.thumbs/Plastic_Thick_Translucent.plastic_lime_green.png"),
|
| 666 |
+
::anno::copyright_notice(COPYRIGHT)
|
| 667 |
+
]] = plastic_simple_controls(
|
| 668 |
+
diffuse_color: color(0.186989f, 0.605484f, 0.027755f),
|
| 669 |
+
diffuse_weight: .5f,
|
| 670 |
+
transmissive_color: color(0.204710f, 0.701170f, 0.022013f),
|
| 671 |
+
distance_scale: 0.002f,
|
| 672 |
+
reflection_roughness: 0.05f
|
| 673 |
+
);
|
PPC_500KVA/simready_usd/materials/WhiteMode.mdl
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
|
| 2 |
+
//
|
| 3 |
+
// NVIDIA CORPORATION and its licensors retain all intellectual property
|
| 4 |
+
// and proprietary rights in and to this software, related documentation
|
| 5 |
+
// and any modifications thereto. Any use, reproduction, disclosure or
|
| 6 |
+
// distribution of this software and related documentation without an express
|
| 7 |
+
// license agreement from NVIDIA CORPORATION is strictly prohibited.
|
| 8 |
+
//
|
| 9 |
+
|
| 10 |
+
// adjusted to be alittle darker, not harsh white, changed name to Whitemode
|
| 11 |
+
|
| 12 |
+
mdl 1.5;
|
| 13 |
+
import ::anno::*;
|
| 14 |
+
import ::df::diffuse_reflection_bsdf;
|
| 15 |
+
import ::state::normal;
|
| 16 |
+
|
| 17 |
+
export material WhiteMode(
|
| 18 |
+
|
| 19 |
+
color diffuse_color_constant = color(.99f)
|
| 20 |
+
[[
|
| 21 |
+
anno::display_name("Base Color"),
|
| 22 |
+
anno::description("This is the base color")
|
| 23 |
+
]]
|
| 24 |
+
)
|
| 25 |
+
=
|
| 26 |
+
let {
|
| 27 |
+
material_surface surface(
|
| 28 |
+
::df::diffuse_reflection_bsdf(diffuse_color_constant));
|
| 29 |
+
} in material(
|
| 30 |
+
thin_walled: false,
|
| 31 |
+
surface: surface);
|
PPC_500KVA/simready_usd/payloads/external.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b3f71133af73f6b53c8fb39fb762cabe6204350ad727d761b12e1143a8a678b
|
| 3 |
+
size 44991891
|
PPC_500KVA/simready_usd/payloads/internal.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2af23122b1ef1fa29da47536a61f67e0009ce6e121c0dfdd66e2e85c2856bb75
|
| 3 |
+
size 4079645
|
PPC_500KVA/simready_usd/textures/PFA_Screen.png
ADDED
|
Git LFS Details
|