| 1 |
{ |
| 2 |
"accessors": { |
| 3 |
"accessor_index_0": { |
| 4 |
"bufferView": "bufferView_1", |
| 5 |
"byteOffset": 0, |
| 6 |
"byteStride": 0, |
| 7 |
"componentType": 5123, |
| 8 |
"count": 36, |
| 9 |
"type": "SCALAR", |
| 10 |
"min": [ |
| 11 |
0 |
| 12 |
], |
| 13 |
"max": [ |
| 14 |
23 |
| 15 |
] |
| 16 |
}, |
| 17 |
"accessor_position": { |
| 18 |
"bufferView": "bufferView_0", |
| 19 |
"byteOffset": 0, |
| 20 |
"byteStride": 0, |
| 21 |
"componentType": 5126, |
| 22 |
"count": 24, |
| 23 |
"min": [ |
| 24 |
-1, |
| 25 |
-1, |
| 26 |
-1 |
| 27 |
], |
| 28 |
"max": [ |
| 29 |
1, |
| 30 |
1, |
| 31 |
1.0000009536743164 |
| 32 |
], |
| 33 |
"type": "VEC3" |
| 34 |
}, |
| 35 |
"accessor_normal": { |
| 36 |
"bufferView": "bufferView_0", |
| 37 |
"byteOffset": 288, |
| 38 |
"byteStride": 0, |
| 39 |
"componentType": 5126, |
| 40 |
"count": 24, |
| 41 |
"type": "VEC3", |
| 42 |
"min": [ |
| 43 |
-1, |
| 44 |
-1, |
| 45 |
-1 |
| 46 |
], |
| 47 |
"max": [ |
| 48 |
1, |
| 49 |
1, |
| 50 |
1 |
| 51 |
] |
| 52 |
} |
| 53 |
}, |
| 54 |
"asset": { |
| 55 |
"generator": "OBJ2GLTF", |
| 56 |
"premultipliedAlpha": true, |
| 57 |
"profile": { |
| 58 |
"api": "WebGL", |
| 59 |
"version": "1.0" |
| 60 |
}, |
| 61 |
"version": "1.0" |
| 62 |
}, |
| 63 |
"buffers": { |
| 64 |
"cube_buffer": { |
| 65 |
"type": "arraybuffer", |
| 66 |
"byteLength": 648, |
| 67 |
"uri": "cube_buffer.bin" |
| 68 |
} |
| 69 |
}, |
| 70 |
"bufferViews": { |
| 71 |
"bufferView_0": { |
| 72 |
"buffer": "cube_buffer", |
| 73 |
"byteLength": 576, |
| 74 |
"byteOffset": 0, |
| 75 |
"target": 34962 |
| 76 |
}, |
| 77 |
"bufferView_1": { |
| 78 |
"buffer": "cube_buffer", |
| 79 |
"byteLength": 72, |
| 80 |
"byteOffset": 576, |
| 81 |
"target": 34963 |
| 82 |
} |
| 83 |
}, |
| 84 |
"images": {}, |
| 85 |
"materials": { |
| 86 |
"material_czmDefaultMat": { |
| 87 |
"name": "czmDefaultMat", |
| 88 |
"extensions": {}, |
| 89 |
"values": { |
| 90 |
"ambient": [ |
| 91 |
0, |
| 92 |
0, |
| 93 |
0, |
| 94 |
1 |
| 95 |
], |
| 96 |
"diffuse": [ |
| 97 |
0.5, |
| 98 |
0.5, |
| 99 |
0.5, |
| 100 |
1 |
| 101 |
], |
| 102 |
"emission": [ |
| 103 |
0, |
| 104 |
0, |
| 105 |
0, |
| 106 |
1 |
| 107 |
], |
| 108 |
"specular": [ |
| 109 |
0, |
| 110 |
0, |
| 111 |
0, |
| 112 |
1 |
| 113 |
], |
| 114 |
"shininess": 0, |
| 115 |
"transparency": 1 |
| 116 |
}, |
| 117 |
"technique": "technique0" |
| 118 |
} |
| 119 |
}, |
| 120 |
"meshes": { |
| 121 |
"mesh_cube": { |
| 122 |
"name": "cube", |
| 123 |
"primitives": [ |
| 124 |
{ |
| 125 |
"attributes": { |
| 126 |
"POSITION": "accessor_position", |
| 127 |
"NORMAL": "accessor_normal" |
| 128 |
}, |
| 129 |
"indices": "accessor_index_0", |
| 130 |
"material": "material_czmDefaultMat", |
| 131 |
"mode": 4 |
| 132 |
} |
| 133 |
] |
| 134 |
} |
| 135 |
}, |
| 136 |
"nodes": { |
| 137 |
"rootNode": { |
| 138 |
"children": [], |
| 139 |
"meshes": [ |
| 140 |
"mesh_cube" |
| 141 |
], |
| 142 |
"matrix": [ |
| 143 |
1, |
| 144 |
0, |
| 145 |
0, |
| 146 |
0, |
| 147 |
0, |
| 148 |
1, |
| 149 |
0, |
| 150 |
0, |
| 151 |
0, |
| 152 |
0, |
| 153 |
1, |
| 154 |
0, |
| 155 |
0, |
| 156 |
0, |
| 157 |
0, |
| 158 |
1 |
| 159 |
] |
| 160 |
} |
| 161 |
}, |
| 162 |
"samplers": {}, |
| 163 |
"scene": "scene_cube", |
| 164 |
"scenes": { |
| 165 |
"scene_cube": { |
| 166 |
"nodes": [ |
| 167 |
"rootNode" |
| 168 |
] |
| 169 |
} |
| 170 |
}, |
| 171 |
"textures": {}, |
| 172 |
"extensionsUsed": [], |
| 173 |
"animations": {}, |
| 174 |
"cameras": {}, |
| 175 |
"techniques": { |
| 176 |
"technique0": { |
| 177 |
"attributes": { |
| 178 |
"a_position": "position", |
| 179 |
"a_normal": "normal" |
| 180 |
}, |
| 181 |
"parameters": { |
| 182 |
"modelViewMatrix": { |
| 183 |
"semantic": "MODELVIEW", |
| 184 |
"type": 35676 |
| 185 |
}, |
| 186 |
"projectionMatrix": { |
| 187 |
"semantic": "PROJECTION", |
| 188 |
"type": 35676 |
| 189 |
}, |
| 190 |
"normalMatrix": { |
| 191 |
"semantic": "MODELVIEWINVERSETRANSPOSE", |
| 192 |
"type": 35675 |
| 193 |
}, |
| 194 |
"ambient": { |
| 195 |
"type": 35666 |
| 196 |
}, |
| 197 |
"diffuse": { |
| 198 |
"type": 35666 |
| 199 |
}, |
| 200 |
"emission": { |
| 201 |
"type": 35666 |
| 202 |
}, |
| 203 |
"specular": { |
| 204 |
"type": 35666 |
| 205 |
}, |
| 206 |
"shininess": { |
| 207 |
"type": 5126 |
| 208 |
}, |
| 209 |
"transparency": { |
| 210 |
"type": 5126 |
| 211 |
}, |
| 212 |
"position": { |
| 213 |
"semantic": "POSITION", |
| 214 |
"type": 35665 |
| 215 |
}, |
| 216 |
"normal": { |
| 217 |
"semantic": "NORMAL", |
| 218 |
"type": 35665 |
| 219 |
} |
| 220 |
}, |
| 221 |
"program": "program0", |
| 222 |
"states": { |
| 223 |
"enable": [ |
| 224 |
2884, |
| 225 |
2929 |
| 226 |
] |
| 227 |
}, |
| 228 |
"uniforms": { |
| 229 |
"u_modelViewMatrix": "modelViewMatrix", |
| 230 |
"u_projectionMatrix": "projectionMatrix", |
| 231 |
"u_normalMatrix": "normalMatrix", |
| 232 |
"u_ambient": "ambient", |
| 233 |
"u_diffuse": "diffuse", |
| 234 |
"u_emission": "emission", |
| 235 |
"u_specular": "specular", |
| 236 |
"u_shininess": "shininess", |
| 237 |
"u_transparency": "transparency" |
| 238 |
} |
| 239 |
} |
| 240 |
}, |
| 241 |
"programs": { |
| 242 |
"program0": { |
| 243 |
"attributes": [ |
| 244 |
"a_position", |
| 245 |
"a_normal" |
| 246 |
], |
| 247 |
"fragmentShader": "fragmentShader0", |
| 248 |
"vertexShader": "vertexShader0" |
| 249 |
} |
| 250 |
}, |
| 251 |
"shaders": { |
| 252 |
"vertexShader0": { |
| 253 |
"type": 35633, |
| 254 |
"uri": "vertexShader0.glsl" |
| 255 |
}, |
| 256 |
"fragmentShader0": { |
| 257 |
"type": 35632, |
| 258 |
"uri": "fragmentShader0.glsl" |
| 259 |
} |
| 260 |
}, |
| 261 |
"skins": {}, |
| 262 |
"extensions": {} |
| 263 |
} |