deploy dishware_glass_wineWhite_b01 from nvidia/srp-staging-controlled@1e75bca83ec726d5f3a02ee9a20446190f1dae98
Browse files- dishware_glass_wineWhite_b01/.metadata/LICENSE.txt +396 -0
- dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.conformance.Package-Candidate@1.3.0.json +34 -0
- dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.conformance.Package@1.0.0.json +31 -0
- dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.packaging.bom.json +173 -0
- dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.root_usds.json +6 -0
- dishware_glass_wineWhite_b01/com.nvidia.simready.packaging.json +19 -0
- dishware_glass_wineWhite_b01/simready_usd/.simready/validation.json +153 -0
- dishware_glass_wineWhite_b01/simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda.png +3 -0
- dishware_glass_wineWhite_b01/simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda_light.png +3 -0
- dishware_glass_wineWhite_b01/simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda_transparent.png +3 -0
- dishware_glass_wineWhite_b01/simready_usd/materials/OmniPBR/OmniGlass.mdl +261 -0
- dishware_glass_wineWhite_b01/simready_usd/materials/OmniPBR/OmniGlass_Opacity.mdl +487 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/Physics/physics.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/base.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/geometries.usd +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/instances.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/instances_mujoco.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/instances_newton.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/instances_physx.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/materials.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/materials/OmniGlass.mdl +261 -0
- dishware_glass_wineWhite_b01/simready_usd/payloads/materials/OmniGlass_Opacity.mdl +487 -0
- dishware_glass_wineWhite_b01/simready_usd/runnables/physics/mujoco.usd +3 -0
- dishware_glass_wineWhite_b01/simready_usd/runnables/physics/mujoco.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/runnables/physics/newton.usd +3 -0
- dishware_glass_wineWhite_b01/simready_usd/runnables/physics/newton.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/runnables/physics/physx.usd +3 -0
- dishware_glass_wineWhite_b01/simready_usd/runnables/physics/physx.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/sm_dishware_glass_wineWhite_b01_01.usda +3 -0
- dishware_glass_wineWhite_b01/simready_usd/source_assets/OmniGlass.mdl +261 -0
dishware_glass_wineWhite_b01/.metadata/LICENSE.txt
ADDED
|
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Attribution 4.0 International
|
| 2 |
+
|
| 3 |
+
=======================================================================
|
| 4 |
+
|
| 5 |
+
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
| 6 |
+
does not provide legal services or legal advice. Distribution of
|
| 7 |
+
Creative Commons public licenses does not create a lawyer-client or
|
| 8 |
+
other relationship. Creative Commons makes its licenses and related
|
| 9 |
+
information available on an "as-is" basis. Creative Commons gives no
|
| 10 |
+
warranties regarding its licenses, any material licensed under their
|
| 11 |
+
terms and conditions, or any related information. Creative Commons
|
| 12 |
+
disclaims all liability for damages resulting from their use to the
|
| 13 |
+
fullest extent possible.
|
| 14 |
+
|
| 15 |
+
Using Creative Commons Public Licenses
|
| 16 |
+
|
| 17 |
+
Creative Commons public licenses provide a standard set of terms and
|
| 18 |
+
conditions that creators and other rights holders may use to share
|
| 19 |
+
original works of authorship and other material subject to copyright
|
| 20 |
+
and certain other rights specified in the public license below. The
|
| 21 |
+
following considerations are for informational purposes only, are not
|
| 22 |
+
exhaustive, and do not form part of our licenses.
|
| 23 |
+
|
| 24 |
+
Considerations for licensors: Our public licenses are
|
| 25 |
+
intended for use by those authorized to give the public
|
| 26 |
+
permission to use material in ways otherwise restricted by
|
| 27 |
+
copyright and certain other rights. Our licenses are
|
| 28 |
+
irrevocable. Licensors should read and understand the terms
|
| 29 |
+
and conditions of the license they choose before applying it.
|
| 30 |
+
Licensors should also secure all rights necessary before
|
| 31 |
+
applying our licenses so that the public can reuse the
|
| 32 |
+
material as expected. Licensors should clearly mark any
|
| 33 |
+
material not subject to the license. This includes other CC-
|
| 34 |
+
licensed material, or material used under an exception or
|
| 35 |
+
limitation to copyright. More considerations for licensors:
|
| 36 |
+
wiki.creativecommons.org/Considerations_for_licensors
|
| 37 |
+
|
| 38 |
+
Considerations for the public: By using one of our public
|
| 39 |
+
licenses, a licensor grants the public permission to use the
|
| 40 |
+
licensed material under specified terms and conditions. If
|
| 41 |
+
the licensor's permission is not necessary for any reason--for
|
| 42 |
+
example, because of any applicable exception or limitation to
|
| 43 |
+
copyright--then that use is not regulated by the license. Our
|
| 44 |
+
licenses grant only permissions under copyright and certain
|
| 45 |
+
other rights that a licensor has authority to grant. Use of
|
| 46 |
+
the licensed material may still be restricted for other
|
| 47 |
+
reasons, including because others have copyright or other
|
| 48 |
+
rights in the material. A licensor may make special requests,
|
| 49 |
+
such as asking that all changes be marked or described.
|
| 50 |
+
Although not required by our licenses, you are encouraged to
|
| 51 |
+
respect those requests where reasonable. More considerations
|
| 52 |
+
for the public:
|
| 53 |
+
wiki.creativecommons.org/Considerations_for_licensees
|
| 54 |
+
|
| 55 |
+
=======================================================================
|
| 56 |
+
|
| 57 |
+
Creative Commons Attribution 4.0 International Public License
|
| 58 |
+
|
| 59 |
+
By exercising the Licensed Rights (defined below), You accept and agree
|
| 60 |
+
to be bound by the terms and conditions of this Creative Commons
|
| 61 |
+
Attribution 4.0 International Public License ("Public License"). To the
|
| 62 |
+
extent this Public License may be interpreted as a contract, You are
|
| 63 |
+
granted the Licensed Rights in consideration of Your acceptance of
|
| 64 |
+
these terms and conditions, and the Licensor grants You such rights in
|
| 65 |
+
consideration of benefits the Licensor receives from making the
|
| 66 |
+
Licensed Material available under these terms and conditions.
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
Section 1 -- Definitions.
|
| 70 |
+
|
| 71 |
+
a. Adapted Material means material subject to Copyright and Similar
|
| 72 |
+
Rights that is derived from or based upon the Licensed Material
|
| 73 |
+
and in which the Licensed Material is translated, altered,
|
| 74 |
+
arranged, transformed, or otherwise modified in a manner requiring
|
| 75 |
+
permission under the Copyright and Similar Rights held by the
|
| 76 |
+
Licensor. For purposes of this Public License, where the Licensed
|
| 77 |
+
Material is a musical work, performance, or sound recording,
|
| 78 |
+
Adapted Material is always produced where the Licensed Material is
|
| 79 |
+
synched in timed relation with a moving image.
|
| 80 |
+
|
| 81 |
+
b. Adapter's License means the license You apply to Your Copyright
|
| 82 |
+
and Similar Rights in Your contributions to Adapted Material in
|
| 83 |
+
accordance with the terms and conditions of this Public License.
|
| 84 |
+
|
| 85 |
+
c. Copyright and Similar Rights means copyright and/or similar rights
|
| 86 |
+
closely related to copyright including, without limitation,
|
| 87 |
+
performance, broadcast, sound recording, and Sui Generis Database
|
| 88 |
+
Rights, without regard to how the rights are labeled or
|
| 89 |
+
categorized. For purposes of this Public License, the rights
|
| 90 |
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
| 91 |
+
Rights.
|
| 92 |
+
|
| 93 |
+
d. Effective Technological Measures means those measures that, in the
|
| 94 |
+
absence of proper authority, may not be circumvented under laws
|
| 95 |
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
| 96 |
+
Treaty adopted on December 20, 1996, and/or similar international
|
| 97 |
+
agreements.
|
| 98 |
+
|
| 99 |
+
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
| 100 |
+
any other exception or limitation to Copyright and Similar Rights
|
| 101 |
+
that applies to Your use of the Licensed Material.
|
| 102 |
+
|
| 103 |
+
f. Licensed Material means the artistic or literary work, database,
|
| 104 |
+
or other material to which the Licensor applied this Public
|
| 105 |
+
License.
|
| 106 |
+
|
| 107 |
+
g. Licensed Rights means the rights granted to You subject to the
|
| 108 |
+
terms and conditions of this Public License, which are limited to
|
| 109 |
+
all Copyright and Similar Rights that apply to Your use of the
|
| 110 |
+
Licensed Material and that the Licensor has authority to license.
|
| 111 |
+
|
| 112 |
+
h. Licensor means the individual(s) or entity(ies) granting rights
|
| 113 |
+
under this Public License.
|
| 114 |
+
|
| 115 |
+
i. Share means to provide material to the public by any means or
|
| 116 |
+
process that requires permission under the Licensed Rights, such
|
| 117 |
+
as reproduction, public display, public performance, distribution,
|
| 118 |
+
dissemination, communication, or importation, and to make material
|
| 119 |
+
available to the public including in ways that members of the
|
| 120 |
+
public may access the material from a place and at a time
|
| 121 |
+
individually chosen by them.
|
| 122 |
+
|
| 123 |
+
j. Sui Generis Database Rights means rights other than copyright
|
| 124 |
+
resulting from Directive 96/9/EC of the European Parliament and of
|
| 125 |
+
the Council of 11 March 1996 on the legal protection of databases,
|
| 126 |
+
as amended and/or succeeded, as well as other essentially
|
| 127 |
+
equivalent rights anywhere in the world.
|
| 128 |
+
|
| 129 |
+
k. You means the individual or entity exercising the Licensed Rights
|
| 130 |
+
under this Public License. Your has a corresponding meaning.
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
Section 2 -- Scope.
|
| 134 |
+
|
| 135 |
+
a. License grant.
|
| 136 |
+
|
| 137 |
+
1. Subject to the terms and conditions of this Public License,
|
| 138 |
+
the Licensor hereby grants You a worldwide, royalty-free,
|
| 139 |
+
non-sublicensable, non-exclusive, irrevocable license to
|
| 140 |
+
exercise the Licensed Rights in the Licensed Material to:
|
| 141 |
+
|
| 142 |
+
a. reproduce and Share the Licensed Material, in whole or
|
| 143 |
+
in part; and
|
| 144 |
+
|
| 145 |
+
b. produce, reproduce, and Share Adapted Material.
|
| 146 |
+
|
| 147 |
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
| 148 |
+
Exceptions and Limitations apply to Your use, this Public
|
| 149 |
+
License does not apply, and You do not need to comply with
|
| 150 |
+
its terms and conditions.
|
| 151 |
+
|
| 152 |
+
3. Term. The term of this Public License is specified in Section
|
| 153 |
+
6(a).
|
| 154 |
+
|
| 155 |
+
4. Media and formats; technical modifications allowed. The
|
| 156 |
+
Licensor authorizes You to exercise the Licensed Rights in
|
| 157 |
+
all media and formats whether now known or hereafter created,
|
| 158 |
+
and to make technical modifications necessary to do so. The
|
| 159 |
+
Licensor waives and/or agrees not to assert any right or
|
| 160 |
+
authority to forbid You from making technical modifications
|
| 161 |
+
necessary to exercise the Licensed Rights, including
|
| 162 |
+
technical modifications necessary to circumvent Effective
|
| 163 |
+
Technological Measures. For purposes of this Public License,
|
| 164 |
+
simply making modifications authorized by this Section 2(a)
|
| 165 |
+
(4) never produces Adapted Material.
|
| 166 |
+
|
| 167 |
+
5. Downstream recipients.
|
| 168 |
+
|
| 169 |
+
a. Offer from the Licensor -- Licensed Material. Every
|
| 170 |
+
recipient of the Licensed Material automatically
|
| 171 |
+
receives an offer from the Licensor to exercise the
|
| 172 |
+
Licensed Rights under the terms and conditions of this
|
| 173 |
+
Public License.
|
| 174 |
+
|
| 175 |
+
b. No downstream restrictions. You may not offer or impose
|
| 176 |
+
any additional or different terms or conditions on, or
|
| 177 |
+
apply any Effective Technological Measures to, the
|
| 178 |
+
Licensed Material if doing so restricts exercise of the
|
| 179 |
+
Licensed Rights by any recipient of the Licensed
|
| 180 |
+
Material.
|
| 181 |
+
|
| 182 |
+
6. No endorsement. Nothing in this Public License constitutes or
|
| 183 |
+
may be construed as permission to assert or imply that You
|
| 184 |
+
are, or that Your use of the Licensed Material is, connected
|
| 185 |
+
with, or sponsored, endorsed, or granted official status by,
|
| 186 |
+
the Licensor or others designated to receive attribution as
|
| 187 |
+
provided in Section 3(a)(1)(A)(i).
|
| 188 |
+
|
| 189 |
+
b. Other rights.
|
| 190 |
+
|
| 191 |
+
1. Moral rights, such as the right of integrity, are not
|
| 192 |
+
licensed under this Public License, nor are publicity,
|
| 193 |
+
privacy, and/or other similar personality rights; however, to
|
| 194 |
+
the extent possible, the Licensor waives and/or agrees not to
|
| 195 |
+
assert any such rights held by the Licensor to the limited
|
| 196 |
+
extent necessary to allow You to exercise the Licensed
|
| 197 |
+
Rights, but not otherwise.
|
| 198 |
+
|
| 199 |
+
2. Patent and trademark rights are not licensed under this
|
| 200 |
+
Public License.
|
| 201 |
+
|
| 202 |
+
3. To the extent possible, the Licensor waives any right to
|
| 203 |
+
collect royalties from You for the exercise of the Licensed
|
| 204 |
+
Rights, whether directly or through a collecting society
|
| 205 |
+
under any voluntary or waivable statutory or compulsory
|
| 206 |
+
licensing scheme. In all other cases the Licensor expressly
|
| 207 |
+
reserves any right to collect such royalties.
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
Section 3 -- License Conditions.
|
| 211 |
+
|
| 212 |
+
Your exercise of the Licensed Rights is expressly made subject to the
|
| 213 |
+
following conditions.
|
| 214 |
+
|
| 215 |
+
a. Attribution.
|
| 216 |
+
|
| 217 |
+
1. If You Share the Licensed Material (including in modified
|
| 218 |
+
form), You must:
|
| 219 |
+
|
| 220 |
+
a. retain the following if it is supplied by the Licensor
|
| 221 |
+
with the Licensed Material:
|
| 222 |
+
|
| 223 |
+
i. identification of the creator(s) of the Licensed
|
| 224 |
+
Material and any others designated to receive
|
| 225 |
+
attribution, in any reasonable manner requested by
|
| 226 |
+
the Licensor (including by pseudonym if
|
| 227 |
+
designated);
|
| 228 |
+
|
| 229 |
+
ii. a copyright notice;
|
| 230 |
+
|
| 231 |
+
iii. a notice that refers to this Public License;
|
| 232 |
+
|
| 233 |
+
iv. a notice that refers to the disclaimer of
|
| 234 |
+
warranties;
|
| 235 |
+
|
| 236 |
+
v. a URI or hyperlink to the Licensed Material to the
|
| 237 |
+
extent reasonably practicable;
|
| 238 |
+
|
| 239 |
+
b. indicate if You modified the Licensed Material and
|
| 240 |
+
retain an indication of any previous modifications; and
|
| 241 |
+
|
| 242 |
+
c. indicate the Licensed Material is licensed under this
|
| 243 |
+
Public License, and include the text of, or the URI or
|
| 244 |
+
hyperlink to, this Public License.
|
| 245 |
+
|
| 246 |
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
| 247 |
+
reasonable manner based on the medium, means, and context in
|
| 248 |
+
which You Share the Licensed Material. For example, it may be
|
| 249 |
+
reasonable to satisfy the conditions by providing a URI or
|
| 250 |
+
hyperlink to a resource that includes the required
|
| 251 |
+
information.
|
| 252 |
+
|
| 253 |
+
3. If requested by the Licensor, You must remove any of the
|
| 254 |
+
information required by Section 3(a)(1)(A) to the extent
|
| 255 |
+
reasonably practicable.
|
| 256 |
+
|
| 257 |
+
4. If You Share Adapted Material You produce, the Adapter's
|
| 258 |
+
License You apply must not prevent recipients of the Adapted
|
| 259 |
+
Material from complying with this Public License.
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
Section 4 -- Sui Generis Database Rights.
|
| 263 |
+
|
| 264 |
+
Where the Licensed Rights include Sui Generis Database Rights that
|
| 265 |
+
apply to Your use of the Licensed Material:
|
| 266 |
+
|
| 267 |
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
| 268 |
+
to extract, reuse, reproduce, and Share all or a substantial
|
| 269 |
+
portion of the contents of the database;
|
| 270 |
+
|
| 271 |
+
b. if You include all or a substantial portion of the database
|
| 272 |
+
contents in a database in which You have Sui Generis Database
|
| 273 |
+
Rights, then the database in which You have Sui Generis Database
|
| 274 |
+
Rights (but not its individual contents) is Adapted Material; and
|
| 275 |
+
|
| 276 |
+
c. You must comply with the conditions in Section 3(a) if You Share
|
| 277 |
+
all or a substantial portion of the contents of the database.
|
| 278 |
+
|
| 279 |
+
For the avoidance of doubt, this Section 4 supplements and does not
|
| 280 |
+
replace Your obligations under this Public License where the Licensed
|
| 281 |
+
Rights include other Copyright and Similar Rights.
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
| 285 |
+
|
| 286 |
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
| 287 |
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
| 288 |
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
| 289 |
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
| 290 |
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
| 291 |
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
| 292 |
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
| 293 |
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
| 294 |
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
| 295 |
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
| 296 |
+
|
| 297 |
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
| 298 |
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
| 299 |
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
| 300 |
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
| 301 |
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
| 302 |
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
| 303 |
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
| 304 |
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
| 305 |
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
| 306 |
+
|
| 307 |
+
c. The disclaimer of warranties and limitation of liability provided
|
| 308 |
+
above shall be interpreted in a manner that, to the extent
|
| 309 |
+
possible, most closely approximates an absolute disclaimer and
|
| 310 |
+
waiver of all liability.
|
| 311 |
+
|
| 312 |
+
|
| 313 |
+
Section 6 -- Term and Termination.
|
| 314 |
+
|
| 315 |
+
a. This Public License applies for the term of the Copyright and
|
| 316 |
+
Similar Rights licensed here. However, if You fail to comply with
|
| 317 |
+
this Public License, then Your rights under this Public License
|
| 318 |
+
terminate automatically.
|
| 319 |
+
|
| 320 |
+
b. Where Your right to use the Licensed Material has terminated under
|
| 321 |
+
Section 6(a), it reinstates:
|
| 322 |
+
|
| 323 |
+
1. automatically as of the date the violation is cured, provided
|
| 324 |
+
it is cured within 30 days of Your discovery of the
|
| 325 |
+
violation; or
|
| 326 |
+
|
| 327 |
+
2. upon express reinstatement by the Licensor.
|
| 328 |
+
|
| 329 |
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
| 330 |
+
right the Licensor may have to seek remedies for Your violations
|
| 331 |
+
of this Public License.
|
| 332 |
+
|
| 333 |
+
c. For the avoidance of doubt, the Licensor may also offer the
|
| 334 |
+
Licensed Material under separate terms or conditions or stop
|
| 335 |
+
distributing the Licensed Material at any time; however, doing so
|
| 336 |
+
will not terminate this Public License.
|
| 337 |
+
|
| 338 |
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
| 339 |
+
License.
|
| 340 |
+
|
| 341 |
+
|
| 342 |
+
Section 7 -- Other Terms and Conditions.
|
| 343 |
+
|
| 344 |
+
a. The Licensor shall not be bound by any additional or different
|
| 345 |
+
terms or conditions communicated by You unless expressly agreed.
|
| 346 |
+
|
| 347 |
+
b. Any arrangements, understandings, or agreements regarding the
|
| 348 |
+
Licensed Material not stated herein are separate from and
|
| 349 |
+
independent of the terms and conditions of this Public License.
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
Section 8 -- Interpretation.
|
| 353 |
+
|
| 354 |
+
a. For the avoidance of doubt, this Public License does not, and
|
| 355 |
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
| 356 |
+
conditions on any use of the Licensed Material that could lawfully
|
| 357 |
+
be made without permission under this Public License.
|
| 358 |
+
|
| 359 |
+
b. To the extent possible, if any provision of this Public License is
|
| 360 |
+
deemed unenforceable, it shall be automatically reformed to the
|
| 361 |
+
minimum extent necessary to make it enforceable. If the provision
|
| 362 |
+
cannot be reformed, it shall be severed from this Public License
|
| 363 |
+
without affecting the enforceability of the remaining terms and
|
| 364 |
+
conditions.
|
| 365 |
+
|
| 366 |
+
c. No term or condition of this Public License will be waived and no
|
| 367 |
+
failure to comply consented to unless expressly agreed to by the
|
| 368 |
+
Licensor.
|
| 369 |
+
|
| 370 |
+
d. Nothing in this Public License constitutes or may be interpreted
|
| 371 |
+
as a limitation upon, or waiver of, any privileges and immunities
|
| 372 |
+
that apply to the Licensor or You, including from the legal
|
| 373 |
+
processes of any jurisdiction or authority.
|
| 374 |
+
|
| 375 |
+
|
| 376 |
+
=======================================================================
|
| 377 |
+
|
| 378 |
+
Creative Commons is not a party to its public
|
| 379 |
+
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
| 380 |
+
its public licenses to material it publishes and in those instances
|
| 381 |
+
will be considered the “Licensor.” The text of the Creative Commons
|
| 382 |
+
public licenses is dedicated to the public domain under the CC0 Public
|
| 383 |
+
Domain Dedication. Except for the limited purpose of indicating that
|
| 384 |
+
material is shared under a Creative Commons public license or as
|
| 385 |
+
otherwise permitted by the Creative Commons policies published at
|
| 386 |
+
creativecommons.org/policies, Creative Commons does not authorize the
|
| 387 |
+
use of the trademark "Creative Commons" or any other trademark or logo
|
| 388 |
+
of Creative Commons without its prior written consent including,
|
| 389 |
+
without limitation, in connection with any unauthorized modifications
|
| 390 |
+
to any of its public licenses or any other arrangements,
|
| 391 |
+
understandings, or agreements concerning use of licensed material. For
|
| 392 |
+
the avoidance of doubt, this paragraph does not form part of the
|
| 393 |
+
public licenses.
|
| 394 |
+
|
| 395 |
+
Creative Commons may be contacted at creativecommons.org.
|
| 396 |
+
|
dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.conformance.Package-Candidate@1.3.0.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"profile": "Package-Candidate",
|
| 4 |
+
"profile_version": "1.3.0",
|
| 5 |
+
"timestamp": "2026-11-11T17:27:55",
|
| 6 |
+
"assets": [
|
| 7 |
+
{
|
| 8 |
+
"asset": "simready_usd/sm_dishware_glass_wineWhite_b01_01.usda",
|
| 9 |
+
"features": [
|
| 10 |
+
{
|
| 11 |
+
"CAP031_SelfContainedPackage.OpenUSD.0-1-0": {
|
| 12 |
+
"version": "0-1-0",
|
| 13 |
+
"passed": true,
|
| 14 |
+
"failing_requirements": [],
|
| 15 |
+
"dependencies": []
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"CAP033_SimReadyPackage.OpenUSD.0-4-0": {
|
| 20 |
+
"version": "0-4-0",
|
| 21 |
+
"passed": true,
|
| 22 |
+
"failing_requirements": [],
|
| 23 |
+
"dependencies": [
|
| 24 |
+
"CAP031_SelfContainedPackage.OpenUSD.0-1-0"
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
],
|
| 31 |
+
"content_hash": {
|
| 32 |
+
"sha256": "0198ab31adfb263fbd497465f8a5c3aa4253a73ea6d7c97113f19a37c5cdfafc"
|
| 33 |
+
}
|
| 34 |
+
}
|
dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.conformance.Package@1.0.0.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"profile": "Package",
|
| 4 |
+
"profile_version": "1.0.0",
|
| 5 |
+
"timestamp": "2026-11-11T17:27:55",
|
| 6 |
+
"assets": [
|
| 7 |
+
{
|
| 8 |
+
"asset": "com.nvidia.simready.packaging.json",
|
| 9 |
+
"features": [
|
| 10 |
+
{
|
| 11 |
+
"CAP030_PackagingCore.OpenUSD.0-1-0": {
|
| 12 |
+
"version": "0.0.0",
|
| 13 |
+
"passed": true,
|
| 14 |
+
"failing_requirements": [],
|
| 15 |
+
"dependencies": []
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"CAP032_PackagingIntrospection.OpenUSD.0-1-0": {
|
| 20 |
+
"version": "0.0.0",
|
| 21 |
+
"passed": true,
|
| 22 |
+
"failing_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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"items": [
|
| 4 |
+
{
|
| 5 |
+
"relative_path": "simready_usd/sm_dishware_glass_wineWhite_b01_01.usda",
|
| 6 |
+
"size": 11501,
|
| 7 |
+
"hash": {
|
| 8 |
+
"sha256": "48ff70ae9af2875203c537a99fed49a794c01a4c7a491863b27fded8f558b9e4"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"relative_path": "simready_usd/.simready/validation.json",
|
| 13 |
+
"size": 4697,
|
| 14 |
+
"hash": {
|
| 15 |
+
"sha256": "acf8a6fd8a9dc92ff1283398f24cfd1fcecb23bfe7948fa7d49e8ea50ba5beb1"
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"relative_path": "simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda.png",
|
| 20 |
+
"size": 416635,
|
| 21 |
+
"hash": {
|
| 22 |
+
"sha256": "2427e6de246a814c3a2a18c587288ee778262db95f33acd87e1870fbaec30e18"
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"relative_path": "simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda_light.png",
|
| 27 |
+
"size": 116417,
|
| 28 |
+
"hash": {
|
| 29 |
+
"sha256": "a71af482cd56f3bf51834bb0fc555b02bbe9773a3acca9a3a54cfe283c0d0be4"
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"relative_path": "simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda_transparent.png",
|
| 34 |
+
"size": 105447,
|
| 35 |
+
"hash": {
|
| 36 |
+
"sha256": "987ee9d9c14cac4a36d47b1d2f8579c075e051b36a28beaa2d145c1838c070d8"
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"relative_path": "simready_usd/materials/OmniPBR/OmniGlass.mdl",
|
| 41 |
+
"size": 10205,
|
| 42 |
+
"hash": {
|
| 43 |
+
"sha256": "31a93eda2387572db4930a8b22f51e100716809e859505c97b82a17ac43d1e30"
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"relative_path": "simready_usd/materials/OmniPBR/OmniGlass_Opacity.mdl",
|
| 48 |
+
"size": 17706,
|
| 49 |
+
"hash": {
|
| 50 |
+
"sha256": "b6110a46bb9e8cd94f20cf7d78992f6f81cd5546bbab277cf950256faae80261"
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"relative_path": "simready_usd/payloads/base.usda",
|
| 55 |
+
"size": 5614,
|
| 56 |
+
"hash": {
|
| 57 |
+
"sha256": "ba5a5c1c5dc8194ab837cc047cbdea8728cc7e436b9665826dbeddb481864300"
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"relative_path": "simready_usd/payloads/geometries.usd",
|
| 62 |
+
"size": 572261,
|
| 63 |
+
"hash": {
|
| 64 |
+
"sha256": "90fab7616b0e46d119b87acb5c8337835b596e8096113a87387f1a4653cde2d4"
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"relative_path": "simready_usd/payloads/instances.usda",
|
| 69 |
+
"size": 2449,
|
| 70 |
+
"hash": {
|
| 71 |
+
"sha256": "52cdd5e5259f3d69e240c208244d97f2b2a49ce020f5ff668928fe0025e14908"
|
| 72 |
+
}
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"relative_path": "simready_usd/payloads/instances_mujoco.usda",
|
| 76 |
+
"size": 2618,
|
| 77 |
+
"hash": {
|
| 78 |
+
"sha256": "efa1435b02b0cae56b0a29d7f65feeaff679cd239837e5e3f8f614f573274661"
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"relative_path": "simready_usd/payloads/instances_newton.usda",
|
| 83 |
+
"size": 2522,
|
| 84 |
+
"hash": {
|
| 85 |
+
"sha256": "1cff861776318db57eef21722dd391da9393f8c724429ca21e37e87eb0640da9"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"relative_path": "simready_usd/payloads/instances_physx.usda",
|
| 90 |
+
"size": 2510,
|
| 91 |
+
"hash": {
|
| 92 |
+
"sha256": "8187319502e45195e78a73b41ece6145e375821186c3556dd6a8b22d050b0bb6"
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"relative_path": "simready_usd/payloads/materials.usda",
|
| 97 |
+
"size": 3721,
|
| 98 |
+
"hash": {
|
| 99 |
+
"sha256": "ded87164ec784c40540dd76ddcde871ba6d383261450c741aef0e2eeecc657be"
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"relative_path": "simready_usd/payloads/Physics/physics.usda",
|
| 104 |
+
"size": 1840,
|
| 105 |
+
"hash": {
|
| 106 |
+
"sha256": "647042484a91d78742fd9bd00d33b14a5476707e08d9ecb4ff70d15d9c2b6fc2"
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"relative_path": "simready_usd/payloads/materials/OmniGlass.mdl",
|
| 111 |
+
"size": 10205,
|
| 112 |
+
"hash": {
|
| 113 |
+
"sha256": "31a93eda2387572db4930a8b22f51e100716809e859505c97b82a17ac43d1e30"
|
| 114 |
+
}
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"relative_path": "simready_usd/payloads/materials/OmniGlass_Opacity.mdl",
|
| 118 |
+
"size": 17706,
|
| 119 |
+
"hash": {
|
| 120 |
+
"sha256": "b6110a46bb9e8cd94f20cf7d78992f6f81cd5546bbab277cf950256faae80261"
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"relative_path": "simready_usd/runnables/physics/mujoco.usd",
|
| 125 |
+
"size": 1997,
|
| 126 |
+
"hash": {
|
| 127 |
+
"sha256": "b6ed153672ba9c73742ee8be5142b4f713545990a873bbf2a2309937395abd55"
|
| 128 |
+
}
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"relative_path": "simready_usd/runnables/physics/mujoco.usda",
|
| 132 |
+
"size": 559,
|
| 133 |
+
"hash": {
|
| 134 |
+
"sha256": "97444821a2c35d93cbae6b23fd8c30833bd517c2c1842455c25f586bbc70d36f"
|
| 135 |
+
}
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"relative_path": "simready_usd/runnables/physics/physx.usd",
|
| 139 |
+
"size": 1738,
|
| 140 |
+
"hash": {
|
| 141 |
+
"sha256": "7a278dde8d20b3df07088c610a5ea775a9d6a7317015486e450a6b3cace1d634"
|
| 142 |
+
}
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"relative_path": "simready_usd/runnables/physics/newton.usda",
|
| 146 |
+
"size": 662,
|
| 147 |
+
"hash": {
|
| 148 |
+
"sha256": "e4897f94c946b7d216ab35fe58e7d0d5f7bfce5e2c3d90d30421ae293a151df3"
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"relative_path": "simready_usd/runnables/physics/newton.usd",
|
| 153 |
+
"size": 2019,
|
| 154 |
+
"hash": {
|
| 155 |
+
"sha256": "4196962252fa578e9e309b2479c3715592e8439a39f8acb93360029f9e132a11"
|
| 156 |
+
}
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"relative_path": "simready_usd/runnables/physics/physx.usda",
|
| 160 |
+
"size": 438,
|
| 161 |
+
"hash": {
|
| 162 |
+
"sha256": "ba0efb429abeb686137dc63488ea7435e2acb61dc063a2fe57dc22b0296cb8e2"
|
| 163 |
+
}
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"relative_path": "simready_usd/source_assets/OmniGlass.mdl",
|
| 167 |
+
"size": 10205,
|
| 168 |
+
"hash": {
|
| 169 |
+
"sha256": "31a93eda2387572db4930a8b22f51e100716809e859505c97b82a17ac43d1e30"
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
]
|
| 173 |
+
}
|
dishware_glass_wineWhite_b01/.metadata/com.nvidia.simready.root_usds.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"entries": [
|
| 4 |
+
"simready_usd/sm_dishware_glass_wineWhite_b01_01.usda"
|
| 5 |
+
]
|
| 6 |
+
}
|
dishware_glass_wineWhite_b01/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.nvidia.simready-assets.dishware_glass_wineWhite_b01.2026.11.11_172755068097",
|
| 4 |
+
"license": "CC-BY-4.0",
|
| 5 |
+
"metadata": [
|
| 6 |
+
{
|
| 7 |
+
"name": "com.nvidia.simready.packaging.bom.json",
|
| 8 |
+
"hash": {
|
| 9 |
+
"sha256": "fdcb502e73c1f7b21875dc8996679985ebcbc948c197b20ae1b81bb484b5aec9"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"content_hash": {
|
| 14 |
+
"sha256": "0198ab31adf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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"profile": "Robotics-Prop",
|
| 3 |
+
"profile_version": "3.2.0",
|
| 4 |
+
"validated_features": {
|
| 5 |
+
"2026-11-11": {
|
| 6 |
+
"FET_000_MUJOCO": {
|
| 7 |
+
"blocking_failure": false,
|
| 8 |
+
"dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
|
| 9 |
+
"optional requirements": "['com.nvidia.simready.RV.010']",
|
| 10 |
+
"passed": false,
|
| 11 |
+
"version": "0.1.0"
|
| 12 |
+
},
|
| 13 |
+
"FET_000_NEWTON": {
|
| 14 |
+
"blocking_failure": false,
|
| 15 |
+
"dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
|
| 16 |
+
"optional requirements": "['com.nvidia.simready.RV.010']",
|
| 17 |
+
"passed": false,
|
| 18 |
+
"version": "0.1.0"
|
| 19 |
+
},
|
| 20 |
+
"FET_000_PHYSX": {
|
| 21 |
+
"blocking_failure": false,
|
| 22 |
+
"dependencies": "[{'FET_000_STANDARD': {'version': '0.1.0'}}]",
|
| 23 |
+
"optional requirements": "['com.nvidia.simready.RV.010']",
|
| 24 |
+
"passed": false,
|
| 25 |
+
"version": "0.1.0"
|
| 26 |
+
},
|
| 27 |
+
"FET_000_STANDARD": {
|
| 28 |
+
"blocking_failure": false,
|
| 29 |
+
"dependencies": "[]",
|
| 30 |
+
"passed": true,
|
| 31 |
+
"version": "0.1.0"
|
| 32 |
+
},
|
| 33 |
+
"FET_001_STANDARD": {
|
| 34 |
+
"blocking_failure": false,
|
| 35 |
+
"dependencies": "[]",
|
| 36 |
+
"passed": true,
|
| 37 |
+
"version": "1.0.1"
|
| 38 |
+
},
|
| 39 |
+
"FET_003_MUJOCO": {
|
| 40 |
+
"blocking_failure": false,
|
| 41 |
+
"dependencies": "[]",
|
| 42 |
+
"passed": true,
|
| 43 |
+
"version": "0.1.0"
|
| 44 |
+
},
|
| 45 |
+
"FET_003_NEWTON": {
|
| 46 |
+
"blocking_failure": false,
|
| 47 |
+
"dependencies": "[]",
|
| 48 |
+
"passed": true,
|
| 49 |
+
"version": "0.1.0"
|
| 50 |
+
},
|
| 51 |
+
"FET_003_PHYSX": {
|
| 52 |
+
"blocking_failure": false,
|
| 53 |
+
"dependencies": "[]",
|
| 54 |
+
"passed": true,
|
| 55 |
+
"version": "0.4.0"
|
| 56 |
+
},
|
| 57 |
+
"FET_003_STANDARD": {
|
| 58 |
+
"blocking_failure": false,
|
| 59 |
+
"dependencies": "[]",
|
| 60 |
+
"passed": true,
|
| 61 |
+
"version": "0.2.0"
|
| 62 |
+
},
|
| 63 |
+
"FET_004_MUJOCO": {
|
| 64 |
+
"blocking_failure": false,
|
| 65 |
+
"dependencies": "[{'FET_003_MUJOCO': {'version': '0.1.0'}}]",
|
| 66 |
+
"optional requirements": "['com.nvidia.simready.RB.MB.001']",
|
| 67 |
+
"passed": false,
|
| 68 |
+
"version": "0.1.0"
|
| 69 |
+
},
|
| 70 |
+
"FET_004_NEWTON": {
|
| 71 |
+
"blocking_failure": false,
|
| 72 |
+
"dependencies": "[{'FET_003_NEWTON': {'version': '0.1.0'}}]",
|
| 73 |
+
"optional requirements": "['com.nvidia.simready.RB.MB.001']",
|
| 74 |
+
"passed": false,
|
| 75 |
+
"version": "0.1.0"
|
| 76 |
+
},
|
| 77 |
+
"FET_004_PHYSX": {
|
| 78 |
+
"blocking_failure": false,
|
| 79 |
+
"dependencies": "[{'FET_003_PHYSX': {'version': '0.4.0'}}]",
|
| 80 |
+
"optional requirements": "['com.nvidia.simready.RB.MB.001']",
|
| 81 |
+
"passed": false,
|
| 82 |
+
"version": "0.4.0"
|
| 83 |
+
},
|
| 84 |
+
"FET_004_STANDARD": {
|
| 85 |
+
"blocking_failure": false,
|
| 86 |
+
"dependencies": "[{'FET_003_STANDARD': {'version': '0.2.0'}}]",
|
| 87 |
+
"optional requirements": "['com.nvidia.simready.RB.MB.001']",
|
| 88 |
+
"passed": false,
|
| 89 |
+
"version": "0.2.0"
|
| 90 |
+
},
|
| 91 |
+
"FET_005_STANDARD": {
|
| 92 |
+
"blocking_failure": false,
|
| 93 |
+
"dependencies": "[]",
|
| 94 |
+
"passed": true,
|
| 95 |
+
"version": "0.1.0"
|
| 96 |
+
},
|
| 97 |
+
"FET_006_MDL": {
|
| 98 |
+
"blocking_failure": false,
|
| 99 |
+
"dependencies": "[]",
|
| 100 |
+
"passed": true,
|
| 101 |
+
"version": "0.1.0"
|
| 102 |
+
},
|
| 103 |
+
"FET_006_STANDARD": {
|
| 104 |
+
"blocking_failure": false,
|
| 105 |
+
"dependencies": "[]",
|
| 106 |
+
"passed": true,
|
| 107 |
+
"version": "0.1.0"
|
| 108 |
+
},
|
| 109 |
+
"FET_007_STANDARD": {
|
| 110 |
+
"blocking_failure": false,
|
| 111 |
+
"dependencies": "[]",
|
| 112 |
+
"passed": true,
|
| 113 |
+
"version": "0.2.0"
|
| 114 |
+
},
|
| 115 |
+
"FET_011_RTX": {
|
| 116 |
+
"blocking_failure": false,
|
| 117 |
+
"dependencies": "[{'FET_011_STANDARD': {'version': '0.2.0'}}]",
|
| 118 |
+
"passed": true,
|
| 119 |
+
"version": "0.1.0"
|
| 120 |
+
},
|
| 121 |
+
"FET_011_STANDARD": {
|
| 122 |
+
"blocking_failure": false,
|
| 123 |
+
"dependencies": "[]",
|
| 124 |
+
"passed": true,
|
| 125 |
+
"version": "0.2.0"
|
| 126 |
+
},
|
| 127 |
+
"FET_031_STANDARD": {
|
| 128 |
+
"blocking_failure": false,
|
| 129 |
+
"dependencies": "[]",
|
| 130 |
+
"passed": true,
|
| 131 |
+
"version": "0.1.0"
|
| 132 |
+
},
|
| 133 |
+
"FET_033_STANDARD": {
|
| 134 |
+
"blocking_failure": false,
|
| 135 |
+
"dependencies": "[{'FET_031_STANDARD': {'version': '0.1.0'}}]",
|
| 136 |
+
"passed": true,
|
| 137 |
+
"version": "0.3.0"
|
| 138 |
+
},
|
| 139 |
+
"FET_046_STANDARD": {
|
| 140 |
+
"blocking_failure": false,
|
| 141 |
+
"dependencies": "[{'FET_011_STANDARD': {'version': '0.2.0'}}]",
|
| 142 |
+
"passed": true,
|
| 143 |
+
"version": "0.1.0"
|
| 144 |
+
},
|
| 145 |
+
"FET_100_ISAAC": {
|
| 146 |
+
"blocking_failure": false,
|
| 147 |
+
"dependencies": "[{'FET_003_PHYSX': {'version': '0.4.0'}}]",
|
| 148 |
+
"passed": true,
|
| 149 |
+
"version": "0.4.0"
|
| 150 |
+
}
|
| 151 |
+
}
|
| 152 |
+
}
|
| 153 |
+
}
|
dishware_glass_wineWhite_b01/simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda.png
ADDED
|
|
Git LFS Details
|
dishware_glass_wineWhite_b01/simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda_light.png
ADDED
|
|
Git LFS Details
|
dishware_glass_wineWhite_b01/simready_usd/.thumbs/256x256/sm_dishware_glass_wineWhite_b01_01.usda_transparent.png
ADDED
|
|
Git LFS Details
|
dishware_glass_wineWhite_b01/simready_usd/materials/OmniPBR/OmniGlass.mdl
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
mdl 1.7;
|
| 30 |
+
import ::anno::*;
|
| 31 |
+
import ::base::*;
|
| 32 |
+
import ::tex::*;
|
| 33 |
+
|
| 34 |
+
using OmniGlass_Opacity import OmniGlass_Opacity;
|
| 35 |
+
export annotation distill_off();
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
export material OmniGlass
|
| 39 |
+
(
|
| 40 |
+
color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
|
| 41 |
+
[[
|
| 42 |
+
anno::hidden(),
|
| 43 |
+
anno::unused()
|
| 44 |
+
]],
|
| 45 |
+
uniform bool use_glass_color_texture = false
|
| 46 |
+
[[
|
| 47 |
+
anno::hidden(),
|
| 48 |
+
anno::unused()
|
| 49 |
+
]],
|
| 50 |
+
uniform color glass_color = color(1.f, 1.f, 1.f)
|
| 51 |
+
[[
|
| 52 |
+
anno::display_name("Glass Color"),
|
| 53 |
+
anno::description("Sets the color of the glass"),
|
| 54 |
+
anno::hard_range(color(0.0), color(1.0)),
|
| 55 |
+
anno::in_group("Color")
|
| 56 |
+
]],
|
| 57 |
+
uniform texture_2d glass_color_texture = texture_2d()
|
| 58 |
+
[[
|
| 59 |
+
anno::display_name("Glass Color Texture"),
|
| 60 |
+
anno::description("Specifies the texture to be used for the glass color of the material"),
|
| 61 |
+
anno::in_group("Color")
|
| 62 |
+
]],
|
| 63 |
+
float frosting_roughness = 0.f
|
| 64 |
+
[[
|
| 65 |
+
anno::display_name("Glass Roughness"),
|
| 66 |
+
anno::description("Sets the roughness of the glass material "),
|
| 67 |
+
anno::hard_range(0.0, 1.0),
|
| 68 |
+
anno::in_group("Roughness")
|
| 69 |
+
]],
|
| 70 |
+
uniform float glass_ior = 1.491f
|
| 71 |
+
[[
|
| 72 |
+
anno::display_name("Glass IOR"),
|
| 73 |
+
anno::description("Sets IOR of the glass material "),
|
| 74 |
+
anno::soft_range(1.0f, 4.0f),
|
| 75 |
+
anno::in_group("Refraction")
|
| 76 |
+
]],
|
| 77 |
+
uniform bool thin_walled = false
|
| 78 |
+
[[
|
| 79 |
+
anno::display_name("Thin Walled"),
|
| 80 |
+
anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
|
| 81 |
+
anno::in_group("Refraction")
|
| 82 |
+
]],
|
| 83 |
+
uniform float depth = 0.001f
|
| 84 |
+
[[
|
| 85 |
+
anno::description("Controls how much light is absorbed through the surface"),
|
| 86 |
+
anno::display_name("Volume Absorption Scale"),
|
| 87 |
+
anno::in_group("Color"),
|
| 88 |
+
anno::soft_range(0.f, 1.f),
|
| 89 |
+
anno::hard_range(0.f, 1000.f)
|
| 90 |
+
]],
|
| 91 |
+
float roughness_texture_influence = 1.f
|
| 92 |
+
[[
|
| 93 |
+
anno::display_name("Roughness Texture Influence"),
|
| 94 |
+
anno::in_group("Roughness"),
|
| 95 |
+
anno::hard_range(0.0f, 1.0f)
|
| 96 |
+
]],
|
| 97 |
+
uniform texture_2d roughness_texture = texture_2d()
|
| 98 |
+
[[
|
| 99 |
+
anno::description("The roughness texture"),
|
| 100 |
+
anno::display_name("Roughness Texture"),
|
| 101 |
+
anno::in_group("Roughness"),
|
| 102 |
+
anno::usage("roughness")
|
| 103 |
+
]],
|
| 104 |
+
uniform texture_2d reflection_color_texture = texture_2d()
|
| 105 |
+
[[
|
| 106 |
+
anno::description("The reflection color texture"),
|
| 107 |
+
anno::display_name("Reflection Color Texture"),
|
| 108 |
+
anno::in_group("Reflection")
|
| 109 |
+
]],
|
| 110 |
+
uniform color reflection_color = color(1.f, 1.f, 1.f)
|
| 111 |
+
[[
|
| 112 |
+
anno::display_name("Reflection Color"),
|
| 113 |
+
anno::in_group("Reflection")
|
| 114 |
+
]],
|
| 115 |
+
uniform texture_2d normal_map_texture = texture_2d()
|
| 116 |
+
[[
|
| 117 |
+
anno::description("The normal map texture"),
|
| 118 |
+
anno::display_name("Normal Map Texture"),
|
| 119 |
+
anno::in_group("Normal"),
|
| 120 |
+
anno::usage("normal")
|
| 121 |
+
]],
|
| 122 |
+
uniform float normal_map_strength = 1.0
|
| 123 |
+
[[
|
| 124 |
+
anno::description("Determines the degree of bumpiness"),
|
| 125 |
+
anno::display_name("Normal Map Strength"),
|
| 126 |
+
anno::in_group("Normal"),
|
| 127 |
+
anno::usage(""),
|
| 128 |
+
anno::soft_range(0.f, 1.f)
|
| 129 |
+
]],
|
| 130 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 131 |
+
[[
|
| 132 |
+
anno::hard_range(0.f, 1.f),
|
| 133 |
+
anno::display_name("Normal map to roughness weight"),
|
| 134 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 135 |
+
anno::in_group("Normal")
|
| 136 |
+
]],
|
| 137 |
+
uniform bool flip_tangent_u = false
|
| 138 |
+
[[
|
| 139 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 140 |
+
anno::in_group("Normal")
|
| 141 |
+
]],
|
| 142 |
+
uniform bool flip_tangent_v = true
|
| 143 |
+
[[
|
| 144 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 145 |
+
anno::in_group("Normal")
|
| 146 |
+
]],
|
| 147 |
+
|
| 148 |
+
// Cutout Opacity
|
| 149 |
+
uniform bool enable_opacity = false
|
| 150 |
+
[[
|
| 151 |
+
anno::display_name("Enable Opacity"),
|
| 152 |
+
anno::description("Enables the use of cutout opacity"),
|
| 153 |
+
anno::in_group("Opacity")
|
| 154 |
+
]],
|
| 155 |
+
uniform float cutout_opacity = 1.0f
|
| 156 |
+
[[
|
| 157 |
+
anno::hard_range(0.0, 1.0),
|
| 158 |
+
anno::display_name("Opacity Amount"),
|
| 159 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 160 |
+
anno::in_group("Opacity")
|
| 161 |
+
]],
|
| 162 |
+
uniform texture_2d cutout_opacity_texture = texture_2d()
|
| 163 |
+
[[
|
| 164 |
+
anno::description("The opacity map"),
|
| 165 |
+
anno::display_name("Opacity Map"),
|
| 166 |
+
anno::in_group("Opacity"),
|
| 167 |
+
anno::usage("opacity")
|
| 168 |
+
]],
|
| 169 |
+
uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
|
| 170 |
+
[[
|
| 171 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 172 |
+
anno::display_name("Opacity Mono Source"),
|
| 173 |
+
anno::in_group("Opacity"),
|
| 174 |
+
anno::usage("")
|
| 175 |
+
]],
|
| 176 |
+
uniform float opacity_threshold = 0.f
|
| 177 |
+
[[
|
| 178 |
+
anno::hard_range(0.0, 1.0),
|
| 179 |
+
anno::display_name("Opacity Threshold"),
|
| 180 |
+
anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 181 |
+
anno::in_group("Opacity")
|
| 182 |
+
]],
|
| 183 |
+
|
| 184 |
+
// UV Projection Group
|
| 185 |
+
uniform bool project_uvw = false
|
| 186 |
+
[[
|
| 187 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 188 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 189 |
+
anno::in_group("UV")
|
| 190 |
+
]],
|
| 191 |
+
uniform bool world_or_object = false
|
| 192 |
+
[[
|
| 193 |
+
anno::display_name("Enable World Space"),
|
| 194 |
+
anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
|
| 195 |
+
anno::in_group("UV")
|
| 196 |
+
]],
|
| 197 |
+
|
| 198 |
+
// UV Space Selector
|
| 199 |
+
uniform int uv_space_index = 0
|
| 200 |
+
[[
|
| 201 |
+
anno::display_name("UV Space Index"),
|
| 202 |
+
anno::description("Choose the UV Space Index to be used"),
|
| 203 |
+
anno::in_group("UV"),
|
| 204 |
+
anno::hard_range(0, 3)
|
| 205 |
+
]],
|
| 206 |
+
uniform float2 texture_translate = float2(0.0f)
|
| 207 |
+
[[
|
| 208 |
+
anno::display_name("Texture Translate"),
|
| 209 |
+
anno::description("Controls the position of the texture."),
|
| 210 |
+
anno::in_group("UV")
|
| 211 |
+
]],
|
| 212 |
+
uniform float texture_rotate = 0.f
|
| 213 |
+
[[
|
| 214 |
+
anno::display_name("Texture Rotate"),
|
| 215 |
+
anno::description("Rotates angle of the texture in degrees."),
|
| 216 |
+
anno::in_group("UV")
|
| 217 |
+
]],
|
| 218 |
+
uniform float2 texture_scale = float2(1.0f)
|
| 219 |
+
[[
|
| 220 |
+
anno::display_name("Texture Tiling"),
|
| 221 |
+
anno::description("Controls repetition of the texture."),
|
| 222 |
+
anno::in_group("UV")
|
| 223 |
+
]]
|
| 224 |
+
)
|
| 225 |
+
[[
|
| 226 |
+
anno::author("NVIDIA CORPORATION"),
|
| 227 |
+
anno::display_name("Omni Glass"),
|
| 228 |
+
anno::version( 1, 0, 0),
|
| 229 |
+
anno::in_group("Base"),
|
| 230 |
+
anno::description("Omni Glass Material V2"),
|
| 231 |
+
anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
|
| 232 |
+
distill_off()
|
| 233 |
+
]]
|
| 234 |
+
= OmniGlass_Opacity(
|
| 235 |
+
glass_color: glass_color,
|
| 236 |
+
glass_color_texture: glass_color_texture,
|
| 237 |
+
frosting_roughness: frosting_roughness,
|
| 238 |
+
glass_ior: glass_ior,
|
| 239 |
+
thin_walled: thin_walled,
|
| 240 |
+
depth: depth,
|
| 241 |
+
roughness_texture_influence: roughness_texture_influence,
|
| 242 |
+
roughness_texture: roughness_texture,
|
| 243 |
+
reflection_color_texture: reflection_color_texture,
|
| 244 |
+
reflection_color: reflection_color,
|
| 245 |
+
normal_map_texture: normal_map_texture,
|
| 246 |
+
normal_map_strength: normal_map_strength,
|
| 247 |
+
geometry_normal_roughness_strength: geometry_normal_roughness_strength,
|
| 248 |
+
flip_tangent_u: flip_tangent_u,
|
| 249 |
+
flip_tangent_v: flip_tangent_v,
|
| 250 |
+
enable_opacity: enable_opacity,
|
| 251 |
+
cutout_opacity: cutout_opacity,
|
| 252 |
+
cutout_opacity_texture: cutout_opacity_texture,
|
| 253 |
+
cutout_opacity_mono_source: cutout_opacity_mono_source,
|
| 254 |
+
opacity_threshold: opacity_threshold,
|
| 255 |
+
project_uvw: project_uvw,
|
| 256 |
+
world_or_object: world_or_object,
|
| 257 |
+
uv_space_index: uv_space_index,
|
| 258 |
+
texture_translate: texture_translate,
|
| 259 |
+
texture_rotate: texture_rotate,
|
| 260 |
+
texture_scale: texture_scale
|
| 261 |
+
);
|
dishware_glass_wineWhite_b01/simready_usd/materials/OmniPBR/OmniGlass_Opacity.mdl
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
mdl 1.4;
|
| 31 |
+
|
| 32 |
+
import ::tex::*;
|
| 33 |
+
import ::base::*;
|
| 34 |
+
import ::math::*;
|
| 35 |
+
import ::anno::*;
|
| 36 |
+
import ::df::*;
|
| 37 |
+
import ::state::*;
|
| 38 |
+
import OmniPBRBase::*;
|
| 39 |
+
|
| 40 |
+
const string COPYRIGHT =
|
| 41 |
+
" Copyright 1986, 2020 NVIDIA Corporation. All rights reserved.\n"
|
| 42 |
+
" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
|
| 43 |
+
" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
|
| 44 |
+
" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
|
| 45 |
+
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
|
| 46 |
+
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
|
| 47 |
+
" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
|
| 48 |
+
" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
|
| 49 |
+
" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
|
| 50 |
+
" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
|
| 51 |
+
" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
|
| 52 |
+
|
| 53 |
+
export annotation distill_off();
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
float get_float(
|
| 57 |
+
uniform texture_2d t,
|
| 58 |
+
float f,
|
| 59 |
+
base::texture_coordinate_info uvw,
|
| 60 |
+
uniform base::mono_mode mono_source = base::mono_maximum
|
| 61 |
+
)
|
| 62 |
+
{
|
| 63 |
+
return tex::texture_isvalid(t) ?
|
| 64 |
+
base::file_texture(
|
| 65 |
+
t,
|
| 66 |
+
color(0.f, 0.f, 0.f),
|
| 67 |
+
color(1.f, 1.f, 1.f),
|
| 68 |
+
mono_source,
|
| 69 |
+
uvw,
|
| 70 |
+
float2(0.f, 1.f),
|
| 71 |
+
float2(0.f, 1.f),
|
| 72 |
+
tex::wrap_repeat,
|
| 73 |
+
tex::wrap_repeat,
|
| 74 |
+
false
|
| 75 |
+
).mono :
|
| 76 |
+
f;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
color get_color(
|
| 80 |
+
uniform texture_2d t,
|
| 81 |
+
color c,
|
| 82 |
+
base::texture_coordinate_info uvw
|
| 83 |
+
)
|
| 84 |
+
{
|
| 85 |
+
return tex::texture_isvalid(t) ?
|
| 86 |
+
base::file_texture(
|
| 87 |
+
t,
|
| 88 |
+
color(0.f, 0.f, 0.f),
|
| 89 |
+
color(1.f, 1.f, 1.f),
|
| 90 |
+
base::mono_alpha,
|
| 91 |
+
uvw,
|
| 92 |
+
float2(0.f, 1.f),
|
| 93 |
+
float2(0.f, 1.f),
|
| 94 |
+
tex::wrap_repeat,
|
| 95 |
+
tex::wrap_repeat,
|
| 96 |
+
false
|
| 97 |
+
).tint :
|
| 98 |
+
c;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
float apply_roughness_influence(
|
| 102 |
+
uniform texture_2d roughness_texture,
|
| 103 |
+
float constant_roughness,
|
| 104 |
+
float roughness_influence,
|
| 105 |
+
base::texture_coordinate_info uvw
|
| 106 |
+
)
|
| 107 |
+
{
|
| 108 |
+
return math::lerp(
|
| 109 |
+
constant_roughness,
|
| 110 |
+
get_float(roughness_texture, constant_roughness, uvw),
|
| 111 |
+
roughness_influence
|
| 112 |
+
);
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
uniform float4x4 rotation_translation_scale(
|
| 116 |
+
uniform float3 rotation = float3(0.)
|
| 117 |
+
[[
|
| 118 |
+
anno::description("Rotation applied to every UVW coordinate")
|
| 119 |
+
]],
|
| 120 |
+
uniform float3 translation = float3(0.)
|
| 121 |
+
[[
|
| 122 |
+
anno::description("Offset applied to every UVW coordinate")
|
| 123 |
+
]],
|
| 124 |
+
uniform float3 scaling = float3(1.)
|
| 125 |
+
[[
|
| 126 |
+
anno::description("Scale applied to every UVW coordinate")
|
| 127 |
+
]]
|
| 128 |
+
)
|
| 129 |
+
[[
|
| 130 |
+
anno::description("Construct transformation matrix from Euler rotation, translation and scale"),
|
| 131 |
+
anno::hidden()
|
| 132 |
+
]]
|
| 133 |
+
{
|
| 134 |
+
float4x4 scale = float4x4(
|
| 135 |
+
scaling.x , 0. , 0. , 0.,
|
| 136 |
+
0. , scaling.y , 0. , 0.,
|
| 137 |
+
0. , 0. , scaling.z , 0.,
|
| 138 |
+
translation.x, translation.y, translation.z, 1.
|
| 139 |
+
);
|
| 140 |
+
|
| 141 |
+
float3 s = math::sin(rotation);
|
| 142 |
+
float3 c = math::cos(rotation);
|
| 143 |
+
float4x4 rotate = float4x4(
|
| 144 |
+
c.y*c.z, -c.x*s.z + s.x*s.y*c.z, s.x*s.z + c.x*s.y*c.z, 0.0,
|
| 145 |
+
c.y*s.z, c.x*c.z + s.x*s.y*s.z, -s.x*c.z + c.x*s.y*s.z, 0.0,
|
| 146 |
+
-s.y , s.x*c.y , c.x*c.y , 0.0,
|
| 147 |
+
0. , 0. , 0. , 1.
|
| 148 |
+
);
|
| 149 |
+
|
| 150 |
+
return scale*rotate;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
export material OmniGlass_Opacity
|
| 155 |
+
(
|
| 156 |
+
color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
|
| 157 |
+
[[
|
| 158 |
+
anno::hidden(),
|
| 159 |
+
anno::unused()
|
| 160 |
+
]],
|
| 161 |
+
uniform bool use_glass_color_texture = false
|
| 162 |
+
[[
|
| 163 |
+
anno::hidden(),
|
| 164 |
+
anno::unused()
|
| 165 |
+
]],
|
| 166 |
+
uniform color glass_color = color(1.f, 1.f, 1.f)
|
| 167 |
+
[[
|
| 168 |
+
anno::display_name("Glass Color"),
|
| 169 |
+
anno::description("Sets the color of the glass"),
|
| 170 |
+
anno::hard_range(color(0.0), color(1.0)),
|
| 171 |
+
anno::in_group("Color")
|
| 172 |
+
]],
|
| 173 |
+
uniform texture_2d glass_color_texture = texture_2d()
|
| 174 |
+
[[
|
| 175 |
+
anno::display_name("Glass Color Texture"),
|
| 176 |
+
anno::description("Specifies the texture to be used for the glass color of the material"),
|
| 177 |
+
anno::in_group("Color")
|
| 178 |
+
]],
|
| 179 |
+
float frosting_roughness = 0.f
|
| 180 |
+
[[
|
| 181 |
+
anno::display_name("Glass Roughness"),
|
| 182 |
+
anno::description("Sets the roughness of the glass material "),
|
| 183 |
+
anno::hard_range(0.0, 1.0),
|
| 184 |
+
anno::in_group("Roughness")
|
| 185 |
+
]],
|
| 186 |
+
uniform float glass_ior = 1.491f
|
| 187 |
+
[[
|
| 188 |
+
anno::display_name("Glass IOR"),
|
| 189 |
+
anno::description("Sets IOR of the glass material "),
|
| 190 |
+
anno::soft_range(1.0f, 4.0f),
|
| 191 |
+
anno::in_group("Refraction")
|
| 192 |
+
]],
|
| 193 |
+
uniform bool thin_walled = false
|
| 194 |
+
[[
|
| 195 |
+
anno::display_name("Thin Walled"),
|
| 196 |
+
anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
|
| 197 |
+
anno::in_group("Refraction")
|
| 198 |
+
]],
|
| 199 |
+
uniform float depth = 0.001f
|
| 200 |
+
[[
|
| 201 |
+
anno::description("Controls how much light is absorbed through the surface"),
|
| 202 |
+
anno::display_name("Volume Absorption Scale"),
|
| 203 |
+
anno::in_group("Color"),
|
| 204 |
+
anno::soft_range(0.f, 1.f),
|
| 205 |
+
anno::hard_range(0.f, 1000.f)
|
| 206 |
+
]],
|
| 207 |
+
float roughness_texture_influence = 1.f
|
| 208 |
+
[[
|
| 209 |
+
anno::display_name("Roughness Texture Influence"),
|
| 210 |
+
anno::in_group("Roughness"),
|
| 211 |
+
anno::hard_range(0.0f, 1.0f)
|
| 212 |
+
]],
|
| 213 |
+
uniform texture_2d roughness_texture = texture_2d()
|
| 214 |
+
[[
|
| 215 |
+
anno::description("The roughness texture"),
|
| 216 |
+
anno::display_name("Roughness Texture"),
|
| 217 |
+
anno::in_group("Roughness"),
|
| 218 |
+
anno::usage("")
|
| 219 |
+
]],
|
| 220 |
+
uniform texture_2d reflection_color_texture = texture_2d()
|
| 221 |
+
[[
|
| 222 |
+
anno::description("The reflection color texture"),
|
| 223 |
+
anno::display_name("Reflection Color Texture"),
|
| 224 |
+
anno::in_group("Reflection")
|
| 225 |
+
]],
|
| 226 |
+
uniform color reflection_color = color(1.f, 1.f, 1.f)
|
| 227 |
+
[[
|
| 228 |
+
anno::display_name("Reflection Color"),
|
| 229 |
+
anno::in_group("Reflection")
|
| 230 |
+
]],
|
| 231 |
+
uniform texture_2d normal_map_texture = texture_2d()
|
| 232 |
+
[[
|
| 233 |
+
anno::description("The normal map texture"),
|
| 234 |
+
anno::display_name("Normal Map Texture"),
|
| 235 |
+
anno::in_group("Normal"),
|
| 236 |
+
anno::usage("")
|
| 237 |
+
]],
|
| 238 |
+
uniform float normal_map_strength = 1.0
|
| 239 |
+
[[
|
| 240 |
+
anno::description("Determines the degree of bumpiness"),
|
| 241 |
+
anno::display_name("Normal Map Strength"),
|
| 242 |
+
anno::in_group("Normal"),
|
| 243 |
+
anno::usage(""),
|
| 244 |
+
anno::soft_range(0.f, 1.f)
|
| 245 |
+
]],
|
| 246 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 247 |
+
[[
|
| 248 |
+
anno::hard_range(0.f, 1.f),
|
| 249 |
+
anno::display_name("Normal map to roughness weight"),
|
| 250 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 251 |
+
anno::in_group("Normal")
|
| 252 |
+
]],
|
| 253 |
+
uniform bool flip_tangent_u = false
|
| 254 |
+
[[
|
| 255 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 256 |
+
anno::in_group("Normal")
|
| 257 |
+
]],
|
| 258 |
+
uniform bool flip_tangent_v = true
|
| 259 |
+
[[
|
| 260 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 261 |
+
anno::in_group("Normal")
|
| 262 |
+
]],
|
| 263 |
+
|
| 264 |
+
// Cutout Opacity
|
| 265 |
+
uniform bool enable_opacity = true
|
| 266 |
+
[[
|
| 267 |
+
anno::display_name("Enable Opacity"),
|
| 268 |
+
anno::description("Enables the use of cutout opacity"),
|
| 269 |
+
anno::in_group("Opacity")
|
| 270 |
+
]],
|
| 271 |
+
uniform float cutout_opacity = 1.0f
|
| 272 |
+
[[
|
| 273 |
+
anno::hard_range(0.0, 1.0),
|
| 274 |
+
anno::display_name("Opacity Amount"),
|
| 275 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 276 |
+
anno::in_group("Opacity")
|
| 277 |
+
]],
|
| 278 |
+
uniform texture_2d cutout_opacity_texture = texture_2d()
|
| 279 |
+
[[
|
| 280 |
+
anno::description("The opacity map"),
|
| 281 |
+
anno::display_name("Opacity Map"),
|
| 282 |
+
anno::in_group("Opacity")
|
| 283 |
+
]],
|
| 284 |
+
uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
|
| 285 |
+
[[
|
| 286 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 287 |
+
anno::display_name("Opacity Mono Source"),
|
| 288 |
+
anno::in_group("Opacity"),
|
| 289 |
+
anno::usage("")
|
| 290 |
+
]],
|
| 291 |
+
uniform float opacity_threshold = 0.f
|
| 292 |
+
[[
|
| 293 |
+
anno::hard_range(0.0, 1.0),
|
| 294 |
+
anno::display_name("Opacity Threshold"),
|
| 295 |
+
anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 296 |
+
anno::in_group("Opacity")
|
| 297 |
+
]],
|
| 298 |
+
|
| 299 |
+
// UV Projection Group
|
| 300 |
+
uniform bool project_uvw = false
|
| 301 |
+
[[
|
| 302 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 303 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 304 |
+
anno::in_group("UV")
|
| 305 |
+
]],
|
| 306 |
+
uniform bool world_or_object = false
|
| 307 |
+
[[
|
| 308 |
+
anno::display_name("Enable World Space"),
|
| 309 |
+
anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
|
| 310 |
+
anno::in_group("UV")
|
| 311 |
+
]],
|
| 312 |
+
|
| 313 |
+
// UV Space Selector
|
| 314 |
+
uniform int uv_space_index = 0
|
| 315 |
+
[[
|
| 316 |
+
anno::display_name("UV Space Index"),
|
| 317 |
+
anno::description("Choose the UV Space Index to be used"),
|
| 318 |
+
anno::in_group("UV"),
|
| 319 |
+
anno::hard_range(0, 3)
|
| 320 |
+
]],
|
| 321 |
+
uniform float2 texture_translate = float2(0.0f)
|
| 322 |
+
[[
|
| 323 |
+
anno::display_name("Texture Translate"),
|
| 324 |
+
anno::description("Controls the position of the texture."),
|
| 325 |
+
anno::in_group("UV")
|
| 326 |
+
]],
|
| 327 |
+
uniform float texture_rotate = 0.f
|
| 328 |
+
[[
|
| 329 |
+
anno::display_name("Texture Rotate"),
|
| 330 |
+
anno::description("Rotates angle of the texture in degrees."),
|
| 331 |
+
anno::in_group("UV")
|
| 332 |
+
]],
|
| 333 |
+
uniform float2 texture_scale = float2(1.0f)
|
| 334 |
+
[[
|
| 335 |
+
anno::display_name("Texture Scale"),
|
| 336 |
+
anno::description("Larger numbers increase the size."),
|
| 337 |
+
anno::in_group("UV")
|
| 338 |
+
]]
|
| 339 |
+
)
|
| 340 |
+
[[
|
| 341 |
+
anno::copyright_notice(COPYRIGHT),
|
| 342 |
+
anno::author("NVIDIA CORPORATION"),
|
| 343 |
+
anno::display_name("Omni Glass Opacity"),
|
| 344 |
+
anno::version( 1, 0, 0),
|
| 345 |
+
anno::description("Omni Glass Opacity Material"),
|
| 346 |
+
anno::in_group("Base"),
|
| 347 |
+
anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
|
| 348 |
+
distill_off()
|
| 349 |
+
]]
|
| 350 |
+
= let {
|
| 351 |
+
// Material Properties
|
| 352 |
+
bool local_thin_walled = (tex::texture_isvalid(cutout_opacity_texture) || cutout_opacity != 1.f) ? true : thin_walled;
|
| 353 |
+
color local_glass_ior = glass_ior;
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
// UVW Properties
|
| 357 |
+
// Generating the texture coordinates for the texture lookups
|
| 358 |
+
base::texture_coordinate_system the_system = world_or_object ?
|
| 359 |
+
base::texture_coordinate_world :
|
| 360 |
+
base::texture_coordinate_object;
|
| 361 |
+
|
| 362 |
+
base::texture_coordinate_info uvw = project_uvw ?
|
| 363 |
+
base::coordinate_projection(
|
| 364 |
+
coordinate_system: the_system,
|
| 365 |
+
texture_space: uv_space_index,
|
| 366 |
+
projection_type: base::projection_cubic
|
| 367 |
+
) :
|
| 368 |
+
base::coordinate_source(
|
| 369 |
+
coordinate_system: base::texture_coordinate_uvw,
|
| 370 |
+
texture_space: uv_space_index
|
| 371 |
+
);
|
| 372 |
+
|
| 373 |
+
base::texture_coordinate_info transformed_uvw = base::transform_coordinate(
|
| 374 |
+
transform: rotation_translation_scale(
|
| 375 |
+
scaling: float3(texture_scale.x, texture_scale.y, 1.0),
|
| 376 |
+
rotation: float3(0.0, 0.0, texture_rotate/180.*math::PI),
|
| 377 |
+
translation: float3(texture_translate.x, texture_translate.y, 0.0)
|
| 378 |
+
),
|
| 379 |
+
coordinate: uvw
|
| 380 |
+
);
|
| 381 |
+
|
| 382 |
+
|
| 383 |
+
// Opacity Properties
|
| 384 |
+
float opacity_value = get_float(cutout_opacity_texture, cutout_opacity, transformed_uvw, cutout_opacity_mono_source);
|
| 385 |
+
|
| 386 |
+
// The opacity_threshold is interpreted as follows:
|
| 387 |
+
// 1. opacity_threshold > 0: binary opacity masking mode
|
| 388 |
+
// i.e.: if opacity_value > opacity_threshold we remap opacity_value to 1.0, otherwise to 0.0
|
| 389 |
+
// 2. opacity_threshold == 0: fractional opacity mode. Leaves the opacity_value untouched,
|
| 390 |
+
// allowing the renderer to use fractional cutout_opacity values, if it supports this feature
|
| 391 |
+
//
|
| 392 |
+
// NOTE: when the renderer does not enable 'fractional cutout opacity' it interprets
|
| 393 |
+
// cutout_opacity values of 1.0 as opaque and anything below as fully transparent
|
| 394 |
+
float local_cutout_opacity = enable_opacity ?
|
| 395 |
+
((opacity_threshold == 0.0) ?
|
| 396 |
+
opacity_value :
|
| 397 |
+
((opacity_value >= opacity_threshold) ? 1.0 : 0)
|
| 398 |
+
) :
|
| 399 |
+
1.0;
|
| 400 |
+
|
| 401 |
+
|
| 402 |
+
// Surface Properties
|
| 403 |
+
color local_reflection_color = get_color(reflection_color_texture, reflection_color, transformed_uvw);
|
| 404 |
+
color local_transmission_color = get_color(glass_color_texture, glass_color, transformed_uvw);
|
| 405 |
+
|
| 406 |
+
OmniPBRBase::NormalData defaultData(state::normal(), float2(0.f));
|
| 407 |
+
OmniPBRBase::NormalData normal_data = tex::texture_isvalid(normal_map_texture) ?
|
| 408 |
+
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 409 |
+
normal_map_texture,
|
| 410 |
+
normal_map_strength,
|
| 411 |
+
flip_tangent_u,
|
| 412 |
+
flip_tangent_v,
|
| 413 |
+
transformed_uvw,
|
| 414 |
+
float2(0.f, 1.f),
|
| 415 |
+
float2(0.f, 1.f),
|
| 416 |
+
tex::wrap_repeat,
|
| 417 |
+
tex::wrap_repeat,
|
| 418 |
+
false,
|
| 419 |
+
1.f,
|
| 420 |
+
0.f,
|
| 421 |
+
0.f,
|
| 422 |
+
int2(0),
|
| 423 |
+
tex::wrap_repeat,
|
| 424 |
+
30.f
|
| 425 |
+
) :
|
| 426 |
+
defaultData;
|
| 427 |
+
|
| 428 |
+
float local_roughness = apply_roughness_influence(
|
| 429 |
+
roughness_texture,
|
| 430 |
+
frosting_roughness,
|
| 431 |
+
roughness_texture_influence,
|
| 432 |
+
transformed_uvw
|
| 433 |
+
);
|
| 434 |
+
float2 local_roughness_squared(
|
| 435 |
+
(local_roughness * local_roughness +
|
| 436 |
+
geometry_normal_roughness_strength * normal_data.roughness.x * normal_data.roughness.x),
|
| 437 |
+
(local_roughness * local_roughness +
|
| 438 |
+
geometry_normal_roughness_strength * normal_data.roughness.y * normal_data.roughness.y)
|
| 439 |
+
);
|
| 440 |
+
|
| 441 |
+
float3 the_normal = normal_data.normal;
|
| 442 |
+
|
| 443 |
+
bsdf ggx_1 = ::df::microfacet_ggx_smith_bsdf(
|
| 444 |
+
roughness_u: local_roughness_squared.x,
|
| 445 |
+
roughness_v: local_roughness_squared.y,
|
| 446 |
+
tint: local_reflection_color,
|
| 447 |
+
tangent_u: ::state::texture_tangent_u(0),
|
| 448 |
+
mode: ::df::scatter_reflect
|
| 449 |
+
);
|
| 450 |
+
|
| 451 |
+
bsdf ggx_2 = ::df::microfacet_ggx_smith_bsdf(
|
| 452 |
+
roughness_u: local_roughness_squared.x,
|
| 453 |
+
roughness_v: local_roughness_squared.y,
|
| 454 |
+
tint: local_transmission_color,
|
| 455 |
+
tangent_u: ::state::texture_tangent_u(0),
|
| 456 |
+
mode: ::df::scatter_transmit
|
| 457 |
+
);
|
| 458 |
+
|
| 459 |
+
material_surface local_surface(
|
| 460 |
+
::df::fresnel_layer(
|
| 461 |
+
ior: glass_ior,
|
| 462 |
+
weight: 1.f,
|
| 463 |
+
layer: ggx_1,
|
| 464 |
+
base: ggx_2,
|
| 465 |
+
normal: the_normal
|
| 466 |
+
),
|
| 467 |
+
material_emission()
|
| 468 |
+
);
|
| 469 |
+
|
| 470 |
+
|
| 471 |
+
// Volume Properties
|
| 472 |
+
color local_volume_absorption = depth;
|
| 473 |
+
color local_volume_scattering = color(0.f, 0.f, 0.f);
|
| 474 |
+
|
| 475 |
+
material_volume local_volume(vdf(), local_volume_absorption, local_volume_scattering);
|
| 476 |
+
|
| 477 |
+
|
| 478 |
+
// Geometry Properties
|
| 479 |
+
material_geometry local_geometry(float3(0.f), local_cutout_opacity, the_normal);
|
| 480 |
+
|
| 481 |
+
} in material(
|
| 482 |
+
thin_walled: local_thin_walled,
|
| 483 |
+
surface: local_surface,
|
| 484 |
+
ior: local_glass_ior,
|
| 485 |
+
volume: local_volume,
|
| 486 |
+
geometry: local_geometry
|
| 487 |
+
);
|
dishware_glass_wineWhite_b01/simready_usd/payloads/Physics/physics.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:647042484a91d78742fd9bd00d33b14a5476707e08d9ecb4ff70d15d9c2b6fc2
|
| 3 |
+
size 1840
|
dishware_glass_wineWhite_b01/simready_usd/payloads/base.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba5a5c1c5dc8194ab837cc047cbdea8728cc7e436b9665826dbeddb481864300
|
| 3 |
+
size 5614
|
dishware_glass_wineWhite_b01/simready_usd/payloads/geometries.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90fab7616b0e46d119b87acb5c8337835b596e8096113a87387f1a4653cde2d4
|
| 3 |
+
size 572261
|
dishware_glass_wineWhite_b01/simready_usd/payloads/instances.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52cdd5e5259f3d69e240c208244d97f2b2a49ce020f5ff668928fe0025e14908
|
| 3 |
+
size 2449
|
dishware_glass_wineWhite_b01/simready_usd/payloads/instances_mujoco.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efa1435b02b0cae56b0a29d7f65feeaff679cd239837e5e3f8f614f573274661
|
| 3 |
+
size 2618
|
dishware_glass_wineWhite_b01/simready_usd/payloads/instances_newton.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cff861776318db57eef21722dd391da9393f8c724429ca21e37e87eb0640da9
|
| 3 |
+
size 2522
|
dishware_glass_wineWhite_b01/simready_usd/payloads/instances_physx.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8187319502e45195e78a73b41ece6145e375821186c3556dd6a8b22d050b0bb6
|
| 3 |
+
size 2510
|
dishware_glass_wineWhite_b01/simready_usd/payloads/materials.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ded87164ec784c40540dd76ddcde871ba6d383261450c741aef0e2eeecc657be
|
| 3 |
+
size 3721
|
dishware_glass_wineWhite_b01/simready_usd/payloads/materials/OmniGlass.mdl
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
mdl 1.7;
|
| 30 |
+
import ::anno::*;
|
| 31 |
+
import ::base::*;
|
| 32 |
+
import ::tex::*;
|
| 33 |
+
|
| 34 |
+
using OmniGlass_Opacity import OmniGlass_Opacity;
|
| 35 |
+
export annotation distill_off();
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
export material OmniGlass
|
| 39 |
+
(
|
| 40 |
+
color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
|
| 41 |
+
[[
|
| 42 |
+
anno::hidden(),
|
| 43 |
+
anno::unused()
|
| 44 |
+
]],
|
| 45 |
+
uniform bool use_glass_color_texture = false
|
| 46 |
+
[[
|
| 47 |
+
anno::hidden(),
|
| 48 |
+
anno::unused()
|
| 49 |
+
]],
|
| 50 |
+
uniform color glass_color = color(1.f, 1.f, 1.f)
|
| 51 |
+
[[
|
| 52 |
+
anno::display_name("Glass Color"),
|
| 53 |
+
anno::description("Sets the color of the glass"),
|
| 54 |
+
anno::hard_range(color(0.0), color(1.0)),
|
| 55 |
+
anno::in_group("Color")
|
| 56 |
+
]],
|
| 57 |
+
uniform texture_2d glass_color_texture = texture_2d()
|
| 58 |
+
[[
|
| 59 |
+
anno::display_name("Glass Color Texture"),
|
| 60 |
+
anno::description("Specifies the texture to be used for the glass color of the material"),
|
| 61 |
+
anno::in_group("Color")
|
| 62 |
+
]],
|
| 63 |
+
float frosting_roughness = 0.f
|
| 64 |
+
[[
|
| 65 |
+
anno::display_name("Glass Roughness"),
|
| 66 |
+
anno::description("Sets the roughness of the glass material "),
|
| 67 |
+
anno::hard_range(0.0, 1.0),
|
| 68 |
+
anno::in_group("Roughness")
|
| 69 |
+
]],
|
| 70 |
+
uniform float glass_ior = 1.491f
|
| 71 |
+
[[
|
| 72 |
+
anno::display_name("Glass IOR"),
|
| 73 |
+
anno::description("Sets IOR of the glass material "),
|
| 74 |
+
anno::soft_range(1.0f, 4.0f),
|
| 75 |
+
anno::in_group("Refraction")
|
| 76 |
+
]],
|
| 77 |
+
uniform bool thin_walled = false
|
| 78 |
+
[[
|
| 79 |
+
anno::display_name("Thin Walled"),
|
| 80 |
+
anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
|
| 81 |
+
anno::in_group("Refraction")
|
| 82 |
+
]],
|
| 83 |
+
uniform float depth = 0.001f
|
| 84 |
+
[[
|
| 85 |
+
anno::description("Controls how much light is absorbed through the surface"),
|
| 86 |
+
anno::display_name("Volume Absorption Scale"),
|
| 87 |
+
anno::in_group("Color"),
|
| 88 |
+
anno::soft_range(0.f, 1.f),
|
| 89 |
+
anno::hard_range(0.f, 1000.f)
|
| 90 |
+
]],
|
| 91 |
+
float roughness_texture_influence = 1.f
|
| 92 |
+
[[
|
| 93 |
+
anno::display_name("Roughness Texture Influence"),
|
| 94 |
+
anno::in_group("Roughness"),
|
| 95 |
+
anno::hard_range(0.0f, 1.0f)
|
| 96 |
+
]],
|
| 97 |
+
uniform texture_2d roughness_texture = texture_2d()
|
| 98 |
+
[[
|
| 99 |
+
anno::description("The roughness texture"),
|
| 100 |
+
anno::display_name("Roughness Texture"),
|
| 101 |
+
anno::in_group("Roughness"),
|
| 102 |
+
anno::usage("roughness")
|
| 103 |
+
]],
|
| 104 |
+
uniform texture_2d reflection_color_texture = texture_2d()
|
| 105 |
+
[[
|
| 106 |
+
anno::description("The reflection color texture"),
|
| 107 |
+
anno::display_name("Reflection Color Texture"),
|
| 108 |
+
anno::in_group("Reflection")
|
| 109 |
+
]],
|
| 110 |
+
uniform color reflection_color = color(1.f, 1.f, 1.f)
|
| 111 |
+
[[
|
| 112 |
+
anno::display_name("Reflection Color"),
|
| 113 |
+
anno::in_group("Reflection")
|
| 114 |
+
]],
|
| 115 |
+
uniform texture_2d normal_map_texture = texture_2d()
|
| 116 |
+
[[
|
| 117 |
+
anno::description("The normal map texture"),
|
| 118 |
+
anno::display_name("Normal Map Texture"),
|
| 119 |
+
anno::in_group("Normal"),
|
| 120 |
+
anno::usage("normal")
|
| 121 |
+
]],
|
| 122 |
+
uniform float normal_map_strength = 1.0
|
| 123 |
+
[[
|
| 124 |
+
anno::description("Determines the degree of bumpiness"),
|
| 125 |
+
anno::display_name("Normal Map Strength"),
|
| 126 |
+
anno::in_group("Normal"),
|
| 127 |
+
anno::usage(""),
|
| 128 |
+
anno::soft_range(0.f, 1.f)
|
| 129 |
+
]],
|
| 130 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 131 |
+
[[
|
| 132 |
+
anno::hard_range(0.f, 1.f),
|
| 133 |
+
anno::display_name("Normal map to roughness weight"),
|
| 134 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 135 |
+
anno::in_group("Normal")
|
| 136 |
+
]],
|
| 137 |
+
uniform bool flip_tangent_u = false
|
| 138 |
+
[[
|
| 139 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 140 |
+
anno::in_group("Normal")
|
| 141 |
+
]],
|
| 142 |
+
uniform bool flip_tangent_v = true
|
| 143 |
+
[[
|
| 144 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 145 |
+
anno::in_group("Normal")
|
| 146 |
+
]],
|
| 147 |
+
|
| 148 |
+
// Cutout Opacity
|
| 149 |
+
uniform bool enable_opacity = false
|
| 150 |
+
[[
|
| 151 |
+
anno::display_name("Enable Opacity"),
|
| 152 |
+
anno::description("Enables the use of cutout opacity"),
|
| 153 |
+
anno::in_group("Opacity")
|
| 154 |
+
]],
|
| 155 |
+
uniform float cutout_opacity = 1.0f
|
| 156 |
+
[[
|
| 157 |
+
anno::hard_range(0.0, 1.0),
|
| 158 |
+
anno::display_name("Opacity Amount"),
|
| 159 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 160 |
+
anno::in_group("Opacity")
|
| 161 |
+
]],
|
| 162 |
+
uniform texture_2d cutout_opacity_texture = texture_2d()
|
| 163 |
+
[[
|
| 164 |
+
anno::description("The opacity map"),
|
| 165 |
+
anno::display_name("Opacity Map"),
|
| 166 |
+
anno::in_group("Opacity"),
|
| 167 |
+
anno::usage("opacity")
|
| 168 |
+
]],
|
| 169 |
+
uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
|
| 170 |
+
[[
|
| 171 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 172 |
+
anno::display_name("Opacity Mono Source"),
|
| 173 |
+
anno::in_group("Opacity"),
|
| 174 |
+
anno::usage("")
|
| 175 |
+
]],
|
| 176 |
+
uniform float opacity_threshold = 0.f
|
| 177 |
+
[[
|
| 178 |
+
anno::hard_range(0.0, 1.0),
|
| 179 |
+
anno::display_name("Opacity Threshold"),
|
| 180 |
+
anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 181 |
+
anno::in_group("Opacity")
|
| 182 |
+
]],
|
| 183 |
+
|
| 184 |
+
// UV Projection Group
|
| 185 |
+
uniform bool project_uvw = false
|
| 186 |
+
[[
|
| 187 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 188 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 189 |
+
anno::in_group("UV")
|
| 190 |
+
]],
|
| 191 |
+
uniform bool world_or_object = false
|
| 192 |
+
[[
|
| 193 |
+
anno::display_name("Enable World Space"),
|
| 194 |
+
anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
|
| 195 |
+
anno::in_group("UV")
|
| 196 |
+
]],
|
| 197 |
+
|
| 198 |
+
// UV Space Selector
|
| 199 |
+
uniform int uv_space_index = 0
|
| 200 |
+
[[
|
| 201 |
+
anno::display_name("UV Space Index"),
|
| 202 |
+
anno::description("Choose the UV Space Index to be used"),
|
| 203 |
+
anno::in_group("UV"),
|
| 204 |
+
anno::hard_range(0, 3)
|
| 205 |
+
]],
|
| 206 |
+
uniform float2 texture_translate = float2(0.0f)
|
| 207 |
+
[[
|
| 208 |
+
anno::display_name("Texture Translate"),
|
| 209 |
+
anno::description("Controls the position of the texture."),
|
| 210 |
+
anno::in_group("UV")
|
| 211 |
+
]],
|
| 212 |
+
uniform float texture_rotate = 0.f
|
| 213 |
+
[[
|
| 214 |
+
anno::display_name("Texture Rotate"),
|
| 215 |
+
anno::description("Rotates angle of the texture in degrees."),
|
| 216 |
+
anno::in_group("UV")
|
| 217 |
+
]],
|
| 218 |
+
uniform float2 texture_scale = float2(1.0f)
|
| 219 |
+
[[
|
| 220 |
+
anno::display_name("Texture Tiling"),
|
| 221 |
+
anno::description("Controls repetition of the texture."),
|
| 222 |
+
anno::in_group("UV")
|
| 223 |
+
]]
|
| 224 |
+
)
|
| 225 |
+
[[
|
| 226 |
+
anno::author("NVIDIA CORPORATION"),
|
| 227 |
+
anno::display_name("Omni Glass"),
|
| 228 |
+
anno::version( 1, 0, 0),
|
| 229 |
+
anno::in_group("Base"),
|
| 230 |
+
anno::description("Omni Glass Material V2"),
|
| 231 |
+
anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
|
| 232 |
+
distill_off()
|
| 233 |
+
]]
|
| 234 |
+
= OmniGlass_Opacity(
|
| 235 |
+
glass_color: glass_color,
|
| 236 |
+
glass_color_texture: glass_color_texture,
|
| 237 |
+
frosting_roughness: frosting_roughness,
|
| 238 |
+
glass_ior: glass_ior,
|
| 239 |
+
thin_walled: thin_walled,
|
| 240 |
+
depth: depth,
|
| 241 |
+
roughness_texture_influence: roughness_texture_influence,
|
| 242 |
+
roughness_texture: roughness_texture,
|
| 243 |
+
reflection_color_texture: reflection_color_texture,
|
| 244 |
+
reflection_color: reflection_color,
|
| 245 |
+
normal_map_texture: normal_map_texture,
|
| 246 |
+
normal_map_strength: normal_map_strength,
|
| 247 |
+
geometry_normal_roughness_strength: geometry_normal_roughness_strength,
|
| 248 |
+
flip_tangent_u: flip_tangent_u,
|
| 249 |
+
flip_tangent_v: flip_tangent_v,
|
| 250 |
+
enable_opacity: enable_opacity,
|
| 251 |
+
cutout_opacity: cutout_opacity,
|
| 252 |
+
cutout_opacity_texture: cutout_opacity_texture,
|
| 253 |
+
cutout_opacity_mono_source: cutout_opacity_mono_source,
|
| 254 |
+
opacity_threshold: opacity_threshold,
|
| 255 |
+
project_uvw: project_uvw,
|
| 256 |
+
world_or_object: world_or_object,
|
| 257 |
+
uv_space_index: uv_space_index,
|
| 258 |
+
texture_translate: texture_translate,
|
| 259 |
+
texture_rotate: texture_rotate,
|
| 260 |
+
texture_scale: texture_scale
|
| 261 |
+
);
|
dishware_glass_wineWhite_b01/simready_usd/payloads/materials/OmniGlass_Opacity.mdl
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
mdl 1.4;
|
| 31 |
+
|
| 32 |
+
import ::tex::*;
|
| 33 |
+
import ::base::*;
|
| 34 |
+
import ::math::*;
|
| 35 |
+
import ::anno::*;
|
| 36 |
+
import ::df::*;
|
| 37 |
+
import ::state::*;
|
| 38 |
+
import OmniPBRBase::*;
|
| 39 |
+
|
| 40 |
+
const string COPYRIGHT =
|
| 41 |
+
" Copyright 1986, 2020 NVIDIA Corporation. All rights reserved.\n"
|
| 42 |
+
" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
|
| 43 |
+
" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
|
| 44 |
+
" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
|
| 45 |
+
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
|
| 46 |
+
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
|
| 47 |
+
" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
|
| 48 |
+
" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
|
| 49 |
+
" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
|
| 50 |
+
" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
|
| 51 |
+
" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
|
| 52 |
+
|
| 53 |
+
export annotation distill_off();
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
float get_float(
|
| 57 |
+
uniform texture_2d t,
|
| 58 |
+
float f,
|
| 59 |
+
base::texture_coordinate_info uvw,
|
| 60 |
+
uniform base::mono_mode mono_source = base::mono_maximum
|
| 61 |
+
)
|
| 62 |
+
{
|
| 63 |
+
return tex::texture_isvalid(t) ?
|
| 64 |
+
base::file_texture(
|
| 65 |
+
t,
|
| 66 |
+
color(0.f, 0.f, 0.f),
|
| 67 |
+
color(1.f, 1.f, 1.f),
|
| 68 |
+
mono_source,
|
| 69 |
+
uvw,
|
| 70 |
+
float2(0.f, 1.f),
|
| 71 |
+
float2(0.f, 1.f),
|
| 72 |
+
tex::wrap_repeat,
|
| 73 |
+
tex::wrap_repeat,
|
| 74 |
+
false
|
| 75 |
+
).mono :
|
| 76 |
+
f;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
color get_color(
|
| 80 |
+
uniform texture_2d t,
|
| 81 |
+
color c,
|
| 82 |
+
base::texture_coordinate_info uvw
|
| 83 |
+
)
|
| 84 |
+
{
|
| 85 |
+
return tex::texture_isvalid(t) ?
|
| 86 |
+
base::file_texture(
|
| 87 |
+
t,
|
| 88 |
+
color(0.f, 0.f, 0.f),
|
| 89 |
+
color(1.f, 1.f, 1.f),
|
| 90 |
+
base::mono_alpha,
|
| 91 |
+
uvw,
|
| 92 |
+
float2(0.f, 1.f),
|
| 93 |
+
float2(0.f, 1.f),
|
| 94 |
+
tex::wrap_repeat,
|
| 95 |
+
tex::wrap_repeat,
|
| 96 |
+
false
|
| 97 |
+
).tint :
|
| 98 |
+
c;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
float apply_roughness_influence(
|
| 102 |
+
uniform texture_2d roughness_texture,
|
| 103 |
+
float constant_roughness,
|
| 104 |
+
float roughness_influence,
|
| 105 |
+
base::texture_coordinate_info uvw
|
| 106 |
+
)
|
| 107 |
+
{
|
| 108 |
+
return math::lerp(
|
| 109 |
+
constant_roughness,
|
| 110 |
+
get_float(roughness_texture, constant_roughness, uvw),
|
| 111 |
+
roughness_influence
|
| 112 |
+
);
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
uniform float4x4 rotation_translation_scale(
|
| 116 |
+
uniform float3 rotation = float3(0.)
|
| 117 |
+
[[
|
| 118 |
+
anno::description("Rotation applied to every UVW coordinate")
|
| 119 |
+
]],
|
| 120 |
+
uniform float3 translation = float3(0.)
|
| 121 |
+
[[
|
| 122 |
+
anno::description("Offset applied to every UVW coordinate")
|
| 123 |
+
]],
|
| 124 |
+
uniform float3 scaling = float3(1.)
|
| 125 |
+
[[
|
| 126 |
+
anno::description("Scale applied to every UVW coordinate")
|
| 127 |
+
]]
|
| 128 |
+
)
|
| 129 |
+
[[
|
| 130 |
+
anno::description("Construct transformation matrix from Euler rotation, translation and scale"),
|
| 131 |
+
anno::hidden()
|
| 132 |
+
]]
|
| 133 |
+
{
|
| 134 |
+
float4x4 scale = float4x4(
|
| 135 |
+
scaling.x , 0. , 0. , 0.,
|
| 136 |
+
0. , scaling.y , 0. , 0.,
|
| 137 |
+
0. , 0. , scaling.z , 0.,
|
| 138 |
+
translation.x, translation.y, translation.z, 1.
|
| 139 |
+
);
|
| 140 |
+
|
| 141 |
+
float3 s = math::sin(rotation);
|
| 142 |
+
float3 c = math::cos(rotation);
|
| 143 |
+
float4x4 rotate = float4x4(
|
| 144 |
+
c.y*c.z, -c.x*s.z + s.x*s.y*c.z, s.x*s.z + c.x*s.y*c.z, 0.0,
|
| 145 |
+
c.y*s.z, c.x*c.z + s.x*s.y*s.z, -s.x*c.z + c.x*s.y*s.z, 0.0,
|
| 146 |
+
-s.y , s.x*c.y , c.x*c.y , 0.0,
|
| 147 |
+
0. , 0. , 0. , 1.
|
| 148 |
+
);
|
| 149 |
+
|
| 150 |
+
return scale*rotate;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
export material OmniGlass_Opacity
|
| 155 |
+
(
|
| 156 |
+
color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
|
| 157 |
+
[[
|
| 158 |
+
anno::hidden(),
|
| 159 |
+
anno::unused()
|
| 160 |
+
]],
|
| 161 |
+
uniform bool use_glass_color_texture = false
|
| 162 |
+
[[
|
| 163 |
+
anno::hidden(),
|
| 164 |
+
anno::unused()
|
| 165 |
+
]],
|
| 166 |
+
uniform color glass_color = color(1.f, 1.f, 1.f)
|
| 167 |
+
[[
|
| 168 |
+
anno::display_name("Glass Color"),
|
| 169 |
+
anno::description("Sets the color of the glass"),
|
| 170 |
+
anno::hard_range(color(0.0), color(1.0)),
|
| 171 |
+
anno::in_group("Color")
|
| 172 |
+
]],
|
| 173 |
+
uniform texture_2d glass_color_texture = texture_2d()
|
| 174 |
+
[[
|
| 175 |
+
anno::display_name("Glass Color Texture"),
|
| 176 |
+
anno::description("Specifies the texture to be used for the glass color of the material"),
|
| 177 |
+
anno::in_group("Color")
|
| 178 |
+
]],
|
| 179 |
+
float frosting_roughness = 0.f
|
| 180 |
+
[[
|
| 181 |
+
anno::display_name("Glass Roughness"),
|
| 182 |
+
anno::description("Sets the roughness of the glass material "),
|
| 183 |
+
anno::hard_range(0.0, 1.0),
|
| 184 |
+
anno::in_group("Roughness")
|
| 185 |
+
]],
|
| 186 |
+
uniform float glass_ior = 1.491f
|
| 187 |
+
[[
|
| 188 |
+
anno::display_name("Glass IOR"),
|
| 189 |
+
anno::description("Sets IOR of the glass material "),
|
| 190 |
+
anno::soft_range(1.0f, 4.0f),
|
| 191 |
+
anno::in_group("Refraction")
|
| 192 |
+
]],
|
| 193 |
+
uniform bool thin_walled = false
|
| 194 |
+
[[
|
| 195 |
+
anno::display_name("Thin Walled"),
|
| 196 |
+
anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
|
| 197 |
+
anno::in_group("Refraction")
|
| 198 |
+
]],
|
| 199 |
+
uniform float depth = 0.001f
|
| 200 |
+
[[
|
| 201 |
+
anno::description("Controls how much light is absorbed through the surface"),
|
| 202 |
+
anno::display_name("Volume Absorption Scale"),
|
| 203 |
+
anno::in_group("Color"),
|
| 204 |
+
anno::soft_range(0.f, 1.f),
|
| 205 |
+
anno::hard_range(0.f, 1000.f)
|
| 206 |
+
]],
|
| 207 |
+
float roughness_texture_influence = 1.f
|
| 208 |
+
[[
|
| 209 |
+
anno::display_name("Roughness Texture Influence"),
|
| 210 |
+
anno::in_group("Roughness"),
|
| 211 |
+
anno::hard_range(0.0f, 1.0f)
|
| 212 |
+
]],
|
| 213 |
+
uniform texture_2d roughness_texture = texture_2d()
|
| 214 |
+
[[
|
| 215 |
+
anno::description("The roughness texture"),
|
| 216 |
+
anno::display_name("Roughness Texture"),
|
| 217 |
+
anno::in_group("Roughness"),
|
| 218 |
+
anno::usage("")
|
| 219 |
+
]],
|
| 220 |
+
uniform texture_2d reflection_color_texture = texture_2d()
|
| 221 |
+
[[
|
| 222 |
+
anno::description("The reflection color texture"),
|
| 223 |
+
anno::display_name("Reflection Color Texture"),
|
| 224 |
+
anno::in_group("Reflection")
|
| 225 |
+
]],
|
| 226 |
+
uniform color reflection_color = color(1.f, 1.f, 1.f)
|
| 227 |
+
[[
|
| 228 |
+
anno::display_name("Reflection Color"),
|
| 229 |
+
anno::in_group("Reflection")
|
| 230 |
+
]],
|
| 231 |
+
uniform texture_2d normal_map_texture = texture_2d()
|
| 232 |
+
[[
|
| 233 |
+
anno::description("The normal map texture"),
|
| 234 |
+
anno::display_name("Normal Map Texture"),
|
| 235 |
+
anno::in_group("Normal"),
|
| 236 |
+
anno::usage("")
|
| 237 |
+
]],
|
| 238 |
+
uniform float normal_map_strength = 1.0
|
| 239 |
+
[[
|
| 240 |
+
anno::description("Determines the degree of bumpiness"),
|
| 241 |
+
anno::display_name("Normal Map Strength"),
|
| 242 |
+
anno::in_group("Normal"),
|
| 243 |
+
anno::usage(""),
|
| 244 |
+
anno::soft_range(0.f, 1.f)
|
| 245 |
+
]],
|
| 246 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 247 |
+
[[
|
| 248 |
+
anno::hard_range(0.f, 1.f),
|
| 249 |
+
anno::display_name("Normal map to roughness weight"),
|
| 250 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 251 |
+
anno::in_group("Normal")
|
| 252 |
+
]],
|
| 253 |
+
uniform bool flip_tangent_u = false
|
| 254 |
+
[[
|
| 255 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 256 |
+
anno::in_group("Normal")
|
| 257 |
+
]],
|
| 258 |
+
uniform bool flip_tangent_v = true
|
| 259 |
+
[[
|
| 260 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 261 |
+
anno::in_group("Normal")
|
| 262 |
+
]],
|
| 263 |
+
|
| 264 |
+
// Cutout Opacity
|
| 265 |
+
uniform bool enable_opacity = true
|
| 266 |
+
[[
|
| 267 |
+
anno::display_name("Enable Opacity"),
|
| 268 |
+
anno::description("Enables the use of cutout opacity"),
|
| 269 |
+
anno::in_group("Opacity")
|
| 270 |
+
]],
|
| 271 |
+
uniform float cutout_opacity = 1.0f
|
| 272 |
+
[[
|
| 273 |
+
anno::hard_range(0.0, 1.0),
|
| 274 |
+
anno::display_name("Opacity Amount"),
|
| 275 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 276 |
+
anno::in_group("Opacity")
|
| 277 |
+
]],
|
| 278 |
+
uniform texture_2d cutout_opacity_texture = texture_2d()
|
| 279 |
+
[[
|
| 280 |
+
anno::description("The opacity map"),
|
| 281 |
+
anno::display_name("Opacity Map"),
|
| 282 |
+
anno::in_group("Opacity")
|
| 283 |
+
]],
|
| 284 |
+
uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
|
| 285 |
+
[[
|
| 286 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 287 |
+
anno::display_name("Opacity Mono Source"),
|
| 288 |
+
anno::in_group("Opacity"),
|
| 289 |
+
anno::usage("")
|
| 290 |
+
]],
|
| 291 |
+
uniform float opacity_threshold = 0.f
|
| 292 |
+
[[
|
| 293 |
+
anno::hard_range(0.0, 1.0),
|
| 294 |
+
anno::display_name("Opacity Threshold"),
|
| 295 |
+
anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 296 |
+
anno::in_group("Opacity")
|
| 297 |
+
]],
|
| 298 |
+
|
| 299 |
+
// UV Projection Group
|
| 300 |
+
uniform bool project_uvw = false
|
| 301 |
+
[[
|
| 302 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 303 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 304 |
+
anno::in_group("UV")
|
| 305 |
+
]],
|
| 306 |
+
uniform bool world_or_object = false
|
| 307 |
+
[[
|
| 308 |
+
anno::display_name("Enable World Space"),
|
| 309 |
+
anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
|
| 310 |
+
anno::in_group("UV")
|
| 311 |
+
]],
|
| 312 |
+
|
| 313 |
+
// UV Space Selector
|
| 314 |
+
uniform int uv_space_index = 0
|
| 315 |
+
[[
|
| 316 |
+
anno::display_name("UV Space Index"),
|
| 317 |
+
anno::description("Choose the UV Space Index to be used"),
|
| 318 |
+
anno::in_group("UV"),
|
| 319 |
+
anno::hard_range(0, 3)
|
| 320 |
+
]],
|
| 321 |
+
uniform float2 texture_translate = float2(0.0f)
|
| 322 |
+
[[
|
| 323 |
+
anno::display_name("Texture Translate"),
|
| 324 |
+
anno::description("Controls the position of the texture."),
|
| 325 |
+
anno::in_group("UV")
|
| 326 |
+
]],
|
| 327 |
+
uniform float texture_rotate = 0.f
|
| 328 |
+
[[
|
| 329 |
+
anno::display_name("Texture Rotate"),
|
| 330 |
+
anno::description("Rotates angle of the texture in degrees."),
|
| 331 |
+
anno::in_group("UV")
|
| 332 |
+
]],
|
| 333 |
+
uniform float2 texture_scale = float2(1.0f)
|
| 334 |
+
[[
|
| 335 |
+
anno::display_name("Texture Scale"),
|
| 336 |
+
anno::description("Larger numbers increase the size."),
|
| 337 |
+
anno::in_group("UV")
|
| 338 |
+
]]
|
| 339 |
+
)
|
| 340 |
+
[[
|
| 341 |
+
anno::copyright_notice(COPYRIGHT),
|
| 342 |
+
anno::author("NVIDIA CORPORATION"),
|
| 343 |
+
anno::display_name("Omni Glass Opacity"),
|
| 344 |
+
anno::version( 1, 0, 0),
|
| 345 |
+
anno::description("Omni Glass Opacity Material"),
|
| 346 |
+
anno::in_group("Base"),
|
| 347 |
+
anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
|
| 348 |
+
distill_off()
|
| 349 |
+
]]
|
| 350 |
+
= let {
|
| 351 |
+
// Material Properties
|
| 352 |
+
bool local_thin_walled = (tex::texture_isvalid(cutout_opacity_texture) || cutout_opacity != 1.f) ? true : thin_walled;
|
| 353 |
+
color local_glass_ior = glass_ior;
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
// UVW Properties
|
| 357 |
+
// Generating the texture coordinates for the texture lookups
|
| 358 |
+
base::texture_coordinate_system the_system = world_or_object ?
|
| 359 |
+
base::texture_coordinate_world :
|
| 360 |
+
base::texture_coordinate_object;
|
| 361 |
+
|
| 362 |
+
base::texture_coordinate_info uvw = project_uvw ?
|
| 363 |
+
base::coordinate_projection(
|
| 364 |
+
coordinate_system: the_system,
|
| 365 |
+
texture_space: uv_space_index,
|
| 366 |
+
projection_type: base::projection_cubic
|
| 367 |
+
) :
|
| 368 |
+
base::coordinate_source(
|
| 369 |
+
coordinate_system: base::texture_coordinate_uvw,
|
| 370 |
+
texture_space: uv_space_index
|
| 371 |
+
);
|
| 372 |
+
|
| 373 |
+
base::texture_coordinate_info transformed_uvw = base::transform_coordinate(
|
| 374 |
+
transform: rotation_translation_scale(
|
| 375 |
+
scaling: float3(texture_scale.x, texture_scale.y, 1.0),
|
| 376 |
+
rotation: float3(0.0, 0.0, texture_rotate/180.*math::PI),
|
| 377 |
+
translation: float3(texture_translate.x, texture_translate.y, 0.0)
|
| 378 |
+
),
|
| 379 |
+
coordinate: uvw
|
| 380 |
+
);
|
| 381 |
+
|
| 382 |
+
|
| 383 |
+
// Opacity Properties
|
| 384 |
+
float opacity_value = get_float(cutout_opacity_texture, cutout_opacity, transformed_uvw, cutout_opacity_mono_source);
|
| 385 |
+
|
| 386 |
+
// The opacity_threshold is interpreted as follows:
|
| 387 |
+
// 1. opacity_threshold > 0: binary opacity masking mode
|
| 388 |
+
// i.e.: if opacity_value > opacity_threshold we remap opacity_value to 1.0, otherwise to 0.0
|
| 389 |
+
// 2. opacity_threshold == 0: fractional opacity mode. Leaves the opacity_value untouched,
|
| 390 |
+
// allowing the renderer to use fractional cutout_opacity values, if it supports this feature
|
| 391 |
+
//
|
| 392 |
+
// NOTE: when the renderer does not enable 'fractional cutout opacity' it interprets
|
| 393 |
+
// cutout_opacity values of 1.0 as opaque and anything below as fully transparent
|
| 394 |
+
float local_cutout_opacity = enable_opacity ?
|
| 395 |
+
((opacity_threshold == 0.0) ?
|
| 396 |
+
opacity_value :
|
| 397 |
+
((opacity_value >= opacity_threshold) ? 1.0 : 0)
|
| 398 |
+
) :
|
| 399 |
+
1.0;
|
| 400 |
+
|
| 401 |
+
|
| 402 |
+
// Surface Properties
|
| 403 |
+
color local_reflection_color = get_color(reflection_color_texture, reflection_color, transformed_uvw);
|
| 404 |
+
color local_transmission_color = get_color(glass_color_texture, glass_color, transformed_uvw);
|
| 405 |
+
|
| 406 |
+
OmniPBRBase::NormalData defaultData(state::normal(), float2(0.f));
|
| 407 |
+
OmniPBRBase::NormalData normal_data = tex::texture_isvalid(normal_map_texture) ?
|
| 408 |
+
OmniPBRBase::tangent_space_normal_roughness_texture(
|
| 409 |
+
normal_map_texture,
|
| 410 |
+
normal_map_strength,
|
| 411 |
+
flip_tangent_u,
|
| 412 |
+
flip_tangent_v,
|
| 413 |
+
transformed_uvw,
|
| 414 |
+
float2(0.f, 1.f),
|
| 415 |
+
float2(0.f, 1.f),
|
| 416 |
+
tex::wrap_repeat,
|
| 417 |
+
tex::wrap_repeat,
|
| 418 |
+
false,
|
| 419 |
+
1.f,
|
| 420 |
+
0.f,
|
| 421 |
+
0.f,
|
| 422 |
+
int2(0),
|
| 423 |
+
tex::wrap_repeat,
|
| 424 |
+
30.f
|
| 425 |
+
) :
|
| 426 |
+
defaultData;
|
| 427 |
+
|
| 428 |
+
float local_roughness = apply_roughness_influence(
|
| 429 |
+
roughness_texture,
|
| 430 |
+
frosting_roughness,
|
| 431 |
+
roughness_texture_influence,
|
| 432 |
+
transformed_uvw
|
| 433 |
+
);
|
| 434 |
+
float2 local_roughness_squared(
|
| 435 |
+
(local_roughness * local_roughness +
|
| 436 |
+
geometry_normal_roughness_strength * normal_data.roughness.x * normal_data.roughness.x),
|
| 437 |
+
(local_roughness * local_roughness +
|
| 438 |
+
geometry_normal_roughness_strength * normal_data.roughness.y * normal_data.roughness.y)
|
| 439 |
+
);
|
| 440 |
+
|
| 441 |
+
float3 the_normal = normal_data.normal;
|
| 442 |
+
|
| 443 |
+
bsdf ggx_1 = ::df::microfacet_ggx_smith_bsdf(
|
| 444 |
+
roughness_u: local_roughness_squared.x,
|
| 445 |
+
roughness_v: local_roughness_squared.y,
|
| 446 |
+
tint: local_reflection_color,
|
| 447 |
+
tangent_u: ::state::texture_tangent_u(0),
|
| 448 |
+
mode: ::df::scatter_reflect
|
| 449 |
+
);
|
| 450 |
+
|
| 451 |
+
bsdf ggx_2 = ::df::microfacet_ggx_smith_bsdf(
|
| 452 |
+
roughness_u: local_roughness_squared.x,
|
| 453 |
+
roughness_v: local_roughness_squared.y,
|
| 454 |
+
tint: local_transmission_color,
|
| 455 |
+
tangent_u: ::state::texture_tangent_u(0),
|
| 456 |
+
mode: ::df::scatter_transmit
|
| 457 |
+
);
|
| 458 |
+
|
| 459 |
+
material_surface local_surface(
|
| 460 |
+
::df::fresnel_layer(
|
| 461 |
+
ior: glass_ior,
|
| 462 |
+
weight: 1.f,
|
| 463 |
+
layer: ggx_1,
|
| 464 |
+
base: ggx_2,
|
| 465 |
+
normal: the_normal
|
| 466 |
+
),
|
| 467 |
+
material_emission()
|
| 468 |
+
);
|
| 469 |
+
|
| 470 |
+
|
| 471 |
+
// Volume Properties
|
| 472 |
+
color local_volume_absorption = depth;
|
| 473 |
+
color local_volume_scattering = color(0.f, 0.f, 0.f);
|
| 474 |
+
|
| 475 |
+
material_volume local_volume(vdf(), local_volume_absorption, local_volume_scattering);
|
| 476 |
+
|
| 477 |
+
|
| 478 |
+
// Geometry Properties
|
| 479 |
+
material_geometry local_geometry(float3(0.f), local_cutout_opacity, the_normal);
|
| 480 |
+
|
| 481 |
+
} in material(
|
| 482 |
+
thin_walled: local_thin_walled,
|
| 483 |
+
surface: local_surface,
|
| 484 |
+
ior: local_glass_ior,
|
| 485 |
+
volume: local_volume,
|
| 486 |
+
geometry: local_geometry
|
| 487 |
+
);
|
dishware_glass_wineWhite_b01/simready_usd/runnables/physics/mujoco.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6ed153672ba9c73742ee8be5142b4f713545990a873bbf2a2309937395abd55
|
| 3 |
+
size 1997
|
dishware_glass_wineWhite_b01/simready_usd/runnables/physics/mujoco.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97444821a2c35d93cbae6b23fd8c30833bd517c2c1842455c25f586bbc70d36f
|
| 3 |
+
size 559
|
dishware_glass_wineWhite_b01/simready_usd/runnables/physics/newton.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4196962252fa578e9e309b2479c3715592e8439a39f8acb93360029f9e132a11
|
| 3 |
+
size 2019
|
dishware_glass_wineWhite_b01/simready_usd/runnables/physics/newton.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4897f94c946b7d216ab35fe58e7d0d5f7bfce5e2c3d90d30421ae293a151df3
|
| 3 |
+
size 662
|
dishware_glass_wineWhite_b01/simready_usd/runnables/physics/physx.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a278dde8d20b3df07088c610a5ea775a9d6a7317015486e450a6b3cace1d634
|
| 3 |
+
size 1738
|
dishware_glass_wineWhite_b01/simready_usd/runnables/physics/physx.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba0efb429abeb686137dc63488ea7435e2acb61dc063a2fe57dc22b0296cb8e2
|
| 3 |
+
size 438
|
dishware_glass_wineWhite_b01/simready_usd/sm_dishware_glass_wineWhite_b01_01.usda
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48ff70ae9af2875203c537a99fed49a794c01a4c7a491863b27fded8f558b9e4
|
| 3 |
+
size 11501
|
dishware_glass_wineWhite_b01/simready_usd/source_assets/OmniGlass.mdl
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
mdl 1.7;
|
| 30 |
+
import ::anno::*;
|
| 31 |
+
import ::base::*;
|
| 32 |
+
import ::tex::*;
|
| 33 |
+
|
| 34 |
+
using OmniGlass_Opacity import OmniGlass_Opacity;
|
| 35 |
+
export annotation distill_off();
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
export material OmniGlass
|
| 39 |
+
(
|
| 40 |
+
color absorption_coeff = color(0.f, 0.f, 0.f) // hiding this parameter as it does not exist in the new material
|
| 41 |
+
[[
|
| 42 |
+
anno::hidden(),
|
| 43 |
+
anno::unused()
|
| 44 |
+
]],
|
| 45 |
+
uniform bool use_glass_color_texture = false
|
| 46 |
+
[[
|
| 47 |
+
anno::hidden(),
|
| 48 |
+
anno::unused()
|
| 49 |
+
]],
|
| 50 |
+
uniform color glass_color = color(1.f, 1.f, 1.f)
|
| 51 |
+
[[
|
| 52 |
+
anno::display_name("Glass Color"),
|
| 53 |
+
anno::description("Sets the color of the glass"),
|
| 54 |
+
anno::hard_range(color(0.0), color(1.0)),
|
| 55 |
+
anno::in_group("Color")
|
| 56 |
+
]],
|
| 57 |
+
uniform texture_2d glass_color_texture = texture_2d()
|
| 58 |
+
[[
|
| 59 |
+
anno::display_name("Glass Color Texture"),
|
| 60 |
+
anno::description("Specifies the texture to be used for the glass color of the material"),
|
| 61 |
+
anno::in_group("Color")
|
| 62 |
+
]],
|
| 63 |
+
float frosting_roughness = 0.f
|
| 64 |
+
[[
|
| 65 |
+
anno::display_name("Glass Roughness"),
|
| 66 |
+
anno::description("Sets the roughness of the glass material "),
|
| 67 |
+
anno::hard_range(0.0, 1.0),
|
| 68 |
+
anno::in_group("Roughness")
|
| 69 |
+
]],
|
| 70 |
+
uniform float glass_ior = 1.491f
|
| 71 |
+
[[
|
| 72 |
+
anno::display_name("Glass IOR"),
|
| 73 |
+
anno::description("Sets IOR of the glass material "),
|
| 74 |
+
anno::soft_range(1.0f, 4.0f),
|
| 75 |
+
anno::in_group("Refraction")
|
| 76 |
+
]],
|
| 77 |
+
uniform bool thin_walled = false
|
| 78 |
+
[[
|
| 79 |
+
anno::display_name("Thin Walled"),
|
| 80 |
+
anno::description("When enabled, the material is considered thin-walled. Use this, when you have glass surfaces that are modeled with a single plane"),
|
| 81 |
+
anno::in_group("Refraction")
|
| 82 |
+
]],
|
| 83 |
+
uniform float depth = 0.001f
|
| 84 |
+
[[
|
| 85 |
+
anno::description("Controls how much light is absorbed through the surface"),
|
| 86 |
+
anno::display_name("Volume Absorption Scale"),
|
| 87 |
+
anno::in_group("Color"),
|
| 88 |
+
anno::soft_range(0.f, 1.f),
|
| 89 |
+
anno::hard_range(0.f, 1000.f)
|
| 90 |
+
]],
|
| 91 |
+
float roughness_texture_influence = 1.f
|
| 92 |
+
[[
|
| 93 |
+
anno::display_name("Roughness Texture Influence"),
|
| 94 |
+
anno::in_group("Roughness"),
|
| 95 |
+
anno::hard_range(0.0f, 1.0f)
|
| 96 |
+
]],
|
| 97 |
+
uniform texture_2d roughness_texture = texture_2d()
|
| 98 |
+
[[
|
| 99 |
+
anno::description("The roughness texture"),
|
| 100 |
+
anno::display_name("Roughness Texture"),
|
| 101 |
+
anno::in_group("Roughness"),
|
| 102 |
+
anno::usage("roughness")
|
| 103 |
+
]],
|
| 104 |
+
uniform texture_2d reflection_color_texture = texture_2d()
|
| 105 |
+
[[
|
| 106 |
+
anno::description("The reflection color texture"),
|
| 107 |
+
anno::display_name("Reflection Color Texture"),
|
| 108 |
+
anno::in_group("Reflection")
|
| 109 |
+
]],
|
| 110 |
+
uniform color reflection_color = color(1.f, 1.f, 1.f)
|
| 111 |
+
[[
|
| 112 |
+
anno::display_name("Reflection Color"),
|
| 113 |
+
anno::in_group("Reflection")
|
| 114 |
+
]],
|
| 115 |
+
uniform texture_2d normal_map_texture = texture_2d()
|
| 116 |
+
[[
|
| 117 |
+
anno::description("The normal map texture"),
|
| 118 |
+
anno::display_name("Normal Map Texture"),
|
| 119 |
+
anno::in_group("Normal"),
|
| 120 |
+
anno::usage("normal")
|
| 121 |
+
]],
|
| 122 |
+
uniform float normal_map_strength = 1.0
|
| 123 |
+
[[
|
| 124 |
+
anno::description("Determines the degree of bumpiness"),
|
| 125 |
+
anno::display_name("Normal Map Strength"),
|
| 126 |
+
anno::in_group("Normal"),
|
| 127 |
+
anno::usage(""),
|
| 128 |
+
anno::soft_range(0.f, 1.f)
|
| 129 |
+
]],
|
| 130 |
+
uniform float geometry_normal_roughness_strength = 1.f
|
| 131 |
+
[[
|
| 132 |
+
anno::hard_range(0.f, 1.f),
|
| 133 |
+
anno::display_name("Normal map to roughness weight"),
|
| 134 |
+
anno::description("Enables and weights roughness induced by normal maps"),
|
| 135 |
+
anno::in_group("Normal")
|
| 136 |
+
]],
|
| 137 |
+
uniform bool flip_tangent_u = false
|
| 138 |
+
[[
|
| 139 |
+
anno::display_name("Normal Map Flip U Tangent"),
|
| 140 |
+
anno::in_group("Normal")
|
| 141 |
+
]],
|
| 142 |
+
uniform bool flip_tangent_v = true
|
| 143 |
+
[[
|
| 144 |
+
anno::display_name("Normal Map Flip V Tangent"),
|
| 145 |
+
anno::in_group("Normal")
|
| 146 |
+
]],
|
| 147 |
+
|
| 148 |
+
// Cutout Opacity
|
| 149 |
+
uniform bool enable_opacity = false
|
| 150 |
+
[[
|
| 151 |
+
anno::display_name("Enable Opacity"),
|
| 152 |
+
anno::description("Enables the use of cutout opacity"),
|
| 153 |
+
anno::in_group("Opacity")
|
| 154 |
+
]],
|
| 155 |
+
uniform float cutout_opacity = 1.0f
|
| 156 |
+
[[
|
| 157 |
+
anno::hard_range(0.0, 1.0),
|
| 158 |
+
anno::display_name("Opacity Amount"),
|
| 159 |
+
anno::description("Opacity value between 0 and 1, when Opacity Map is not valid"),
|
| 160 |
+
anno::in_group("Opacity")
|
| 161 |
+
]],
|
| 162 |
+
uniform texture_2d cutout_opacity_texture = texture_2d()
|
| 163 |
+
[[
|
| 164 |
+
anno::description("The opacity map"),
|
| 165 |
+
anno::display_name("Opacity Map"),
|
| 166 |
+
anno::in_group("Opacity"),
|
| 167 |
+
anno::usage("opacity")
|
| 168 |
+
]],
|
| 169 |
+
uniform base::mono_mode cutout_opacity_mono_source = base::mono_alpha
|
| 170 |
+
[[
|
| 171 |
+
anno::description("Determines how to lookup opacity from the supplied texture. mono_alpha, mono_average, mono_luminance, mono_maximum"),
|
| 172 |
+
anno::display_name("Opacity Mono Source"),
|
| 173 |
+
anno::in_group("Opacity"),
|
| 174 |
+
anno::usage("")
|
| 175 |
+
]],
|
| 176 |
+
uniform float opacity_threshold = 0.f
|
| 177 |
+
[[
|
| 178 |
+
anno::hard_range(0.0, 1.0),
|
| 179 |
+
anno::display_name("Opacity Threshold"),
|
| 180 |
+
anno::description("If negative, disable cutout_opacity; if 0, use fractional opacity values 'as is'; if > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 181 |
+
anno::in_group("Opacity")
|
| 182 |
+
]],
|
| 183 |
+
|
| 184 |
+
// UV Projection Group
|
| 185 |
+
uniform bool project_uvw = false
|
| 186 |
+
[[
|
| 187 |
+
anno::display_name("Enable Project UVW Coordinates"),
|
| 188 |
+
anno::description("When enabled, UV coordinates will be generated by projecting them from a coordinate system"),
|
| 189 |
+
anno::in_group("UV")
|
| 190 |
+
]],
|
| 191 |
+
uniform bool world_or_object = false
|
| 192 |
+
[[
|
| 193 |
+
anno::display_name("Enable World Space"),
|
| 194 |
+
anno::description("When set to 'true' uses world space for projection, when 'false' object space is used"),
|
| 195 |
+
anno::in_group("UV")
|
| 196 |
+
]],
|
| 197 |
+
|
| 198 |
+
// UV Space Selector
|
| 199 |
+
uniform int uv_space_index = 0
|
| 200 |
+
[[
|
| 201 |
+
anno::display_name("UV Space Index"),
|
| 202 |
+
anno::description("Choose the UV Space Index to be used"),
|
| 203 |
+
anno::in_group("UV"),
|
| 204 |
+
anno::hard_range(0, 3)
|
| 205 |
+
]],
|
| 206 |
+
uniform float2 texture_translate = float2(0.0f)
|
| 207 |
+
[[
|
| 208 |
+
anno::display_name("Texture Translate"),
|
| 209 |
+
anno::description("Controls the position of the texture."),
|
| 210 |
+
anno::in_group("UV")
|
| 211 |
+
]],
|
| 212 |
+
uniform float texture_rotate = 0.f
|
| 213 |
+
[[
|
| 214 |
+
anno::display_name("Texture Rotate"),
|
| 215 |
+
anno::description("Rotates angle of the texture in degrees."),
|
| 216 |
+
anno::in_group("UV")
|
| 217 |
+
]],
|
| 218 |
+
uniform float2 texture_scale = float2(1.0f)
|
| 219 |
+
[[
|
| 220 |
+
anno::display_name("Texture Tiling"),
|
| 221 |
+
anno::description("Controls repetition of the texture."),
|
| 222 |
+
anno::in_group("UV")
|
| 223 |
+
]]
|
| 224 |
+
)
|
| 225 |
+
[[
|
| 226 |
+
anno::author("NVIDIA CORPORATION"),
|
| 227 |
+
anno::display_name("Omni Glass"),
|
| 228 |
+
anno::version( 1, 0, 0),
|
| 229 |
+
anno::in_group("Base"),
|
| 230 |
+
anno::description("Omni Glass Material V2"),
|
| 231 |
+
anno::key_words(string[]("omni", "omniverse", "glass", "transparent", "window", "transparency", "workflow")),
|
| 232 |
+
distill_off()
|
| 233 |
+
]]
|
| 234 |
+
= OmniGlass_Opacity(
|
| 235 |
+
glass_color: glass_color,
|
| 236 |
+
glass_color_texture: glass_color_texture,
|
| 237 |
+
frosting_roughness: frosting_roughness,
|
| 238 |
+
glass_ior: glass_ior,
|
| 239 |
+
thin_walled: thin_walled,
|
| 240 |
+
depth: depth,
|
| 241 |
+
roughness_texture_influence: roughness_texture_influence,
|
| 242 |
+
roughness_texture: roughness_texture,
|
| 243 |
+
reflection_color_texture: reflection_color_texture,
|
| 244 |
+
reflection_color: reflection_color,
|
| 245 |
+
normal_map_texture: normal_map_texture,
|
| 246 |
+
normal_map_strength: normal_map_strength,
|
| 247 |
+
geometry_normal_roughness_strength: geometry_normal_roughness_strength,
|
| 248 |
+
flip_tangent_u: flip_tangent_u,
|
| 249 |
+
flip_tangent_v: flip_tangent_v,
|
| 250 |
+
enable_opacity: enable_opacity,
|
| 251 |
+
cutout_opacity: cutout_opacity,
|
| 252 |
+
cutout_opacity_texture: cutout_opacity_texture,
|
| 253 |
+
cutout_opacity_mono_source: cutout_opacity_mono_source,
|
| 254 |
+
opacity_threshold: opacity_threshold,
|
| 255 |
+
project_uvw: project_uvw,
|
| 256 |
+
world_or_object: world_or_object,
|
| 257 |
+
uv_space_index: uv_space_index,
|
| 258 |
+
texture_translate: texture_translate,
|
| 259 |
+
texture_rotate: texture_rotate,
|
| 260 |
+
texture_scale: texture_scale
|
| 261 |
+
);
|