[dali_2.3.19] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / automated-tests / resources / AnimatedCube.gltf
1 {
2    "extensionsUsed" : [
3        "KHR_materials_specular",
4        "KHR_materials_ior"
5    ],
6
7    "accessors" : [
8       {
9          "bufferView" : 0,
10          "byteOffset" : 0,
11          "componentType" : 5126,
12          "count" : 3,
13          "max" : [
14             2.000000
15          ],
16          "min" : [
17             0.000000
18          ],
19          "type" : "SCALAR"
20       },
21       {
22          "bufferView" : 1,
23          "byteOffset" : 0,
24          "componentType" : 5126,
25          "count" : 3,
26          "max" : [
27             0.000000,
28             1.000000,
29             0.000000,
30             1.000000
31          ],
32          "min" : [
33             0.000000,
34             -8.742278e-008,
35             0.000000,
36             -1.000000
37          ],
38          "type" : "VEC4"
39       },
40       {
41          "bufferView" : 2,
42          "byteOffset" : 0,
43          "componentType" : 5123,
44          "count" : 36,
45          "max" : [
46             35
47          ],
48          "min" : [
49             0
50          ],
51          "type" : "SCALAR"
52       },
53       {
54          "bufferView" : 3,
55          "byteOffset" : 0,
56          "componentType" : 5126,
57          "count" : 36,
58          "max" : [
59             1.000000,
60             1.000000,
61             1.000001
62          ],
63          "min" : [
64             -1.000000,
65             -1.000000,
66             -1.000000
67          ],
68          "type" : "VEC3"
69       },
70       {
71          "bufferView" : 4,
72          "byteOffset" : 0,
73          "componentType" : 5126,
74          "count" : 36,
75          "max" : [
76             1.000000,
77             1.000000,
78             1.000000
79          ],
80          "min" : [
81             -1.000000,
82             -1.000000,
83             -1.000000
84          ],
85          "type" : "VEC3"
86       },
87       {
88          "bufferView" : 5,
89          "byteOffset" : 0,
90          "componentType" : 5126,
91          "count" : 36,
92          "max" : [
93             1.000000,
94             -0.000000,
95             -0.000000,
96             1.000000
97          ],
98          "min" : [
99             0.000000,
100             -0.000000,
101             -1.000000,
102             -1.000000
103          ],
104          "type" : "VEC4"
105       },
106       {
107          "bufferView" : 6,
108          "byteOffset" : 0,
109          "componentType" : 5126,
110          "count" : 36,
111          "max" : [
112             1.000000,
113             1.000000
114          ],
115          "min" : [
116             -1.000000,
117             -1.000000
118          ],
119          "type" : "VEC2"
120       }
121    ],
122    "animations" : [
123     {
124        "channels" : [
125           {
126              "sampler" : 0,
127              "target" : {
128                 "node" : 0,
129                 "path" : "rotation"
130              }
131           }
132        ],
133        "name" : "animation_AnimatedCube",
134        "samplers" : [
135           {
136              "input" : 0,
137              "interpolation" : "LINEAR",
138              "output" : 1
139           }
140        ]
141     }
142    ],
143    "asset" : {
144       "generator" : "VKTS glTF 2.0 exporter",
145       "version" : "2.0"
146    },
147    "bufferViews" : [
148       {
149          "buffer" : 0,
150          "byteLength" : 12,
151          "byteOffset" : 0
152       },
153       {
154          "buffer" : 0,
155          "byteLength" : 48,
156          "byteOffset" : 12
157       },
158       {
159          "buffer" : 0,
160          "byteLength" : 72,
161          "byteOffset" : 60,
162          "target" : 34963
163       },
164       {
165          "buffer" : 0,
166          "byteLength" : 432,
167          "byteOffset" : 132,
168          "target" : 34962
169       },
170       {
171          "buffer" : 0,
172          "byteLength" : 432,
173          "byteOffset" : 564,
174          "target" : 34962
175       },
176       {
177          "buffer" : 0,
178          "byteLength" : 576,
179          "byteOffset" : 996,
180          "target" : 34962
181       },
182       {
183          "buffer" : 0,
184          "byteLength" : 288,
185          "byteOffset" : 1572,
186          "target" : 34962
187       }
188    ],
189    "buffers" : [
190       {
191          "byteLength" : 1860,
192          "uri" : "AnimatedCube.bin"
193       }
194    ],
195    "images" : [
196       {
197          "uri" : "AnimatedCube_BaseColor.png"
198       },
199       {
200          "uri" : "AnimatedCube_MetallicRoughness.png"
201       }
202    ],
203    "materials" : [
204       {
205          "extensions" : {
206             "KHR_materials_specular" : {
207                "specularColorFactor" : [
208                   0,
209                   0,
210                   1
211                ],
212                "specularFactor" : 0.5,
213                "specularTexture": {
214                 "index": 0
215                },
216                "specularColorTexture": {
217                 "index": 0
218                }
219              },
220              "KHR_materials_ior" : {
221                  "ior" : 1.0
222              }
223          },
224          "name" : "AnimatedCube",
225          "pbrMetallicRoughness" : {
226             "baseColorTexture" : {
227                "index" : 0
228             },
229             "baseColorFactor": [ 1.000, 0.766, 0.336, 1.0 ],
230             "metallicFactor": 1.0,
231             "roughnessFactor": 0.0
232          },
233          "normalTexture": {
234           "scale": 1,
235           "index": 0
236          },
237          "occlusionTexture": {
238           "index": 0
239          },
240          "emissiveTexture": {
241           "index": 0
242          },
243          "emissiveFactor": [ 0.2, 0.1, 0.0 ],
244          "doubleSided": false,
245          "alphaMode": "MASK",
246          "alphaCutoff": 0.5
247       },
248       {
249          "name" : "AnimatedCube2",
250          "pbrMetallicRoughness" : {
251             "baseColorTexture" : {
252                "index" : 0
253             },
254             "metallicRoughnessTexture" : {
255                "index" : 1
256             },
257             "baseColorFactor": [ 1.000, 0.766, 0.336, 1.0 ],
258             "metallicFactor": 1.0,
259             "roughnessFactor": 0.0
260          },
261          "normalTexture": {
262           "scale": 1,
263           "index": 0
264          },
265          "occlusionTexture": {
266           "index": 0
267          },
268          "emissiveTexture": {
269           "index": 0
270          },
271          "emissiveFactor": [ 0.2, 0.1, 0.0 ],
272          "doubleSided": false,
273          "alphaMode": "OPAQUE"
274       }
275    ],
276    "meshes" : [
277       {
278          "name" : "AnimatedCube",
279          "primitives" : [
280             {
281                "attributes" : {
282                   "NORMAL" : 4,
283                   "POSITION" : 3,
284                   "TANGENT" : 5,
285                   "TEXCOORD_0" : 6,
286                   "COLOR_0" : 3
287                },
288                "indices" : 2,
289                "material" : 0,
290                "mode" : 4
291             }
292          ]
293       },
294       {
295          "name" : "AnimatedCube2",
296          "primitives" : [
297             {
298                "attributes" : {
299                   "NORMAL" : 4,
300                   "POSITION" : 3,
301                   "TANGENT" : 5,
302                   "TEXCOORD_0" : 6,
303                   "COLOR_0" : 3
304                },
305                "indices" : 2,
306                "material" : 1,
307                "mode" : 4
308             }
309          ]
310       }
311    ],
312    "nodes" : [
313       {
314          "mesh" : 0,
315          "name" : "AnimatedCube",
316          "rotation" : [
317             0.000000,
318             -1.000000,
319             0.000000,
320             0.000000
321          ]
322       },
323       {
324          "mesh" : 1,
325          "name" : "AnimatedCube"
326       },
327       {
328
329         "camera" : 0,
330         "scale" : [ 0.5, 0.5, 3.0 ]
331       },
332       {
333         "camera" : 1,
334         "translation" : [ 0.5, 0.5, 3.0 ],
335         "children": [
336           4, 5, 6, 7
337         ]
338       },
339       {
340         "camera" : 2,
341         "matrix": [
342             1.0,
343             0.0,
344             0.0,
345             0.0,
346             0.0,
347             0.0,
348             -1.0,
349             0.0,
350             0.0,
351             1.0,
352             0.0,
353             0.0,
354             0.0,
355             0.0,
356             0.0,
357             1.0
358         ]
359       },
360       {
361         "camera" : 3,
362         "translation" : [ 0.0, 0.0, 0.0 ]
363       },
364       {
365         "camera" : 4,
366         "translation" : [ 0.0, 0.0, 0.0 ]
367       },
368       {
369         "camera" : 5,
370         "translation" : [ 0.0, 0.0, 0.0 ]
371       }
372    ],
373    "scene" : 0,
374    "scenes" : [
375       {
376          "nodes" : [
377             0, 1, 2, 3
378          ]
379       }
380    ],
381    "textures" : [
382       {
383          "sampler" : 0,
384          "source" : 0
385       },
386       {
387          "sampler" : 1,
388          "source" : 1
389       }
390    ],
391    "cameras" : [
392     {
393       "type": "perspective",
394       "perspective": {
395         "aspectRatio": 1.0,
396         "yfov": 0.7,
397         "zfar": 100.0,
398         "znear": 0.01
399       }
400     },
401     {
402       "type": "orthographic",
403       "orthographic": {
404         "xmag": 1.0,
405         "ymag": 1.0,
406         "zfar": 100.0,
407         "znear": 0.01
408       }
409     },
410     {
411       "type": "orthographic",
412       "orthographic": {
413         "xmag": 1.0,
414         "ymag": 1.0,
415         "zfar": 100.0,
416         "znear": 0.01
417       }
418     },
419     {
420       "type": "perspective",
421       "perspective": {
422         "aspectRatio": 1.0,
423         "yfov": 0.7,
424         "znear": 0.01
425       }
426     },
427     {
428       "type": "perspective",
429       "perspective": {
430         "aspectRatio": 1.0,
431         "zfar": 100.0,
432         "znear": 0.01
433       }
434     },
435     {
436       "type": "orthographic",
437       "orthographic": {
438         "xmag": 1.0,
439         "ymag": 1.0,
440         "znear": 0.01
441       }
442     }
443    ],
444    "samplers": [
445     {
446         "magFilter": 9729,
447         "minFilter": 9987,
448         "wrapS": 33071,
449         "wrapT": 10497
450     },
451     {
452         "magFilter": 9728,
453         "minFilter": 9986,
454         "wrapS": 33071,
455         "wrapT": 33648
456     }
457    ]
458 }