Upload CW181DCHA1SAEP 2026.09.25_02
Browse files- .gitattributes +2 -0
- CW181DCHA1SAEP/.metadata/com.nvidia.simready.root_usds.json +6 -0
- CW181DCHA1SAEP/com.nvidia.simready.packaging.json +6 -0
- CW181DCHA1SAEP/simready_usd/.thumbs/256x256/CW181DCHA1SAEP_main.usd.png +3 -0
- CW181DCHA1SAEP/simready_usd/CW181DCHA1SAEP_main.usd +0 -0
- CW181DCHA1SAEP/simready_usd/layers/.thumbs/256x256/CW181DCHA1SAEP_ConnectionPoints.usd.png +3 -0
- CW181DCHA1SAEP/simready_usd/layers/.thumbs/256x256/CW181DCHA1SAEP_Properties.usda.png +3 -0
- CW181DCHA1SAEP/simready_usd/layers/CW181DCHA1SAEP_ConnectionPoints.usd +0 -0
- CW181DCHA1SAEP/simready_usd/layers/CW181DCHA1SAEP_Properties.json +373 -0
- CW181DCHA1SAEP/simready_usd/layers/CW181DCHA1SAEP_Properties.usda +729 -0
- CW181DCHA1SAEP/simready_usd/materials/Carpaint_Solid.mdl +1112 -0
- CW181DCHA1SAEP/simready_usd/materials/OmniPBR/OmniPBR.mdl +419 -0
- CW181DCHA1SAEP/simready_usd/materials/OmniPBR/OmniPBRBase.mdl +493 -0
- CW181DCHA1SAEP/simready_usd/materials/OmniPBR/OmniPBR_ClearCoat.mdl +734 -0
- CW181DCHA1SAEP/simready_usd/materials/Stainless_Steel_Brushed.mdl +0 -0
- CW181DCHA1SAEP/simready_usd/materials/WhiteMode.mdl +31 -0
- CW181DCHA1SAEP/simready_usd/payloads/.thumbs/256x256/external.usd.png +3 -0
- CW181DCHA1SAEP/simready_usd/payloads/.thumbs/256x256/internal.usd.png +3 -0
- CW181DCHA1SAEP/simready_usd/payloads/external.usd +3 -0
- CW181DCHA1SAEP/simready_usd/payloads/internal.usd +3 -0
- CW181DCHA1SAEP/simready_usd/textures/screen_image.png +3 -0
.gitattributes
CHANGED
|
@@ -97,3 +97,5 @@ XDU2300AA0S000F/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs
|
|
| 97 |
XDU2300AA0S000F/simready_usd/XDU2300AA0S000F_main.usd filter=lfs diff=lfs merge=lfs -text
|
| 98 |
CW084DC1A1SDQS/simready_usd/payloads/external.usd filter=lfs diff=lfs merge=lfs -text
|
| 99 |
CW084DC1A1SDQS/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 97 |
XDU2300AA0S000F/simready_usd/XDU2300AA0S000F_main.usd filter=lfs diff=lfs merge=lfs -text
|
| 98 |
CW084DC1A1SDQS/simready_usd/payloads/external.usd filter=lfs diff=lfs merge=lfs -text
|
| 99 |
CW084DC1A1SDQS/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
CW181DCHA1SAEP/simready_usd/payloads/external.usd filter=lfs diff=lfs merge=lfs -text
|
| 101 |
+
CW181DCHA1SAEP/simready_usd/payloads/internal.usd filter=lfs diff=lfs merge=lfs -text
|
CW181DCHA1SAEP/.metadata/com.nvidia.simready.root_usds.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"entries": [
|
| 4 |
+
"simready_usd/CW181DCHA1SAEP_main.usd"
|
| 5 |
+
]
|
| 6 |
+
}
|
CW181DCHA1SAEP/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.Vertiv.simready-assets.CW181DCHA1SAEP.2026.09.25_02",
|
| 4 |
+
"license": "cc-by-4.0",
|
| 5 |
+
"metadata": []
|
| 6 |
+
}
|
CW181DCHA1SAEP/simready_usd/.thumbs/256x256/CW181DCHA1SAEP_main.usd.png
ADDED
|
|
Git LFS Details
|
CW181DCHA1SAEP/simready_usd/CW181DCHA1SAEP_main.usd
ADDED
|
Binary file (20.4 kB). View file
|
|
|
CW181DCHA1SAEP/simready_usd/layers/.thumbs/256x256/CW181DCHA1SAEP_ConnectionPoints.usd.png
ADDED
|
|
Git LFS Details
|
CW181DCHA1SAEP/simready_usd/layers/.thumbs/256x256/CW181DCHA1SAEP_Properties.usda.png
ADDED
|
|
Git LFS Details
|
CW181DCHA1SAEP/simready_usd/layers/CW181DCHA1SAEP_ConnectionPoints.usd
ADDED
|
Binary file (27.3 kB). View file
|
|
|
CW181DCHA1SAEP/simready_usd/layers/CW181DCHA1SAEP_Properties.json
ADDED
|
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"properties": {
|
| 3 |
+
"aif:spec:electricalNominalVoltage": {
|
| 4 |
+
"type": "int",
|
| 5 |
+
"value": 460,
|
| 6 |
+
"description": "Electrical Nominal Voltage in Volt"
|
| 7 |
+
},
|
| 8 |
+
"aif:spec:electricalCurrent": {
|
| 9 |
+
"type": "string",
|
| 10 |
+
"value": "",
|
| 11 |
+
"description": "Electrical Current in Amp"
|
| 12 |
+
},
|
| 13 |
+
"aif:spec:electricalFrequency": {
|
| 14 |
+
"type": "int",
|
| 15 |
+
"value": 60,
|
| 16 |
+
"description": "Electrical Frequency in Hz"
|
| 17 |
+
},
|
| 18 |
+
"aif:spec:electricalPowerRating": {
|
| 19 |
+
"type": "string",
|
| 20 |
+
"value": "",
|
| 21 |
+
"description": "Electrical Power Rating"
|
| 22 |
+
},
|
| 23 |
+
"aif:spec:electricalPhase": {
|
| 24 |
+
"type": "int",
|
| 25 |
+
"value": 3,
|
| 26 |
+
"description": "Electrical Phase"
|
| 27 |
+
},
|
| 28 |
+
"aif:spec:primaryPipeDiameter": {
|
| 29 |
+
"type": "int",
|
| 30 |
+
"value": 100,
|
| 31 |
+
"description": "Primary Pipe Diameter in mm"
|
| 32 |
+
},
|
| 33 |
+
"aif:spec:returnAirVolume": {
|
| 34 |
+
"type": "int",
|
| 35 |
+
"value": 40776,
|
| 36 |
+
"description": "Return Air Volume in cubic meters/h"
|
| 37 |
+
},
|
| 38 |
+
"aif:spec:secondaryPipeDiameter": {
|
| 39 |
+
"type": "string",
|
| 40 |
+
"value": "",
|
| 41 |
+
"description": "Secondary Pipe Diameter in mm"
|
| 42 |
+
},
|
| 43 |
+
"aif:spec:airFilter": {
|
| 44 |
+
"type": "string",
|
| 45 |
+
"value": "4-inch Pleated Merv 8",
|
| 46 |
+
"description": "Filter Name"
|
| 47 |
+
},
|
| 48 |
+
"aif:spec:highVoltageOptions": {
|
| 49 |
+
"type": "string",
|
| 50 |
+
"value": "ATS",
|
| 51 |
+
"description": "High Voltage Options"
|
| 52 |
+
},
|
| 53 |
+
"aif:spec:coil": {
|
| 54 |
+
"type": "string",
|
| 55 |
+
"value": "A-Frame Coil",
|
| 56 |
+
"description": "Coil Name"
|
| 57 |
+
},
|
| 58 |
+
"aif:spec:pipingConnection": {
|
| 59 |
+
"type": "string",
|
| 60 |
+
"value": "Bottom",
|
| 61 |
+
"description": "Piping Connection, Top and Bottom"
|
| 62 |
+
},
|
| 63 |
+
"aif:spec:powerSupply": {
|
| 64 |
+
"type": "string",
|
| 65 |
+
"value": "460V/3ph/60Hz",
|
| 66 |
+
"description": "Power Supply"
|
| 67 |
+
},
|
| 68 |
+
"aif:spec:primaryControl": {
|
| 69 |
+
"type": "string",
|
| 70 |
+
"value": "Liebert iCOM Control Board",
|
| 71 |
+
"description": "Primary Control"
|
| 72 |
+
},
|
| 73 |
+
"aif:spec:humidification": {
|
| 74 |
+
"type": "string",
|
| 75 |
+
"value": "Infrared Humidifier",
|
| 76 |
+
"description": "Humidification"
|
| 77 |
+
},
|
| 78 |
+
"aif:spec:maximumHp": {
|
| 79 |
+
"type": "float",
|
| 80 |
+
"value": 14.7,
|
| 81 |
+
"description": "Fan Motor Maximum horse power"
|
| 82 |
+
},
|
| 83 |
+
"aif:spec:electricalPanelOptions": {
|
| 84 |
+
"type": "string",
|
| 85 |
+
"value": "ATS",
|
| 86 |
+
"description": "Electrical Panel Options"
|
| 87 |
+
},
|
| 88 |
+
"aif:spec:nominalCoolingCapacity": {
|
| 89 |
+
"type": "int",
|
| 90 |
+
"value": 181,
|
| 91 |
+
"description": "Nominal Cooling Capacity in kW"
|
| 92 |
+
},
|
| 93 |
+
"aif:spec:airDistribution": {
|
| 94 |
+
"type": "string",
|
| 95 |
+
"value": "Downflow Frontal",
|
| 96 |
+
"description": "Air Distribution"
|
| 97 |
+
},
|
| 98 |
+
"aif:spec:coolingType": {
|
| 99 |
+
"type": "string",
|
| 100 |
+
"value": "Chilled water",
|
| 101 |
+
"description": "Cooling Type"
|
| 102 |
+
},
|
| 103 |
+
"aif:spec:fanType": {
|
| 104 |
+
"type": "string",
|
| 105 |
+
"value": "EC Fan",
|
| 106 |
+
"description": "Fan Type"
|
| 107 |
+
},
|
| 108 |
+
"aif:spec:valveType": {
|
| 109 |
+
"type": "string",
|
| 110 |
+
"value": "2-way valve, high pressure",
|
| 111 |
+
"description": "Valve Type"
|
| 112 |
+
},
|
| 113 |
+
"aif:spec:electricalPanelAccess": {
|
| 114 |
+
"type": "int",
|
| 115 |
+
"value": 1219,
|
| 116 |
+
"description": "Electrical Panel Access in mm"
|
| 117 |
+
},
|
| 118 |
+
"aif:spec:totalCapacity": {
|
| 119 |
+
"type": "int",
|
| 120 |
+
"value": 211,
|
| 121 |
+
"description": "Total Capacity in KW at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH"
|
| 122 |
+
},
|
| 123 |
+
"aif:spec:sensibleCapacity": {
|
| 124 |
+
"type": "int",
|
| 125 |
+
"value": 179,
|
| 126 |
+
"description": "Sensible Capacity in KW at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH"
|
| 127 |
+
},
|
| 128 |
+
"aif:spec:flowRate": {
|
| 129 |
+
"type": "float",
|
| 130 |
+
"value": 0.0095,
|
| 131 |
+
"description": "Flow rate in cubic Cubic meters per second at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH"
|
| 132 |
+
},
|
| 133 |
+
"aif:spec:unitPressureDrop": {
|
| 134 |
+
"type": "float",
|
| 135 |
+
"value": 74.8,
|
| 136 |
+
"description": "Unit Pressure Drop, kPA at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH"
|
| 137 |
+
},
|
| 138 |
+
"aif:spec:nominalAirVolume": {
|
| 139 |
+
"type": "float",
|
| 140 |
+
"value": 1.13,
|
| 141 |
+
"description": "Nominal Air Volume in Cubic meters per second"
|
| 142 |
+
},
|
| 143 |
+
"aif:spec:fanMotorPowerMax": {
|
| 144 |
+
"type": "float",
|
| 145 |
+
"value": 3.7,
|
| 146 |
+
"description": "Fan Motor, Maximum kW, Downflow, each"
|
| 147 |
+
},
|
| 148 |
+
"aif:spec:externalStaticUnitPressure": {
|
| 149 |
+
"type": "int",
|
| 150 |
+
"value": 50,
|
| 151 |
+
"description": "Standard Exit Static Pressure, PA"
|
| 152 |
+
},
|
| 153 |
+
"aif:spec:numberOfFans": {
|
| 154 |
+
"type": "int",
|
| 155 |
+
"value": 3,
|
| 156 |
+
"description": "Number of EC Fans"
|
| 157 |
+
},
|
| 158 |
+
"aif:spec:faceArea": {
|
| 159 |
+
"type": "float",
|
| 160 |
+
"value": 5.3,
|
| 161 |
+
"description": "Face Area in sq. m"
|
| 162 |
+
},
|
| 163 |
+
"aif:spec:numberOfRows": {
|
| 164 |
+
"type": "int",
|
| 165 |
+
"value": 6,
|
| 166 |
+
"description": "Number Of Rows of Chilled Water Coil"
|
| 167 |
+
},
|
| 168 |
+
"aif:spec:coilVolume": {
|
| 169 |
+
"type": "int",
|
| 170 |
+
"value": 126,
|
| 171 |
+
"description": "coil Volume in Liters"
|
| 172 |
+
},
|
| 173 |
+
"aif:spec:faceVelocity": {
|
| 174 |
+
"type": "float",
|
| 175 |
+
"value": 2.16,
|
| 176 |
+
"description": "Face Velocity in m/s of Chilled Water Coil"
|
| 177 |
+
},
|
| 178 |
+
"aif:spec:valveSize": {
|
| 179 |
+
"type": "int",
|
| 180 |
+
"value": 50,
|
| 181 |
+
"description": "Chilled Water Valve size, mm"
|
| 182 |
+
},
|
| 183 |
+
"aif:spec:mbv2WayValveKv": {
|
| 184 |
+
"type": "int",
|
| 185 |
+
"value": 40,
|
| 186 |
+
"description": "Flow coefficient for the 2 way valve, Kv"
|
| 187 |
+
},
|
| 188 |
+
"aif:spec:mbv2WayValveOptCloseOffPressure": {
|
| 189 |
+
"type": "int",
|
| 190 |
+
"value": 1379,
|
| 191 |
+
"description": "Close off pressure for MBA 2-way closse off pressure, kPA"
|
| 192 |
+
},
|
| 193 |
+
"aif:spec:mbv3WayValveKv": {
|
| 194 |
+
"type": "int",
|
| 195 |
+
"value": 64,
|
| 196 |
+
"description": "Flow coefficient for the 3 way valve, Kv"
|
| 197 |
+
},
|
| 198 |
+
"aif:spec:mbv3WayValveBypassKv": {
|
| 199 |
+
"type": "float",
|
| 200 |
+
"value": 36.8,
|
| 201 |
+
"description": "Flow coefficient for the 3 way bypass valve, Kv"
|
| 202 |
+
},
|
| 203 |
+
"aif:spec:electricReheatCapacity": {
|
| 204 |
+
"type": "int",
|
| 205 |
+
"value": 30,
|
| 206 |
+
"description": "Electric Reheat Capacity Three Stage fin in KW"
|
| 207 |
+
},
|
| 208 |
+
"aif:spec:filterNominalSize": {
|
| 209 |
+
"type": "string",
|
| 210 |
+
"value": "546 X 610",
|
| 211 |
+
"description": "Nominal size of Filter, mm"
|
| 212 |
+
},
|
| 213 |
+
"aif:spec:filterQuantity": {
|
| 214 |
+
"type": "int",
|
| 215 |
+
"value": 10,
|
| 216 |
+
"description": "Number of Filters"
|
| 217 |
+
},
|
| 218 |
+
"aif:spec:chilledWaterOd": {
|
| 219 |
+
"type": "float",
|
| 220 |
+
"value": 79.5,
|
| 221 |
+
"description": "Chilled Water Copper connection size, mm"
|
| 222 |
+
},
|
| 223 |
+
"aif:spec:infraredHumidifierCapacity": {
|
| 224 |
+
"type": "float",
|
| 225 |
+
"value": 9.6,
|
| 226 |
+
"description": "Infrared Humidifier Capacity in KW"
|
| 227 |
+
},
|
| 228 |
+
"aif:spec:infraredHumidifierOd": {
|
| 229 |
+
"type": "float",
|
| 230 |
+
"value": 12.5,
|
| 231 |
+
"description": "Infrared Humidifier Copper connection size, mm"
|
| 232 |
+
},
|
| 233 |
+
"aif:spec:condensateDrainFpt": {
|
| 234 |
+
"type": "int",
|
| 235 |
+
"value": 32,
|
| 236 |
+
"description": "Condensate Drain Size, mm"
|
| 237 |
+
},
|
| 238 |
+
"aif:spec:steamReheatMptFcBlower": {
|
| 239 |
+
"type": "string",
|
| 240 |
+
"value": "",
|
| 241 |
+
"description": "Steam Reheat MPT FC Blower Only"
|
| 242 |
+
},
|
| 243 |
+
"aif:spec:hotWaterReheatOdCopperFcBlowerOnly": {
|
| 244 |
+
"type": "string",
|
| 245 |
+
"value": "",
|
| 246 |
+
"description": "Hot Water Reheat OD Copper FC Blower only"
|
| 247 |
+
},
|
| 248 |
+
"aif:spec:monitoring": {
|
| 249 |
+
"type": "string",
|
| 250 |
+
"value": "",
|
| 251 |
+
"description": "Monitoring Type"
|
| 252 |
+
},
|
| 253 |
+
"aif:spec:mountStyle": {
|
| 254 |
+
"type": "string",
|
| 255 |
+
"value": "Floor Mount",
|
| 256 |
+
"description": "Mount Style: In Row, In Rack"
|
| 257 |
+
},
|
| 258 |
+
"aif:core:manufacturer": {
|
| 259 |
+
"type": "string",
|
| 260 |
+
"value": "Vertiv",
|
| 261 |
+
"description": "Equipment manufacturer name"
|
| 262 |
+
},
|
| 263 |
+
"aif:core:modelNumber": {
|
| 264 |
+
"type": "string",
|
| 265 |
+
"value": "CW181DCHA1SAEP",
|
| 266 |
+
"description": "Equipment model number"
|
| 267 |
+
},
|
| 268 |
+
"aif:core:overallGeometryDimensions": {
|
| 269 |
+
"type": "vector3f",
|
| 270 |
+
"value": [
|
| 271 |
+
3099.0,
|
| 272 |
+
1188.0,
|
| 273 |
+
2386.0
|
| 274 |
+
],
|
| 275 |
+
"description": "Overall Geometry (WXDXH) (metric)"
|
| 276 |
+
},
|
| 277 |
+
"aif:core:weight": {
|
| 278 |
+
"type": "int",
|
| 279 |
+
"value": 1143,
|
| 280 |
+
"description": "Equipment weight in kilograms"
|
| 281 |
+
},
|
| 282 |
+
"aif:core:height": {
|
| 283 |
+
"type": "int",
|
| 284 |
+
"value": 2386,
|
| 285 |
+
"description": "Equipment height in mm"
|
| 286 |
+
},
|
| 287 |
+
"aif:core:width": {
|
| 288 |
+
"type": "int",
|
| 289 |
+
"value": 3099,
|
| 290 |
+
"description": "Equipment width in mm"
|
| 291 |
+
},
|
| 292 |
+
"aif:core:depth": {
|
| 293 |
+
"type": "int",
|
| 294 |
+
"value": 1188,
|
| 295 |
+
"description": "Equipment depth in mm"
|
| 296 |
+
},
|
| 297 |
+
"aif:core:installationClearance": {
|
| 298 |
+
"type": "int",
|
| 299 |
+
"value": 1219,
|
| 300 |
+
"description": "Clearance in mm"
|
| 301 |
+
},
|
| 302 |
+
"aif:core:accessibilityRequirement": {
|
| 303 |
+
"type": "int",
|
| 304 |
+
"value": 1219,
|
| 305 |
+
"description": "Accessibility clearance in mm"
|
| 306 |
+
},
|
| 307 |
+
"aif:core:assetVersion": {
|
| 308 |
+
"type": "string",
|
| 309 |
+
"value": "0.1",
|
| 310 |
+
"description": "Asset version"
|
| 311 |
+
},
|
| 312 |
+
"aif:core:assetClass": {
|
| 313 |
+
"type": "string",
|
| 314 |
+
"value": "CRAH",
|
| 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:geometrympv": {
|
| 323 |
+
"type": "string",
|
| 324 |
+
"value": "",
|
| 325 |
+
"description": "Geometry_MPV"
|
| 326 |
+
},
|
| 327 |
+
"aif:core:aifthermal": {
|
| 328 |
+
"type": "string",
|
| 329 |
+
"value": "",
|
| 330 |
+
"description": "AIF_Thermal"
|
| 331 |
+
},
|
| 332 |
+
"aif:coreaifelectrical": {
|
| 333 |
+
"type": "string",
|
| 334 |
+
"value": "",
|
| 335 |
+
"description": "AIF_Electrical"
|
| 336 |
+
},
|
| 337 |
+
"aif:core:sceneOptimizerVersion": {
|
| 338 |
+
"type": "string",
|
| 339 |
+
"value": "get_scene_optimizer_id()",
|
| 340 |
+
"description": "Scene Optimizer version"
|
| 341 |
+
},
|
| 342 |
+
"aif:core:assetValidatorVersion": {
|
| 343 |
+
"type": "string",
|
| 344 |
+
"value": "get_asset_validator_id()",
|
| 345 |
+
"description": "Asset Validator version"
|
| 346 |
+
},
|
| 347 |
+
"aif:core:assetDescription": {
|
| 348 |
+
"type": "string",
|
| 349 |
+
"value": "Chilled water-based precision cooling system",
|
| 350 |
+
"description": "Human Readable Description of Asset"
|
| 351 |
+
},
|
| 352 |
+
"aif:core:connectsToModelDocumentation": {
|
| 353 |
+
"type": "string",
|
| 354 |
+
"value": "https://www.vertiv.com/en-us/products-catalog/thermal-management/room-cooling/cw181-181kw/",
|
| 355 |
+
"description": "Url to online documentation"
|
| 356 |
+
},
|
| 357 |
+
"aif:core:assetCreationDate": {
|
| 358 |
+
"type": "string",
|
| 359 |
+
"value": "2026-07-31 00:00:00",
|
| 360 |
+
"description": "Creation Date of Revision of Asset ISO 8601 format (YYYY-MM-DD)"
|
| 361 |
+
},
|
| 362 |
+
"aif:core:plenumHeight": {
|
| 363 |
+
"type": "int",
|
| 364 |
+
"value": 1830,
|
| 365 |
+
"description": "Equipment Plenum Height in mm"
|
| 366 |
+
}
|
| 367 |
+
},
|
| 368 |
+
"metadata": {
|
| 369 |
+
"description": "AIF properties for USD equipment models",
|
| 370 |
+
"version": "1.0",
|
| 371 |
+
"created": "2025-12-02"
|
| 372 |
+
}
|
| 373 |
+
}
|
CW181DCHA1SAEP/simready_usd/layers/CW181DCHA1SAEP_Properties.usda
ADDED
|
@@ -0,0 +1,729 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#usda 1.0
|
| 2 |
+
(
|
| 3 |
+
defaultPrim = "CW181DCHA1SAEP"
|
| 4 |
+
)
|
| 5 |
+
|
| 6 |
+
over "CW181DCHA1SAEP"
|
| 7 |
+
{
|
| 8 |
+
custom int aif:core:accessibilityRequirement = 1219 (
|
| 9 |
+
customData = {
|
| 10 |
+
dictionary omni = {
|
| 11 |
+
dictionary kit = {
|
| 12 |
+
bool locked = 1
|
| 13 |
+
}
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
doc = "Accessibility clearance in mm [AIF-MANAGED]"
|
| 17 |
+
)
|
| 18 |
+
custom string aif:core:aifthermal = "" (
|
| 19 |
+
customData = {
|
| 20 |
+
dictionary omni = {
|
| 21 |
+
dictionary kit = {
|
| 22 |
+
bool locked = 1
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
doc = "AIF_Thermal [AIF-MANAGED]"
|
| 27 |
+
)
|
| 28 |
+
custom string aif:core:assetClass = "CRAH" (
|
| 29 |
+
customData = {
|
| 30 |
+
dictionary omni = {
|
| 31 |
+
dictionary kit = {
|
| 32 |
+
bool locked = 1
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
doc = "Class of AI Factory Equipment [AIF-MANAGED]"
|
| 37 |
+
)
|
| 38 |
+
custom string aif:core:assetCreationDate = "2026-07-31 00:00:00" (
|
| 39 |
+
customData = {
|
| 40 |
+
dictionary omni = {
|
| 41 |
+
dictionary kit = {
|
| 42 |
+
bool locked = 1
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
doc = "Creation Date of Revision of Asset ISO 8601 format (YYYY-MM-DD) [AIF-MANAGED]"
|
| 47 |
+
)
|
| 48 |
+
custom string aif:core:assetDescription = "Chilled water-based precision cooling system" (
|
| 49 |
+
customData = {
|
| 50 |
+
dictionary omni = {
|
| 51 |
+
dictionary kit = {
|
| 52 |
+
bool locked = 1
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
doc = "Human Readable Description of Asset [AIF-MANAGED]"
|
| 57 |
+
)
|
| 58 |
+
custom string aif:core:assetValidatorVersion = "get_asset_validator_id()" (
|
| 59 |
+
customData = {
|
| 60 |
+
dictionary omni = {
|
| 61 |
+
dictionary kit = {
|
| 62 |
+
bool locked = 1
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
doc = "Asset Validator version [AIF-MANAGED]"
|
| 67 |
+
)
|
| 68 |
+
custom string aif:core:assetVersion = "0.1" (
|
| 69 |
+
customData = {
|
| 70 |
+
dictionary omni = {
|
| 71 |
+
dictionary kit = {
|
| 72 |
+
bool locked = 1
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
doc = "Asset version [AIF-MANAGED]"
|
| 77 |
+
)
|
| 78 |
+
custom string aif:core:connectsToModelDocumentation = "https://www.vertiv.com/en-us/products-catalog/thermal-management/room-cooling/cw181-181kw/" (
|
| 79 |
+
customData = {
|
| 80 |
+
dictionary omni = {
|
| 81 |
+
dictionary kit = {
|
| 82 |
+
bool locked = 1
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
doc = "Url to online documentation [AIF-MANAGED]"
|
| 87 |
+
)
|
| 88 |
+
custom int aif:core:depth = 1188 (
|
| 89 |
+
customData = {
|
| 90 |
+
dictionary omni = {
|
| 91 |
+
dictionary kit = {
|
| 92 |
+
bool locked = 1
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
doc = "Equipment depth in mm [AIF-MANAGED]"
|
| 97 |
+
)
|
| 98 |
+
custom string aif:core:geometrympv = "" (
|
| 99 |
+
customData = {
|
| 100 |
+
dictionary omni = {
|
| 101 |
+
dictionary kit = {
|
| 102 |
+
bool locked = 1
|
| 103 |
+
}
|
| 104 |
+
}
|
| 105 |
+
}
|
| 106 |
+
doc = "Geometry_MPV [AIF-MANAGED]"
|
| 107 |
+
)
|
| 108 |
+
custom int aif:core:height = 2386 (
|
| 109 |
+
customData = {
|
| 110 |
+
dictionary omni = {
|
| 111 |
+
dictionary kit = {
|
| 112 |
+
bool locked = 1
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
}
|
| 116 |
+
doc = "Equipment height in mm [AIF-MANAGED]"
|
| 117 |
+
)
|
| 118 |
+
custom int aif:core:installationClearance = 1219 (
|
| 119 |
+
customData = {
|
| 120 |
+
dictionary omni = {
|
| 121 |
+
dictionary kit = {
|
| 122 |
+
bool locked = 1
|
| 123 |
+
}
|
| 124 |
+
}
|
| 125 |
+
}
|
| 126 |
+
doc = "Clearance in mm [AIF-MANAGED]"
|
| 127 |
+
)
|
| 128 |
+
custom string aif:core:manufacturer = "Vertiv" (
|
| 129 |
+
customData = {
|
| 130 |
+
dictionary omni = {
|
| 131 |
+
dictionary kit = {
|
| 132 |
+
bool locked = 1
|
| 133 |
+
}
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
doc = "Equipment manufacturer name [AIF-MANAGED]"
|
| 137 |
+
)
|
| 138 |
+
custom string aif:core:modelNumber = "CW181DCHA1SAEP" (
|
| 139 |
+
customData = {
|
| 140 |
+
dictionary omni = {
|
| 141 |
+
dictionary kit = {
|
| 142 |
+
bool locked = 1
|
| 143 |
+
}
|
| 144 |
+
}
|
| 145 |
+
}
|
| 146 |
+
doc = "Equipment model number [AIF-MANAGED]"
|
| 147 |
+
)
|
| 148 |
+
custom vector3f aif:core:overallGeometryDimensions = (3099, 1188, 2386) (
|
| 149 |
+
customData = {
|
| 150 |
+
dictionary omni = {
|
| 151 |
+
dictionary kit = {
|
| 152 |
+
bool locked = 1
|
| 153 |
+
}
|
| 154 |
+
}
|
| 155 |
+
}
|
| 156 |
+
doc = "Overall Geometry (WXDXH) (metric) [AIF-MANAGED]"
|
| 157 |
+
)
|
| 158 |
+
custom int aif:core:plenumHeight = 1830 (
|
| 159 |
+
customData = {
|
| 160 |
+
dictionary omni = {
|
| 161 |
+
dictionary kit = {
|
| 162 |
+
bool locked = 1
|
| 163 |
+
}
|
| 164 |
+
}
|
| 165 |
+
}
|
| 166 |
+
doc = "Equipment Plenum Height in mm [AIF-MANAGED]"
|
| 167 |
+
)
|
| 168 |
+
custom string aif:core:sceneOptimizerVersion = "get_scene_optimizer_id()" (
|
| 169 |
+
customData = {
|
| 170 |
+
dictionary omni = {
|
| 171 |
+
dictionary kit = {
|
| 172 |
+
bool locked = 1
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
+
}
|
| 176 |
+
doc = "Scene Optimizer version [AIF-MANAGED]"
|
| 177 |
+
)
|
| 178 |
+
custom string aif:core:simreadyVersion = "0.1" (
|
| 179 |
+
customData = {
|
| 180 |
+
dictionary omni = {
|
| 181 |
+
dictionary kit = {
|
| 182 |
+
bool locked = 1
|
| 183 |
+
}
|
| 184 |
+
}
|
| 185 |
+
}
|
| 186 |
+
doc = "SimReady version [AIF-MANAGED]"
|
| 187 |
+
)
|
| 188 |
+
custom int aif:core:weight = 1143 (
|
| 189 |
+
customData = {
|
| 190 |
+
dictionary omni = {
|
| 191 |
+
dictionary kit = {
|
| 192 |
+
bool locked = 1
|
| 193 |
+
}
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
doc = "Equipment weight in kilograms [AIF-MANAGED]"
|
| 197 |
+
)
|
| 198 |
+
custom int aif:core:width = 3099 (
|
| 199 |
+
customData = {
|
| 200 |
+
dictionary omni = {
|
| 201 |
+
dictionary kit = {
|
| 202 |
+
bool locked = 1
|
| 203 |
+
}
|
| 204 |
+
}
|
| 205 |
+
}
|
| 206 |
+
doc = "Equipment width in mm [AIF-MANAGED]"
|
| 207 |
+
)
|
| 208 |
+
custom string aif:coreaifelectrical = "" (
|
| 209 |
+
customData = {
|
| 210 |
+
dictionary omni = {
|
| 211 |
+
dictionary kit = {
|
| 212 |
+
bool locked = 1
|
| 213 |
+
}
|
| 214 |
+
}
|
| 215 |
+
}
|
| 216 |
+
doc = "AIF_Electrical [AIF-MANAGED]"
|
| 217 |
+
)
|
| 218 |
+
custom string aif:spec:airDistribution = "Downflow Frontal" (
|
| 219 |
+
customData = {
|
| 220 |
+
dictionary omni = {
|
| 221 |
+
dictionary kit = {
|
| 222 |
+
bool locked = 1
|
| 223 |
+
}
|
| 224 |
+
}
|
| 225 |
+
}
|
| 226 |
+
doc = "Air Distribution [AIF-MANAGED]"
|
| 227 |
+
)
|
| 228 |
+
custom string aif:spec:airFilter = "4-inch Pleated Merv 8" (
|
| 229 |
+
customData = {
|
| 230 |
+
dictionary omni = {
|
| 231 |
+
dictionary kit = {
|
| 232 |
+
bool locked = 1
|
| 233 |
+
}
|
| 234 |
+
}
|
| 235 |
+
}
|
| 236 |
+
doc = "Filter Name [AIF-MANAGED]"
|
| 237 |
+
)
|
| 238 |
+
custom float aif:spec:chilledWaterOd = 79.5 (
|
| 239 |
+
customData = {
|
| 240 |
+
dictionary omni = {
|
| 241 |
+
dictionary kit = {
|
| 242 |
+
bool locked = 1
|
| 243 |
+
}
|
| 244 |
+
}
|
| 245 |
+
}
|
| 246 |
+
doc = "Chilled Water Copper connection size, mm [AIF-MANAGED]"
|
| 247 |
+
)
|
| 248 |
+
custom string aif:spec:coil = "A-Frame Coil" (
|
| 249 |
+
customData = {
|
| 250 |
+
dictionary omni = {
|
| 251 |
+
dictionary kit = {
|
| 252 |
+
bool locked = 1
|
| 253 |
+
}
|
| 254 |
+
}
|
| 255 |
+
}
|
| 256 |
+
doc = "Coil Name [AIF-MANAGED]"
|
| 257 |
+
)
|
| 258 |
+
custom int aif:spec:coilVolume = 126 (
|
| 259 |
+
customData = {
|
| 260 |
+
dictionary omni = {
|
| 261 |
+
dictionary kit = {
|
| 262 |
+
bool locked = 1
|
| 263 |
+
}
|
| 264 |
+
}
|
| 265 |
+
}
|
| 266 |
+
doc = "coil Volume in Liters [AIF-MANAGED]"
|
| 267 |
+
)
|
| 268 |
+
custom int aif:spec:condensateDrainFpt = 32 (
|
| 269 |
+
customData = {
|
| 270 |
+
dictionary omni = {
|
| 271 |
+
dictionary kit = {
|
| 272 |
+
bool locked = 1
|
| 273 |
+
}
|
| 274 |
+
}
|
| 275 |
+
}
|
| 276 |
+
doc = "Condensate Drain Size, mm [AIF-MANAGED]"
|
| 277 |
+
)
|
| 278 |
+
custom string aif:spec:coolingType = "Chilled water" (
|
| 279 |
+
customData = {
|
| 280 |
+
dictionary omni = {
|
| 281 |
+
dictionary kit = {
|
| 282 |
+
bool locked = 1
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
+
}
|
| 286 |
+
doc = "Cooling Type [AIF-MANAGED]"
|
| 287 |
+
)
|
| 288 |
+
custom string aif:spec:electricalCurrent = "" (
|
| 289 |
+
customData = {
|
| 290 |
+
dictionary omni = {
|
| 291 |
+
dictionary kit = {
|
| 292 |
+
bool locked = 1
|
| 293 |
+
}
|
| 294 |
+
}
|
| 295 |
+
}
|
| 296 |
+
doc = "Electrical Current in Amp [AIF-MANAGED]"
|
| 297 |
+
)
|
| 298 |
+
custom int aif:spec:electricalFrequency = 60 (
|
| 299 |
+
customData = {
|
| 300 |
+
dictionary omni = {
|
| 301 |
+
dictionary kit = {
|
| 302 |
+
bool locked = 1
|
| 303 |
+
}
|
| 304 |
+
}
|
| 305 |
+
}
|
| 306 |
+
doc = "Electrical Frequency in Hz [AIF-MANAGED]"
|
| 307 |
+
)
|
| 308 |
+
custom int aif:spec:electricalNominalVoltage = 460 (
|
| 309 |
+
customData = {
|
| 310 |
+
dictionary omni = {
|
| 311 |
+
dictionary kit = {
|
| 312 |
+
bool locked = 1
|
| 313 |
+
}
|
| 314 |
+
}
|
| 315 |
+
}
|
| 316 |
+
doc = "Electrical Nominal Voltage in Volt [AIF-MANAGED]"
|
| 317 |
+
)
|
| 318 |
+
custom int aif:spec:electricalPanelAccess = 1219 (
|
| 319 |
+
customData = {
|
| 320 |
+
dictionary omni = {
|
| 321 |
+
dictionary kit = {
|
| 322 |
+
bool locked = 1
|
| 323 |
+
}
|
| 324 |
+
}
|
| 325 |
+
}
|
| 326 |
+
doc = "Electrical Panel Access in mm [AIF-MANAGED]"
|
| 327 |
+
)
|
| 328 |
+
custom string aif:spec:electricalPanelOptions = "ATS" (
|
| 329 |
+
customData = {
|
| 330 |
+
dictionary omni = {
|
| 331 |
+
dictionary kit = {
|
| 332 |
+
bool locked = 1
|
| 333 |
+
}
|
| 334 |
+
}
|
| 335 |
+
}
|
| 336 |
+
doc = "Electrical Panel Options [AIF-MANAGED]"
|
| 337 |
+
)
|
| 338 |
+
custom int aif:spec:electricalPhase = 3 (
|
| 339 |
+
customData = {
|
| 340 |
+
dictionary omni = {
|
| 341 |
+
dictionary kit = {
|
| 342 |
+
bool locked = 1
|
| 343 |
+
}
|
| 344 |
+
}
|
| 345 |
+
}
|
| 346 |
+
doc = "Electrical Phase [AIF-MANAGED]"
|
| 347 |
+
)
|
| 348 |
+
custom string aif:spec:electricalPowerRating = "" (
|
| 349 |
+
customData = {
|
| 350 |
+
dictionary omni = {
|
| 351 |
+
dictionary kit = {
|
| 352 |
+
bool locked = 1
|
| 353 |
+
}
|
| 354 |
+
}
|
| 355 |
+
}
|
| 356 |
+
doc = "Electrical Power Rating [AIF-MANAGED]"
|
| 357 |
+
)
|
| 358 |
+
custom int aif:spec:electricReheatCapacity = 30 (
|
| 359 |
+
customData = {
|
| 360 |
+
dictionary omni = {
|
| 361 |
+
dictionary kit = {
|
| 362 |
+
bool locked = 1
|
| 363 |
+
}
|
| 364 |
+
}
|
| 365 |
+
}
|
| 366 |
+
doc = "Electric Reheat Capacity Three Stage fin in KW [AIF-MANAGED]"
|
| 367 |
+
)
|
| 368 |
+
custom int aif:spec:externalStaticUnitPressure = 50 (
|
| 369 |
+
customData = {
|
| 370 |
+
dictionary omni = {
|
| 371 |
+
dictionary kit = {
|
| 372 |
+
bool locked = 1
|
| 373 |
+
}
|
| 374 |
+
}
|
| 375 |
+
}
|
| 376 |
+
doc = "Standard Exit Static Pressure, PA [AIF-MANAGED]"
|
| 377 |
+
)
|
| 378 |
+
custom float aif:spec:faceArea = 5.3 (
|
| 379 |
+
customData = {
|
| 380 |
+
dictionary omni = {
|
| 381 |
+
dictionary kit = {
|
| 382 |
+
bool locked = 1
|
| 383 |
+
}
|
| 384 |
+
}
|
| 385 |
+
}
|
| 386 |
+
doc = "Face Area in sq. m [AIF-MANAGED]"
|
| 387 |
+
)
|
| 388 |
+
custom float aif:spec:faceVelocity = 2.16 (
|
| 389 |
+
customData = {
|
| 390 |
+
dictionary omni = {
|
| 391 |
+
dictionary kit = {
|
| 392 |
+
bool locked = 1
|
| 393 |
+
}
|
| 394 |
+
}
|
| 395 |
+
}
|
| 396 |
+
doc = "Face Velocity in m/s of Chilled Water Coil [AIF-MANAGED]"
|
| 397 |
+
)
|
| 398 |
+
custom float aif:spec:fanMotorPowerMax = 3.7 (
|
| 399 |
+
customData = {
|
| 400 |
+
dictionary omni = {
|
| 401 |
+
dictionary kit = {
|
| 402 |
+
bool locked = 1
|
| 403 |
+
}
|
| 404 |
+
}
|
| 405 |
+
}
|
| 406 |
+
doc = "Fan Motor, Maximum kW, Downflow, each [AIF-MANAGED]"
|
| 407 |
+
)
|
| 408 |
+
custom string aif:spec:fanType = "EC Fan" (
|
| 409 |
+
customData = {
|
| 410 |
+
dictionary omni = {
|
| 411 |
+
dictionary kit = {
|
| 412 |
+
bool locked = 1
|
| 413 |
+
}
|
| 414 |
+
}
|
| 415 |
+
}
|
| 416 |
+
doc = "Fan Type [AIF-MANAGED]"
|
| 417 |
+
)
|
| 418 |
+
custom string aif:spec:filterNominalSize = "546 X 610" (
|
| 419 |
+
customData = {
|
| 420 |
+
dictionary omni = {
|
| 421 |
+
dictionary kit = {
|
| 422 |
+
bool locked = 1
|
| 423 |
+
}
|
| 424 |
+
}
|
| 425 |
+
}
|
| 426 |
+
doc = "Nominal size of Filter, mm [AIF-MANAGED]"
|
| 427 |
+
)
|
| 428 |
+
custom int aif:spec:filterQuantity = 10 (
|
| 429 |
+
customData = {
|
| 430 |
+
dictionary omni = {
|
| 431 |
+
dictionary kit = {
|
| 432 |
+
bool locked = 1
|
| 433 |
+
}
|
| 434 |
+
}
|
| 435 |
+
}
|
| 436 |
+
doc = "Number of Filters [AIF-MANAGED]"
|
| 437 |
+
)
|
| 438 |
+
custom float aif:spec:flowRate = 0.0095 (
|
| 439 |
+
customData = {
|
| 440 |
+
dictionary omni = {
|
| 441 |
+
dictionary kit = {
|
| 442 |
+
bool locked = 1
|
| 443 |
+
}
|
| 444 |
+
}
|
| 445 |
+
}
|
| 446 |
+
doc = "Flow rate in cubic Cubic meters per second at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH [AIF-MANAGED]"
|
| 447 |
+
)
|
| 448 |
+
custom string aif:spec:highVoltageOptions = "ATS" (
|
| 449 |
+
customData = {
|
| 450 |
+
dictionary omni = {
|
| 451 |
+
dictionary kit = {
|
| 452 |
+
bool locked = 1
|
| 453 |
+
}
|
| 454 |
+
}
|
| 455 |
+
}
|
| 456 |
+
doc = "High Voltage Options [AIF-MANAGED]"
|
| 457 |
+
)
|
| 458 |
+
custom string aif:spec:hotWaterReheatOdCopperFcBlowerOnly = "" (
|
| 459 |
+
customData = {
|
| 460 |
+
dictionary omni = {
|
| 461 |
+
dictionary kit = {
|
| 462 |
+
bool locked = 1
|
| 463 |
+
}
|
| 464 |
+
}
|
| 465 |
+
}
|
| 466 |
+
doc = "Hot Water Reheat OD Copper FC Blower only [AIF-MANAGED]"
|
| 467 |
+
)
|
| 468 |
+
custom string aif:spec:humidification = "Infrared Humidifier" (
|
| 469 |
+
customData = {
|
| 470 |
+
dictionary omni = {
|
| 471 |
+
dictionary kit = {
|
| 472 |
+
bool locked = 1
|
| 473 |
+
}
|
| 474 |
+
}
|
| 475 |
+
}
|
| 476 |
+
doc = "Humidification [AIF-MANAGED]"
|
| 477 |
+
)
|
| 478 |
+
custom float aif:spec:infraredHumidifierCapacity = 9.6 (
|
| 479 |
+
customData = {
|
| 480 |
+
dictionary omni = {
|
| 481 |
+
dictionary kit = {
|
| 482 |
+
bool locked = 1
|
| 483 |
+
}
|
| 484 |
+
}
|
| 485 |
+
}
|
| 486 |
+
doc = "Infrared Humidifier Capacity in KW [AIF-MANAGED]"
|
| 487 |
+
)
|
| 488 |
+
custom float aif:spec:infraredHumidifierOd = 12.5 (
|
| 489 |
+
customData = {
|
| 490 |
+
dictionary omni = {
|
| 491 |
+
dictionary kit = {
|
| 492 |
+
bool locked = 1
|
| 493 |
+
}
|
| 494 |
+
}
|
| 495 |
+
}
|
| 496 |
+
doc = "Infrared Humidifier Copper connection size, mm [AIF-MANAGED]"
|
| 497 |
+
)
|
| 498 |
+
custom float aif:spec:maximumHp = 14.7 (
|
| 499 |
+
customData = {
|
| 500 |
+
dictionary omni = {
|
| 501 |
+
dictionary kit = {
|
| 502 |
+
bool locked = 1
|
| 503 |
+
}
|
| 504 |
+
}
|
| 505 |
+
}
|
| 506 |
+
doc = "Fan Motor Maximum horse power [AIF-MANAGED]"
|
| 507 |
+
)
|
| 508 |
+
custom int aif:spec:mbv2WayValveKv = 40 (
|
| 509 |
+
customData = {
|
| 510 |
+
dictionary omni = {
|
| 511 |
+
dictionary kit = {
|
| 512 |
+
bool locked = 1
|
| 513 |
+
}
|
| 514 |
+
}
|
| 515 |
+
}
|
| 516 |
+
doc = "Flow coefficient for the 2 way valve, Kv [AIF-MANAGED]"
|
| 517 |
+
)
|
| 518 |
+
custom int aif:spec:mbv2WayValveOptCloseOffPressure = 1379 (
|
| 519 |
+
customData = {
|
| 520 |
+
dictionary omni = {
|
| 521 |
+
dictionary kit = {
|
| 522 |
+
bool locked = 1
|
| 523 |
+
}
|
| 524 |
+
}
|
| 525 |
+
}
|
| 526 |
+
doc = "Close off pressure for MBA 2-way closse off pressure, kPA [AIF-MANAGED]"
|
| 527 |
+
)
|
| 528 |
+
custom float aif:spec:mbv3WayValveBypassKv = 36.8 (
|
| 529 |
+
customData = {
|
| 530 |
+
dictionary omni = {
|
| 531 |
+
dictionary kit = {
|
| 532 |
+
bool locked = 1
|
| 533 |
+
}
|
| 534 |
+
}
|
| 535 |
+
}
|
| 536 |
+
doc = "Flow coefficient for the 3 way bypass valve, Kv [AIF-MANAGED]"
|
| 537 |
+
)
|
| 538 |
+
custom int aif:spec:mbv3WayValveKv = 64 (
|
| 539 |
+
customData = {
|
| 540 |
+
dictionary omni = {
|
| 541 |
+
dictionary kit = {
|
| 542 |
+
bool locked = 1
|
| 543 |
+
}
|
| 544 |
+
}
|
| 545 |
+
}
|
| 546 |
+
doc = "Flow coefficient for the 3 way valve, Kv [AIF-MANAGED]"
|
| 547 |
+
)
|
| 548 |
+
custom string aif:spec:monitoring = "" (
|
| 549 |
+
customData = {
|
| 550 |
+
dictionary omni = {
|
| 551 |
+
dictionary kit = {
|
| 552 |
+
bool locked = 1
|
| 553 |
+
}
|
| 554 |
+
}
|
| 555 |
+
}
|
| 556 |
+
doc = "Monitoring Type [AIF-MANAGED]"
|
| 557 |
+
)
|
| 558 |
+
custom string aif:spec:mountStyle = "Floor Mount" (
|
| 559 |
+
customData = {
|
| 560 |
+
dictionary omni = {
|
| 561 |
+
dictionary kit = {
|
| 562 |
+
bool locked = 1
|
| 563 |
+
}
|
| 564 |
+
}
|
| 565 |
+
}
|
| 566 |
+
doc = "Mount Style: In Row, In Rack [AIF-MANAGED]"
|
| 567 |
+
)
|
| 568 |
+
custom float aif:spec:nominalAirVolume = 1.13 (
|
| 569 |
+
customData = {
|
| 570 |
+
dictionary omni = {
|
| 571 |
+
dictionary kit = {
|
| 572 |
+
bool locked = 1
|
| 573 |
+
}
|
| 574 |
+
}
|
| 575 |
+
}
|
| 576 |
+
doc = "Nominal Air Volume in Cubic meters per second [AIF-MANAGED]"
|
| 577 |
+
)
|
| 578 |
+
custom int aif:spec:nominalCoolingCapacity = 181 (
|
| 579 |
+
customData = {
|
| 580 |
+
dictionary omni = {
|
| 581 |
+
dictionary kit = {
|
| 582 |
+
bool locked = 1
|
| 583 |
+
}
|
| 584 |
+
}
|
| 585 |
+
}
|
| 586 |
+
doc = "Nominal Cooling Capacity in kW [AIF-MANAGED]"
|
| 587 |
+
)
|
| 588 |
+
custom int aif:spec:numberOfFans = 3 (
|
| 589 |
+
customData = {
|
| 590 |
+
dictionary omni = {
|
| 591 |
+
dictionary kit = {
|
| 592 |
+
bool locked = 1
|
| 593 |
+
}
|
| 594 |
+
}
|
| 595 |
+
}
|
| 596 |
+
doc = "Number of EC Fans [AIF-MANAGED]"
|
| 597 |
+
)
|
| 598 |
+
custom int aif:spec:numberOfRows = 6 (
|
| 599 |
+
customData = {
|
| 600 |
+
dictionary omni = {
|
| 601 |
+
dictionary kit = {
|
| 602 |
+
bool locked = 1
|
| 603 |
+
}
|
| 604 |
+
}
|
| 605 |
+
}
|
| 606 |
+
doc = "Number Of Rows of Chilled Water Coil [AIF-MANAGED]"
|
| 607 |
+
)
|
| 608 |
+
custom string aif:spec:pipingConnection = "Bottom" (
|
| 609 |
+
customData = {
|
| 610 |
+
dictionary omni = {
|
| 611 |
+
dictionary kit = {
|
| 612 |
+
bool locked = 1
|
| 613 |
+
}
|
| 614 |
+
}
|
| 615 |
+
}
|
| 616 |
+
doc = "Piping Connection, Top and Bottom [AIF-MANAGED]"
|
| 617 |
+
)
|
| 618 |
+
custom string aif:spec:powerSupply = "460V/3ph/60Hz" (
|
| 619 |
+
customData = {
|
| 620 |
+
dictionary omni = {
|
| 621 |
+
dictionary kit = {
|
| 622 |
+
bool locked = 1
|
| 623 |
+
}
|
| 624 |
+
}
|
| 625 |
+
}
|
| 626 |
+
doc = "Power Supply [AIF-MANAGED]"
|
| 627 |
+
)
|
| 628 |
+
custom string aif:spec:primaryControl = "Liebert iCOM Control Board" (
|
| 629 |
+
customData = {
|
| 630 |
+
dictionary omni = {
|
| 631 |
+
dictionary kit = {
|
| 632 |
+
bool locked = 1
|
| 633 |
+
}
|
| 634 |
+
}
|
| 635 |
+
}
|
| 636 |
+
doc = "Primary Control [AIF-MANAGED]"
|
| 637 |
+
)
|
| 638 |
+
custom int aif:spec:primaryPipeDiameter = 100 (
|
| 639 |
+
customData = {
|
| 640 |
+
dictionary omni = {
|
| 641 |
+
dictionary kit = {
|
| 642 |
+
bool locked = 1
|
| 643 |
+
}
|
| 644 |
+
}
|
| 645 |
+
}
|
| 646 |
+
doc = "Primary Pipe Diameter in mm [AIF-MANAGED]"
|
| 647 |
+
)
|
| 648 |
+
custom int aif:spec:returnAirVolume = 40776 (
|
| 649 |
+
customData = {
|
| 650 |
+
dictionary omni = {
|
| 651 |
+
dictionary kit = {
|
| 652 |
+
bool locked = 1
|
| 653 |
+
}
|
| 654 |
+
}
|
| 655 |
+
}
|
| 656 |
+
doc = "Return Air Volume in cubic meters/h [AIF-MANAGED]"
|
| 657 |
+
)
|
| 658 |
+
custom string aif:spec:secondaryPipeDiameter = "" (
|
| 659 |
+
customData = {
|
| 660 |
+
dictionary omni = {
|
| 661 |
+
dictionary kit = {
|
| 662 |
+
bool locked = 1
|
| 663 |
+
}
|
| 664 |
+
}
|
| 665 |
+
}
|
| 666 |
+
doc = "Secondary Pipe Diameter in mm [AIF-MANAGED]"
|
| 667 |
+
)
|
| 668 |
+
custom int aif:spec:sensibleCapacity = 179 (
|
| 669 |
+
customData = {
|
| 670 |
+
dictionary omni = {
|
| 671 |
+
dictionary kit = {
|
| 672 |
+
bool locked = 1
|
| 673 |
+
}
|
| 674 |
+
}
|
| 675 |
+
}
|
| 676 |
+
doc = "Sensible Capacity in KW at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH [AIF-MANAGED]"
|
| 677 |
+
)
|
| 678 |
+
custom string aif:spec:steamReheatMptFcBlower = "" (
|
| 679 |
+
customData = {
|
| 680 |
+
dictionary omni = {
|
| 681 |
+
dictionary kit = {
|
| 682 |
+
bool locked = 1
|
| 683 |
+
}
|
| 684 |
+
}
|
| 685 |
+
}
|
| 686 |
+
doc = "Steam Reheat MPT FC Blower Only [AIF-MANAGED]"
|
| 687 |
+
)
|
| 688 |
+
custom int aif:spec:totalCapacity = 211 (
|
| 689 |
+
customData = {
|
| 690 |
+
dictionary omni = {
|
| 691 |
+
dictionary kit = {
|
| 692 |
+
bool locked = 1
|
| 693 |
+
}
|
| 694 |
+
}
|
| 695 |
+
}
|
| 696 |
+
doc = "Total Capacity in KW at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH [AIF-MANAGED]"
|
| 697 |
+
)
|
| 698 |
+
custom float aif:spec:unitPressureDrop = 74.8 (
|
| 699 |
+
customData = {
|
| 700 |
+
dictionary omni = {
|
| 701 |
+
dictionary kit = {
|
| 702 |
+
bool locked = 1
|
| 703 |
+
}
|
| 704 |
+
}
|
| 705 |
+
}
|
| 706 |
+
doc = "Unit Pressure Drop, kPA at 297.04 K DB, 289.26 K WB, 284.26 K DP, 0.44 RH [AIF-MANAGED]"
|
| 707 |
+
)
|
| 708 |
+
custom int aif:spec:valveSize = 50 (
|
| 709 |
+
customData = {
|
| 710 |
+
dictionary omni = {
|
| 711 |
+
dictionary kit = {
|
| 712 |
+
bool locked = 1
|
| 713 |
+
}
|
| 714 |
+
}
|
| 715 |
+
}
|
| 716 |
+
doc = "Chilled Water Valve size, mm [AIF-MANAGED]"
|
| 717 |
+
)
|
| 718 |
+
custom string aif:spec:valveType = "2-way valve, high pressure" (
|
| 719 |
+
customData = {
|
| 720 |
+
dictionary omni = {
|
| 721 |
+
dictionary kit = {
|
| 722 |
+
bool locked = 1
|
| 723 |
+
}
|
| 724 |
+
}
|
| 725 |
+
}
|
| 726 |
+
doc = "Valve Type [AIF-MANAGED]"
|
| 727 |
+
)
|
| 728 |
+
}
|
| 729 |
+
|
CW181DCHA1SAEP/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 |
+
);
|
CW181DCHA1SAEP/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 |
+
);
|
CW181DCHA1SAEP/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 |
+
);
|
CW181DCHA1SAEP/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 |
+
);
|
CW181DCHA1SAEP/simready_usd/materials/Stainless_Steel_Brushed.mdl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
CW181DCHA1SAEP/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);
|
CW181DCHA1SAEP/simready_usd/payloads/.thumbs/256x256/external.usd.png
ADDED
|
|
Git LFS Details
|
CW181DCHA1SAEP/simready_usd/payloads/.thumbs/256x256/internal.usd.png
ADDED
|
|
Git LFS Details
|
CW181DCHA1SAEP/simready_usd/payloads/external.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:028266764382e097fec3d68f3c0cf9b18a050ad4449657499af636e14fab46c3
|
| 3 |
+
size 25012842
|
CW181DCHA1SAEP/simready_usd/payloads/internal.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eddfd822178efd59168a0cd3d729d7cbb1d71599bca39e4ca91f670ab6fc8cfb
|
| 3 |
+
size 13338359
|
CW181DCHA1SAEP/simready_usd/textures/screen_image.png
ADDED
|
Git LFS Details
|