Add extra skyboxes
[opengl.git] / models / sphereMetal.gltf
1 {
2     "accessors" : [
3         {
4             "bufferView" : 0,
5             "componentType" : 5123,
6             "count" : 29400,
7             "max" : [
8                 5003
9             ],
10             "min" : [
11                 0
12             ],
13             "type" : "SCALAR"
14         },
15         {
16             "bufferView" : 1,
17             "componentType" : 5126,
18             "count" : 5004,
19             "max" : [
20                 1.0000009536743164,
21                 1.0,
22                 1.0000017881393433
23             ],
24             "min" : [
25                 -1.0000007152557373,
26                 -1.0,
27                 -1.0
28             ],
29             "type" : "VEC3"
30         },
31         {
32             "bufferView" : 2,
33             "componentType" : 5126,
34             "count" : 5004,
35             "max" : [
36                 1.0,
37                 1.0,
38                 1.0
39             ],
40             "min" : [
41                 -1.0,
42                 -1.0,
43                 -1.0
44             ],
45             "type" : "VEC3"
46         },
47         {
48             "bufferView" : 3,
49             "componentType" : 5126,
50             "count" : 5004,
51             "max" : [
52                 0.9990525245666504,
53                 0.1821206957101822,
54                 0.9870549440383911,
55                 1.0
56             ],
57             "min" : [
58                 -0.9990525245666504,
59                 -0.1808946281671524,
60                 -0.987054705619812,
61                 -1.0
62             ],
63             "type" : "VEC4"
64         },
65         {
66             "bufferView" : 4,
67             "componentType" : 5126,
68             "count" : 5004,
69             "max" : [
70                 1.4449338912963867,
71                 0.9933801889419556
72             ],
73             "min" : [
74                 0.00026097893714904785,
75                 0.006618916988372803
76             ],
77             "type" : "VEC2"
78         },
79         {
80             "bufferView" : 5,
81             "componentType" : 5123,
82             "count" : 118800,
83             "max" : [
84                 19999
85             ],
86             "min" : [
87                 0
88             ],
89             "type" : "SCALAR"
90         },
91         {
92             "bufferView" : 6,
93             "componentType" : 5126,
94             "count" : 20000,
95             "max" : [
96                 1.0000005960464478,
97                 1.0,
98                 1.0000009536743164
99             ],
100             "min" : [
101                 -0.9999977946281433,
102                 -1.0,
103                 -1.0
104             ],
105             "type" : "VEC3"
106         },
107         {
108             "bufferView" : 7,
109             "componentType" : 5126,
110             "count" : 20000,
111             "max" : [
112                 1.0,
113                 1.0,
114                 1.0
115             ],
116             "min" : [
117                 -1.0,
118                 -1.0,
119                 -0.999969482421875
120             ],
121             "type" : "VEC3"
122         },
123         {
124             "bufferView" : 8,
125             "componentType" : 5126,
126             "count" : 20000,
127             "max" : [
128                 0.9809380769729614,
129                 0.3905962109565735,
130                 0.9425740242004395,
131                 1.0
132             ],
133             "min" : [
134                 -0.980937659740448,
135                 -0.3905961215496063,
136                 -0.9425736665725708,
137                 1.0
138             ],
139             "type" : "VEC4"
140         },
141         {
142             "bufferView" : 9,
143             "componentType" : 5126,
144             "count" : 20000,
145             "max" : [
146                 1.3736257553100586,
147                 0.9968895316123962
148             ],
149             "min" : [
150                 3.013014793395996e-05,
151                 0.0031104683876037598
152             ],
153             "type" : "VEC2"
154         },
155         {
156             "bufferView" : 10,
157             "componentType" : 5123,
158             "count" : 29400,
159             "max" : [
160                 5003
161             ],
162             "min" : [
163                 0
164             ],
165             "type" : "SCALAR"
166         },
167         {
168             "bufferView" : 11,
169             "componentType" : 5126,
170             "count" : 5004,
171             "max" : [
172                 1.0000009536743164,
173                 1.0,
174                 1.0000017881393433
175             ],
176             "min" : [
177                 -1.0000007152557373,
178                 -1.0,
179                 -1.0
180             ],
181             "type" : "VEC3"
182         },
183         {
184             "bufferView" : 12,
185             "componentType" : 5126,
186             "count" : 5004,
187             "max" : [
188                 1.0,
189                 1.0,
190                 1.0
191             ],
192             "min" : [
193                 -1.0,
194                 -1.0,
195                 -1.0
196             ],
197             "type" : "VEC3"
198         },
199         {
200             "bufferView" : 13,
201             "componentType" : 5126,
202             "count" : 5004,
203             "max" : [
204                 0.9990525245666504,
205                 0.1821206957101822,
206                 0.9870549440383911,
207                 1.0
208             ],
209             "min" : [
210                 -0.9990525245666504,
211                 -0.1808946281671524,
212                 -0.987054705619812,
213                 -1.0
214             ],
215             "type" : "VEC4"
216         },
217         {
218             "bufferView" : 14,
219             "componentType" : 5126,
220             "count" : 5004,
221             "max" : [
222                 1.4449338912963867,
223                 0.9933801889419556
224             ],
225             "min" : [
226                 0.00026097893714904785,
227                 0.006618916988372803
228             ],
229             "type" : "VEC2"
230         },
231         {
232             "bufferView" : 15,
233             "componentType" : 5123,
234             "count" : 2904,
235             "max" : [
236                 506
237             ],
238             "min" : [
239                 0
240             ],
241             "type" : "SCALAR"
242         },
243         {
244             "bufferView" : 16,
245             "componentType" : 5126,
246             "count" : 507,
247             "max" : [
248                 1.3671875,
249                 0.984375,
250                 0.8515625
251             ],
252             "min" : [
253                 -1.3671875,
254                 -0.984375,
255                 -0.8515625
256             ],
257             "type" : "VEC3"
258         },
259         {
260             "bufferView" : 17,
261             "componentType" : 5126,
262             "count" : 507,
263             "max" : [
264                 0.9989318251609802,
265                 0.999725341796875,
266                 0.999969482421875
267             ],
268             "min" : [
269                 -0.9989318251609802,
270                 -0.9862666726112366,
271                 -0.9753105044364929
272             ],
273             "type" : "VEC3"
274         },
275         {
276             "bufferView" : 18,
277             "componentType" : 5126,
278             "count" : 507,
279             "max" : [
280                 0.9987419247627258,
281                 0.9946793913841248,
282                 0.9965001940727234,
283                 1.0
284             ],
285             "min" : [
286                 -0.9963445067405701,
287                 -0.999483048915863,
288                 -0.9972872734069824,
289                 1.0
290             ],
291             "type" : "VEC4"
292         },
293         {
294             "bufferView" : 19,
295             "componentType" : 5126,
296             "count" : 507,
297             "max" : [
298                 0.9998813271522522,
299                 0.9998813555357629
300             ],
301             "min" : [
302                 0.0001186444642371498,
303                 0.06660735607147217
304             ],
305             "type" : "VEC2"
306         }
307     ],
308     "asset" : {
309         "generator" : "Khronos Blender glTF 2.0 exporter",
310         "version" : "2.0"
311     },
312     "bufferViews" : [
313         {
314             "buffer" : 0,
315             "byteLength" : 58800,
316             "byteOffset" : 0,
317             "target" : 34963
318         },
319         {
320             "buffer" : 0,
321             "byteLength" : 60048,
322             "byteOffset" : 58800,
323             "target" : 34962
324         },
325         {
326             "buffer" : 0,
327             "byteLength" : 60048,
328             "byteOffset" : 118848,
329             "target" : 34962
330         },
331         {
332             "buffer" : 0,
333             "byteLength" : 80064,
334             "byteOffset" : 178896,
335             "target" : 34962
336         },
337         {
338             "buffer" : 0,
339             "byteLength" : 40032,
340             "byteOffset" : 258960,
341             "target" : 34962
342         },
343         {
344             "buffer" : 0,
345             "byteLength" : 237600,
346             "byteOffset" : 298992,
347             "target" : 34963
348         },
349         {
350             "buffer" : 0,
351             "byteLength" : 240000,
352             "byteOffset" : 536592,
353             "target" : 34962
354         },
355         {
356             "buffer" : 0,
357             "byteLength" : 240000,
358             "byteOffset" : 776592,
359             "target" : 34962
360         },
361         {
362             "buffer" : 0,
363             "byteLength" : 320000,
364             "byteOffset" : 1016592,
365             "target" : 34962
366         },
367         {
368             "buffer" : 0,
369             "byteLength" : 160000,
370             "byteOffset" : 1336592,
371             "target" : 34962
372         },
373         {
374             "buffer" : 0,
375             "byteLength" : 58800,
376             "byteOffset" : 1496592,
377             "target" : 34963
378         },
379         {
380             "buffer" : 0,
381             "byteLength" : 60048,
382             "byteOffset" : 1555392,
383             "target" : 34962
384         },
385         {
386             "buffer" : 0,
387             "byteLength" : 60048,
388             "byteOffset" : 1615440,
389             "target" : 34962
390         },
391         {
392             "buffer" : 0,
393             "byteLength" : 80064,
394             "byteOffset" : 1675488,
395             "target" : 34962
396         },
397         {
398             "buffer" : 0,
399             "byteLength" : 40032,
400             "byteOffset" : 1755552,
401             "target" : 34962
402         },
403         {
404             "buffer" : 0,
405             "byteLength" : 5808,
406             "byteOffset" : 1795584,
407             "target" : 34963
408         },
409         {
410             "buffer" : 0,
411             "byteLength" : 6084,
412             "byteOffset" : 1801392,
413             "target" : 34962
414         },
415         {
416             "buffer" : 0,
417             "byteLength" : 6084,
418             "byteOffset" : 1807476,
419             "target" : 34962
420         },
421         {
422             "buffer" : 0,
423             "byteLength" : 8112,
424             "byteOffset" : 1813560,
425             "target" : 34962
426         },
427         {
428             "buffer" : 0,
429             "byteLength" : 4056,
430             "byteOffset" : 1821672,
431             "target" : 34962
432         }
433     ],
434     "buffers" : [
435         {
436             "byteLength" : 1825728,
437             "uri" : "sphereMetal.bin"
438         }
439     ],
440     "images" : [
441         {
442             "name" : "greasy-pan-2-albedo",
443             "uri" : "greasy-pan-2-albedo.png"
444         },
445         {
446             "name" : "greasy-pan-2-normal",
447             "uri" : "greasy-pan-2-normal.png"
448         },
449         {
450             "name" : "greasy-pan-2-ao",
451             "uri" : "greasy-pan-2-ao.png"
452         },
453         {
454             "name" : "greasy-pan-2-metallicroughness",
455             "uri" : "greasy-pan-2-metallicroughness.png"
456         },
457         {
458             "name" : "scuffed-plastic4-alb",
459             "uri" : "scuffed-plastic4-alb.png"
460         },
461         {
462             "name" : "scuffed-plastic-metallicroughness",
463             "uri" : "scuffed-plastic-metallicroughness.png"
464         },
465         {
466             "name" : "scuffed-plastic-normal",
467             "uri" : "scuffed-plastic-normal.png"
468         },
469         {
470             "name" : "scuffed-plastic-ao",
471             "uri" : "scuffed-plastic-ao.png"
472         },
473         {
474             "name" : "streakedmetal-albedo",
475             "uri" : "streakedmetal-albedo.png"
476         },
477         {
478             "name" : "streakedmetal-normal",
479             "uri" : "streakedmetal-normal.png"
480         },
481         {
482             "name" : "streakedmetal-metallicroughness",
483             "uri" : "streakedmetal-metallicroughness.png"
484         },
485         {
486             "name" : "streakedmetal-ao",
487             "uri" : "streakedmetal-ao.png"
488         }
489     ],
490     "materials" : [
491         {
492             "name" : "Greasy Metal",
493             "normalTexture" : {
494                 "index" : 1
495             },
496             "occlusionTexture" : {
497                 "index" : 2
498             },
499             "pbrMetallicRoughness" : {
500                 "baseColorTexture" : {
501                     "index" : 0
502                 },
503                 "metallicRoughnessTexture" : {
504                     "index" : 3
505                 }
506             }
507         },
508         {
509             "name" : "Plastic",
510             "normalTexture" : {
511                 "index" : 6
512             },
513             "occlusionTexture" : {
514                 "index" : 7
515             },
516             "pbrMetallicRoughness" : {
517                 "baseColorTexture" : {
518                     "index" : 4
519                 },
520                 "metallicRoughnessTexture" : {
521                     "index" : 5
522                 }
523             }
524         },
525         {
526             "name" : "Streaked Metal",
527             "normalTexture" : {
528                 "index" : 9
529             },
530             "occlusionTexture" : {
531                 "index" : 11
532             },
533             "pbrMetallicRoughness" : {
534                 "baseColorTexture" : {
535                     "index" : 8
536                 },
537                 "metallicRoughnessTexture" : {
538                     "index" : 10
539                 }
540             }
541         }
542     ],
543     "meshes" : [
544         {
545             "name" : "Sphere.001",
546             "primitives" : [
547                 {
548                     "attributes" : {
549                         "NORMAL" : 2,
550                         "POSITION" : 1,
551                         "TANGENT" : 3,
552                         "TEXCOORD_0" : 4
553                     },
554                     "indices" : 0,
555                     "material" : 2
556                 }
557             ]
558         },
559         {
560             "name" : "Sphere",
561             "primitives" : [
562                 {
563                     "attributes" : {
564                         "NORMAL" : 7,
565                         "POSITION" : 6,
566                         "TANGENT" : 8,
567                         "TEXCOORD_0" : 9
568                     },
569                     "indices" : 5,
570                     "material" : 0
571                 }
572             ]
573         },
574         {
575             "name" : "Sphere.002",
576             "primitives" : [
577                 {
578                     "attributes" : {
579                         "NORMAL" : 12,
580                         "POSITION" : 11,
581                         "TANGENT" : 13,
582                         "TEXCOORD_0" : 14
583                     },
584                     "indices" : 10,
585                     "material" : 1
586                 }
587             ]
588         },
589         {
590             "name" : "Suzanne",
591             "primitives" : [
592                 {
593                     "attributes" : {
594                         "NORMAL" : 17,
595                         "POSITION" : 16,
596                         "TANGENT" : 18,
597                         "TEXCOORD_0" : 19
598                     },
599                     "indices" : 15,
600                     "material" : 2
601                 }
602             ]
603         }
604     ],
605     "nodes" : [
606         {
607             "name" : "Camera",
608             "rotation" : [
609                 0.483536034822464,
610                 0.33687159419059753,
611                 -0.20870360732078552,
612                 0.7804827094078064
613             ],
614             "translation" : [
615                 7.481131553649902,
616                 5.34366512298584,
617                 6.5076398849487305
618             ]
619         },
620         {
621             "name" : "Lamp",
622             "rotation" : [
623                 0.16907575726509094,
624                 0.7558802962303162,
625                 -0.27217137813568115,
626                 0.570947527885437
627             ],
628             "scale" : [
629                 1.0,
630                 1.0,
631                 0.9999999403953552
632             ],
633             "translation" : [
634                 4.076245307922363,
635                 4.028226852416992,
636                 -1.0054539442062378
637             ]
638         },
639         {
640             "mesh" : 1,
641             "name" : "Sphere"
642         },
643         {
644             "mesh" : 0,
645             "name" : "Sphere.001",
646             "translation" : [
647                 2.5,
648                 0.0,
649                 -0.0
650             ]
651         },
652         {
653             "mesh" : 2,
654             "name" : "Sphere.002",
655             "translation" : [
656                 -2.5,
657                 0.0,
658                 -0.0
659             ]
660         },
661         {
662             "mesh" : 3,
663             "name" : "Suzanne",
664             "rotation" : [
665                 0.0,
666                 0.7071068286895752,
667                 -0.0,
668                 0.7071067690849304
669             ],
670             "translation" : [
671                 0.0,
672                 0.0,
673                 -2.5
674             ]
675         }
676     ],
677     "samplers" : [
678         {}
679     ],
680     "scene" : 0,
681     "scenes" : [
682         {
683             "name" : "Scene",
684             "nodes" : [
685                 5,
686                 3,
687                 2,
688                 1,
689                 0,
690                 4
691             ]
692         }
693     ],
694     "textures" : [
695         {
696             "sampler" : 0,
697             "source" : 0
698         },
699         {
700             "sampler" : 0,
701             "source" : 1
702         },
703         {
704             "sampler" : 0,
705             "source" : 2
706         },
707         {
708             "sampler" : 0,
709             "source" : 3
710         },
711         {
712             "sampler" : 0,
713             "source" : 4
714         },
715         {
716             "sampler" : 0,
717             "source" : 5
718         },
719         {
720             "sampler" : 0,
721             "source" : 6
722         },
723         {
724             "sampler" : 0,
725             "source" : 7
726         },
727         {
728             "sampler" : 0,
729             "source" : 8
730         },
731         {
732             "sampler" : 0,
733             "source" : 9
734         },
735         {
736             "sampler" : 0,
737             "source" : 10
738         },
739         {
740             "sampler" : 0,
741             "source" : 11
742         }
743     ]
744 }