Debian Codegraph @

examples/terrain/data/oak_tree/oaktree.gltf

raw
1 {
2 "asset" : {
3 "generator" : "Khronos glTF Blender I/O v3.2.43",
4 "version" : "2.0"
5 },
6 "scene" : 0,
7 "scenes" : [
8 {
9 "name" : "Scene",
10 "nodes" : [
11 1
12 ]
13 }
14 ],
15 "nodes" : [
16 {
17 "mesh" : 0,
18 "name" : "leaves"
19 },
20 {
21 "children" : [
22 0
23 ],
24 "mesh" : 1,
25 "name" : "oak"
26 }
27 ],
28 "animations" : [
29 {
30 "channels" : [
31 {
32 "sampler" : 0,
33 "target" : {
34 "node" : 1,
35 "path" : "translation"
36 }
37 },
38 {
39 "sampler" : 1,
40 "target" : {
41 "node" : 1,
42 "path" : "rotation"
43 }
44 },
45 {
46 "sampler" : 2,
47 "target" : {
48 "node" : 1,
49 "path" : "scale"
50 }
51 }
52 ],
53 "name" : "idle",
54 "samplers" : [
55 {
56 "input" : 8,
57 "interpolation" : "STEP",
58 "output" : 9
59 },
60 {
61 "input" : 8,
62 "interpolation" : "STEP",
63 "output" : 10
64 },
65 {
66 "input" : 8,
67 "interpolation" : "STEP",
68 "output" : 11
69 }
70 ]
71 },
72 {
73 "channels" : [
74 {
75 "sampler" : 0,
76 "target" : {
77 "node" : 1,
78 "path" : "translation"
79 }
80 },
81 {
82 "sampler" : 1,
83 "target" : {
84 "node" : 1,
85 "path" : "rotation"
86 }
87 },
88 {
89 "sampler" : 2,
90 "target" : {
91 "node" : 1,
92 "path" : "scale"
93 }
94 }
95 ],
96 "name" : "spawn",
97 "samplers" : [
98 {
99 "input" : 12,
100 "interpolation" : "LINEAR",
101 "output" : 13
102 },
103 {
104 "input" : 12,
105 "interpolation" : "LINEAR",
106 "output" : 14
107 },
108 {
109 "input" : 12,
110 "interpolation" : "LINEAR",
111 "output" : 15
112 }
113 ]
114 }
115 ],
116 "materials" : [
117 {
118 "alphaCutoff" : 0.5,
119 "alphaMode" : "MASK",
120 "doubleSided" : true,
121 "name" : "leaves",
122 "pbrMetallicRoughness" : {
123 "baseColorTexture" : {
124 "index" : 0
125 },
126 "metallicFactor" : 0,
127 "roughnessFactor" : 0.5
128 }
129 },
130 {
131 "name" : "bark",
132 "pbrMetallicRoughness" : {
133 "baseColorTexture" : {
134 "index" : 1
135 },
136 "metallicFactor" : 0
137 }
138 }
139 ],
140 "meshes" : [
141 {
142 "name" : "oak",
143 "primitives" : [
144 {
145 "attributes" : {
146 "POSITION" : 0,
147 "NORMAL" : 1,
148 "TEXCOORD_0" : 2
149 },
150 "indices" : 3,
151 "material" : 0
152 }
153 ]
154 },
155 {
156 "name" : "oak.004",
157 "primitives" : [
158 {
159 "attributes" : {
160 "POSITION" : 4,
161 "NORMAL" : 5,
162 "TEXCOORD_0" : 6
163 },
164 "indices" : 7,
165 "material" : 1
166 }
167 ]
168 }
169 ],
170 "textures" : [
171 {
172 "sampler" : 0,
173 "source" : 0
174 },
175 {
176 "sampler" : 0,
177 "source" : 1
178 }
179 ],
180 "images" : [
181 {
182 "mimeType" : "image/png",
183 "name" : "oakleaf_light",
184 "uri" : "oakleaf_light.png"
185 },
186 {
187 "mimeType" : "image/jpeg",
188 "name" : "oakbark",
189 "uri" : "oakbark.jpg"
190 }
191 ],
192 "accessors" : [
193 {
194 "bufferView" : 0,
195 "componentType" : 5126,
196 "count" : 381,
197 "max" : [
198 2.4181697368621826,
199 4.492341995239258,
200 3.2080395221710205
201 ],
202 "min" : [
203 -2.1906492710113525,
204 1.938339114189148,
205 -2.9119231700897217
206 ],
207 "type" : "VEC3"
208 },
209 {
210 "bufferView" : 1,
211 "componentType" : 5126,
212 "count" : 381,
213 "type" : "VEC3"
214 },
215 {
216 "bufferView" : 2,
217 "componentType" : 5126,
218 "count" : 381,
219 "type" : "VEC2"
220 },
221 {
222 "bufferView" : 3,
223 "componentType" : 5123,
224 "count" : 381,
225 "type" : "SCALAR"
226 },
227 {
228 "bufferView" : 4,
229 "componentType" : 5126,
230 "count" : 376,
231 "max" : [
232 1.4225126504898071,
233 3.3306288719177246,
234 1.8252577781677246
235 ],
236 "min" : [
237 -1.0948152542114258,
238 -1.0076422691345215,
239 -2.043949604034424
240 ],
241 "type" : "VEC3"
242 },
243 {
244 "bufferView" : 5,
245 "componentType" : 5126,
246 "count" : 376,
247 "type" : "VEC3"
248 },
249 {
250 "bufferView" : 6,
251 "componentType" : 5126,
252 "count" : 376,
253 "type" : "VEC2"
254 },
255 {
256 "bufferView" : 7,
257 "componentType" : 5123,
258 "count" : 1284,
259 "type" : "SCALAR"
260 },
261 {
262 "bufferView" : 8,
263 "componentType" : 5126,
264 "count" : 1,
265 "max" : [
266 0.04
267 ],
268 "min" : [
269 0.04
270 ],
271 "type" : "SCALAR"
272 },
273 {
274 "bufferView" : 9,
275 "componentType" : 5126,
276 "count" : 1,
277 "type" : "VEC3"
278 },
279 {
280 "bufferView" : 10,
281 "componentType" : 5126,
282 "count" : 1,
283 "type" : "VEC4"
284 },
285 {
286 "bufferView" : 11,
287 "componentType" : 5126,
288 "count" : 1,
289 "type" : "VEC3"
290 },
291 {
292 "bufferView" : 12,
293 "componentType" : 5126,
294 "count" : 15,
295 "max" : [
296 0.6
297 ],
298 "min" : [
299 0.04
300 ],
301 "type" : "SCALAR"
302 },
303 {
304 "bufferView" : 13,
305 "componentType" : 5126,
306 "count" : 15,
307 "type" : "VEC3"
308 },
309 {
310 "bufferView" : 14,
311 "componentType" : 5126,
312 "count" : 15,
313 "type" : "VEC4"
314 },
315 {
316 "bufferView" : 15,
317 "componentType" : 5126,
318 "count" : 15,
319 "type" : "VEC3"
320 }
321 ],
322 "bufferViews" : [
323 {
324 "buffer" : 0,
325 "byteLength" : 4572,
326 "byteOffset" : 0
327 },
328 {
329 "buffer" : 0,
330 "byteLength" : 4572,
331 "byteOffset" : 4572
332 },
333 {
334 "buffer" : 0,
335 "byteLength" : 3048,
336 "byteOffset" : 9144
337 },
338 {
339 "buffer" : 0,
340 "byteLength" : 762,
341 "byteOffset" : 12192
342 },
343 {
344 "buffer" : 0,
345 "byteLength" : 4512,
346 "byteOffset" : 12956
347 },
348 {
349 "buffer" : 0,
350 "byteLength" : 4512,
351 "byteOffset" : 17468
352 },
353 {
354 "buffer" : 0,
355 "byteLength" : 3008,
356 "byteOffset" : 21980
357 },
358 {
359 "buffer" : 0,
360 "byteLength" : 2568,
361 "byteOffset" : 24988
362 },
363 {
364 "buffer" : 0,
365 "byteLength" : 4,
366 "byteOffset" : 27556
367 },
368 {
369 "buffer" : 0,
370 "byteLength" : 12,
371 "byteOffset" : 27560
372 },
373 {
374 "buffer" : 0,
375 "byteLength" : 16,
376 "byteOffset" : 27572
377 },
378 {
379 "buffer" : 0,
380 "byteLength" : 12,
381 "byteOffset" : 27588
382 },
383 {
384 "buffer" : 0,
385 "byteLength" : 60,
386 "byteOffset" : 27600
387 },
388 {
389 "buffer" : 0,
390 "byteLength" : 180,
391 "byteOffset" : 27660
392 },
393 {
394 "buffer" : 0,
395 "byteLength" : 240,
396 "byteOffset" : 27840
397 },
398 {
399 "buffer" : 0,
400 "byteLength" : 180,
401 "byteOffset" : 28080
402 }
403 ],
404 "samplers" : [
405 {
406 "magFilter" : 9729,
407 "minFilter" : 9987
408 }
409 ],
410 "buffers" : [
411 {
412 "byteLength" : 28260,
413 "uri" : "oaktree.bin"
414 }
415 ]
416 }