Datasets:
Add FlatLab Scarf SimReady assets
Browse files- .gitattributes +12 -0
- Flat-Object-Assets/Scarf/Scarf1/.metadata/com.nvidia.simready.packaging.bom.json +19 -0
- Flat-Object-Assets/Scarf/Scarf1/com.nvidia.simready.packaging.json +19 -0
- Flat-Object-Assets/Scarf/Scarf1/simready_usd/Scarf1.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf1/simready_usd/Scarf1/Scarf1.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf2/.metadata/com.nvidia.simready.packaging.bom.json +61 -0
- Flat-Object-Assets/Scarf/Scarf2/com.nvidia.simready.packaging.json +19 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/.collect.mapping.json +35 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/Scarf2.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/Silk_Crepe_Back_Satin.mdl +831 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/crepe_norm_2.jpg +3 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg +3 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_norm.jpg +3 -0
- Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/sparkle_mask.jpg +3 -0
- Flat-Object-Assets/Scarf/Scarf3/.metadata/com.nvidia.simready.packaging.bom.json +19 -0
- Flat-Object-Assets/Scarf/Scarf3/com.nvidia.simready.packaging.json +19 -0
- Flat-Object-Assets/Scarf/Scarf3/simready_usd/Scarf3.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf3/simready_usd/Scarf3/Scarf3.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf4/.metadata/com.nvidia.simready.packaging.bom.json +19 -0
- Flat-Object-Assets/Scarf/Scarf4/com.nvidia.simready.packaging.json +19 -0
- Flat-Object-Assets/Scarf/Scarf4/simready_usd/Scarf4.usd +3 -0
- Flat-Object-Assets/Scarf/Scarf4/simready_usd/Scarf4/Scarf4.usd +3 -0
.gitattributes
CHANGED
|
@@ -230,3 +230,15 @@ Flat-Object-Assets/Plate/Plate4/simready_usd/Plate4/Plate4.usd filter=lfs diff=l
|
|
| 230 |
Flat-Object-Assets/Plate/Plate4/simready_usd/Plate4.usd filter=lfs diff=lfs merge=lfs -text
|
| 231 |
Flat-Object-Assets/Plate/Plate5/simready_usd/Plate5/Plate5.usd filter=lfs diff=lfs merge=lfs -text
|
| 232 |
Flat-Object-Assets/Plate/Plate5/simready_usd/Plate5.usd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
Flat-Object-Assets/Plate/Plate4/simready_usd/Plate4.usd filter=lfs diff=lfs merge=lfs -text
|
| 231 |
Flat-Object-Assets/Plate/Plate5/simready_usd/Plate5/Plate5.usd filter=lfs diff=lfs merge=lfs -text
|
| 232 |
Flat-Object-Assets/Plate/Plate5/simready_usd/Plate5.usd filter=lfs diff=lfs merge=lfs -text
|
| 233 |
+
Flat-Object-Assets/Scarf/Scarf1/simready_usd/Scarf1/Scarf1.usd filter=lfs diff=lfs merge=lfs -text
|
| 234 |
+
Flat-Object-Assets/Scarf/Scarf1/simready_usd/Scarf1.usd filter=lfs diff=lfs merge=lfs -text
|
| 235 |
+
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/Scarf2.usd filter=lfs diff=lfs merge=lfs -text
|
| 236 |
+
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/crepe_norm_2.jpg filter=lfs diff=lfs merge=lfs -text
|
| 237 |
+
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg filter=lfs diff=lfs merge=lfs -text
|
| 238 |
+
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_norm.jpg filter=lfs diff=lfs merge=lfs -text
|
| 239 |
+
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/sparkle_mask.jpg filter=lfs diff=lfs merge=lfs -text
|
| 240 |
+
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2.usd filter=lfs diff=lfs merge=lfs -text
|
| 241 |
+
Flat-Object-Assets/Scarf/Scarf3/simready_usd/Scarf3/Scarf3.usd filter=lfs diff=lfs merge=lfs -text
|
| 242 |
+
Flat-Object-Assets/Scarf/Scarf3/simready_usd/Scarf3.usd filter=lfs diff=lfs merge=lfs -text
|
| 243 |
+
Flat-Object-Assets/Scarf/Scarf4/simready_usd/Scarf4/Scarf4.usd filter=lfs diff=lfs merge=lfs -text
|
| 244 |
+
Flat-Object-Assets/Scarf/Scarf4/simready_usd/Scarf4.usd filter=lfs diff=lfs merge=lfs -text
|
Flat-Object-Assets/Scarf/Scarf1/.metadata/com.nvidia.simready.packaging.bom.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"items": [
|
| 4 |
+
{
|
| 5 |
+
"relative_path": "simready_usd/Scarf1/Scarf1.usd",
|
| 6 |
+
"size": 6623208,
|
| 7 |
+
"hash": {
|
| 8 |
+
"sha256": "9e7a56787ac367c1942cba8b203b76acd564255cf93239afd9e8fae8d4603d57"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"relative_path": "simready_usd/Scarf1.usd",
|
| 13 |
+
"size": 6623208,
|
| 14 |
+
"hash": {
|
| 15 |
+
"sha256": "9e7a56787ac367c1942cba8b203b76acd564255cf93239afd9e8fae8d4603d57"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf1/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.Hwsss.FlatLab-Asset.Scarf1.2026.10.23_00",
|
| 4 |
+
"license": "cc-by-4.0",
|
| 5 |
+
"metadata": [
|
| 6 |
+
{
|
| 7 |
+
"name": "com.nvidia.simready.packaging.bom.json",
|
| 8 |
+
"hash": {
|
| 9 |
+
"sha256": "29e271d9087c6f1ececfebb6cc0d54a5f2b441772c0eed9f244c07cd852a210b"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"content_hash": {
|
| 14 |
+
"sha256": "555afd0b1fe9be31a6b149dc2b441795a5675d0cef27e41038d23b134d1e9dab"
|
| 15 |
+
},
|
| 16 |
+
"package_hash": {
|
| 17 |
+
"sha256": "c8588df7c0640f2309293eb87576ac10fbf6b8d98c603572b6a91c5d047a3e79"
|
| 18 |
+
}
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf1/simready_usd/Scarf1.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e7a56787ac367c1942cba8b203b76acd564255cf93239afd9e8fae8d4603d57
|
| 3 |
+
size 6623208
|
Flat-Object-Assets/Scarf/Scarf1/simready_usd/Scarf1/Scarf1.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e7a56787ac367c1942cba8b203b76acd564255cf93239afd9e8fae8d4603d57
|
| 3 |
+
size 6623208
|
Flat-Object-Assets/Scarf/Scarf2/.metadata/com.nvidia.simready.packaging.bom.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"items": [
|
| 4 |
+
{
|
| 5 |
+
"relative_path": "simready_usd/Scarf2/.collect.mapping.json",
|
| 6 |
+
"size": 2391,
|
| 7 |
+
"hash": {
|
| 8 |
+
"sha256": "cb096f28efcac575e5c973d52bf0d88e102d48dc4687df41591a72f47df40489"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"relative_path": "simready_usd/Scarf2/Scarf2.usd",
|
| 13 |
+
"size": 6620497,
|
| 14 |
+
"hash": {
|
| 15 |
+
"sha256": "62b3a1b45b1c992d9c2dd2c58ea2965f3a806ff05fd937f623e627a37ebd0fa8"
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"relative_path": "simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/Silk_Crepe_Back_Satin.mdl",
|
| 20 |
+
"size": 42464,
|
| 21 |
+
"hash": {
|
| 22 |
+
"sha256": "9e58bc9df26aa26195aae775204da3b96c40d561644983c8ea34bccccd4b1905"
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"relative_path": "simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/crepe_norm_2.jpg",
|
| 27 |
+
"size": 1800029,
|
| 28 |
+
"hash": {
|
| 29 |
+
"sha256": "e58a6047b94e11b55e852fc1e2d0696a157d8e9093c7b12004d23966e511b145"
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"relative_path": "simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg",
|
| 34 |
+
"size": 1981810,
|
| 35 |
+
"hash": {
|
| 36 |
+
"sha256": "4267ec7d51f78bb2d1cc07fe06fc4acd7bb70b8345fe19990932f7e688085133"
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"relative_path": "simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_norm.jpg",
|
| 41 |
+
"size": 1458722,
|
| 42 |
+
"hash": {
|
| 43 |
+
"sha256": "1918248615fc29444d7572ca26d98e9a4b448ad5ecbccf9cce8adfaa006ec124"
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"relative_path": "simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/sparkle_mask.jpg",
|
| 48 |
+
"size": 1057335,
|
| 49 |
+
"hash": {
|
| 50 |
+
"sha256": "fb3e05b4071295b2cd0b38c10e781168fe55016fda439697d26acc26c2462e38"
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"relative_path": "simready_usd/Scarf2.usd",
|
| 55 |
+
"size": 6621298,
|
| 56 |
+
"hash": {
|
| 57 |
+
"sha256": "c428d1c9ac66e932f76f9cbd4c5e8a498977f514097a4793464fb79b6e3b8ac3"
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
]
|
| 61 |
+
}
|
Flat-Object-Assets/Scarf/Scarf2/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.Hwsss.FlatLab-Asset.Scarf2.2026.10.23_00",
|
| 4 |
+
"license": "cc-by-4.0",
|
| 5 |
+
"metadata": [
|
| 6 |
+
{
|
| 7 |
+
"name": "com.nvidia.simready.packaging.bom.json",
|
| 8 |
+
"hash": {
|
| 9 |
+
"sha256": "37fe35c2b426571cd3d53bb11725bbe142db1aa6e2be44452b3e365da9157f6e"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"content_hash": {
|
| 14 |
+
"sha256": "0730df7d60dbf719bf3149a3c0bfcec334c6fb0d1cfcc8fdeb49705c947124a9"
|
| 15 |
+
},
|
| 16 |
+
"package_hash": {
|
| 17 |
+
"sha256": "89273218d57f0f96afe8139bca121e64ea756314fb13692442d9cb79645bdc6b"
|
| 18 |
+
}
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c428d1c9ac66e932f76f9cbd4c5e8a498977f514097a4793464fb79b6e3b8ac3
|
| 3 |
+
size 6621298
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/.collect.mapping.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"file_records": [
|
| 4 |
+
{
|
| 5 |
+
"source_url": "http://omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/Silk_Crepe_Back_Satin.mdl",
|
| 6 |
+
"source_hash": "3cf6e9953847d24f66ae4015744f3c3f286d67d2",
|
| 7 |
+
"target_url": "./omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/Silk_Crepe_Back_Satin.mdl",
|
| 8 |
+
"target_hash": "f87e4fbb6a6764652dc08381c331b42a2e3c9c07"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"source_url": "http://omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg",
|
| 12 |
+
"source_hash": "e9ae08695dcabd5338e2b43e3fb5c739dae43a8b",
|
| 13 |
+
"target_url": "./omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg",
|
| 14 |
+
"target_hash": "23834b2dafe6bbf5446d343e6ae4fa1f73dec0f8"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"source_url": "http://omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/sparkle_mask.jpg",
|
| 18 |
+
"source_hash": "d8bb63584f29e77360300abf9960fd557eb3a36e",
|
| 19 |
+
"target_url": "./omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/sparkle_mask.jpg",
|
| 20 |
+
"target_hash": "4674f39ef5176df0736c4dbf7e32cc823ff7373d"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"source_url": "http://omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/crepe_norm_2.jpg",
|
| 24 |
+
"source_hash": "289b7f5e5af7a8ec5699ae0a8d525fa56da41919",
|
| 25 |
+
"target_url": "./omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/crepe_norm_2.jpg",
|
| 26 |
+
"target_hash": "9889fec9e99207f7b1c150f16dbec39c3c0e069f"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"source_url": "http://omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_norm.jpg",
|
| 30 |
+
"source_hash": "bfcd0d8b18f0e19c498f61ffc7a618601802be37",
|
| 31 |
+
"target_url": "./omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_norm.jpg",
|
| 32 |
+
"target_hash": "599e4a8e5f82adba4dc0977e9ac90613c10e958f"
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
}
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/Scarf2.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62b3a1b45b1c992d9c2dd2c58ea2965f3a806ff05fd937f623e627a37ebd0fa8
|
| 3 |
+
size 6620497
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/Silk_Crepe_Back_Satin.mdl
ADDED
|
@@ -0,0 +1,831 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/******************************************************************************
|
| 2 |
+
* Copyright 2024 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
******************************************************************************
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,
|
| 6 |
+
to any person obtaining a copy of the sample definition code that uses our
|
| 7 |
+
Material Definition Language (the "MDL Materials"), to reproduce and distribute
|
| 8 |
+
the MDL Materials, including without limitation the rights to use, copy, merge,
|
| 9 |
+
publish, distribute, and sell modified and unmodified copies of the MDL
|
| 10 |
+
Materials, and to permit persons to whom the MDL Materials is furnished to do
|
| 11 |
+
so, in all cases solely for use with NVIDIA's Material Definition Language,
|
| 12 |
+
subject to the following further conditions:
|
| 13 |
+
|
| 14 |
+
1. The above copyright notices, this list of conditions, and the disclaimer
|
| 15 |
+
that follows shall be retained in all copies of one or more of the MDL
|
| 16 |
+
Materials, including in any software with which the MDL Materials are bundled,
|
| 17 |
+
redistributed, and/or sold, and included either as stand-alone text files,
|
| 18 |
+
human-readable headers or in the appropriate machine-readable metadata fields
|
| 19 |
+
within text or binary files as long as those fields can be easily viewed by the
|
| 20 |
+
user, as applicable.
|
| 21 |
+
2. The name of NVIDIA shall not be used to promote, endorse or advertise any
|
| 22 |
+
Modified Version without specific prior written permission, except a) to comply
|
| 23 |
+
with the notice requirements otherwise contained herein; or b) to acknowledge
|
| 24 |
+
the contribution(s) of NVIDIA.
|
| 25 |
+
|
| 26 |
+
THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 27 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
| 28 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
| 29 |
+
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR
|
| 30 |
+
ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
|
| 31 |
+
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
|
| 32 |
+
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
|
| 33 |
+
THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.
|
| 34 |
+
*/
|
| 35 |
+
|
| 36 |
+
mdl 1.7;
|
| 37 |
+
|
| 38 |
+
import ::anno::*;
|
| 39 |
+
import ::base::*;
|
| 40 |
+
import ::df::*;
|
| 41 |
+
import ::math::*;
|
| 42 |
+
import ::state::*;
|
| 43 |
+
import ::tex::*;
|
| 44 |
+
import ::nvidia::core_definitions::dimension;
|
| 45 |
+
import ::nvidia::core_definitions::blend_colors;
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
const string COPYRIGHT =
|
| 49 |
+
" Copyright 2024 NVIDIA Corporation. All rights reserved.\n"
|
| 50 |
+
" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
|
| 51 |
+
" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
|
| 52 |
+
" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
|
| 53 |
+
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
|
| 54 |
+
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
|
| 55 |
+
" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
|
| 56 |
+
" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
|
| 57 |
+
" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
|
| 58 |
+
" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
|
| 59 |
+
" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
|
| 60 |
+
|
| 61 |
+
const string DESCRIPTION = "A Silk material with a crepe appearance.";
|
| 62 |
+
|
| 63 |
+
annotation preview_scale( float f);
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
struct vm_3float{
|
| 67 |
+
float x;
|
| 68 |
+
float y;
|
| 69 |
+
float z;
|
| 70 |
+
};
|
| 71 |
+
|
| 72 |
+
struct vm_coordinates{
|
| 73 |
+
float2 uv;
|
| 74 |
+
float rotation;
|
| 75 |
+
int uv_space_index;
|
| 76 |
+
float4 carry;
|
| 77 |
+
};
|
| 78 |
+
|
| 79 |
+
enum vm_mono_select
|
| 80 |
+
[[
|
| 81 |
+
anno::description("Modes for the creation of a gray-scale value from a color"),
|
| 82 |
+
anno::hidden()
|
| 83 |
+
]]
|
| 84 |
+
{
|
| 85 |
+
mono_r = 0,
|
| 86 |
+
mono_g = 1,
|
| 87 |
+
mono_b = 2,
|
| 88 |
+
mono_a = 3,
|
| 89 |
+
mono_average = 4
|
| 90 |
+
};
|
| 91 |
+
|
| 92 |
+
// Generates simple 2d coordinates which are used for subsequent lookups.
|
| 93 |
+
// Any rotation that is happening is stored in the 'rotation' variable which
|
| 94 |
+
// is used when normalmap lookups e.g. in 'vm_normal_lookup' are performed
|
| 95 |
+
vm_coordinates vm_coord
|
| 96 |
+
(
|
| 97 |
+
float2 translation = float2(0.0f, 0.0) [[
|
| 98 |
+
::anno::display_name("Translation"),
|
| 99 |
+
::anno::description("Translates the coordinates.")
|
| 100 |
+
]],
|
| 101 |
+
float rotation = 0.0f [[
|
| 102 |
+
::anno::display_name("Rotation"),
|
| 103 |
+
::anno::description("Rotates the coordinates in degrees.")
|
| 104 |
+
]],
|
| 105 |
+
float2 scaling = float2(1.0f, 1.0f) [[
|
| 106 |
+
::anno::display_name("Scaling"),
|
| 107 |
+
::anno::description("Scales the coordinates.")
|
| 108 |
+
]],
|
| 109 |
+
uniform int uv_space = 0 [[
|
| 110 |
+
::anno::display_name("UV Space"),
|
| 111 |
+
::anno::description("Chose the UV space.")
|
| 112 |
+
]]
|
| 113 |
+
)
|
| 114 |
+
[[
|
| 115 |
+
::anno::display_name("vm Transform"),
|
| 116 |
+
::anno::description("Generates coordinates to be used in vm_lookup functions.")
|
| 117 |
+
]]
|
| 118 |
+
{
|
| 119 |
+
vm_coordinates uv;
|
| 120 |
+
::base::texture_coordinate_info info = ::base::coordinate_source( ::base::texture_coordinate_uvw, uv_space);
|
| 121 |
+
uv.rotation = (rotation * 3.1415926535897932384626433832f) / 180.f;
|
| 122 |
+
uv.uv = float2(info.position.x, info.position.y);
|
| 123 |
+
float sine = ::math::sin(uv.rotation);
|
| 124 |
+
float cosine = ::math::cos(uv.rotation);
|
| 125 |
+
float2x2 rot = float2x2(cosine, -sine, sine, cosine);
|
| 126 |
+
uv.uv = rot * uv.uv;
|
| 127 |
+
uv.uv /= scaling;
|
| 128 |
+
uv.uv += translation;
|
| 129 |
+
// Translation before or after rotation?
|
| 130 |
+
return uv;
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
vm_coordinates vm_coord_post_scale(
|
| 134 |
+
vm_coordinates uv = vm_coord(),
|
| 135 |
+
float2 scale = float2(1.0f)
|
| 136 |
+
)
|
| 137 |
+
{
|
| 138 |
+
uv.uv /= scale;
|
| 139 |
+
return uv;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
::base::texture_return vm_tex_lookup(
|
| 143 |
+
uniform texture_2d tex,
|
| 144 |
+
vm_coordinates uv = vm_coord(),
|
| 145 |
+
uniform vm_mono_select mono_source = mono_a,
|
| 146 |
+
float4 scale = float4(1.0f))
|
| 147 |
+
{
|
| 148 |
+
float mono;
|
| 149 |
+
float4 lookup = ::tex::lookup_float4(tex, uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) * scale;
|
| 150 |
+
switch( mono_source ) {
|
| 151 |
+
case mono_r: mono = lookup.x;
|
| 152 |
+
break;
|
| 153 |
+
case mono_g: mono = lookup.y;
|
| 154 |
+
break;
|
| 155 |
+
case mono_b: mono = lookup.z;
|
| 156 |
+
break;
|
| 157 |
+
case mono_a: mono = lookup.w;
|
| 158 |
+
break;
|
| 159 |
+
case mono_average: mono = ::math::average(float3(lookup.x, lookup.y, lookup.z));
|
| 160 |
+
break;
|
| 161 |
+
}
|
| 162 |
+
return ::base::texture_return(color(lookup.x, lookup.y, lookup.z), mono);
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
vm_3float vm_tex_lookup_3float(
|
| 166 |
+
uniform texture_2d tex,
|
| 167 |
+
vm_coordinates uv = vm_coord(),
|
| 168 |
+
float3 scale = float3(1.0f))
|
| 169 |
+
{
|
| 170 |
+
vm_3float ret;
|
| 171 |
+
float3 lookup = ::tex::lookup_float3(tex, uv.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) * scale;
|
| 172 |
+
ret.x = lookup.x;
|
| 173 |
+
ret.y = lookup.y;
|
| 174 |
+
ret.z = lookup.z;
|
| 175 |
+
return ret;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
float3 vm_tex_normal_lookup_2x(
|
| 179 |
+
uniform texture_2d tex_a,
|
| 180 |
+
uniform texture_2d tex_b,
|
| 181 |
+
vm_coordinates uv_a = vm_coord(),
|
| 182 |
+
vm_coordinates uv_b = vm_coord(),
|
| 183 |
+
float strength_a = 1.0f,
|
| 184 |
+
float strength_b = 1.0f,
|
| 185 |
+
bool use_coord_a_only = false
|
| 186 |
+
)
|
| 187 |
+
{
|
| 188 |
+
float rot_a = uv_a.rotation;
|
| 189 |
+
float rot_b = use_coord_a_only ? uv_a.rotation : uv_b.rotation;
|
| 190 |
+
uv_b.uv = use_coord_a_only ? uv_a.uv : uv_b.uv;
|
| 191 |
+
|
| 192 |
+
// Lookup and convert normal textures a and b to -1 ... 1 range
|
| 193 |
+
float3 norm_a = (::tex::lookup_float3(tex_a, uv_a.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) - float3(.5f)) * 2.0f;
|
| 194 |
+
norm_a = ::math::normalize(norm_a * float3(strength_a, strength_a, 1.0));
|
| 195 |
+
float3 norm_b = (::tex::lookup_float3(tex_b, uv_b.uv, ::tex::wrap_repeat, ::tex::wrap_repeat) - float3(.5f)) * 2.0f;
|
| 196 |
+
norm_b = ::math::normalize(norm_b * float3(strength_b, strength_b, 1.0));
|
| 197 |
+
|
| 198 |
+
// if any rotation happened prior to the lookup, compensate for it
|
| 199 |
+
norm_a = float3(::math::cos(rot_a) * norm_a.x - ::math::sin(rot_a) * norm_a.y,
|
| 200 |
+
::math::sin(rot_a) * norm_a.x + ::math::cos(rot_a) * norm_a.y,
|
| 201 |
+
norm_a.z);
|
| 202 |
+
norm_b = float3(::math::cos(rot_b) * norm_b.x - ::math::sin(rot_b) * norm_b.y,
|
| 203 |
+
::math::sin(rot_b) * norm_b.x + ::math::cos(rot_b) * norm_b.y,
|
| 204 |
+
norm_b.z);
|
| 205 |
+
|
| 206 |
+
// http://blog.selfshadow.com/publications/blending-in-detail/
|
| 207 |
+
norm_a=norm_a + float3(0.,0.,1.);
|
| 208 |
+
norm_b = norm_b * float3(-1.,-1.,1.);
|
| 209 |
+
float3 norm = norm_a*math::dot(norm_a, norm_b)/norm_a.z - norm_b;
|
| 210 |
+
|
| 211 |
+
return norm.x * ::state::texture_tangent_u(uv_a.uv_space_index) +
|
| 212 |
+
norm.y * ::state::texture_tangent_v(uv_a.uv_space_index) +
|
| 213 |
+
norm.z * ::state::normal();
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
::base::texture_coordinate_info transform_coordinate_2(
|
| 217 |
+
float4x4 transform
|
| 218 |
+
[[ anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]],
|
| 219 |
+
::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info()
|
| 220 |
+
[[ anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]]
|
| 221 |
+
) [[
|
| 222 |
+
::anno::description("Transform a texture coordinate by a matrix.") ,
|
| 223 |
+
::anno::noinline()
|
| 224 |
+
]]
|
| 225 |
+
{
|
| 226 |
+
float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1);
|
| 227 |
+
float4 u = transform[0];
|
| 228 |
+
float3 ru = ::math::normalize(float3(u.x,u.y,u.z));
|
| 229 |
+
float cos = ru.x;
|
| 230 |
+
float sin = -ru.y;
|
| 231 |
+
return ::base::texture_coordinate_info(
|
| 232 |
+
float3(r_position.x,r_position.y,r_position.z),
|
| 233 |
+
math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v),
|
| 234 |
+
math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u));
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
::base::texture_coordinate_info vmat_transform(
|
| 238 |
+
float2 translation = float2(0.0, 0.0),
|
| 239 |
+
float rotation = 0.0, // rotation in degrees
|
| 240 |
+
float2 scaling = float2(1.0, 1.0),
|
| 241 |
+
uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw,
|
| 242 |
+
uniform int uv_space = 0
|
| 243 |
+
)
|
| 244 |
+
{
|
| 245 |
+
float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f;
|
| 246 |
+
float4x4 scale =
|
| 247 |
+
float4x4(1.0 /scaling.x, 0. , 0. , 0.,
|
| 248 |
+
0. , 1.0 /scaling.y , 0. , 0.,
|
| 249 |
+
0. , 0. , 1.0, 0.,
|
| 250 |
+
translation.x , translation.y , 0.0, 1.);
|
| 251 |
+
|
| 252 |
+
float s = ::math::sin(rotation_rad);
|
| 253 |
+
float c = ::math::cos(rotation_rad);
|
| 254 |
+
float4x4 rotate =
|
| 255 |
+
float4x4( c , -s , 0.0 , 0.0,
|
| 256 |
+
s , c , 0.0 , 0.0,
|
| 257 |
+
0.0, 0.0 , 1.0 , 0.0,
|
| 258 |
+
0. , 0.0 , 0.0 , 1.);
|
| 259 |
+
|
| 260 |
+
return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space));
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
|
| 264 |
+
float3 rgb2hsl(float3 c)
|
| 265 |
+
[[
|
| 266 |
+
::anno::description("Converts a color value to HSL. The function outputs the hue to \n"
|
| 267 |
+
"lie in the range from 0.0-1.0."),
|
| 268 |
+
::anno::author("NVIDIA vMaterials")
|
| 269 |
+
]]
|
| 270 |
+
{
|
| 271 |
+
float3 hsl;
|
| 272 |
+
float cMax = ::math::max(::math::max(c.x, c.y), c.z);
|
| 273 |
+
float cMin = ::math::min(::math::min(c.x, c.y), c.z);
|
| 274 |
+
float delta = cMax - cMin;
|
| 275 |
+
|
| 276 |
+
hsl.z = (cMax + cMin) / 2.0;
|
| 277 |
+
hsl.x = ((cMax == cMin) ? 0 :
|
| 278 |
+
(cMax == c.x) ? (c.y - c.z) / delta + ((c.z > c.y) ? 6.0f : 0.0f):
|
| 279 |
+
(cMax == c.y) ? (c.z - c.x) / delta + 2.0 : (c.x - c.y) / delta + 4.0) / 6.0f;
|
| 280 |
+
hsl.y = (hsl.z == 0.0 || hsl.z == 1.0) ? 0.0 : delta / (1.0 - ::math::abs(2.0 * hsl.z - 1.0));
|
| 281 |
+
return hsl;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
|
| 285 |
+
float f_n(float n, float a, float h, float l) {
|
| 286 |
+
float k = ::math::fmod(n + h * 12.f, 12.f);
|
| 287 |
+
|
| 288 |
+
return l - a * ::math::max(-1.0f, ::math::min(::math::min(k-3.0f, 9.0f-k), 1.0f));
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
color hsl2rgb(float3 hsl)
|
| 292 |
+
[[
|
| 293 |
+
::anno::description("Converts a HSL value back to a color. Note that the hue is expected to \n"
|
| 294 |
+
"lie in the range from 0.0-1.0."),
|
| 295 |
+
::anno::author("NVIDIA vMaterials")
|
| 296 |
+
]]
|
| 297 |
+
{
|
| 298 |
+
float h = hsl.x, s = hsl.y, l = hsl.z;
|
| 299 |
+
float a = s * ::math::min(l, 1.0f - l);
|
| 300 |
+
return color(f_n(0.0, a, h, l),
|
| 301 |
+
f_n(8.0, a, h, l),
|
| 302 |
+
f_n(4.0, a, h, l));
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
float remap(float input, float low_1, float high_1, float low_2, float high_2)
|
| 306 |
+
{
|
| 307 |
+
return low_2 + ((input - low_1) * (high_2 - low_2))/(high_1 - low_1);
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
float histogram_scan_big(float input, float width, float position)
|
| 311 |
+
{
|
| 312 |
+
return ::math::clamp(
|
| 313 |
+
remap(input,
|
| 314 |
+
::math::lerp(-width, 1.0, position),
|
| 315 |
+
::math::lerp(0.0, 1.0 + width, position),
|
| 316 |
+
0.0,
|
| 317 |
+
1.0),
|
| 318 |
+
0.0,
|
| 319 |
+
1.0);
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
float histogram_range(float input, float range = 1.0f, float position = 0.5f)
|
| 324 |
+
{
|
| 325 |
+
float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0);
|
| 326 |
+
float high = ::math::clamp(math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0);
|
| 327 |
+
return ::math::lerp(low, high, input);
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
// Returns the normal n in tangent space, given n is in internal space.
|
| 331 |
+
float3 transform_internal_to_tangent(float3 n)
|
| 332 |
+
[[
|
| 333 |
+
anno::hidden()
|
| 334 |
+
]]
|
| 335 |
+
{
|
| 336 |
+
return
|
| 337 |
+
n.x* float3(state::texture_tangent_u(0).x,state::texture_tangent_v(0).x,state::normal().x)+
|
| 338 |
+
n.y* float3(state::texture_tangent_u(0).y,state::texture_tangent_v(0).y,state::normal().y)+
|
| 339 |
+
n.z* float3(state::texture_tangent_u(0).z,state::texture_tangent_v(0).z,state::normal().z);
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
// Returns the normal n in internal space, given n is in tangent space.
|
| 343 |
+
float3 transform_tangent_to_internal(float3 n)
|
| 344 |
+
[[
|
| 345 |
+
anno::hidden()
|
| 346 |
+
]]
|
| 347 |
+
{
|
| 348 |
+
return state::texture_tangent_u(0) * n.x +
|
| 349 |
+
state::texture_tangent_v(0) * n.y +
|
| 350 |
+
state::normal() * n.z ;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
// Returns a normal by adding a detail normal to a global normal.
|
| 356 |
+
// If detail blending of two normal maps gives visual artifacts, check if texture_2d are loaded
|
| 357 |
+
// correctly with tex::gamma_linear
|
| 358 |
+
float3 add_detail_normal(float3 nd = state::normal(), float3 n = state::normal())
|
| 359 |
+
{
|
| 360 |
+
// http://blog.selfshadow.com/publications/blending-in-detail/
|
| 361 |
+
float3 n_t = transform_internal_to_tangent(n);
|
| 362 |
+
float3 nd_t = transform_internal_to_tangent(nd);
|
| 363 |
+
|
| 364 |
+
n_t=n_t + float3(0.,0.,1.);
|
| 365 |
+
nd_t = nd_t * float3(-1.,-1.,1.);
|
| 366 |
+
n = n_t*math::dot(n_t, nd_t)/n_t.z - nd_t;
|
| 367 |
+
return ::math::normalize(transform_tangent_to_internal(n));
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
export material Silk_Crepe_Back_Satin(
|
| 371 |
+
color fabric_color = color(0.991102f, 0.991102f, 0.991102f) [[
|
| 372 |
+
::anno::description("Choose the color of the fabric."),
|
| 373 |
+
::anno::display_name("Fabric Color"),
|
| 374 |
+
::anno::in_group("Appearance"),
|
| 375 |
+
::anno::ui_order(0)
|
| 376 |
+
]],
|
| 377 |
+
float color_shimmer = 0.21f [[
|
| 378 |
+
::anno::description("Adds a variation to the reflection colors of the fabric. Higher values lead to more drastical color changes."),
|
| 379 |
+
::anno::display_name("Color Shimmer"),
|
| 380 |
+
::anno::in_group("Appearance"),
|
| 381 |
+
::anno::hard_range(0.f, 1.f),
|
| 382 |
+
::anno::ui_order(1)
|
| 383 |
+
]],
|
| 384 |
+
float highlight_saturation = 0.14f [[
|
| 385 |
+
::anno::description("Higher values cause reflected light to be tinted in the color of the material."),
|
| 386 |
+
::anno::display_name("Highlight Saturation"),
|
| 387 |
+
::anno::in_group("Appearance"),
|
| 388 |
+
::anno::hard_range(0.f, 1.f),
|
| 389 |
+
::anno::ui_order(2)
|
| 390 |
+
]],
|
| 391 |
+
float diffuse_weight = 0.5f [[
|
| 392 |
+
::anno::description("Increasing the diffuse contribution make the material appear more flat and takes away some of its shininess."),
|
| 393 |
+
::anno::display_name("Diffuse Amount"),
|
| 394 |
+
::anno::in_group("Appearance"),
|
| 395 |
+
::anno::hard_range(0.f, 1.f),
|
| 396 |
+
::anno::ui_order(3)
|
| 397 |
+
]],
|
| 398 |
+
float transmissive_weight = .24f [[
|
| 399 |
+
::anno::description("Lets light pass through the material and illuminate it from the other side."),
|
| 400 |
+
::anno::display_name("Translucency"),
|
| 401 |
+
::anno::in_group("Appearance"),
|
| 402 |
+
::anno::hard_range(0.f, 1.f),
|
| 403 |
+
::anno::ui_order(4)
|
| 404 |
+
]],
|
| 405 |
+
float fabric_bump_strength = 1.f [[
|
| 406 |
+
::anno::description("Specifies the strength of the fabric bump."),
|
| 407 |
+
::anno::display_name("Fabric Bump Strength"),
|
| 408 |
+
::anno::in_group("Appearance", "Bump"),
|
| 409 |
+
::anno::hard_range(0.f, 1.f),
|
| 410 |
+
::anno::ui_order(5)
|
| 411 |
+
]],
|
| 412 |
+
float crepe_strength = 0.6f [[
|
| 413 |
+
::anno::description("Specifies how strong the bumps of the crepe effect appear."),
|
| 414 |
+
::anno::display_name("Crepe Bump Strength"),
|
| 415 |
+
::anno::in_group("Appearance", "Bump"),
|
| 416 |
+
::anno::hard_range(0.f, 1.f),
|
| 417 |
+
::anno::ui_order(6)
|
| 418 |
+
]],
|
| 419 |
+
float2 texture_translate = float2(0.f) [[
|
| 420 |
+
::anno::description("Controls the position of the texture."),
|
| 421 |
+
::anno::display_name("Texture Translate"),
|
| 422 |
+
::anno::in_group("Transform"),
|
| 423 |
+
::anno::ui_order(7)
|
| 424 |
+
]],
|
| 425 |
+
float texture_rotate = 0.f [[
|
| 426 |
+
::anno::description("Rotates angle of the texture in degrees."),
|
| 427 |
+
::anno::display_name("Texture Rotate"),
|
| 428 |
+
::anno::in_group("Transform"),
|
| 429 |
+
::anno::soft_range(0.f, 360.f),
|
| 430 |
+
::anno::ui_order(8)
|
| 431 |
+
]],
|
| 432 |
+
float2 texture_scale = float2(1.0f) [[
|
| 433 |
+
::anno::description("Larger numbers increase the size."),
|
| 434 |
+
::anno::display_name("Texture Scale"),
|
| 435 |
+
::anno::in_group("Transform"),
|
| 436 |
+
::nvidia::core_definitions::dimension(float2(1.0f, 1.0f)),
|
| 437 |
+
::preview_scale(3.5f),
|
| 438 |
+
::anno::ui_order(9)
|
| 439 |
+
]],
|
| 440 |
+
uniform int uv_space_index = 0 [[
|
| 441 |
+
::anno::description("Uses selected UV space for material."),
|
| 442 |
+
::anno::display_name("UV Space Index"),
|
| 443 |
+
::anno::in_group("Transform"),
|
| 444 |
+
::anno::ui_order(10)
|
| 445 |
+
]],
|
| 446 |
+
uniform bool roundcorners_enable = false [[
|
| 447 |
+
::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."),
|
| 448 |
+
::anno::display_name("Enable Round Corners"),
|
| 449 |
+
::anno::in_group("Round Corners"),
|
| 450 |
+
::anno::ui_order(11)
|
| 451 |
+
]],
|
| 452 |
+
uniform float roundcorners_radius_mm = 1.5f [[
|
| 453 |
+
::anno::description("Radius of the rounded corners in millimeters."),
|
| 454 |
+
::anno::display_name("Round Corner Radius (mm)"),
|
| 455 |
+
::anno::in_group("Round Corners"),
|
| 456 |
+
::anno::soft_range(0.f, 10.f),
|
| 457 |
+
::anno::ui_order(12)
|
| 458 |
+
]],
|
| 459 |
+
uniform bool roundcorners_across_materials = false [[
|
| 460 |
+
::anno::description("Applies the round corner effect across different materials when enabled."),
|
| 461 |
+
::anno::display_name("Across Materials"),
|
| 462 |
+
::anno::in_group("Round Corners"),
|
| 463 |
+
::anno::ui_order(13)
|
| 464 |
+
]])
|
| 465 |
+
[[
|
| 466 |
+
::anno::display_name("Silk Crepe Back Satin - White"),
|
| 467 |
+
::anno::description(DESCRIPTION),
|
| 468 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 469 |
+
::anno::author("NVIDIA"),
|
| 470 |
+
::anno::contributor("Rüdiger Raab"),
|
| 471 |
+
::anno::contributor("Maik Rohland"),
|
| 472 |
+
::anno::contributor("Miguel Guerrero"),
|
| 473 |
+
::anno::contributor("Vanni Brighella"),
|
| 474 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin.png"),
|
| 475 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "white", "light", "neutral" ))
|
| 476 |
+
]]
|
| 477 |
+
=
|
| 478 |
+
let {
|
| 479 |
+
bool tmp0 = false;
|
| 480 |
+
|
| 481 |
+
float2 texture_rescale = texture_scale * 0.052; //
|
| 482 |
+
|
| 483 |
+
texture_2d multi_tex = texture_2d("./textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg", ::tex::gamma_linear);
|
| 484 |
+
texture_2d sparkle_mask_tex = texture_2d("./textures/sparkle_mask.jpg", ::tex::gamma_linear);
|
| 485 |
+
texture_2d norm_tex2 = texture_2d("./textures/crepe_norm_2.jpg", ::tex::gamma_linear);
|
| 486 |
+
texture_2d fabric_norm_tex = texture_2d("./textures/silk_crepe_satin_norm.jpg", ::tex::gamma_linear);
|
| 487 |
+
|
| 488 |
+
material_surface tmp1(::df::weighted_layer(histogram_scan_big(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).z, 0.239999995f, 0.75f), ::df::specular_bsdf(color(1.f, 1.f, 1.f), ::df::scatter_transmit), ::df::weighted_layer(transmissive_weight * 0.140000001f, ::df::diffuse_transmission_bsdf(nvidia::core_definitions::blend_colors(nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x, rgb2hsl(float3(fabric_color)).y * ::math::pow(::math::clamp(rgb2hsl(float3(fabric_color)).z, 0.f, 1.f), 0.25999999f), 0.550000012f)), color(::math::pow(histogram_scan_big(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 0.560000002f, 0.219999999f), 2.f)), ::base::color_layer_multiply, 1.f, true).tint, color(histogram_scan_big(1.f - vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).z, 0.560000002f, 0.f)), ::base::color_layer_multiply, 1.f, true).tint), ::df::weighted_layer(diffuse_weight * 0.629999995f, ::df::diffuse_reflection_bsdf(nvidia::core_definitions::blend_colors(fabric_color, color(::math::pow(histogram_scan_big(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 0.560000002f, 0.219999999f), 2.f)), ::base::color_layer_multiply, 1.f, true).tint, 0.f), ::df::weighted_layer(0.219999999f, ::df::simple_glossy_bsdf(0.25f, 0.359999985f, hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x - color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(0.f, 0.f, 0.f), vmat_transform(texture_translate, texture_rotate, texture_rescale, ::base::texture_coordinate_uvw, uv_space_index).tangent_u, ::df::scatter_reflect), ::df::weighted_layer(0.25999999f, ::df::weighted_layer(1.f, ::df::microfacet_ggx_smith_bsdf(::math::lerp(histogram_range(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).x, 1.f, 0.280000001f) * histogram_range(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).x, 1.f, 0.280000001f), 0.0700000003f, float3(vm_tex_lookup(sparkle_mask_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x), ::math::lerp(0.719999969f, 0.119999997f, float3(vm_tex_lookup(sparkle_mask_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x), nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x + color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(histogram_range(::math::pow(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 1.49000001f), 1.f, 0.620000005f)), ::base::color_layer_multiply, 1.f, true).tint, nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x + color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(histogram_range(::math::pow(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 1.49000001f), 1.f, 0.620000005f)), ::base::color_layer_multiply, 1.f, true).tint, vmat_transform(texture_translate, texture_rotate, texture_rescale, ::base::texture_coordinate_uvw, uv_space_index).tangent_u, ::df::scatter_reflect), bsdf(), vm_tex_normal_lookup_2x(fabric_norm_tex, norm_tex2, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float2(2.f)), fabric_bump_strength, crepe_strength, false)), ::df::weighted_layer(0.5f, ::df::weighted_layer(1.f, ::df::microfacet_ggx_smith_bsdf(::math::lerp(histogram_range(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).x, 1.f, 0.280000001f) * histogram_range(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).x, 1.f, 0.280000001f), 0.0700000003f, float3(vm_tex_lookup(sparkle_mask_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x), ::math::lerp(0.719999969f, 0.119999997f, float3(vm_tex_lookup(sparkle_mask_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x), nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x + color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(histogram_range(::math::pow(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 1.49000001f), 1.f, 0.620000005f)), ::base::color_layer_multiply, 1.f, true).tint, nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x + color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(histogram_range(::math::pow(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 1.49000001f), 1.f, 0.620000005f)), ::base::color_layer_multiply, 1.f, true).tint, vmat_transform(texture_translate, texture_rotate, texture_rescale, ::base::texture_coordinate_uvw, uv_space_index).tangent_u, ::df::scatter_reflect), bsdf(), add_detail_normal(vm_tex_normal_lookup_2x(fabric_norm_tex, norm_tex2, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float2(2.f)), fabric_bump_strength, crepe_strength, false), ::math::normalize(::state::normal() + vmat_transform(texture_translate, texture_rotate, texture_rescale, ::base::texture_coordinate_uvw, uv_space_index).tangent_u * -0.409999996f))), ::df::weighted_layer(1.f, ::df::microfacet_ggx_smith_bsdf(::math::lerp(histogram_range(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).x, 1.f, 0.280000001f) * histogram_range(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).x, 1.f, 0.280000001f), 0.0700000003f, float3(vm_tex_lookup(sparkle_mask_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x), ::math::lerp(0.719999969f, 0.119999997f, float3(vm_tex_lookup(sparkle_mask_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, uv_space_index), mono_a, float4(1.f)).tint).x), nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x + color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(histogram_range(::math::pow(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 1.49000001f), 1.f, 0.620000005f)), ::base::color_layer_multiply, 1.f, true).tint, nvidia::core_definitions::blend_colors(hsl2rgb(float3(rgb2hsl(float3(fabric_color)).x + color_shimmer * 0.300000012f, ::math::lerp(0.f, highlight_saturation, rgb2hsl(float3(fabric_color)).y * 0.850000024f), ::math::lerp(0.149999991f, 1.f, rgb2hsl(float3(fabric_color)).z))), color(histogram_range(::math::pow(vm_tex_lookup_3float(multi_tex, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float3(1.f)).y, 1.49000001f), 1.f, 0.620000005f)), ::base::color_layer_multiply, 1.f, true).tint, vmat_transform(texture_translate, texture_rotate, texture_rescale, ::base::texture_coordinate_uvw, uv_space_index).tangent_u, ::df::scatter_reflect), bsdf(), add_detail_normal(vm_tex_normal_lookup_2x(fabric_norm_tex, norm_tex2, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float2(2.f)), fabric_bump_strength, crepe_strength, false), ::math::normalize(::state::normal() + vmat_transform(texture_translate, texture_rotate, texture_rescale, ::base::texture_coordinate_uvw, uv_space_index).tangent_u * 0.409999996f))), ::state::normal()), ::state::normal()), vm_tex_normal_lookup_2x(fabric_norm_tex, norm_tex2, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float2(2.f)), fabric_bump_strength, crepe_strength, false)), vm_tex_normal_lookup_2x(fabric_norm_tex, norm_tex2, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float2(2.f)), fabric_bump_strength, crepe_strength, false)), vm_tex_normal_lookup_2x(fabric_norm_tex, norm_tex2, vm_coord(texture_translate, texture_rotate, texture_rescale, 0), vm_coord_post_scale(vm_coord(texture_translate, texture_rotate, texture_rescale, 0), float2(2.f)), fabric_bump_strength, crepe_strength, false)), ::state::normal()), material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
|
| 489 |
+
material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
|
| 490 |
+
color tmp3 = color(1.f, 1.f, 1.f);
|
| 491 |
+
material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f), emission_intensity: color(0.f, 0.f, 0.f));
|
| 492 |
+
material_geometry tmp5(float3(0.f), 1.f, roundcorners_enable ? ::state::rounded_corner_normal(roundcorners_radius_mm * 0.00100000005f, roundcorners_across_materials, 1.f) : ::state::normal());
|
| 493 |
+
} in
|
| 494 |
+
material(
|
| 495 |
+
thin_walled: tmp0,
|
| 496 |
+
surface: tmp1,
|
| 497 |
+
backface: tmp2,
|
| 498 |
+
ior: tmp3,
|
| 499 |
+
volume: tmp4,
|
| 500 |
+
geometry: tmp5);
|
| 501 |
+
|
| 502 |
+
|
| 503 |
+
export material Silk_Crepe_Back_Satin_Natural(*)
|
| 504 |
+
[[
|
| 505 |
+
::anno::display_name("Silk Crepe Back Satin - Natural"),
|
| 506 |
+
::anno::description(DESCRIPTION),
|
| 507 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 508 |
+
::anno::author("NVIDIA"),
|
| 509 |
+
::anno::contributor("Rüdiger Raab"),
|
| 510 |
+
::anno::contributor("Maik Rohland"),
|
| 511 |
+
::anno::contributor("Miguel Guerrero"),
|
| 512 |
+
::anno::contributor("Vanni Brighella"),
|
| 513 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Natural.png"),
|
| 514 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "natural", "light", "pastel", "warm"))
|
| 515 |
+
]] = Silk_Crepe_Back_Satin(
|
| 516 |
+
fabric_color: color(1.000000f, 0.921582f, 0.644480f),
|
| 517 |
+
color_shimmer: 0.21f,
|
| 518 |
+
highlight_saturation: 0.51f,
|
| 519 |
+
diffuse_weight: 0.93,
|
| 520 |
+
transmissive_weight: 0.31f,
|
| 521 |
+
fabric_bump_strength: 1.0f,
|
| 522 |
+
crepe_strength: 0.6f,
|
| 523 |
+
texture_translate: float2(0.0f),
|
| 524 |
+
texture_rotate: 0.0f,
|
| 525 |
+
texture_scale: float2(1.0f),
|
| 526 |
+
uv_space_index: 0,
|
| 527 |
+
roundcorners_enable: false,
|
| 528 |
+
roundcorners_radius_mm: 1.0f,
|
| 529 |
+
roundcorners_across_materials: false
|
| 530 |
+
);
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
export material Silk_Crepe_Back_Satin_Champagne(*)
|
| 534 |
+
[[
|
| 535 |
+
::anno::display_name("Silk Crepe Back Satin - Champagne"),
|
| 536 |
+
::anno::description(DESCRIPTION),
|
| 537 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 538 |
+
::anno::author("NVIDIA"),
|
| 539 |
+
::anno::contributor("Rüdiger Raab"),
|
| 540 |
+
::anno::contributor("Maik Rohland"),
|
| 541 |
+
::anno::contributor("Miguel Guerrero"),
|
| 542 |
+
::anno::contributor("Vanni Brighella"),
|
| 543 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Champagne.png"),
|
| 544 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "champagne", "light", "pastel", "warm"))
|
| 545 |
+
]] = Silk_Crepe_Back_Satin(
|
| 546 |
+
fabric_color: color(0.964686f, 0.745404f, 0.496933f),
|
| 547 |
+
color_shimmer: 0.21f,
|
| 548 |
+
highlight_saturation: 0.51f,
|
| 549 |
+
diffuse_weight: 0.8f,
|
| 550 |
+
transmissive_weight: 0.31f,
|
| 551 |
+
fabric_bump_strength: 1.0f,
|
| 552 |
+
crepe_strength: 0.6f,
|
| 553 |
+
texture_translate: float2(0.0f),
|
| 554 |
+
texture_rotate: 0.0f,
|
| 555 |
+
texture_scale: float2(1.0f),
|
| 556 |
+
uv_space_index: 0,
|
| 557 |
+
roundcorners_enable: false,
|
| 558 |
+
roundcorners_radius_mm: 1.0f,
|
| 559 |
+
roundcorners_across_materials: false
|
| 560 |
+
);
|
| 561 |
+
|
| 562 |
+
|
| 563 |
+
export material Silk_Crepe_Back_Satin_Rose(*)
|
| 564 |
+
[[
|
| 565 |
+
::anno::display_name("Silk Crepe Back Satin - Rose"),
|
| 566 |
+
::anno::description(DESCRIPTION),
|
| 567 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 568 |
+
::anno::author("NVIDIA"),
|
| 569 |
+
::anno::contributor("Rüdiger Raab"),
|
| 570 |
+
::anno::contributor("Maik Rohland"),
|
| 571 |
+
::anno::contributor("Miguel Guerrero"),
|
| 572 |
+
::anno::contributor("Vanni Brighella"),
|
| 573 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Rose.png"),
|
| 574 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "rose", "light", "pastel", "warm"))
|
| 575 |
+
]] = Silk_Crepe_Back_Satin(
|
| 576 |
+
fabric_color: color(1.000000f, 0.491021f, 0.332452f),
|
| 577 |
+
color_shimmer: 0.21f,
|
| 578 |
+
highlight_saturation: 0.51f,
|
| 579 |
+
diffuse_weight: 0.56f,
|
| 580 |
+
transmissive_weight: 0.31f,
|
| 581 |
+
fabric_bump_strength: 1.0f,
|
| 582 |
+
crepe_strength: 0.6f,
|
| 583 |
+
texture_translate: float2(0.0f),
|
| 584 |
+
texture_rotate: 0.0f,
|
| 585 |
+
texture_scale: float2(1.0f),
|
| 586 |
+
uv_space_index: 0,
|
| 587 |
+
roundcorners_enable: false,
|
| 588 |
+
roundcorners_radius_mm: 1.0f,
|
| 589 |
+
roundcorners_across_materials: false
|
| 590 |
+
);
|
| 591 |
+
|
| 592 |
+
|
| 593 |
+
export material Silk_Crepe_Back_Satin_Pink(*)
|
| 594 |
+
[[
|
| 595 |
+
::anno::display_name("Silk Crepe Back Satin - Pink"),
|
| 596 |
+
::anno::description(DESCRIPTION),
|
| 597 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 598 |
+
::anno::author("NVIDIA"),
|
| 599 |
+
::anno::contributor("Rüdiger Raab"),
|
| 600 |
+
::anno::contributor("Maik Rohland"),
|
| 601 |
+
::anno::contributor("Miguel Guerrero"),
|
| 602 |
+
::anno::contributor("Vanni Brighella"),
|
| 603 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Pink.png"),
|
| 604 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "pink", "light", "warm" ))
|
| 605 |
+
]] = Silk_Crepe_Back_Satin(
|
| 606 |
+
fabric_color: color(0.822786f, 0.102242f, 0.144128f),
|
| 607 |
+
color_shimmer: 0.21f,
|
| 608 |
+
highlight_saturation: 0.6f,
|
| 609 |
+
diffuse_weight: 0.5f,
|
| 610 |
+
transmissive_weight: 0.31f,
|
| 611 |
+
fabric_bump_strength: 1.0f,
|
| 612 |
+
crepe_strength: 0.6f,
|
| 613 |
+
texture_translate: float2(0.0f),
|
| 614 |
+
texture_rotate: 0.0f,
|
| 615 |
+
texture_scale: float2(1.0f),
|
| 616 |
+
uv_space_index: 0,
|
| 617 |
+
roundcorners_enable: false,
|
| 618 |
+
roundcorners_radius_mm: 1.0f,
|
| 619 |
+
roundcorners_across_materials: false
|
| 620 |
+
);
|
| 621 |
+
|
| 622 |
+
|
| 623 |
+
export material Silk_Crepe_Back_Satin_Shiny_Moss(*)
|
| 624 |
+
[[
|
| 625 |
+
::anno::display_name("Silk Crepe Back Satin - Shiny Moss"),
|
| 626 |
+
::anno::description(DESCRIPTION),
|
| 627 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 628 |
+
::anno::author("NVIDIA"),
|
| 629 |
+
::anno::contributor("Rüdiger Raab"),
|
| 630 |
+
::anno::contributor("Maik Rohland"),
|
| 631 |
+
::anno::contributor("Miguel Guerrero"),
|
| 632 |
+
::anno::contributor("Vanni Brighella"),
|
| 633 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Shiny_Moss.png"),
|
| 634 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "green", "saturated"))
|
| 635 |
+
]] = Silk_Crepe_Back_Satin(
|
| 636 |
+
fabric_color: color(0.158961f, 0.318547f, 0.045186f),
|
| 637 |
+
color_shimmer: 0.21f,
|
| 638 |
+
highlight_saturation: 0.92f,
|
| 639 |
+
diffuse_weight: 0.0f,
|
| 640 |
+
transmissive_weight: 0.36f,
|
| 641 |
+
fabric_bump_strength: 1.0f,
|
| 642 |
+
crepe_strength: 0.6f,
|
| 643 |
+
texture_translate: float2(0.0f),
|
| 644 |
+
texture_rotate: 0.0f,
|
| 645 |
+
texture_scale: float2(1.0f),
|
| 646 |
+
uv_space_index: 0,
|
| 647 |
+
roundcorners_enable: false,
|
| 648 |
+
roundcorners_radius_mm: 1.0f,
|
| 649 |
+
roundcorners_across_materials: false
|
| 650 |
+
);
|
| 651 |
+
|
| 652 |
+
|
| 653 |
+
export material Silk_Crepe_Back_Satin_Purple(*)
|
| 654 |
+
[[
|
| 655 |
+
::anno::display_name("Silk Crepe Back Satin - Purple"),
|
| 656 |
+
::anno::description(DESCRIPTION),
|
| 657 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 658 |
+
::anno::author("NVIDIA"),
|
| 659 |
+
::anno::contributor("Rüdiger Raab"),
|
| 660 |
+
::anno::contributor("Maik Rohland"),
|
| 661 |
+
::anno::contributor("Miguel Guerrero"),
|
| 662 |
+
::anno::contributor("Vanni Brighella"),
|
| 663 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Purple.png"),
|
| 664 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "purple", "saturated"))
|
| 665 |
+
]] = Silk_Crepe_Back_Satin(
|
| 666 |
+
fabric_color: color(0.428690f, 0.057805f, 0.730461f),
|
| 667 |
+
color_shimmer: 0.21f,
|
| 668 |
+
highlight_saturation: 0.7f,
|
| 669 |
+
diffuse_weight: 0.22f,
|
| 670 |
+
transmissive_weight: 0.31f,
|
| 671 |
+
fabric_bump_strength: 1.0f,
|
| 672 |
+
crepe_strength: 0.6f,
|
| 673 |
+
texture_translate: float2(0.0f),
|
| 674 |
+
texture_rotate: 0.0f,
|
| 675 |
+
texture_scale: float2(1.0f),
|
| 676 |
+
uv_space_index: 0,
|
| 677 |
+
roundcorners_enable: false,
|
| 678 |
+
roundcorners_radius_mm: 1.0f,
|
| 679 |
+
roundcorners_across_materials: false
|
| 680 |
+
);
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
export material Silk_Crepe_Back_Satin_Electric_Blue(*)
|
| 684 |
+
[[
|
| 685 |
+
::anno::display_name("Silk Crepe Back Satin - Electric Blue"),
|
| 686 |
+
::anno::description(DESCRIPTION),
|
| 687 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 688 |
+
::anno::author("NVIDIA"),
|
| 689 |
+
::anno::contributor("Rüdiger Raab"),
|
| 690 |
+
::anno::contributor("Maik Rohland"),
|
| 691 |
+
::anno::contributor("Miguel Guerrero"),
|
| 692 |
+
::anno::contributor("Vanni Brighella"),
|
| 693 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Electric_Blue.png"),
|
| 694 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "blue", "cool"))
|
| 695 |
+
]] = Silk_Crepe_Back_Satin(
|
| 696 |
+
fabric_color: color(0.004777f, 0.238398f, 0.708376f),
|
| 697 |
+
color_shimmer: 0.28f,
|
| 698 |
+
highlight_saturation: 0.51f,
|
| 699 |
+
diffuse_weight: 0.19f,
|
| 700 |
+
transmissive_weight: 0.31f,
|
| 701 |
+
fabric_bump_strength: 1.0f,
|
| 702 |
+
crepe_strength: 0.6f,
|
| 703 |
+
texture_translate: float2(0.0f),
|
| 704 |
+
texture_rotate: 0.0f,
|
| 705 |
+
texture_scale: float2(1.0f),
|
| 706 |
+
uv_space_index: 0,
|
| 707 |
+
roundcorners_enable: false,
|
| 708 |
+
roundcorners_radius_mm: 1.0f,
|
| 709 |
+
roundcorners_across_materials: false
|
| 710 |
+
);
|
| 711 |
+
|
| 712 |
+
|
| 713 |
+
export material Silk_Crepe_Back_Satin_Royal_Blue(*)
|
| 714 |
+
[[
|
| 715 |
+
::anno::display_name("Silk Crepe Back Satin - Royal Blue"),
|
| 716 |
+
::anno::description(DESCRIPTION),
|
| 717 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 718 |
+
::anno::author("NVIDIA"),
|
| 719 |
+
::anno::contributor("Rüdiger Raab"),
|
| 720 |
+
::anno::contributor("Maik Rohland"),
|
| 721 |
+
::anno::contributor("Miguel Guerrero"),
|
| 722 |
+
::anno::contributor("Vanni Brighella"),
|
| 723 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Royal_Blue.png"),
|
| 724 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "blue", "dark", "cool", "saturated"))
|
| 725 |
+
]] = Silk_Crepe_Back_Satin(
|
| 726 |
+
fabric_color: color(0.033105f, 0.033105f, 0.381326f),
|
| 727 |
+
color_shimmer: 0.15f,
|
| 728 |
+
highlight_saturation: 0.95f,
|
| 729 |
+
diffuse_weight: 0.37f,
|
| 730 |
+
transmissive_weight: 0.15f,
|
| 731 |
+
fabric_bump_strength: 1.0f,
|
| 732 |
+
crepe_strength: 0.6f,
|
| 733 |
+
texture_translate: float2(0.0f),
|
| 734 |
+
texture_rotate: 0.0f,
|
| 735 |
+
texture_scale: float2(1.0f),
|
| 736 |
+
uv_space_index: 0,
|
| 737 |
+
roundcorners_enable: false,
|
| 738 |
+
roundcorners_radius_mm: 1.0f,
|
| 739 |
+
roundcorners_across_materials: false
|
| 740 |
+
);
|
| 741 |
+
|
| 742 |
+
|
| 743 |
+
export material Silk_Crepe_Back_Satin_Red(*)
|
| 744 |
+
[[
|
| 745 |
+
::anno::display_name("Silk Crepe Back Satin - Red"),
|
| 746 |
+
::anno::description(DESCRIPTION),
|
| 747 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 748 |
+
::anno::author("NVIDIA"),
|
| 749 |
+
::anno::contributor("Rüdiger Raab"),
|
| 750 |
+
::anno::contributor("Maik Rohland"),
|
| 751 |
+
::anno::contributor("Miguel Guerrero"),
|
| 752 |
+
::anno::contributor("Vanni Brighella"),
|
| 753 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Red.png"),
|
| 754 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "red", "warm", "saturated" ))
|
| 755 |
+
]] = Silk_Crepe_Back_Satin(
|
| 756 |
+
fabric_color: color(0.783538f, 0.043735f, 0.025187f),
|
| 757 |
+
color_shimmer: 0.21f,
|
| 758 |
+
highlight_saturation: 0.95f,
|
| 759 |
+
diffuse_weight: 0.31f,
|
| 760 |
+
transmissive_weight: 0.31f,
|
| 761 |
+
fabric_bump_strength: 1.0f,
|
| 762 |
+
crepe_strength: 0.6f,
|
| 763 |
+
texture_translate: float2(0.0f),
|
| 764 |
+
texture_rotate: 0.0f,
|
| 765 |
+
texture_scale: float2(1.0f),
|
| 766 |
+
uv_space_index: 0,
|
| 767 |
+
roundcorners_enable: false,
|
| 768 |
+
roundcorners_radius_mm: 1.0f,
|
| 769 |
+
roundcorners_across_materials: false
|
| 770 |
+
);
|
| 771 |
+
|
| 772 |
+
|
| 773 |
+
export material Silk_Crepe_Back_Satin_Yellow(*)
|
| 774 |
+
[[
|
| 775 |
+
::anno::display_name("Silk Crepe Back Satin - Yellow"),
|
| 776 |
+
::anno::description(DESCRIPTION),
|
| 777 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 778 |
+
::anno::author("NVIDIA"),
|
| 779 |
+
::anno::contributor("Rüdiger Raab"),
|
| 780 |
+
::anno::contributor("Maik Rohland"),
|
| 781 |
+
::anno::contributor("Miguel Guerrero"),
|
| 782 |
+
::anno::contributor("Vanni Brighella"),
|
| 783 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Yellow.png"),
|
| 784 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "yellow", "light", "warm" ))
|
| 785 |
+
]] = Silk_Crepe_Back_Satin(
|
| 786 |
+
fabric_color: color(0.955973f, 0.610496f, 0.003347f),
|
| 787 |
+
color_shimmer: 0.21f,
|
| 788 |
+
highlight_saturation: 0.5f,
|
| 789 |
+
diffuse_weight: 0.36f,
|
| 790 |
+
transmissive_weight: 0.31f,
|
| 791 |
+
fabric_bump_strength: 1.0f,
|
| 792 |
+
crepe_strength: 0.6f,
|
| 793 |
+
texture_translate: float2(0.0f),
|
| 794 |
+
texture_rotate: 0.0f,
|
| 795 |
+
texture_scale: float2(1.0f),
|
| 796 |
+
uv_space_index: 0,
|
| 797 |
+
roundcorners_enable: false,
|
| 798 |
+
roundcorners_radius_mm: 1.0f,
|
| 799 |
+
roundcorners_across_materials: false
|
| 800 |
+
);
|
| 801 |
+
|
| 802 |
+
|
| 803 |
+
export material Silk_Crepe_Back_Satin_Forest_Green(*)
|
| 804 |
+
[[
|
| 805 |
+
::anno::display_name("Silk Crepe Back Satin - Forest Green"),
|
| 806 |
+
::anno::description(DESCRIPTION),
|
| 807 |
+
::anno::copyright_notice(COPYRIGHT),
|
| 808 |
+
::anno::author("NVIDIA"),
|
| 809 |
+
::anno::contributor("Rüdiger Raab"),
|
| 810 |
+
::anno::contributor("Maik Rohland"),
|
| 811 |
+
::anno::contributor("Miguel Guerrero"),
|
| 812 |
+
::anno::contributor("Vanni Brighella"),
|
| 813 |
+
::anno::thumbnail("./.thumbs/Silk_Crepe_Back_Satin.Silk_Crepe_Back_Satin_Forest_Green.png"),
|
| 814 |
+
::anno::key_words(string[]("fabric", "silk", "crepe", "clothing", "shimmer", "fashion", "new", "green", "dark", "saturated" ))
|
| 815 |
+
]] = Silk_Crepe_Back_Satin(
|
| 816 |
+
fabric_color: color(0.001821f, 0.135633f, 0.051269f),
|
| 817 |
+
color_shimmer: 0.21f,
|
| 818 |
+
highlight_saturation: 0.5f,
|
| 819 |
+
diffuse_weight: 0.19f,
|
| 820 |
+
transmissive_weight: 0.31f,
|
| 821 |
+
fabric_bump_strength: 1.0f,
|
| 822 |
+
crepe_strength: 0.6f,
|
| 823 |
+
texture_translate: float2(0.0f),
|
| 824 |
+
texture_rotate: 0.0f,
|
| 825 |
+
texture_scale: float2(1.0f),
|
| 826 |
+
uv_space_index: 0,
|
| 827 |
+
roundcorners_enable: false,
|
| 828 |
+
roundcorners_radius_mm: 1.0f,
|
| 829 |
+
roundcorners_across_materials: false
|
| 830 |
+
);
|
| 831 |
+
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/crepe_norm_2.jpg
ADDED
|
Git LFS Details
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_R_rough_G_diff_B_height.jpg
ADDED
|
Git LFS Details
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/silk_crepe_satin_norm.jpg
ADDED
|
Git LFS Details
|
Flat-Object-Assets/Scarf/Scarf2/simready_usd/Scarf2/omniverse-content-production.s3.us-west-2.amazonaws.com/Materials/vMaterials_2/Fabric/textures/sparkle_mask.jpg
ADDED
|
Git LFS Details
|
Flat-Object-Assets/Scarf/Scarf3/.metadata/com.nvidia.simready.packaging.bom.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"items": [
|
| 4 |
+
{
|
| 5 |
+
"relative_path": "simready_usd/Scarf3/Scarf3.usd",
|
| 6 |
+
"size": 6624642,
|
| 7 |
+
"hash": {
|
| 8 |
+
"sha256": "0dffaf71aba9f3e1ffcf6acbf43258dc0c7a43f144ff4b2a2f6ddd65bc9d6f13"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"relative_path": "simready_usd/Scarf3.usd",
|
| 13 |
+
"size": 6624642,
|
| 14 |
+
"hash": {
|
| 15 |
+
"sha256": "0dffaf71aba9f3e1ffcf6acbf43258dc0c7a43f144ff4b2a2f6ddd65bc9d6f13"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf3/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.Hwsss.FlatLab-Asset.Scarf3.2026.10.23_00",
|
| 4 |
+
"license": "cc-by-4.0",
|
| 5 |
+
"metadata": [
|
| 6 |
+
{
|
| 7 |
+
"name": "com.nvidia.simready.packaging.bom.json",
|
| 8 |
+
"hash": {
|
| 9 |
+
"sha256": "5aed2f0fc6faaed4c25e8b6695be6e531f12d816e9dbe083c62d563ff5fac6eb"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"content_hash": {
|
| 14 |
+
"sha256": "9f170487cce92ef4e4fa61cf51f1608685d32977ed76b68006f3ddcd1fb32e01"
|
| 15 |
+
},
|
| 16 |
+
"package_hash": {
|
| 17 |
+
"sha256": "d716d01d86b0e71d48b0fd257a5114d73a13e68fbdd33cd6391216430841d5f7"
|
| 18 |
+
}
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf3/simready_usd/Scarf3.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0dffaf71aba9f3e1ffcf6acbf43258dc0c7a43f144ff4b2a2f6ddd65bc9d6f13
|
| 3 |
+
size 6624642
|
Flat-Object-Assets/Scarf/Scarf3/simready_usd/Scarf3/Scarf3.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0dffaf71aba9f3e1ffcf6acbf43258dc0c7a43f144ff4b2a2f6ddd65bc9d6f13
|
| 3 |
+
size 6624642
|
Flat-Object-Assets/Scarf/Scarf4/.metadata/com.nvidia.simready.packaging.bom.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"items": [
|
| 4 |
+
{
|
| 5 |
+
"relative_path": "simready_usd/Scarf4/Scarf4.usd",
|
| 6 |
+
"size": 6625374,
|
| 7 |
+
"hash": {
|
| 8 |
+
"sha256": "36c29a62406f596a1295d7180f55ece4c6d56a6fa20092124d2078a969a6c34c"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"relative_path": "simready_usd/Scarf4.usd",
|
| 13 |
+
"size": 6625374,
|
| 14 |
+
"hash": {
|
| 15 |
+
"sha256": "36c29a62406f596a1295d7180f55ece4c6d56a6fa20092124d2078a969a6c34c"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf4/com.nvidia.simready.packaging.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": "1.0",
|
| 3 |
+
"package_id": "simready.hf.Hwsss.FlatLab-Asset.Scarf4.2026.10.23_00",
|
| 4 |
+
"license": "cc-by-4.0",
|
| 5 |
+
"metadata": [
|
| 6 |
+
{
|
| 7 |
+
"name": "com.nvidia.simready.packaging.bom.json",
|
| 8 |
+
"hash": {
|
| 9 |
+
"sha256": "2994c83857cc62666ff0ced6771310bf75901c28174286d6d678cdf63aa0da8e"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"content_hash": {
|
| 14 |
+
"sha256": "3a02c4abce683e9ebe5c1cfc02162625360f14d2adb37eeaa6157e628c72565c"
|
| 15 |
+
},
|
| 16 |
+
"package_hash": {
|
| 17 |
+
"sha256": "4daf76f4912e48f0697f9309bba5c37ef917f4163a2138a505dc75fa745e8739"
|
| 18 |
+
}
|
| 19 |
+
}
|
Flat-Object-Assets/Scarf/Scarf4/simready_usd/Scarf4.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36c29a62406f596a1295d7180f55ece4c6d56a6fa20092124d2078a969a6c34c
|
| 3 |
+
size 6625374
|
Flat-Object-Assets/Scarf/Scarf4/simready_usd/Scarf4/Scarf4.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36c29a62406f596a1295d7180f55ece4c6d56a6fa20092124d2078a969a6c34c
|
| 3 |
+
size 6625374
|