Debian Codegraph @

tests/manual/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf

raw
1 {
2 "asset": {
3 "generator": "COLLADA2GLTF",
4 "version": "2.0"
5 },
6 "scene": 0,
7 "scenes": [
8 {
9 "nodes": [
10 0
11 ]
12 }
13 ],
14 "nodes": [
15 {
16 "children": [
17 4,
18 1
19 ],
20 "matrix": [
21 1.0,
22 0.0,
23 0.0,
24 0.0,
25 0.0,
26 0.0,
27 -1.0,
28 0.0,
29 0.0,
30 1.0,
31 0.0,
32 0.0,
33 0.0,
34 0.0,
35 0.0,
36 1.0
37 ]
38 },
39 {
40 "mesh": 0,
41 "skin": 0
42 },
43 {
44 "children": [
45 3
46 ],
47 "translation": [
48 0.0,
49 -3.156060017772689e-7,
50 -4.1803297996521
51 ],
52 "rotation": [
53 -0.7047404050827026,
54 -0.0,
55 -0.0,
56 -0.7094652056694031
57 ],
58 "scale": [
59 1.0,
60 0.9999998807907105,
61 0.9999998807907105
62 ]
63 },
64 {
65 "translation": [
66 0.0,
67 4.18717098236084,
68 0.0
69 ],
70 "rotation": [
71 -0.0020521103870123626,
72 -9.94789530750495e-8,
73 -0.00029137087403796613,
74 -0.999997854232788
75 ],
76 "scale": [
77 1.0,
78 1.0,
79 1.0000001192092896
80 ]
81 },
82 {
83 "children": [
84 2
85 ]
86 }
87 ],
88 "meshes": [
89 {
90 "primitives": [
91 {
92 "attributes": {
93 "JOINTS_0": 1,
94 "NORMAL": 2,
95 "POSITION": 3,
96 "WEIGHTS_0": 4
97 },
98 "indices": 0,
99 "mode": 4,
100 "material": 0
101 }
102 ],
103 "name": "Cylinder"
104 }
105 ],
106 "animations": [
107 {
108 "channels": [
109 {
110 "sampler": 0,
111 "target": {
112 "node": 2,
113 "path": "translation"
114 }
115 },
116 {
117 "sampler": 1,
118 "target": {
119 "node": 2,
120 "path": "rotation"
121 }
122 },
123 {
124 "sampler": 2,
125 "target": {
126 "node": 2,
127 "path": "scale"
128 }
129 }
130 ],
131 "samplers": [
132 {
133 "input": 5,
134 "interpolation": "LINEAR",
135 "output": 6
136 },
137 {
138 "input": 5,
139 "interpolation": "LINEAR",
140 "output": 7
141 },
142 {
143 "input": 5,
144 "interpolation": "LINEAR",
145 "output": 8
146 }
147 ]
148 },
149 {
150 "channels": [
151 {
152 "sampler": 0,
153 "target": {
154 "node": 3,
155 "path": "translation"
156 }
157 },
158 {
159 "sampler": 1,
160 "target": {
161 "node": 3,
162 "path": "rotation"
163 }
164 },
165 {
166 "sampler": 2,
167 "target": {
168 "node": 3,
169 "path": "scale"
170 }
171 }
172 ],
173 "samplers": [
174 {
175 "input": 9,
176 "interpolation": "LINEAR",
177 "output": 10
178 },
179 {
180 "input": 9,
181 "interpolation": "LINEAR",
182 "output": 11
183 },
184 {
185 "input": 9,
186 "interpolation": "LINEAR",
187 "output": 12
188 }
189 ]
190 }
191 ],
192 "skins": [
193 {
194 "inverseBindMatrices": 13,
195 "skeleton": 2,
196 "joints": [
197 2,
198 3
199 ],
200 "name": "Armature"
201 }
202 ],
203 "accessors": [
204 {
205 "bufferView": 0,
206 "byteOffset": 0,
207 "componentType": 5123,
208 "count": 564,
209 "max": [
210 95
211 ],
212 "min": [
213 0
214 ],
215 "type": "SCALAR"
216 },
217 {
218 "bufferView": 1,
219 "byteOffset": 0,
220 "componentType": 5123,
221 "count": 96,
222 "max": [
223 1,
224 1,
225 0,
226 0
227 ],
228 "min": [
229 0,
230 0,
231 0,
232 0
233 ],
234 "type": "VEC4"
235 },
236 {
237 "bufferView": 2,
238 "byteOffset": 0,
239 "componentType": 5126,
240 "count": 96,
241 "max": [
242 0.998198390007019,
243 0.998198390007019,
244 0.6888381242752075
245 ],
246 "min": [
247 -0.998198390007019,
248 -0.998198390007019,
249 -0.644473135471344
250 ],
251 "type": "VEC3"
252 },
253 {
254 "bufferView": 2,
255 "byteOffset": 1152,
256 "componentType": 5126,
257 "count": 96,
258 "max": [
259 1.0,
260 1.0,
261 4.575077056884766
262 ],
263 "min": [
264 -1.0,
265 -0.9999995827674866,
266 -4.575077056884766
267 ],
268 "type": "VEC3"
269 },
270 {
271 "bufferView": 3,
272 "byteOffset": 0,
273 "componentType": 5126,
274 "count": 96,
275 "max": [
276 1.0,
277 0.261398196220398,
278 0.0,
279 0.0
280 ],
281 "min": [
282 0.738601803779602,
283 0.0,
284 0.0,
285 0.0
286 ],
287 "type": "VEC4"
288 },
289 {
290 "bufferView": 4,
291 "byteOffset": 0,
292 "componentType": 5126,
293 "count": 3,
294 "max": [
295 2.083333015441895
296 ],
297 "min": [
298 0.04166661947965622
299 ],
300 "type": "SCALAR"
301 },
302 {
303 "bufferView": 5,
304 "byteOffset": 0,
305 "componentType": 5126,
306 "count": 3,
307 "max": [
308 0.0,
309 -3.156060017772689e-7,
310 -4.1803297996521
311 ],
312 "min": [
313 0.0,
314 -3.156060017772689e-7,
315 -4.1803297996521
316 ],
317 "type": "VEC3"
318 },
319 {
320 "bufferView": 6,
321 "byteOffset": 0,
322 "componentType": 5126,
323 "count": 3,
324 "max": [
325 -0.7047404050827026,
326 -0.0,
327 -0.0,
328 -0.7094652056694031
329 ],
330 "min": [
331 -0.7047404050827026,
332 -0.0,
333 -0.0,
334 -0.7094652056694031
335 ],
336 "type": "VEC4"
337 },
338 {
339 "bufferView": 5,
340 "byteOffset": 36,
341 "componentType": 5126,
342 "count": 3,
343 "max": [
344 1.0,
345 0.9999998807907105,
346 0.9999998807907105
347 ],
348 "min": [
349 1.0,
350 0.9999998807907105,
351 0.9999998807907105
352 ],
353 "type": "VEC3"
354 },
355 {
356 "bufferView": 4,
357 "byteOffset": 12,
358 "componentType": 5126,
359 "count": 3,
360 "max": [
361 2.083333015441895
362 ],
363 "min": [
364 0.04166661947965622
365 ],
366 "type": "SCALAR"
367 },
368 {
369 "bufferView": 5,
370 "byteOffset": 72,
371 "componentType": 5126,
372 "count": 3,
373 "max": [
374 0.0,
375 4.18717098236084,
376 0.0
377 ],
378 "min": [
379 0.0,
380 4.18717098236084,
381 0.0
382 ],
383 "type": "VEC3"
384 },
385 {
386 "bufferView": 6,
387 "byteOffset": 48,
388 "componentType": 5126,
389 "count": 3,
390 "max": [
391 0.2933785021305084,
392 -9.94789530750495e-8,
393 -0.0002783441450446844,
394 -0.9559963345527648
395 ],
396 "min": [
397 -0.0020521103870123626,
398 -0.00008614854596089572,
399 -0.00029137087403796613,
400 -0.999997854232788
401 ],
402 "type": "VEC4"
403 },
404 {
405 "bufferView": 5,
406 "byteOffset": 108,
407 "componentType": 5126,
408 "count": 3,
409 "max": [
410 1.0,
411 1.0,
412 1.0000001192092896
413 ],
414 "min": [
415 1.0,
416 1.0,
417 1.0000001192092896
418 ],
419 "type": "VEC3"
420 },
421 {
422 "bufferView": 7,
423 "byteOffset": 0,
424 "componentType": 5126,
425 "count": 2,
426 "max": [
427 1.0,
428 0.0,
429 0.000001394809942212305,
430 0.0,
431 0.000002896920022976701,
432 0.006681859027594328,
433 -0.9999778270721436,
434 0.0,
435 0.0005827349959872663,
436 0.9999966025352478,
437 0.006681739818304777,
438 0.0,
439 0.0,
440 4.18023681640625,
441 0.02795993909239769,
442 1.0
443 ],
444 "min": [
445 0.9999999403953552,
446 -0.0005827400018461049,
447 0.0,
448 0.0,
449 0.0,
450 0.002577662002295256,
451 -0.9999967217445374,
452 0.0,
453 0.0,
454 0.999977707862854,
455 0.002577601931989193,
456 0.0,
457 -0.000004012620138382772,
458 -0.006818830035626888,
459 0.027931740507483484,
460 1.0
461 ],
462 "type": "MAT4"
463 }
464 ],
465 "materials": [
466 {
467 "pbrMetallicRoughness": {
468 "baseColorFactor": [
469 0.27963539958000185,
470 0.6399999856948853,
471 0.21094390749931336,
472 1.0
473 ],
474 "metallicFactor": 0.0
475 },
476 "emissiveFactor": [
477 0.0,
478 0.0,
479 0.0
480 ],
481 "name": "Material_001-effect"
482 }
483 ],
484 "bufferViews": [
485 {
486 "buffer": 0,
487 "byteOffset": 5000,
488 "byteLength": 1128,
489 "target": 34963
490 },
491 {
492 "buffer": 0,
493 "byteOffset": 4208,
494 "byteLength": 768,
495 "byteStride": 8,
496 "target": 34962
497 },
498 {
499 "buffer": 0,
500 "byteOffset": 1904,
501 "byteLength": 2304,
502 "byteStride": 12,
503 "target": 34962
504 },
505 {
506 "buffer": 0,
507 "byteOffset": 224,
508 "byteLength": 1536,
509 "byteStride": 16,
510 "target": 34962
511 },
512 {
513 "buffer": 0,
514 "byteOffset": 4976,
515 "byteLength": 24
516 },
517 {
518 "buffer": 0,
519 "byteOffset": 1760,
520 "byteLength": 144
521 },
522 {
523 "buffer": 0,
524 "byteOffset": 128,
525 "byteLength": 96
526 },
527 {
528 "buffer": 0,
529 "byteOffset": 0,
530 "byteLength": 128
531 }
532 ],
533 "buffers": [
534 {
535 "byteLength": 6128,
536 "uri": "RiggedSimple0.bin"
537 }
538 ]
539 }