1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
| {
| "accessors": {
| "accessor_21": {
| "bufferView": "bufferView_29",
| "byteOffset": 0,
| "byteStride": 0,
| "componentType": 5123,
| "count": 36,
| "type": "SCALAR"
| },
| "accessor_23": {
| "bufferView": "bufferView_30",
| "byteOffset": 0,
| "byteStride": 12,
| "componentType": 5126,
| "count": 24,
| "max": [
| 0.5,
| 0.5,
| 0.5
| ],
| "min": [
| -0.5,
| -0.5,
| -0.5
| ],
| "type": "VEC3"
| },
| "accessor_25": {
| "bufferView": "bufferView_30",
| "byteOffset": 288,
| "byteStride": 12,
| "componentType": 5126,
| "count": 24,
| "max": [
| 1,
| 1,
| 1
| ],
| "min": [
| -1,
| -1,
| -1
| ],
| "type": "VEC3"
| },
| "accessor_27": {
| "bufferView": "bufferView_30",
| "byteOffset": 576,
| "byteStride": 8,
| "componentType": 5126,
| "count": 24,
| "max": [
| 1,
| 1
| ],
| "min": [
| 0,
| 0
| ],
| "type": "VEC2"
| }
| },
| "animations": {},
| "asset": {
| "generator": "collada2gltf@",
| "premultipliedAlpha": true,
| "profile": {
| "api": "WebGL",
| "version": "1.0.2"
| },
| "version": "1.0"
| },
| "bufferViews": {
| "bufferView_29": {
| "buffer": "CesiumBoxTest",
| "byteLength": 72,
| "byteOffset": 0,
| "target": 34963
| },
| "bufferView_30": {
| "buffer": "CesiumBoxTest",
| "byteLength": 768,
| "byteOffset": 72,
| "target": 34962
| }
| },
| "buffers": {
| "CesiumBoxTest": {
| "byteLength": 840,
| "type": "arraybuffer",
| "uri": "data:application/octet-stream;base64,AAABAAIAAwACAAEABAAFAAYABwAGAAUACAAJAAoACwAKAAkADAANAA4ADwAOAA0AEAARABIAEwASABEAFAAVABYAFwAWABUAAAAAvwAAAL8AAAA/AAAAPwAAAL8AAAA/AAAAvwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAL8AAAA/AAAAvwAAAL8AAAA/AAAAPwAAAL8AAAC/AAAAvwAAAL8AAAC/AAAAPwAAAD8AAAA/AAAAPwAAAL8AAAA/AAAAPwAAAD8AAAC/AAAAPwAAAL8AAAC/AAAAvwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAvwAAAD8AAAC/AAAAPwAAAD8AAAC/AAAAvwAAAL8AAAA/AAAAvwAAAD8AAAA/AAAAvwAAAL8AAAC/AAAAvwAAAD8AAAC/AAAAvwAAAL8AAAC/AAAAvwAAAD8AAAC/AAAAPwAAAL8AAAC/AAAAPwAAAD8AAAC/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AACAPgAAAAAAAIA+oKqqPgAAAD8AAAAAAAAAP6Cqqj4AAIA+oKqqPgAAAACgqqo+AACAPrCqKj8AAAAAsKoqPwAAAD+gqqo+AACAPqCqqj4AAAA/sKoqPwAAgD6wqio/AABAP6Cqqj4AAAA/oKqqPgAAQD+wqio/AAAAP7CqKj8AAIA/oKqqPgAAQD+gqqo+AACAP7CqKj8AAEA/sKoqPwAAgD4AAIA/AAAAPwAAgD8AAIA+sKoqPwAAAD+wqio/"
| }
| },
| "materials": {
| "Effect-Red": {
| "name": "Red",
| "technique": "technique0",
| "values": {
| "diffuse": [
| 0.800000011920929,
| 0,
| 0,
| 1
| ],
| "shininess": 256,
| "specular": [
| 0.20000000298023224,
| 0.20000000298023224,
| 0.20000000298023224,
| 1
| ]
| }
| }
| },
| "meshes": {
| "Geometry-mesh002": {
| "name": "Mesh",
| "primitives": [
| {
| "attributes": {
| "NORMAL": "accessor_25",
| "POSITION": "accessor_23",
| "TEXCOORD_0": "accessor_27"
| },
| "indices": "accessor_21",
| "material": "Effect-Red",
| "mode": 4
| }
| ]
| }
| },
| "nodes": {
| "Geometry-mesh002Node": {
| "children": [],
| "matrix": [
| 1,
| 0,
| 0,
| 0,
| 0,
| 1,
| 0,
| 0,
| 0,
| 0,
| 1,
| 0,
| 0,
| 0,
| 0,
| 1
| ],
| "meshes": [
| "Geometry-mesh002"
| ],
| "name": "Mesh"
| },
| "node_1": {
| "children": [
| "Geometry-mesh002Node"
| ],
| "matrix": [
| 1,
| 0,
| 0,
| 0,
| 0,
| 0,
| -1,
| 0,
| 0,
| 1,
| 0,
| 0,
| 0,
| 0,
| 0,
| 1
| ],
| "name": "Y_UP_Transform"
| }
| },
| "programs": {
| "program_0": {
| "attributes": [
| "a_normal",
| "a_position"
| ],
| "fragmentShader": "CesiumBoxTest0FS",
| "vertexShader": "CesiumBoxTest0VS"
| }
| },
| "scene": "defaultScene",
| "scenes": {
| "defaultScene": {
| "nodes": [
| "node_1"
| ]
| }
| },
| "shaders": {
| "CesiumBoxTest0FS": {
| "type": 35632,
| "uri": "data:text/plain;base64,cHJlY2lzaW9uIGhpZ2hwIGZsb2F0Owp2YXJ5aW5nIHZlYzMgdl9ub3JtYWw7CnVuaWZvcm0gdmVjNCB1X2RpZmZ1c2U7CnVuaWZvcm0gdmVjNCB1X3NwZWN1bGFyOwp1bmlmb3JtIGZsb2F0IHVfc2hpbmluZXNzOwp2b2lkIG1haW4odm9pZCkgewp2ZWMzIG5vcm1hbCA9IG5vcm1hbGl6ZSh2X25vcm1hbCk7CnZlYzQgY29sb3IgPSB2ZWM0KDAuLCAwLiwgMC4sIDAuKTsKdmVjNCBkaWZmdXNlID0gdmVjNCgwLiwgMC4sIDAuLCAxLik7CnZlYzQgc3BlY3VsYXI7CmRpZmZ1c2UgPSB1X2RpZmZ1c2U7CnNwZWN1bGFyID0gdV9zcGVjdWxhcjsKZGlmZnVzZS54eXogKj0gbWF4KGRvdChub3JtYWwsdmVjMygwLiwwLiwxLikpLCAwLik7CmNvbG9yLnh5eiArPSBkaWZmdXNlLnh5ejsKY29sb3IgPSB2ZWM0KGNvbG9yLnJnYiAqIGRpZmZ1c2UuYSwgZGlmZnVzZS5hKTsKZ2xfRnJhZ0NvbG9yID0gY29sb3I7Cn0K"
| },
| "CesiumBoxTest0VS": {
| "type": 35633,
| "uri": "data:text/plain;base64,cHJlY2lzaW9uIGhpZ2hwIGZsb2F0OwphdHRyaWJ1dGUgdmVjMyBhX3Bvc2l0aW9uOwphdHRyaWJ1dGUgdmVjMyBhX25vcm1hbDsKdmFyeWluZyB2ZWMzIHZfbm9ybWFsOwp1bmlmb3JtIG1hdDMgdV9ub3JtYWxNYXRyaXg7CnVuaWZvcm0gbWF0NCB1X21vZGVsVmlld01hdHJpeDsKdW5pZm9ybSBtYXQ0IHVfcHJvamVjdGlvbk1hdHJpeDsKdm9pZCBtYWluKHZvaWQpIHsKdmVjNCBwb3MgPSB1X21vZGVsVmlld01hdHJpeCAqIHZlYzQoYV9wb3NpdGlvbiwxLjApOwp2X25vcm1hbCA9IHVfbm9ybWFsTWF0cml4ICogYV9ub3JtYWw7CmdsX1Bvc2l0aW9uID0gdV9wcm9qZWN0aW9uTWF0cml4ICogcG9zOwp9Cg=="
| }
| },
| "skins": {},
| "techniques": {
| "technique0": {
| "attributes": {
| "a_normal": "normal",
| "a_position": "position"
| },
| "parameters": {
| "diffuse": {
| "type": 35666
| },
| "modelViewMatrix": {
| "semantic": "MODELVIEW",
| "type": 35676
| },
| "normal": {
| "semantic": "NORMAL",
| "type": 35665
| },
| "normalMatrix": {
| "semantic": "MODELVIEWINVERSETRANSPOSE",
| "type": 35675
| },
| "position": {
| "semantic": "POSITION",
| "type": 35665
| },
| "projectionMatrix": {
| "semantic": "PROJECTION",
| "type": 35676
| },
| "shininess": {
| "type": 5126
| },
| "specular": {
| "type": 35666
| }
| },
| "program": "program_0",
| "states": {
| "enable": [
| 2929,
| 2884
| ]
| },
| "uniforms": {
| "u_diffuse": "diffuse",
| "u_modelViewMatrix": "modelViewMatrix",
| "u_normalMatrix": "normalMatrix",
| "u_projectionMatrix": "projectionMatrix",
| "u_shininess": "shininess",
| "u_specular": "specular"
| }
| }
| }
| }
|
|