123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- {
- "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"
- }
- },
- "animations": {},
- "asset": {
- "generator": "collada2gltf@027f74366341d569dea42e9a68b7104cc3892054",
- "premultipliedAlpha": true,
- "profile": {
- "api": "WebGL",
- "version": "1.0.2"
- },
- "version": "1.0"
- },
- "bufferViews": {
- "bufferView_29": {
- "buffer": "Box",
- "byteLength": 72,
- "byteOffset": 0,
- "target": 34963
- },
- "bufferView_30": {
- "buffer": "Box",
- "byteLength": 576,
- "byteOffset": 72,
- "target": 34962
- }
- },
- "buffers": {
- "Box": {
- "byteLength": 648,
- "type": "arraybuffer",
- "uri": "Box.bin"
- }
- },
- "materials": {
- "Effect-Red": {
- "name": "Red",
- "technique": "technique0",
- "values": {
- "diffuse": [
- 0.8,
- 0,
- 0,
- 1
- ],
- "shininess": 256,
- "specular": [
- 0.2,
- 0.2,
- 0.2,
- 1
- ]
- }
- }
- },
- "meshes": {
- "Geometry-mesh002": {
- "name": "Mesh",
- "primitives": [
- {
- "attributes": {
- "NORMAL": "accessor_25",
- "POSITION": "accessor_23"
- },
- "indices": "accessor_21",
- "material": "Effect-Red",
- "mode": 4
- }
- ]
- }
- },
- "nodes": {
- "BottomBox": {
- "children": [],
- "matrix": [
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1,
- 0,
- 0,
- 0,
- 0,
- 1
- ],
- "meshes": [
- "Geometry-mesh002"
- ],
- "name": "BottomBox"
- },
- "TopBox": {
- "children": [],
- "matrix": [
- 0.5,
- 0,
- 0,
- 0,
- 0,
- 0.5,
- 0,
- 0,
- 0,
- 0,
- 0.5,
- 0,
- 0,
- 0,
- 1,
- 1
- ],
- "meshes": [
- "Geometry-mesh002"
- ],
- "name": "TopBox"
- },
- "node_1": {
- "children": [
- "BottomBox",
- "TopBox"
- ],
- "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": "Box0FS",
- "vertexShader": "Box0VS"
- }
- },
- "scene": "defaultScene",
- "scenes": {
- "defaultScene": {
- "nodes": [
- "node_1"
- ]
- }
- },
- "shaders": {
- "Box0FS": {
- "type": 35632,
- "uri": "Box0FS.glsl"
- },
- "Box0VS": {
- "type": 35633,
- "uri": "Box0VS.glsl"
- }
- },
- "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"
- }
- }
- }
- }
|