4b9e8cc6af4846d4895b8542284297268cedb355
[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     "asset" : {
157         "generator" : "Khronos Blender glTF 2.0 exporter",
158         "version" : "2.0"
159     },
160     "bufferViews" : [
161         {
162             "buffer" : 0,
163             "byteLength" : 58800,
164             "byteOffset" : 0,
165             "target" : 34963
166         },
167         {
168             "buffer" : 0,
169             "byteLength" : 60048,
170             "byteOffset" : 58800,
171             "target" : 34962
172         },
173         {
174             "buffer" : 0,
175             "byteLength" : 60048,
176             "byteOffset" : 118848,
177             "target" : 34962
178         },
179         {
180             "buffer" : 0,
181             "byteLength" : 80064,
182             "byteOffset" : 178896,
183             "target" : 34962
184         },
185         {
186             "buffer" : 0,
187             "byteLength" : 40032,
188             "byteOffset" : 258960,
189             "target" : 34962
190         },
191         {
192             "buffer" : 0,
193             "byteLength" : 237600,
194             "byteOffset" : 298992,
195             "target" : 34963
196         },
197         {
198             "buffer" : 0,
199             "byteLength" : 240000,
200             "byteOffset" : 536592,
201             "target" : 34962
202         },
203         {
204             "buffer" : 0,
205             "byteLength" : 240000,
206             "byteOffset" : 776592,
207             "target" : 34962
208         },
209         {
210             "buffer" : 0,
211             "byteLength" : 320000,
212             "byteOffset" : 1016592,
213             "target" : 34962
214         },
215         {
216             "buffer" : 0,
217             "byteLength" : 160000,
218             "byteOffset" : 1336592,
219             "target" : 34962
220         }
221     ],
222     "buffers" : [
223         {
224             "byteLength" : 1496592,
225             "uri" : "sphereMetal.bin"
226         }
227     ],
228     "images" : [
229         {
230             "name" : "greasy-pan-2-albedo",
231             "uri" : "greasy-pan-2-albedo.png"
232         },
233         {
234             "name" : "greasy-pan-2-normal",
235             "uri" : "greasy-pan-2-normal.png"
236         },
237         {
238             "name" : "greasy-pan-2-ao",
239             "uri" : "greasy-pan-2-ao.png"
240         },
241         {
242             "name" : "greasy-pan-2-metallicroughness",
243             "uri" : "greasy-pan-2-metallicroughness.png"
244         },
245         {
246             "name" : "streakedmetal-albedo",
247             "uri" : "streakedmetal-albedo.png"
248         },
249         {
250             "name" : "streakedmetal-normal",
251             "uri" : "streakedmetal-normal.png"
252         },
253         {
254             "name" : "streakedmetal-metallicroughness",
255             "uri" : "streakedmetal-metallicroughness.png"
256         },
257         {
258             "name" : "streakedmetal-ao",
259             "uri" : "streakedmetal-ao.png"
260         }
261     ],
262     "materials" : [
263         {
264             "name" : "Greasy Metal",
265             "normalTexture" : {
266                 "index" : 1
267             },
268             "occlusionTexture" : {
269                 "index" : 2
270             },
271             "pbrMetallicRoughness" : {
272                 "baseColorTexture" : {
273                     "index" : 0
274                 },
275                 "metallicRoughnessTexture" : {
276                     "index" : 3
277                 }
278             }
279         },
280         {
281             "name" : "Streaked Metal",
282             "normalTexture" : {
283                 "index" : 5
284             },
285             "occlusionTexture" : {
286                 "index" : 7
287             },
288             "pbrMetallicRoughness" : {
289                 "baseColorTexture" : {
290                     "index" : 4
291                 },
292                 "metallicRoughnessTexture" : {
293                     "index" : 6
294                 }
295             }
296         }
297     ],
298     "meshes" : [
299         {
300             "name" : "Sphere.001",
301             "primitives" : [
302                 {
303                     "attributes" : {
304                         "NORMAL" : 2,
305                         "POSITION" : 1,
306                         "TANGENT" : 3,
307                         "TEXCOORD_0" : 4
308                     },
309                     "indices" : 0,
310                     "material" : 1
311                 }
312             ]
313         },
314         {
315             "name" : "Sphere",
316             "primitives" : [
317                 {
318                     "attributes" : {
319                         "NORMAL" : 7,
320                         "POSITION" : 6,
321                         "TANGENT" : 8,
322                         "TEXCOORD_0" : 9
323                     },
324                     "indices" : 5,
325                     "material" : 0
326                 }
327             ]
328         }
329     ],
330     "nodes" : [
331         {
332             "name" : "Camera",
333             "rotation" : [
334                 0.483536034822464,
335                 0.33687159419059753,
336                 -0.20870360732078552,
337                 0.7804827094078064
338             ],
339             "translation" : [
340                 7.481131553649902,
341                 5.34366512298584,
342                 6.5076398849487305
343             ]
344         },
345         {
346             "name" : "Lamp",
347             "rotation" : [
348                 0.16907575726509094,
349                 0.7558802962303162,
350                 -0.27217137813568115,
351                 0.570947527885437
352             ],
353             "scale" : [
354                 1.0,
355                 1.0,
356                 0.9999999403953552
357             ],
358             "translation" : [
359                 4.076245307922363,
360                 4.028226852416992,
361                 -1.0054539442062378
362             ]
363         },
364         {
365             "mesh" : 1,
366             "name" : "Sphere"
367         },
368         {
369             "mesh" : 0,
370             "name" : "Sphere.001",
371             "translation" : [
372                 2.5,
373                 0.0,
374                 -0.0
375             ]
376         }
377     ],
378     "samplers" : [
379         {}
380     ],
381     "scene" : 0,
382     "scenes" : [
383         {
384             "name" : "Scene",
385             "nodes" : [
386                 3,
387                 2,
388                 1,
389                 0
390             ]
391         }
392     ],
393     "textures" : [
394         {
395             "sampler" : 0,
396             "source" : 0
397         },
398         {
399             "sampler" : 0,
400             "source" : 1
401         },
402         {
403             "sampler" : 0,
404             "source" : 2
405         },
406         {
407             "sampler" : 0,
408             "source" : 3
409         },
410         {
411             "sampler" : 0,
412             "source" : 4
413         },
414         {
415             "sampler" : 0,
416             "source" : 5
417         },
418         {
419             "sampler" : 0,
420             "source" : 6
421         },
422         {
423             "sampler" : 0,
424             "source" : 7
425         }
426     ]
427 }