| { |
| "accessors": { |
| "accessor_index_0": { |
| "bufferView": "bufferView_1", |
| "byteOffset": 0, |
| "byteStride": 0, |
| "componentType": 5123, |
| "count": 36, |
| "type": "SCALAR", |
| "min": [ |
| 0 |
| ], |
| "max": [ |
| 23 |
| ] |
| }, |
| "accessor_position": { |
| "bufferView": "bufferView_0", |
| "byteOffset": 0, |
| "byteStride": 0, |
| "componentType": 5126, |
| "count": 24, |
| "min": [ |
| -1, |
| -1, |
| -1 |
| ], |
| "max": [ |
| 1, |
| 1, |
| 1.0000009536743164 |
| ], |
| "type": "VEC3" |
| }, |
| "accessor_normal": { |
| "bufferView": "bufferView_0", |
| "byteOffset": 288, |
| "byteStride": 0, |
| "componentType": 5126, |
| "count": 24, |
| "type": "VEC3", |
| "min": [ |
| -1, |
| -1, |
| -1 |
| ], |
| "max": [ |
| 1, |
| 1, |
| 1 |
| ] |
| } |
| }, |
| "asset": { |
| "generator": "OBJ2GLTF", |
| "premultipliedAlpha": true, |
| "profile": { |
| "api": "WebGL", |
| "version": "1.0" |
| }, |
| "version": "1.0" |
| }, |
| "buffers": { |
| "cube_buffer": { |
| "type": "arraybuffer", |
| "byteLength": 648, |
| "uri": "cube_buffer.bin" |
| } |
| }, |
| "bufferViews": { |
| "bufferView_0": { |
| "buffer": "cube_buffer", |
| "byteLength": 576, |
| "byteOffset": 0, |
| "target": 34962 |
| }, |
| "bufferView_1": { |
| "buffer": "cube_buffer", |
| "byteLength": 72, |
| "byteOffset": 576, |
| "target": 34963 |
| } |
| }, |
| "images": {}, |
| "materials": { |
| "material_czmDefaultMat": { |
| "name": "czmDefaultMat", |
| "extensions": {}, |
| "values": { |
| "ambient": [ |
| 0, |
| 0, |
| 0, |
| 1 |
| ], |
| "diffuse": [ |
| 0.5, |
| 0.5, |
| 0.5, |
| 1 |
| ], |
| "emission": [ |
| 0, |
| 0, |
| 0, |
| 1 |
| ], |
| "specular": [ |
| 0, |
| 0, |
| 0, |
| 1 |
| ], |
| "shininess": 0, |
| "transparency": 1 |
| }, |
| "technique": "technique0" |
| } |
| }, |
| "meshes": { |
| "mesh_cube": { |
| "name": "cube", |
| "primitives": [ |
| { |
| "attributes": { |
| "POSITION": "accessor_position", |
| "NORMAL": "accessor_normal" |
| }, |
| "indices": "accessor_index_0", |
| "material": "material_czmDefaultMat", |
| "mode": 4 |
| } |
| ] |
| } |
| }, |
| "nodes": { |
| "rootNode": { |
| "children": [], |
| "meshes": [ |
| "mesh_cube" |
| ], |
| "matrix": [ |
| 1, |
| 0, |
| 0, |
| 0, |
| 0, |
| 1, |
| 0, |
| 0, |
| 0, |
| 0, |
| 1, |
| 0, |
| 0, |
| 0, |
| 0, |
| 1 |
| ] |
| } |
| }, |
| "samplers": {}, |
| "scene": "scene_cube", |
| "scenes": { |
| "scene_cube": { |
| "nodes": [ |
| "rootNode" |
| ] |
| } |
| }, |
| "textures": {}, |
| "extensionsUsed": [], |
| "animations": {}, |
| "cameras": {}, |
| "techniques": { |
| "technique0": { |
| "attributes": { |
| "a_position": "position", |
| "a_normal": "normal" |
| }, |
| "parameters": { |
| "modelViewMatrix": { |
| "semantic": "MODELVIEW", |
| "type": 35676 |
| }, |
| "projectionMatrix": { |
| "semantic": "PROJECTION", |
| "type": 35676 |
| }, |
| "normalMatrix": { |
| "semantic": "MODELVIEWINVERSETRANSPOSE", |
| "type": 35675 |
| }, |
| "ambient": { |
| "type": 35666 |
| }, |
| "diffuse": { |
| "type": 35666 |
| }, |
| "emission": { |
| "type": 35666 |
| }, |
| "specular": { |
| "type": 35666 |
| }, |
| "shininess": { |
| "type": 5126 |
| }, |
| "transparency": { |
| "type": 5126 |
| }, |
| "position": { |
| "semantic": "POSITION", |
| "type": 35665 |
| }, |
| "normal": { |
| "semantic": "NORMAL", |
| "type": 35665 |
| } |
| }, |
| "program": "program0", |
| "states": { |
| "enable": [ |
| 2884, |
| 2929 |
| ] |
| }, |
| "uniforms": { |
| "u_modelViewMatrix": "modelViewMatrix", |
| "u_projectionMatrix": "projectionMatrix", |
| "u_normalMatrix": "normalMatrix", |
| "u_ambient": "ambient", |
| "u_diffuse": "diffuse", |
| "u_emission": "emission", |
| "u_specular": "specular", |
| "u_shininess": "shininess", |
| "u_transparency": "transparency" |
| } |
| } |
| }, |
| "programs": { |
| "program0": { |
| "attributes": [ |
| "a_position", |
| "a_normal" |
| ], |
| "fragmentShader": "fragmentShader0", |
| "vertexShader": "vertexShader0" |
| } |
| }, |
| "shaders": { |
| "vertexShader0": { |
| "type": 35633, |
| "uri": "vertexShader0.glsl" |
| }, |
| "fragmentShader0": { |
| "type": 35632, |
| "uri": "fragmentShader0.glsl" |
| } |
| }, |
| "skins": {}, |
| "extensions": {} |
| } |