Allow to load uint32_t as indices
[platform/core/uifw/dali-toolkit.git] / automated-tests / resources / EnvironmentTest.gltf
1 {\r
2     "asset": {\r
3         "copyright": "2018 (c) Adobe Systems Inc.",\r
4         "generator": "Adobe Dimension - b417c10282aa66313155856d4a54e84f3f388647",\r
5         "version": "2.0"\r
6     },\r
7     "accessors": [\r
8         {\r
9             "bufferView": 0,\r
10             "componentType": 5126,\r
11             "count": 4598,\r
12             "type": "VEC3",\r
13             "max": [\r
14                 10.647041320800782,\r
15                 1.6470409631729127,\r
16                 0.6470409631729126\r
17             ],\r
18             "min": [\r
19                 -10.647041320800782,\r
20                 0.3529590368270874,\r
21                 -0.6470409631729126\r
22             ]\r
23         },\r
24         {\r
25             "bufferView": 1,\r
26             "componentType": 5126,\r
27             "count": 4598,\r
28             "type": "VEC3"\r
29         },\r
30         {\r
31             "bufferView": 2,\r
32             "componentType": 5126,\r
33             "count": 4598,\r
34             "type": "VEC2"\r
35         },\r
36         {\r
37             "bufferView": 3,\r
38             "componentType": 5125,\r
39             "count": 25344,\r
40             "type": "SCALAR",\r
41             "max": [\r
42                 4597.0\r
43             ],\r
44             "min": [\r
45                 0.0\r
46             ]\r
47         },\r
48         {\r
49             "bufferView": 4,\r
50             "componentType": 5126,\r
51             "count": 4598,\r
52             "type": "VEC3",\r
53             "max": [\r
54                 10.647041320800782,\r
55                 -0.3529590368270874,\r
56                 0.6470409631729126\r
57             ],\r
58             "min": [\r
59                 -10.647041320800782,\r
60                 -1.6470409631729127,\r
61                 -0.6470409631729126\r
62             ]\r
63         },\r
64         {\r
65             "bufferView": 5,\r
66             "componentType": 5126,\r
67             "count": 4598,\r
68             "type": "VEC2"\r
69         }\r
70     ],\r
71     "bufferViews": [\r
72         {\r
73             "buffer": 0,\r
74             "byteOffset": 0,\r
75             "byteLength": 55176,\r
76             "target": 34962\r
77         },\r
78         {\r
79             "buffer": 0,\r
80             "byteOffset": 55176,\r
81             "byteLength": 55176,\r
82             "target": 34962\r
83         },\r
84         {\r
85             "buffer": 0,\r
86             "byteOffset": 110352,\r
87             "byteLength": 36784,\r
88             "target": 34962\r
89         },\r
90         {\r
91             "buffer": 0,\r
92             "byteOffset": 147136,\r
93             "byteLength": 101376,\r
94             "target": 34963\r
95         },\r
96         {\r
97             "buffer": 0,\r
98             "byteOffset": 248512,\r
99             "byteLength": 55176,\r
100             "target": 34962\r
101         },\r
102         {\r
103             "buffer": 0,\r
104             "byteOffset": 303688,\r
105             "byteLength": 36784,\r
106             "target": 34962\r
107         }\r
108     ],\r
109     "buffers": [\r
110         {\r
111             "byteLength": 340472,\r
112             "uri": "EnvironmentTest_binary.bin"\r
113         }\r
114     ],\r
115     "cameras": [\r
116         {\r
117             "perspective": {\r
118                 "znear": 0.0010000000474974514,\r
119                 "yfov": 0.6024156808853149,\r
120                 "zfar": 200.0,\r
121                 "aspectRatio": 1.3333333730697632\r
122             },\r
123             "type": "perspective",\r
124             "name": "render_camera"\r
125         }\r
126     ],\r
127     "images": [\r
128         {\r
129             "name": "tmp_image_pie_dc1e_1a22_fbf9roughness_map_roughness_tmp_image_pie_dc1e_1a22_fbf9metal_map_metallic_0",\r
130             "uri": "EnvironmentTest_images/roughness_metallic_0.jpg",\r
131             "mimeType": "image/jpeg"\r
132         },\r
133         {\r
134             "name": "tmp_image_pie_b20b_ebb4_317droughness_map2_roughness_tmp_image_pie_b20b_ebb4_317dmetal_map2_metallic_1",\r
135             "uri": "EnvironmentTest_images/roughness_metallic_1.jpg",\r
136             "mimeType": "image/jpeg"\r
137         }\r
138     ],\r
139     "materials": [\r
140         {\r
141             "pbrMetallicRoughness": {\r
142                 "metallicRoughnessTexture": {\r
143                     "index": 0\r
144                 }\r
145             },\r
146             "name": "MetallicSpheresMat",\r
147             "doubleSided": true\r
148         },\r
149         {\r
150             "pbrMetallicRoughness": {\r
151                 "metallicRoughnessTexture": {\r
152                     "index": 1\r
153                 }\r
154             },\r
155             "name": "DielectricSpheresMat",\r
156             "doubleSided": true\r
157         },\r
158         {\r
159             "pbrMetallicRoughness": {\r
160                 "baseColorFactor": [\r
161                     0.0,\r
162                     0.0,\r
163                     0.0,\r
164                     1.0\r
165                 ],\r
166                 "metallicRoughnessTexture": {\r
167                     "index": 1\r
168                 }\r
169             },\r
170             "name": "DielectricSpheresMat",\r
171             "doubleSided": true\r
172         }\r
173     ],\r
174     "meshes": [\r
175         {\r
176             "name": "Metallic0_N3D",\r
177             "primitives": [\r
178                 {\r
179                     "attributes": {\r
180                         "POSITION": 0,\r
181                         "TEXCOORD_0": 2\r
182                     },\r
183                     "indices": 3,\r
184                     "material": 0\r
185                 }\r
186             ]\r
187         },\r
188         {\r
189             "name": "Dielectric0_N3D2",\r
190             "primitives": [\r
191                 {\r
192                     "attributes": {\r
193                         "TEXCOORD_0": 5,\r
194                         "NORMAL": 1,\r
195                         "POSITION": 4\r
196                     },\r
197                     "indices": 3,\r
198                     "material": 1\r
199                 }\r
200             ]\r
201         },\r
202         {\r
203             "name": "Dielectric0_N3D",\r
204             "primitives": [\r
205                 {\r
206                     "attributes": {\r
207                         "POSITION": 4,\r
208                         "NORMAL": 1,\r
209                         "TEXCOORD_0": 5\r
210                     },\r
211                     "indices": 3,\r
212                     "material": 2\r
213                 }\r
214             ]\r
215         }\r
216     ],\r
217     "nodes": [\r
218         {\r
219             "matrix": [\r
220                 0.9999533295631409,\r
221                 3.16067598760128e-8,\r
222                 0.009662099182605744,\r
223                 0.0,\r
224                 0.0014864075928926468,\r
225                 0.9880954027175903,\r
226                 -0.15383504331111909,\r
227                 0.0,\r
228                 -0.009547080844640732,\r
229                 0.15384222567081452,\r
230                 0.988049328327179,\r
231                 0.0,\r
232                 -0.7599077224731445,\r
233                 7.708760738372803,\r
234                 27.743375778198243,\r
235                 1.0\r
236             ],\r
237             "camera": 0,\r
238             "name": "render_camera_n3d"\r
239         },\r
240         {\r
241             "name": "ground_plane_n3d"\r
242         },\r
243         {\r
244             "children": [\r
245                 3,\r
246                 4,\r
247                 5\r
248             ],\r
249             "matrix": [\r
250                 1.0,\r
251                 0.0,\r
252                 0.0,\r
253                 0.0,\r
254                 0.0,\r
255                 1.0,\r
256                 0.0,\r
257                 0.0,\r
258                 0.0,\r
259                 0.0,\r
260                 1.0,\r
261                 0.0,\r
262                 -0.5564079284667969,\r
263                 4.774584770202637,\r
264                 -1.0962677001953126,\r
265                 1.0\r
266             ],\r
267             "name": "ENV_Spheres"\r
268         },\r
269         {\r
270             "mesh": 0,\r
271             "name": "Metallic0"\r
272         },\r
273         {\r
274             "mesh": 1,\r
275             "name": "Dielectric0"\r
276         },\r
277         {\r
278             "matrix": [\r
279                 1.0,\r
280                 0.0,\r
281                 0.0,\r
282                 0.0,\r
283                 0.0,\r
284                 1.0,\r
285                 0.0,\r
286                 0.0,\r
287                 0.0,\r
288                 0.0,\r
289                 1.0,\r
290                 0.0,\r
291                 0.0,\r
292                 -1.985867977142334,\r
293                 0.0,\r
294                 1.0\r
295             ],\r
296             "mesh": 2,\r
297             "name": "Dielectric0-Black"\r
298         }\r
299     ],\r
300     "samplers": [\r
301         {},\r
302         {}\r
303     ],\r
304     "scenes": [\r
305         {\r
306             "nodes": [\r
307                 0,\r
308                 1,\r
309                 2\r
310             ],\r
311             "name": "scene"\r
312         }\r
313     ],\r
314     "textures": [\r
315         {\r
316             "name": "tmp_image_pie_dc1e_1a22_fbf9roughness_map_roughness_tmp_image_pie_dc1e_1a22_fbf9metal_map_metallic_0_texture",\r
317             "sampler": 0,\r
318             "source": 0\r
319         },\r
320         {\r
321             "name": "tmp_image_pie_b20b_ebb4_317droughness_map2_roughness_tmp_image_pie_b20b_ebb4_317dmetal_map2_metallic_1_texture",\r
322             "sampler": 1,\r
323             "source": 1\r
324         }\r
325     ],\r
326     "scene": 0\r
327 }