thomwolf HF Staff commited on
Commit
2de5734
·
1 Parent(s): d806b9a

update scene

Browse files
README.md CHANGED
@@ -10,3 +10,45 @@ 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
+ # SheenChair
15
+
16
+ ## Screenshot
17
+
18
+ ![screenshot](screenshot/screenshot-large.jpg)
19
+
20
+ [Babylon.JS](https://sandbox.babylonjs.com/) screenshot (above), using the Studio lighting environment.
21
+
22
+ ## Description
23
+
24
+ This model is a wood-framed chair with a fabric seat, tufted with fabric buttons and metal hardware. It uses three extensions: `KHR_materials_sheen` for velvet fabrics, `KHR_texture_transform` to tile the textures for fabric and wood, and `KHR_materials_variants` to create two versions of the chair: "Mango Velvet", and "Peacock Velvet".
25
+
26
+ The model is made of four parts using subdivision surface modeling, with four materials for fabric, wood, metal, and the label. The ambient occlusion texture is shared by all materials and uses a 2nd UV with all UVs arranged between 0 and 1. All the other textures use the 1st UV which is not so constrained; it has overlaps and the UVs extend outside the 0-1 UV space.
27
+
28
+ The textures were created uniquely, edited from public domain imagery (https://www.publicdomainpictures.net/), or edited from personal photos. This model does not represent a real product, however the fabrics were modeled to match real fabrics, represented [here on the Wayfair website](https://www.wayfair.com/furniture/pdp/bungalow-rose-griner-slipper-chair-bgrs8778.html). The use of real-world reference is meant to help glTF developers with calibrating material features and renderer handling, so we can more accurately represent e-commerce products.
29
+
30
+ ## KHR_materials_sheen
31
+
32
+ The fabric materials use the extension `KHR_materials_sheen` to reproduce velvet fabrics. These screenshots show the real-world photo reference, alongside the intended rendering result, and what may occur if the extension is disabled or not implemented.
33
+
34
+ ![screenshot](screenshot/mango_reference.jpg)
35
+
36
+ Above: real-world reference, and [Babylon.JS](https://sandbox.babylonjs.com/) screenshots using the Studio lighting environment, showing the variant "Mango Velvet" with `KHR_materials_sheen` enabled and disabled.
37
+
38
+ ![screenshot](screenshot/peacock_reference.jpg)
39
+
40
+ Above: real-world reference, and [Babylon.JS](https://sandbox.babylonjs.com/) screenshots using the Studio lighting environment, showing the variant "Peacock Velvet" with `KHR_materials_sheen` enabled and disabled.
41
+
42
+ ## Material Authoring Choices
43
+
44
+ To simulate the bending of velvet microfibers from human handling, the red and green color channels of the normal map have been biased in different directions. The normal map has been reduced in strength using the Scale parameter; if this is disabled the fabric may look too rough and bumpy.
45
+
46
+ The Peacock Velvet material uses 1.0 metalness. While not being physically accurate, metalness colorizes reflections similarly to real-world velvet fabric, creating more contrast to match the real-world reference. Future extensions may add specular color to metallic-roughness materials for dielectric surfaces, negating the need to force metalness in this case.
47
+
48
+ ## Authoring Software
49
+
50
+ The model was created in Autodesk 3ds Max 2020 and exported using the [`Max2Babylon`](https://github.com/BabylonJS/Exporters/tree/master/3ds%20Max) exporter. To add `KHR_materials_sheen` and `KHR_materials_variants` the glTF file was edited manually.
51
+
52
+ ## License Information
53
+
54
+ Copyright 2020 Wayfair LLC, CC-BY 4.0 https://creativecommons.org/licenses/by/4.0/, model and textures created by Eric Chadwick.
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+
4
+ print(os.getcwd())
5
+
6
+ with gr.Blocks() as demo:
7
+ gr.Model3D("./glTF-Embedded/Box.gltf")
8
+
9
+ demo.launch(inbrowser=True)
glTF-Binary/SheenChair.glb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07c80216eb5d57fc9d4148e1e14a69e19d3436eca1af33590d8d36c04957ffd4
3
+ size 4396728
glTF/SheenChair.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb80869cbb73e6dbacbbcdee8c430cdaa92a7447cce22abbf818b6c673cee427
3
+ size 1137976
glTF/SheenChair.gltf ADDED
@@ -0,0 +1,740 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "asset": {
3
+ "version": "2.0",
4
+ "generator": "babylon.js glTF exporter for 3dsmax 2020 v20201123.8, then manually edited to add Sheen and Variants"
5
+ },
6
+ "extensionsUsed": [
7
+ "KHR_texture_transform",
8
+ "KHR_materials_sheen",
9
+ "KHR_materials_variants"
10
+ ],
11
+ "extensions": {
12
+ "KHR_materials_variants": {
13
+ "variants": [
14
+ {
15
+ "name": "Mango Velvet"
16
+ },
17
+ {
18
+ "name": "Peacock Velvet"
19
+ }
20
+ ]
21
+ }
22
+ },
23
+ "extensionsRequired": [
24
+ "KHR_texture_transform"
25
+ ],
26
+ "scene": 0,
27
+ "scenes": [
28
+ {
29
+ "nodes": [
30
+ 0,
31
+ 1,
32
+ 2,
33
+ 3
34
+ ]
35
+ }
36
+ ],
37
+ "nodes": [
38
+ {
39
+ "mesh": 0,
40
+ "name": "SheenChair_fabric"
41
+ },
42
+ {
43
+ "mesh": 1,
44
+ "name": "SheenChair_wood"
45
+ },
46
+ {
47
+ "mesh": 2,
48
+ "name": "SheenChair_metal"
49
+ },
50
+ {
51
+ "mesh": 3,
52
+ "translation": [
53
+ -0.0006629925,
54
+ 0.23622,
55
+ 0.0596007444
56
+ ],
57
+ "rotation": [
58
+ -0.0436193831,
59
+ 0.0,
60
+ 0.0,
61
+ 0.999048233
62
+ ],
63
+ "name": "SheenChair_label"
64
+ }
65
+ ],
66
+ "meshes": [
67
+ {
68
+ "primitives": [
69
+ {
70
+ "attributes": {
71
+ "POSITION": 1,
72
+ "NORMAL": 2,
73
+ "TEXCOORD_0": 3,
74
+ "TEXCOORD_1": 4
75
+ },
76
+ "extensions": {
77
+ "KHR_materials_variants": {
78
+ "mappings": [
79
+ {
80
+ "material": 0,
81
+ "variants": [
82
+ 0
83
+ ]
84
+ },
85
+ {
86
+ "material": 4,
87
+ "variants": [
88
+ 1
89
+ ]
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ "indices": 0,
95
+ "material": 0
96
+ }
97
+ ],
98
+ "name": "SheenChair_fabric"
99
+ },
100
+ {
101
+ "primitives": [
102
+ {
103
+ "attributes": {
104
+ "POSITION": 6,
105
+ "NORMAL": 7,
106
+ "TEXCOORD_0": 8,
107
+ "TEXCOORD_1": 9
108
+ },
109
+ "extensions": {
110
+ "KHR_materials_variants": {
111
+ "mappings": [
112
+ {
113
+ "material": 1,
114
+ "variants": [
115
+ 0
116
+ ]
117
+ },
118
+ {
119
+ "material": 5,
120
+ "variants": [
121
+ 1
122
+ ]
123
+ }
124
+ ]
125
+ }
126
+ },
127
+ "indices": 5,
128
+ "material": 1
129
+ }
130
+ ],
131
+ "name": "SheenChair_wood"
132
+ },
133
+ {
134
+ "primitives": [
135
+ {
136
+ "attributes": {
137
+ "POSITION": 11,
138
+ "NORMAL": 12,
139
+ "TEXCOORD_0": 13,
140
+ "TEXCOORD_1": 14
141
+ },
142
+ "indices": 10,
143
+ "material": 2
144
+ }
145
+ ],
146
+ "name": "SheenChair_metal"
147
+ },
148
+ {
149
+ "primitives": [
150
+ {
151
+ "attributes": {
152
+ "POSITION": 16,
153
+ "NORMAL": 17,
154
+ "TEXCOORD_0": 18,
155
+ "TEXCOORD_1": 19
156
+ },
157
+ "indices": 15,
158
+ "material": 3
159
+ }
160
+ ],
161
+ "name": "SheenChair_label"
162
+ }
163
+ ],
164
+ "accessors": [
165
+ {
166
+ "bufferView": 0,
167
+ "componentType": 5123,
168
+ "count": 78528,
169
+ "type": "SCALAR",
170
+ "name": "accessorIndices"
171
+ },
172
+ {
173
+ "bufferView": 1,
174
+ "componentType": 5126,
175
+ "count": 14350,
176
+ "max": [
177
+ 0.412535578,
178
+ 0.6861773,
179
+ 0.293540359
180
+ ],
181
+ "min": [
182
+ -0.4140224,
183
+ 0.226573884,
184
+ -0.2767251
185
+ ],
186
+ "type": "VEC3",
187
+ "name": "accessorPositions"
188
+ },
189
+ {
190
+ "bufferView": 1,
191
+ "byteOffset": 172200,
192
+ "componentType": 5126,
193
+ "count": 14350,
194
+ "type": "VEC3",
195
+ "name": "accessorNormals"
196
+ },
197
+ {
198
+ "bufferView": 2,
199
+ "componentType": 5126,
200
+ "count": 14350,
201
+ "type": "VEC2",
202
+ "name": "accessorUVs"
203
+ },
204
+ {
205
+ "bufferView": 2,
206
+ "byteOffset": 114800,
207
+ "componentType": 5126,
208
+ "count": 14350,
209
+ "type": "VEC2",
210
+ "name": "accessorUV2s"
211
+ },
212
+ {
213
+ "bufferView": 0,
214
+ "byteOffset": 157056,
215
+ "componentType": 5123,
216
+ "count": 29376,
217
+ "type": "SCALAR",
218
+ "name": "accessorIndices"
219
+ },
220
+ {
221
+ "bufferView": 1,
222
+ "byteOffset": 344400,
223
+ "componentType": 5126,
224
+ "count": 5508,
225
+ "max": [
226
+ 0.390372425,
227
+ 0.640484333,
228
+ 0.2655284
229
+ ],
230
+ "min": [
231
+ -0.39169845,
232
+ 0.005148451,
233
+ -0.275435269
234
+ ],
235
+ "type": "VEC3",
236
+ "name": "accessorPositions"
237
+ },
238
+ {
239
+ "bufferView": 1,
240
+ "byteOffset": 410496,
241
+ "componentType": 5126,
242
+ "count": 5508,
243
+ "type": "VEC3",
244
+ "name": "accessorNormals"
245
+ },
246
+ {
247
+ "bufferView": 2,
248
+ "byteOffset": 229600,
249
+ "componentType": 5126,
250
+ "count": 5508,
251
+ "type": "VEC2",
252
+ "name": "accessorUVs"
253
+ },
254
+ {
255
+ "bufferView": 2,
256
+ "byteOffset": 273664,
257
+ "componentType": 5126,
258
+ "count": 5508,
259
+ "type": "VEC2",
260
+ "name": "accessorUV2s"
261
+ },
262
+ {
263
+ "bufferView": 0,
264
+ "byteOffset": 215808,
265
+ "componentType": 5123,
266
+ "count": 11520,
267
+ "type": "SCALAR",
268
+ "name": "accessorIndices"
269
+ },
270
+ {
271
+ "bufferView": 1,
272
+ "byteOffset": 476592,
273
+ "componentType": 5126,
274
+ "count": 2520,
275
+ "max": [
276
+ 0.3399512,
277
+ 0.501481354,
278
+ 0.220822945
279
+ ],
280
+ "min": [
281
+ -0.3399512,
282
+ -6.977785E-05,
283
+ -0.239334568
284
+ ],
285
+ "type": "VEC3",
286
+ "name": "accessorPositions"
287
+ },
288
+ {
289
+ "bufferView": 1,
290
+ "byteOffset": 506832,
291
+ "componentType": 5126,
292
+ "count": 2520,
293
+ "type": "VEC3",
294
+ "name": "accessorNormals"
295
+ },
296
+ {
297
+ "bufferView": 2,
298
+ "byteOffset": 317728,
299
+ "componentType": 5126,
300
+ "count": 2520,
301
+ "type": "VEC2",
302
+ "name": "accessorUVs"
303
+ },
304
+ {
305
+ "bufferView": 2,
306
+ "byteOffset": 337888,
307
+ "componentType": 5126,
308
+ "count": 2520,
309
+ "type": "VEC2",
310
+ "name": "accessorUV2s"
311
+ },
312
+ {
313
+ "bufferView": 0,
314
+ "byteOffset": 238848,
315
+ "componentType": 5123,
316
+ "count": 384,
317
+ "type": "SCALAR",
318
+ "name": "accessorIndices"
319
+ },
320
+ {
321
+ "bufferView": 1,
322
+ "byteOffset": 537072,
323
+ "componentType": 5126,
324
+ "count": 81,
325
+ "max": [
326
+ 0.136181846,
327
+ 0.0100558968,
328
+ 0.0467727147
329
+ ],
330
+ "min": [
331
+ -0.135885492,
332
+ 0.005801852,
333
+ -0.110709868
334
+ ],
335
+ "type": "VEC3",
336
+ "name": "accessorPositions"
337
+ },
338
+ {
339
+ "bufferView": 1,
340
+ "byteOffset": 538044,
341
+ "componentType": 5126,
342
+ "count": 81,
343
+ "type": "VEC3",
344
+ "name": "accessorNormals"
345
+ },
346
+ {
347
+ "bufferView": 2,
348
+ "byteOffset": 358048,
349
+ "componentType": 5126,
350
+ "count": 81,
351
+ "type": "VEC2",
352
+ "name": "accessorUVs"
353
+ },
354
+ {
355
+ "bufferView": 2,
356
+ "byteOffset": 358696,
357
+ "componentType": 5126,
358
+ "count": 81,
359
+ "type": "VEC2",
360
+ "name": "accessorUV2s"
361
+ }
362
+ ],
363
+ "bufferViews": [
364
+ {
365
+ "buffer": 0,
366
+ "byteLength": 239616,
367
+ "name": "bufferViewScalar"
368
+ },
369
+ {
370
+ "buffer": 0,
371
+ "byteOffset": 239616,
372
+ "byteLength": 539016,
373
+ "byteStride": 12,
374
+ "name": "bufferViewFloatVec3"
375
+ },
376
+ {
377
+ "buffer": 0,
378
+ "byteOffset": 778632,
379
+ "byteLength": 359344,
380
+ "byteStride": 8,
381
+ "name": "bufferViewFloatVec2"
382
+ }
383
+ ],
384
+ "buffers": [
385
+ {
386
+ "uri": "SheenChair.bin",
387
+ "byteLength": 1137976
388
+ }
389
+ ],
390
+ "materials": [
391
+ {
392
+ "pbrMetallicRoughness": {
393
+ "baseColorFactor": [
394
+ 0.883,
395
+ 0.035,
396
+ 0.0,
397
+ 1.0
398
+ ],
399
+ "baseColorTexture": {
400
+ "index": 2,
401
+ "extensions": {
402
+ "KHR_texture_transform": {
403
+ "offset": [
404
+ -3.0,
405
+ 3.0
406
+ ],
407
+ "scale": [
408
+ 7.0,
409
+ 7.0
410
+ ],
411
+ "texCoord": 0
412
+ }
413
+ }
414
+ },
415
+ "metallicFactor": 0.0,
416
+ "roughnessFactor": 0.8
417
+ },
418
+ "normalTexture": {
419
+ "index": 0,
420
+ "scale": 0.6,
421
+ "extensions": {
422
+ "KHR_texture_transform": {
423
+ "offset": [
424
+ -0.5,
425
+ 0.5
426
+ ],
427
+ "scale": [
428
+ 2.0,
429
+ 2.0
430
+ ],
431
+ "texCoord": 0
432
+ }
433
+ }
434
+ },
435
+ "occlusionTexture": {
436
+ "index": 1,
437
+ "texCoord": 1,
438
+ "extensions": {
439
+ "KHR_texture_transform": {
440
+ "texCoord": 1
441
+ }
442
+ }
443
+ },
444
+ "extensions": {
445
+ "KHR_materials_sheen": {
446
+ "sheenColorFactor": [
447
+ 1.0,
448
+ 0.329,
449
+ 0.1
450
+ ],
451
+ "sheenRoughnessFactor": 0.8
452
+ }
453
+ },
454
+ "name": "fabric Mystere Mango Velvet"
455
+ },
456
+ {
457
+ "pbrMetallicRoughness": {
458
+ "baseColorFactor": [
459
+ 0.14,
460
+ 0.07,
461
+ 0.01,
462
+ 1.0
463
+ ],
464
+ "baseColorTexture": {
465
+ "index": 3,
466
+ "extensions": {
467
+ "KHR_texture_transform": {
468
+ "offset": [
469
+ -0.8635584,
470
+ 1.12502563
471
+ ],
472
+ "rotation": 0.08726647,
473
+ "scale": [
474
+ 3.0,
475
+ 3.0
476
+ ],
477
+ "texCoord": 0
478
+ }
479
+ }
480
+ },
481
+ "metallicRoughnessTexture": {
482
+ "index": 4,
483
+ "extensions": {
484
+ "KHR_texture_transform": {
485
+ "offset": [
486
+ -0.8635584,
487
+ 1.12502563
488
+ ],
489
+ "rotation": 0.08726647,
490
+ "scale": [
491
+ 3.0,
492
+ 3.0
493
+ ],
494
+ "texCoord": 0
495
+ }
496
+ }
497
+ }
498
+ },
499
+ "occlusionTexture": {
500
+ "index": 1,
501
+ "texCoord": 1,
502
+ "extensions": {
503
+ "KHR_texture_transform": {
504
+ "texCoord": 1
505
+ }
506
+ }
507
+ },
508
+ "name": "wood Brown"
509
+ },
510
+ {
511
+ "pbrMetallicRoughness": {
512
+ "baseColorFactor": [
513
+ 0.28,
514
+ 0.26,
515
+ 0.23,
516
+ 1.0
517
+ ],
518
+ "roughnessFactor": 0.3
519
+ },
520
+ "occlusionTexture": {
521
+ "index": 1,
522
+ "texCoord": 1,
523
+ "extensions": {
524
+ "KHR_texture_transform": {
525
+ "texCoord": 1
526
+ }
527
+ }
528
+ },
529
+ "name": "metal"
530
+ },
531
+ {
532
+ "pbrMetallicRoughness": {
533
+ "baseColorTexture": {
534
+ "index": 5,
535
+ "extensions": {
536
+ "KHR_texture_transform": {
537
+ "texCoord": 0
538
+ }
539
+ }
540
+ },
541
+ "metallicFactor": 0.0
542
+ },
543
+ "occlusionTexture": {
544
+ "index": 1,
545
+ "texCoord": 1,
546
+ "extensions": {
547
+ "KHR_texture_transform": {
548
+ "texCoord": 1
549
+ }
550
+ }
551
+ },
552
+ "name": "label"
553
+ },
554
+ {
555
+ "pbrMetallicRoughness": {
556
+ "baseColorFactor": [
557
+ 0.0,
558
+ 0.094,
559
+ 0.099,
560
+ 1.0
561
+ ],
562
+ "baseColorTexture": {
563
+ "index": 2,
564
+ "extensions": {
565
+ "KHR_texture_transform": {
566
+ "offset": [
567
+ -3.0,
568
+ 3.0
569
+ ],
570
+ "scale": [
571
+ 7.0,
572
+ 7.0
573
+ ],
574
+ "texCoord": 0
575
+ }
576
+ }
577
+ },
578
+ "metallicFactor": 1.0,
579
+ "roughnessFactor": 0.8
580
+ },
581
+ "normalTexture": {
582
+ "index": 0,
583
+ "scale": 0.6,
584
+ "extensions": {
585
+ "KHR_texture_transform": {
586
+ "offset": [
587
+ -0.5,
588
+ 0.5
589
+ ],
590
+ "scale": [
591
+ 2.0,
592
+ 2.0
593
+ ],
594
+ "texCoord": 0
595
+ }
596
+ }
597
+ },
598
+ "occlusionTexture": {
599
+ "index": 1,
600
+ "texCoord": 1,
601
+ "extensions": {
602
+ "KHR_texture_transform": {
603
+ "texCoord": 1
604
+ }
605
+ }
606
+ },
607
+ "extensions": {
608
+ "KHR_materials_sheen": {
609
+ "sheenColorFactor": [
610
+ 0.013,
611
+ 0.284,
612
+ 0.298
613
+ ],
614
+ "sheenRoughnessFactor": 0.8
615
+ }
616
+ },
617
+ "name": "fabric Mystere Peacock Velvet"
618
+ },
619
+ {
620
+ "pbrMetallicRoughness": {
621
+ "baseColorFactor": [
622
+ 0.036,
623
+ 0.036,
624
+ 0.036,
625
+ 1.0
626
+ ],
627
+ "baseColorTexture": {
628
+ "index": 3,
629
+ "extensions": {
630
+ "KHR_texture_transform": {
631
+ "offset": [
632
+ -0.8635584,
633
+ 1.12502563
634
+ ],
635
+ "rotation": 0.08726647,
636
+ "scale": [
637
+ 3.0,
638
+ 3.0
639
+ ],
640
+ "texCoord": 0
641
+ }
642
+ }
643
+ },
644
+ "metallicRoughnessTexture": {
645
+ "index": 6,
646
+ "extensions": {
647
+ "KHR_texture_transform": {
648
+ "offset": [
649
+ -0.8635584,
650
+ 1.12502563
651
+ ],
652
+ "rotation": 0.08726647,
653
+ "scale": [
654
+ 3.0,
655
+ 3.0
656
+ ],
657
+ "texCoord": 0
658
+ }
659
+ }
660
+ }
661
+ },
662
+ "occlusionTexture": {
663
+ "index": 1,
664
+ "texCoord": 1,
665
+ "extensions": {
666
+ "KHR_texture_transform": {
667
+ "texCoord": 1
668
+ }
669
+ }
670
+ },
671
+ "name": "wood Black"
672
+ }
673
+ ],
674
+ "textures": [
675
+ {
676
+ "sampler": 0,
677
+ "source": 0,
678
+ "name": "chair_fabric_normal.png"
679
+ },
680
+ {
681
+ "sampler": 0,
682
+ "source": 1,
683
+ "name": "chair_occlusion.png"
684
+ },
685
+ {
686
+ "sampler": 0,
687
+ "source": 2,
688
+ "name": "chair_fabric_albedo.png"
689
+ },
690
+ {
691
+ "sampler": 0,
692
+ "source": 3,
693
+ "name": "chair_wood_albedo.png"
694
+ },
695
+ {
696
+ "sampler": 0,
697
+ "source": 4,
698
+ "name": "chair_woodbrown_roughnessmetallic.png"
699
+ },
700
+ {
701
+ "sampler": 0,
702
+ "source": 5,
703
+ "name": "chair_label.png"
704
+ },
705
+ {
706
+ "sampler": 0,
707
+ "source": 6,
708
+ "name": "chair_woodblack_roughnessmetallic.png"
709
+ }
710
+ ],
711
+ "images": [
712
+ {
713
+ "uri": "./chair_fabric_normal.png"
714
+ },
715
+ {
716
+ "uri": "./chair_occlusion.png"
717
+ },
718
+ {
719
+ "uri": "./chair_fabric_albedo.png"
720
+ },
721
+ {
722
+ "uri": "./chair_wood_albedo.png"
723
+ },
724
+ {
725
+ "uri": "./chair_woodbrown_roughnessmetallic.png"
726
+ },
727
+ {
728
+ "uri": "./chair_label.png"
729
+ },
730
+ {
731
+ "uri": "./chair_woodblack_roughnessmetallic.png"
732
+ }
733
+ ],
734
+ "samplers": [
735
+ {
736
+ "magFilter": 9729,
737
+ "minFilter": 9987
738
+ }
739
+ ]
740
+ }
glTF/chair_fabric_albedo.png ADDED

Git LFS Details

  • SHA256: b6d655072f22c41ffa614ed52560d1f36fd8f1db0635617b557535ae346bbb95
  • Pointer size: 131 Bytes
  • Size of remote file: 226 kB
glTF/chair_fabric_normal.png ADDED

Git LFS Details

  • SHA256: d345086cc096b7bb067359b351252ca60f99e78b08945988cf99986d7f254712
  • Pointer size: 132 Bytes
  • Size of remote file: 1.48 MB
glTF/chair_label.png ADDED

Git LFS Details

  • SHA256: dbc2e5c525300fa4ac08671bebaf3a681b19a5914a7f034c44031997434c34f3
  • Pointer size: 131 Bytes
  • Size of remote file: 693 kB
glTF/chair_occlusion.png ADDED

Git LFS Details

  • SHA256: b62bab0872a8f9824852a5f10077225dfc6b32b52de3a7e8939dfc2a8c93c413
  • Pointer size: 131 Bytes
  • Size of remote file: 208 kB
glTF/chair_wood_albedo.png ADDED

Git LFS Details

  • SHA256: 672f706b4711e48bb760df505e4e3bde34dee2d111925b6a6810ae2b1ffe426e
  • Pointer size: 131 Bytes
  • Size of remote file: 299 kB
glTF/chair_woodblack_roughnessmetallic.png ADDED

Git LFS Details

  • SHA256: 34f145c0fe08f4458733abe39e71a6a526657816e76f44ccb15b163c7479cb29
  • Pointer size: 131 Bytes
  • Size of remote file: 139 kB
glTF/chair_woodbrown_roughnessmetallic.png ADDED

Git LFS Details

  • SHA256: c5d32793882cd73c41dcf291f56a3bc1dfa26fc152f5c5480ca93f640206fa87
  • Pointer size: 131 Bytes
  • Size of remote file: 210 kB
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio
screenshot/mango_reference.jpg ADDED

Git LFS Details

  • SHA256: edb5a409c9ab53edcc848de3428bb818e02cad22efd91a7ae08a5e6bc791e303
  • Pointer size: 131 Bytes
  • Size of remote file: 916 kB
screenshot/peacock_reference.jpg ADDED

Git LFS Details

  • SHA256: d289a41cffd96ea4ffcdc011526991ccbe176c2d610c939e61d7f2709996516a
  • Pointer size: 131 Bytes
  • Size of remote file: 869 kB
screenshot/screenshot-large.jpg ADDED

Git LFS Details

  • SHA256: e41a9080903f4415f014470f934b3aec1bc1cacf6f03bc929d1561be65606678
  • Pointer size: 131 Bytes
  • Size of remote file: 316 kB
screenshot/screenshot.jpg ADDED

Git LFS Details

  • SHA256: 1e78bab1b081a1cac56816fd27f3f22b5520810e2d1cca5e1acab2c38d631861
  • Pointer size: 130 Bytes
  • Size of remote file: 10.2 kB