Debian Codegraph @

examples/viewport_and_scenes/viewport_3d_tutorial/data/car.gltf

raw
1 {
2 "asset" : {
3 "generator" : "Khronos glTF Blender I/O v1.5.17",
4 "version" : "2.0"
5 },
6 "scene" : 0,
7 "scenes" : [
8 {
9 "name" : "Scene",
10 "nodes" : [
11 0,
12 4,
13 5
14 ]
15 }
16 ],
17 "nodes" : [
18 {
19 "mesh" : 0,
20 "name" : "car_shell",
21 "rotation" : [
22 0.7071068286895752,
23 0,
24 0,
25 0.7071067094802856
26 ],
27 "translation" : [
28 0,
29 1.7564955949783325,
30 0.2598366439342499
31 ]
32 },
33 {
34 "name" : "Bone",
35 "rotation" : [
36 3.576279254957626e-07,
37 0,
38 -7.940935142686514e-23,
39 1
40 ],
41 "translation" : [
42 -1.575025200843811,
43 -0.800000011920929,
44 0.3264978528022766
45 ]
46 },
47 {
48 "name" : "Bone.001",
49 "rotation" : [
50 3.576279254957626e-07,
51 0,
52 -7.940935142686514e-23,
53 1
54 ],
55 "translation" : [
56 -1.575025200843811,
57 -0.800000011920929,
58 7.381298542022705
59 ]
60 },
61 {
62 "mesh" : 1,
63 "name" : "wheel_back",
64 "skin" : 0
65 },
66 {
67 "children" : [
68 3,
69 1,
70 2
71 ],
72 "name" : "Armature",
73 "translation" : [
74 1.5033448934555054,
75 1.7578909397125244,
76 -10.302002906799316
77 ]
78 },
79 {
80 "name" : "Camera",
81 "rotation" : [
82 0.48170700669288635,
83 0.3342514932155609,
84 -0.21292176842689514,
85 0.7816000580787659
86 ],
87 "translation" : [
88 9.186530113220215,
89 7.717306137084961,
90 4.4886393547058105
91 ]
92 }
93 ],
94 "animations" : [
95 {
96 "channels" : [
97 {
98 "sampler" : 0,
99 "target" : {
100 "node" : 1,
101 "path" : "translation"
102 }
103 },
104 {
105 "sampler" : 1,
106 "target" : {
107 "node" : 1,
108 "path" : "rotation"
109 }
110 },
111 {
112 "sampler" : 2,
113 "target" : {
114 "node" : 1,
115 "path" : "scale"
116 }
117 },
118 {
119 "sampler" : 3,
120 "target" : {
121 "node" : 2,
122 "path" : "translation"
123 }
124 },
125 {
126 "sampler" : 4,
127 "target" : {
128 "node" : 2,
129 "path" : "rotation"
130 }
131 },
132 {
133 "sampler" : 5,
134 "target" : {
135 "node" : 2,
136 "path" : "scale"
137 }
138 }
139 ],
140 "name" : "wheels_turning",
141 "samplers" : [
142 {
143 "input" : 11,
144 "interpolation" : "LINEAR",
145 "output" : 12
146 },
147 {
148 "input" : 11,
149 "interpolation" : "LINEAR",
150 "output" : 13
151 },
152 {
153 "input" : 11,
154 "interpolation" : "LINEAR",
155 "output" : 14
156 },
157 {
158 "input" : 11,
159 "interpolation" : "LINEAR",
160 "output" : 15
161 },
162 {
163 "input" : 11,
164 "interpolation" : "LINEAR",
165 "output" : 16
166 },
167 {
168 "input" : 11,
169 "interpolation" : "LINEAR",
170 "output" : 17
171 }
172 ]
173 }
174 ],
175 "materials" : [
176 {
177 "doubleSided" : true,
178 "name" : "Material",
179 "pbrMetallicRoughness" : {
180 "baseColorTexture" : {
181 "index" : 0
182 },
183 "metallicFactor" : 0.8864468932151794
184 }
185 },
186 {
187 "doubleSided" : true,
188 "name" : "Material.001",
189 "pbrMetallicRoughness" : {
190 "baseColorTexture" : {
191 "index" : 1
192 },
193 "metallicFactor" : 0
194 }
195 }
196 ],
197 "meshes" : [
198 {
199 "name" : "Plane",
200 "primitives" : [
201 {
202 "attributes" : {
203 "POSITION" : 0,
204 "NORMAL" : 1,
205 "TEXCOORD_0" : 2
206 },
207 "indices" : 3,
208 "material" : 0
209 }
210 ]
211 },
212 {
213 "name" : "wheel",
214 "primitives" : [
215 {
216 "attributes" : {
217 "POSITION" : 4,
218 "NORMAL" : 5,
219 "TEXCOORD_0" : 6,
220 "JOINTS_0" : 7,
221 "WEIGHTS_0" : 8
222 },
223 "indices" : 9,
224 "material" : 1
225 }
226 ]
227 }
228 ],
229 "textures" : [
230 {
231 "sampler" : 0,
232 "source" : 0
233 },
234 {
235 "sampler" : 0,
236 "source" : 1
237 }
238 ],
239 "images" : [
240 {
241 "mimeType" : "image/png",
242 "name" : "car_shell",
243 "uri" : "textures/car_shell.png"
244 },
245 {
246 "mimeType" : "image/png",
247 "name" : "car_wheel",
248 "uri" : "textures/car_wheel.png"
249 }
250 ],
251 "skins" : [
252 {
253 "inverseBindMatrices" : 10,
254 "joints" : [
255 1,
256 2
257 ],
258 "name" : "Armature"
259 }
260 ],
261 "accessors" : [
262 {
263 "bufferView" : 0,
264 "componentType" : 5126,
265 "count" : 413,
266 "max" : [
267 2.0420219898223877,
268 -0.42848920822143555,
269 0.8787320256233215
270 ],
271 "min" : [
272 -2.0420219898223877,
273 -12.285699844360352,
274 -1.8199565410614014
275 ],
276 "type" : "VEC3"
277 },
278 {
279 "bufferView" : 1,
280 "componentType" : 5126,
281 "count" : 413,
282 "type" : "VEC3"
283 },
284 {
285 "bufferView" : 2,
286 "componentType" : 5126,
287 "count" : 413,
288 "type" : "VEC2"
289 },
290 {
291 "bufferView" : 3,
292 "componentType" : 5123,
293 "count" : 666,
294 "type" : "SCALAR"
295 },
296 {
297 "bufferView" : 4,
298 "componentType" : 5126,
299 "count" : 192,
300 "max" : [
301 1.9372564554214478,
302 1.8937342166900635,
303 -1.9858225584030151
304 ],
305 "min" : [
306 -1.9372563362121582,
307 0.03854420781135559,
308 -10.901643753051758
309 ],
310 "type" : "VEC3"
311 },
312 {
313 "bufferView" : 5,
314 "componentType" : 5126,
315 "count" : 192,
316 "type" : "VEC3"
317 },
318 {
319 "bufferView" : 6,
320 "componentType" : 5126,
321 "count" : 192,
322 "type" : "VEC2"
323 },
324 {
325 "bufferView" : 7,
326 "componentType" : 5121,
327 "count" : 192,
328 "type" : "VEC4"
329 },
330 {
331 "bufferView" : 8,
332 "componentType" : 5126,
333 "count" : 192,
334 "type" : "VEC4"
335 },
336 {
337 "bufferView" : 9,
338 "componentType" : 5123,
339 "count" : 336,
340 "type" : "SCALAR"
341 },
342 {
343 "bufferView" : 10,
344 "componentType" : 5126,
345 "count" : 2,
346 "type" : "MAT4"
347 },
348 {
349 "bufferView" : 11,
350 "componentType" : 5126,
351 "count" : 21,
352 "max" : [
353 0.8333333333333334
354 ],
355 "min" : [
356 0
357 ],
358 "type" : "SCALAR"
359 },
360 {
361 "bufferView" : 12,
362 "componentType" : 5126,
363 "count" : 21,
364 "type" : "VEC3"
365 },
366 {
367 "bufferView" : 13,
368 "componentType" : 5126,
369 "count" : 21,
370 "type" : "VEC4"
371 },
372 {
373 "bufferView" : 14,
374 "componentType" : 5126,
375 "count" : 21,
376 "type" : "VEC3"
377 },
378 {
379 "bufferView" : 15,
380 "componentType" : 5126,
381 "count" : 21,
382 "type" : "VEC3"
383 },
384 {
385 "bufferView" : 16,
386 "componentType" : 5126,
387 "count" : 21,
388 "type" : "VEC4"
389 },
390 {
391 "bufferView" : 17,
392 "componentType" : 5126,
393 "count" : 21,
394 "type" : "VEC3"
395 }
396 ],
397 "bufferViews" : [
398 {
399 "buffer" : 0,
400 "byteLength" : 4956,
401 "byteOffset" : 0
402 },
403 {
404 "buffer" : 0,
405 "byteLength" : 4956,
406 "byteOffset" : 4956
407 },
408 {
409 "buffer" : 0,
410 "byteLength" : 3304,
411 "byteOffset" : 9912
412 },
413 {
414 "buffer" : 0,
415 "byteLength" : 1332,
416 "byteOffset" : 13216
417 },
418 {
419 "buffer" : 0,
420 "byteLength" : 2304,
421 "byteOffset" : 14548
422 },
423 {
424 "buffer" : 0,
425 "byteLength" : 2304,
426 "byteOffset" : 16852
427 },
428 {
429 "buffer" : 0,
430 "byteLength" : 1536,
431 "byteOffset" : 19156
432 },
433 {
434 "buffer" : 0,
435 "byteLength" : 768,
436 "byteOffset" : 20692
437 },
438 {
439 "buffer" : 0,
440 "byteLength" : 3072,
441 "byteOffset" : 21460
442 },
443 {
444 "buffer" : 0,
445 "byteLength" : 672,
446 "byteOffset" : 24532
447 },
448 {
449 "buffer" : 0,
450 "byteLength" : 128,
451 "byteOffset" : 25204
452 },
453 {
454 "buffer" : 0,
455 "byteLength" : 84,
456 "byteOffset" : 25332
457 },
458 {
459 "buffer" : 0,
460 "byteLength" : 252,
461 "byteOffset" : 25416
462 },
463 {
464 "buffer" : 0,
465 "byteLength" : 336,
466 "byteOffset" : 25668
467 },
468 {
469 "buffer" : 0,
470 "byteLength" : 252,
471 "byteOffset" : 26004
472 },
473 {
474 "buffer" : 0,
475 "byteLength" : 252,
476 "byteOffset" : 26256
477 },
478 {
479 "buffer" : 0,
480 "byteLength" : 336,
481 "byteOffset" : 26508
482 },
483 {
484 "buffer" : 0,
485 "byteLength" : 252,
486 "byteOffset" : 26844
487 }
488 ],
489 "samplers" : [
490 {
491 "magFilter" : 9729,
492 "minFilter" : 9987
493 }
494 ],
495 "buffers" : [
496 {
497 "byteLength" : 27096,
498 "uri" : "car.bin"
499 }
500 ]
501 }