Spaces:
Runtime error
Runtime error
adding files
Browse files- README.md +22 -0
- glTF-Binary/SpecGlossVsMetalRough.glb +3 -0
- glTF/SpecGlossVsMetalRough.gltf +504 -0
- glTF/SpecGlossVsMetalRough.png +3 -0
- glTF/SpecGlossVsMetalRoughLabel.bin +3 -0
- glTF/WaterBottle.bin +3 -0
- glTF/WaterBottle_baseColor.png +3 -0
- glTF/WaterBottle_diffuse.png +3 -0
- glTF/WaterBottle_emissive.png +3 -0
- glTF/WaterBottle_normal.png +3 -0
- glTF/WaterBottle_occlusion.png +3 -0
- glTF/WaterBottle_roughnessMetallic.png +3 -0
- glTF/WaterBottle_specularGlossiness.png +3 -0
- screenshot/screenshot-large.jpg +3 -0
- screenshot/screenshot.jpg +3 -0
README.md
CHANGED
|
@@ -10,3 +10,25 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference
|
| 13 |
+
|
| 14 |
+
# SpecGlossVsMetalRough
|
| 15 |
+
## Screenshot
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
|
| 19 |
+
## Description
|
| 20 |
+
|
| 21 |
+
This is a modification of the WaterBottle sample model, to compare the metal/rough PBR workflow side-by-side with the spec/gloss PBR workflow.
|
| 22 |
+
|
| 23 |
+
No fallback to metal/rough is provided for the spec/gloss side, so unlike most other samples, `KHR_materials_pbrSpecularGlossiness` extension support is explicitly required by this model. The model is expected to fail to load on viewers that do not support the extension, as such support is not required by the core glTF specification. This model marks the extension under `extensionsRequired`, meaning any viewer that doesn't support the extension should reject the model completely. So, a complete failure to load the model, possibly with a message about lack of support for the extension, is not considered a test failure for core glTF 2.0.
|
| 24 |
+
|
| 25 |
+
However, if the model loads into a viewer, and the two water bottles don't look almost exactly the same, then that does constitute a test failure.
|
| 26 |
+
|
| 27 |
+
The labels floating above the water bottles should also have the same visual appearance (other than the text of the label being different). One should not be shiny or more reflective than the other.
|
| 28 |
+
|
| 29 |
+
## License Information
|
| 30 |
+
|
| 31 |
+
Based on the [Water Bottle](../WaterBottle/) sample model.
|
| 32 |
+
|
| 33 |
+
[](http://creativecommons.org/publicdomain/zero/1.0/)
|
| 34 |
+
To the extent possible under law, Microsoft has waived all copyright and related or neighboring rights to this asset.
|
glTF-Binary/SpecGlossVsMetalRough.glb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3eec53f92ae3956c0d49db86f18c133e05a2bf42db953424749c4bf4281afad
|
| 3 |
+
size 15465324
|
glTF/SpecGlossVsMetalRough.gltf
ADDED
|
@@ -0,0 +1,504 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"accessors": [
|
| 3 |
+
{
|
| 4 |
+
"bufferView": 0,
|
| 5 |
+
"componentType": 5126,
|
| 6 |
+
"count": 2549,
|
| 7 |
+
"type": "VEC2"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"bufferView": 1,
|
| 11 |
+
"componentType": 5126,
|
| 12 |
+
"count": 2549,
|
| 13 |
+
"type": "VEC3"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"bufferView": 2,
|
| 17 |
+
"componentType": 5126,
|
| 18 |
+
"count": 2549,
|
| 19 |
+
"type": "VEC4"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"bufferView": 3,
|
| 23 |
+
"componentType": 5126,
|
| 24 |
+
"count": 2549,
|
| 25 |
+
"type": "VEC3",
|
| 26 |
+
"max": [
|
| 27 |
+
0.05445001,
|
| 28 |
+
0.130220339,
|
| 29 |
+
0.0544500239
|
| 30 |
+
],
|
| 31 |
+
"min": [
|
| 32 |
+
-0.05445001,
|
| 33 |
+
-0.130220339,
|
| 34 |
+
-0.0544500239
|
| 35 |
+
]
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"bufferView": 4,
|
| 39 |
+
"componentType": 5123,
|
| 40 |
+
"count": 13530,
|
| 41 |
+
"type": "SCALAR"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"name": "First label accessor, index 5",
|
| 45 |
+
"bufferView" : 5,
|
| 46 |
+
"componentType" : 5121,
|
| 47 |
+
"count" : 12,
|
| 48 |
+
"max" : [
|
| 49 |
+
7
|
| 50 |
+
],
|
| 51 |
+
"min" : [
|
| 52 |
+
0
|
| 53 |
+
],
|
| 54 |
+
"type" : "SCALAR"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"bufferView" : 6,
|
| 58 |
+
"componentType" : 5126,
|
| 59 |
+
"count" : 8,
|
| 60 |
+
"max" : [
|
| 61 |
+
0.07500011473894119,
|
| 62 |
+
0.009645418263971806,
|
| 63 |
+
0.001000528922304511
|
| 64 |
+
],
|
| 65 |
+
"min" : [
|
| 66 |
+
-0.07500011473894119,
|
| 67 |
+
-0.009645414538681507,
|
| 68 |
+
-0.0010005402145907283
|
| 69 |
+
],
|
| 70 |
+
"type" : "VEC3"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"bufferView" : 7,
|
| 74 |
+
"componentType" : 5126,
|
| 75 |
+
"count" : 8,
|
| 76 |
+
"max" : [
|
| 77 |
+
5.216573754296405e-06,
|
| 78 |
+
-5.404175226431107e-06,
|
| 79 |
+
1.0
|
| 80 |
+
],
|
| 81 |
+
"min" : [
|
| 82 |
+
-5.066010089649353e-06,
|
| 83 |
+
-5.40417659067316e-06,
|
| 84 |
+
-1.0
|
| 85 |
+
],
|
| 86 |
+
"type" : "VEC3"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"bufferView" : 8,
|
| 90 |
+
"componentType" : 5126,
|
| 91 |
+
"count" : 8,
|
| 92 |
+
"max" : [
|
| 93 |
+
0.9999998807907104,
|
| 94 |
+
0.5
|
| 95 |
+
],
|
| 96 |
+
"min" : [
|
| 97 |
+
0.0,
|
| 98 |
+
0.0
|
| 99 |
+
],
|
| 100 |
+
"type" : "VEC2"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"bufferView" : 9,
|
| 104 |
+
"componentType" : 5121,
|
| 105 |
+
"count" : 12,
|
| 106 |
+
"max" : [
|
| 107 |
+
7
|
| 108 |
+
],
|
| 109 |
+
"min" : [
|
| 110 |
+
0
|
| 111 |
+
],
|
| 112 |
+
"type" : "SCALAR"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"bufferView" : 10,
|
| 116 |
+
"componentType" : 5126,
|
| 117 |
+
"count" : 8,
|
| 118 |
+
"max" : [
|
| 119 |
+
0.07500021904706955,
|
| 120 |
+
0.009641403332352638,
|
| 121 |
+
0.0010003353236243129
|
| 122 |
+
],
|
| 123 |
+
"min" : [
|
| 124 |
+
-0.07500021904706955,
|
| 125 |
+
-0.00964139774441719,
|
| 126 |
+
-0.0010003463830798864
|
| 127 |
+
],
|
| 128 |
+
"type" : "VEC3"
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"bufferView" : 11,
|
| 132 |
+
"componentType" : 5126,
|
| 133 |
+
"count" : 8,
|
| 134 |
+
"max" : [
|
| 135 |
+
2.633700660226168e-06,
|
| 136 |
+
-5.412433893070556e-06,
|
| 137 |
+
1.0
|
| 138 |
+
],
|
| 139 |
+
"min" : [
|
| 140 |
+
-2.4831367682054406e-06,
|
| 141 |
+
-5.412434802565258e-06,
|
| 142 |
+
-1.0
|
| 143 |
+
],
|
| 144 |
+
"type" : "VEC3"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"bufferView" : 12,
|
| 148 |
+
"componentType" : 5126,
|
| 149 |
+
"count" : 8,
|
| 150 |
+
"max" : [
|
| 151 |
+
1.0,
|
| 152 |
+
1.0
|
| 153 |
+
],
|
| 154 |
+
"min" : [
|
| 155 |
+
8.206588120174274e-08,
|
| 156 |
+
0.5
|
| 157 |
+
],
|
| 158 |
+
"type" : "VEC2"
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
"asset": {
|
| 162 |
+
"generator": "Hand-made combination of outputs from Unity (WaterBottle) and Blender (labels)",
|
| 163 |
+
"version": "2.0"
|
| 164 |
+
},
|
| 165 |
+
"bufferViews": [
|
| 166 |
+
{
|
| 167 |
+
"buffer": 0,
|
| 168 |
+
"byteLength": 20392
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"buffer": 0,
|
| 172 |
+
"byteOffset": 20392,
|
| 173 |
+
"byteLength": 30588
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"buffer": 0,
|
| 177 |
+
"byteOffset": 50980,
|
| 178 |
+
"byteLength": 40784
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"buffer": 0,
|
| 182 |
+
"byteOffset": 91764,
|
| 183 |
+
"byteLength": 30588
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"buffer": 0,
|
| 187 |
+
"byteOffset": 122352,
|
| 188 |
+
"byteLength": 27060
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"name": "First label bufferView, index 5",
|
| 192 |
+
"buffer" : 1,
|
| 193 |
+
"byteLength" : 12,
|
| 194 |
+
"byteOffset" : 0,
|
| 195 |
+
"target" : 34963
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"buffer" : 1,
|
| 199 |
+
"byteLength" : 96,
|
| 200 |
+
"byteOffset" : 12,
|
| 201 |
+
"target" : 34962
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"buffer" : 1,
|
| 205 |
+
"byteLength" : 96,
|
| 206 |
+
"byteOffset" : 108,
|
| 207 |
+
"target" : 34962
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"buffer" : 1,
|
| 211 |
+
"byteLength" : 64,
|
| 212 |
+
"byteOffset" : 204,
|
| 213 |
+
"target" : 34962
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"buffer" : 1,
|
| 217 |
+
"byteLength" : 12,
|
| 218 |
+
"byteOffset" : 268,
|
| 219 |
+
"target" : 34963
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"buffer" : 1,
|
| 223 |
+
"byteLength" : 96,
|
| 224 |
+
"byteOffset" : 280,
|
| 225 |
+
"target" : 34962
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"buffer" : 1,
|
| 229 |
+
"byteLength" : 96,
|
| 230 |
+
"byteOffset" : 376,
|
| 231 |
+
"target" : 34962
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"buffer" : 1,
|
| 235 |
+
"byteLength" : 64,
|
| 236 |
+
"byteOffset" : 472,
|
| 237 |
+
"target" : 34962
|
| 238 |
+
}
|
| 239 |
+
],
|
| 240 |
+
"buffers": [
|
| 241 |
+
{
|
| 242 |
+
"uri": "WaterBottle.bin",
|
| 243 |
+
"byteLength": 149412
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"byteLength" : 536,
|
| 247 |
+
"uri" : "SpecGlossVsMetalRoughLabel.bin"
|
| 248 |
+
}
|
| 249 |
+
],
|
| 250 |
+
"extensionsUsed": [
|
| 251 |
+
"KHR_materials_pbrSpecularGlossiness"
|
| 252 |
+
],
|
| 253 |
+
"extensionsRequired": [
|
| 254 |
+
"KHR_materials_pbrSpecularGlossiness"
|
| 255 |
+
],
|
| 256 |
+
"images": [
|
| 257 |
+
{
|
| 258 |
+
"uri": "WaterBottle_baseColor.png"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"uri": "WaterBottle_roughnessMetallic.png"
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"uri": "WaterBottle_normal.png"
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"uri": "WaterBottle_emissive.png"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"uri": "WaterBottle_occlusion.png"
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"uri": "WaterBottle_diffuse.png"
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"uri": "WaterBottle_specularGlossiness.png"
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"uri" : "SpecGlossVsMetalRough.png"
|
| 280 |
+
}
|
| 281 |
+
],
|
| 282 |
+
"meshes": [
|
| 283 |
+
{
|
| 284 |
+
"primitives": [
|
| 285 |
+
{
|
| 286 |
+
"attributes": {
|
| 287 |
+
"TEXCOORD_0": 0,
|
| 288 |
+
"NORMAL": 1,
|
| 289 |
+
"TANGENT": 2,
|
| 290 |
+
"POSITION": 3
|
| 291 |
+
},
|
| 292 |
+
"indices": 4,
|
| 293 |
+
"material": 0
|
| 294 |
+
}
|
| 295 |
+
],
|
| 296 |
+
"name": "WaterBottle_SpecGloss"
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"primitives": [
|
| 300 |
+
{
|
| 301 |
+
"attributes": {
|
| 302 |
+
"TEXCOORD_0": 0,
|
| 303 |
+
"NORMAL": 1,
|
| 304 |
+
"TANGENT": 2,
|
| 305 |
+
"POSITION": 3
|
| 306 |
+
},
|
| 307 |
+
"indices": 4,
|
| 308 |
+
"material": 1
|
| 309 |
+
}
|
| 310 |
+
],
|
| 311 |
+
"name": "WaterBottle_MR"
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"name" : "LabelMR_Mesh",
|
| 315 |
+
"primitives" : [
|
| 316 |
+
{
|
| 317 |
+
"attributes" : {
|
| 318 |
+
"NORMAL" : 7,
|
| 319 |
+
"POSITION" : 6,
|
| 320 |
+
"TEXCOORD_0" : 8
|
| 321 |
+
},
|
| 322 |
+
"indices" : 5,
|
| 323 |
+
"material" : 2
|
| 324 |
+
}
|
| 325 |
+
]
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"name" : "LabelSpecGloss_Mesh",
|
| 329 |
+
"primitives" : [
|
| 330 |
+
{
|
| 331 |
+
"attributes" : {
|
| 332 |
+
"NORMAL" : 11,
|
| 333 |
+
"POSITION" : 10,
|
| 334 |
+
"TEXCOORD_0" : 12
|
| 335 |
+
},
|
| 336 |
+
"indices" : 9,
|
| 337 |
+
"material" : 3
|
| 338 |
+
}
|
| 339 |
+
]
|
| 340 |
+
}
|
| 341 |
+
],
|
| 342 |
+
"materials": [
|
| 343 |
+
{
|
| 344 |
+
"normalTexture": {
|
| 345 |
+
"index": 2
|
| 346 |
+
},
|
| 347 |
+
"occlusionTexture": {
|
| 348 |
+
"index": 4
|
| 349 |
+
},
|
| 350 |
+
"emissiveFactor": [
|
| 351 |
+
1.0,
|
| 352 |
+
1.0,
|
| 353 |
+
1.0
|
| 354 |
+
],
|
| 355 |
+
"emissiveTexture": {
|
| 356 |
+
"index": 3
|
| 357 |
+
},
|
| 358 |
+
"name": "BottleMat_SpecGloss",
|
| 359 |
+
"extensions": {
|
| 360 |
+
"KHR_materials_pbrSpecularGlossiness": {
|
| 361 |
+
"diffuseTexture": {
|
| 362 |
+
"index": 5
|
| 363 |
+
},
|
| 364 |
+
"specularGlossinessTexture": {
|
| 365 |
+
"index": 6
|
| 366 |
+
}
|
| 367 |
+
}
|
| 368 |
+
}
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"pbrMetallicRoughness": {
|
| 372 |
+
"baseColorTexture": {
|
| 373 |
+
"index": 0
|
| 374 |
+
},
|
| 375 |
+
"metallicRoughnessTexture": {
|
| 376 |
+
"index": 1
|
| 377 |
+
}
|
| 378 |
+
},
|
| 379 |
+
"normalTexture": {
|
| 380 |
+
"index": 2
|
| 381 |
+
},
|
| 382 |
+
"occlusionTexture": {
|
| 383 |
+
"index": 4
|
| 384 |
+
},
|
| 385 |
+
"emissiveFactor": [
|
| 386 |
+
1.0,
|
| 387 |
+
1.0,
|
| 388 |
+
1.0
|
| 389 |
+
],
|
| 390 |
+
"emissiveTexture": {
|
| 391 |
+
"index": 3
|
| 392 |
+
},
|
| 393 |
+
"name": "BottleMat_MR"
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"name" : "Label Material MetalRough",
|
| 397 |
+
"pbrMetallicRoughness" : {
|
| 398 |
+
"baseColorTexture" : {
|
| 399 |
+
"index" : 7
|
| 400 |
+
},
|
| 401 |
+
"metallicFactor" : 0.0
|
| 402 |
+
}
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"name" : "Label Material SpecGloss",
|
| 406 |
+
"extensions": {
|
| 407 |
+
"KHR_materials_pbrSpecularGlossiness": {
|
| 408 |
+
"diffuseTexture": {
|
| 409 |
+
"index": 7
|
| 410 |
+
},
|
| 411 |
+
"specularFactor": [0.0, 0.0, 0.0],
|
| 412 |
+
"glossinessFactor": 0.0
|
| 413 |
+
}
|
| 414 |
+
}
|
| 415 |
+
}
|
| 416 |
+
],
|
| 417 |
+
"nodes": [
|
| 418 |
+
{
|
| 419 |
+
"mesh": 0,
|
| 420 |
+
"rotation": [
|
| 421 |
+
0.0,
|
| 422 |
+
1.0,
|
| 423 |
+
0.0,
|
| 424 |
+
0.0
|
| 425 |
+
],
|
| 426 |
+
"translation": [
|
| 427 |
+
0.08,
|
| 428 |
+
0,
|
| 429 |
+
0
|
| 430 |
+
],
|
| 431 |
+
"name": "WaterBottle_SpecGloss"
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"mesh": 1,
|
| 435 |
+
"rotation": [
|
| 436 |
+
0.0,
|
| 437 |
+
1.0,
|
| 438 |
+
0.0,
|
| 439 |
+
0.0
|
| 440 |
+
],
|
| 441 |
+
"translation": [
|
| 442 |
+
-0.08,
|
| 443 |
+
0,
|
| 444 |
+
0
|
| 445 |
+
],
|
| 446 |
+
"name": "WaterBottle_MR"
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"mesh": 2,
|
| 450 |
+
"translation": [
|
| 451 |
+
-0.08,
|
| 452 |
+
0.18,
|
| 453 |
+
0
|
| 454 |
+
],
|
| 455 |
+
"name": "MetalRoughLabel"
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"mesh": 3,
|
| 459 |
+
"translation": [
|
| 460 |
+
0.08,
|
| 461 |
+
0.18,
|
| 462 |
+
0
|
| 463 |
+
],
|
| 464 |
+
"name": "SpecGlossLabel"
|
| 465 |
+
}
|
| 466 |
+
],
|
| 467 |
+
"scene": 0,
|
| 468 |
+
"scenes": [
|
| 469 |
+
{
|
| 470 |
+
"nodes": [
|
| 471 |
+
0,
|
| 472 |
+
1,
|
| 473 |
+
2,
|
| 474 |
+
3
|
| 475 |
+
]
|
| 476 |
+
}
|
| 477 |
+
],
|
| 478 |
+
"textures": [
|
| 479 |
+
{
|
| 480 |
+
"source": 0
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"source": 1
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"source": 2
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"source": 3
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"source": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"source": 5
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"source": 6
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"source": 7
|
| 502 |
+
}
|
| 503 |
+
]
|
| 504 |
+
}
|
glTF/SpecGlossVsMetalRough.png
ADDED
|
Git LFS Details
|
glTF/SpecGlossVsMetalRoughLabel.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efb8bcf3bd1e27b036c7fcecf37eba930324425efdecd73f4bd4d2f108afc082
|
| 3 |
+
size 536
|
glTF/WaterBottle.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4921f2d0c0a03cf65286bd195f3688d4f99d7b6a58f25935e70d516d744156e
|
| 3 |
+
size 149412
|
glTF/WaterBottle_baseColor.png
ADDED
|
Git LFS Details
|
glTF/WaterBottle_diffuse.png
ADDED
|
Git LFS Details
|
glTF/WaterBottle_emissive.png
ADDED
|
Git LFS Details
|
glTF/WaterBottle_normal.png
ADDED
|
Git LFS Details
|
glTF/WaterBottle_occlusion.png
ADDED
|
Git LFS Details
|
glTF/WaterBottle_roughnessMetallic.png
ADDED
|
Git LFS Details
|
glTF/WaterBottle_specularGlossiness.png
ADDED
|
Git LFS Details
|
screenshot/screenshot-large.jpg
ADDED
|
Git LFS Details
|
screenshot/screenshot.jpg
ADDED
|
Git LFS Details
|