mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-30 01:14:57 +01:00
397 lines
11 KiB
JSON
397 lines
11 KiB
JSON
|
{
|
||
|
"accessors": {
|
||
|
"attribute_23": {
|
||
|
"bufferView": "bufferView_29",
|
||
|
"byteOffset": 0,
|
||
|
"byteStride": 12,
|
||
|
"count": 2399,
|
||
|
"max": [
|
||
|
96.1799,
|
||
|
163.97,
|
||
|
53.9252
|
||
|
],
|
||
|
"min": [
|
||
|
-69.2985,
|
||
|
9.92937,
|
||
|
-61.3282
|
||
|
],
|
||
|
"type": 35665
|
||
|
},
|
||
|
"attribute_25": {
|
||
|
"bufferView": "bufferView_29",
|
||
|
"byteOffset": 28788,
|
||
|
"byteStride": 12,
|
||
|
"count": 2399,
|
||
|
"max": [
|
||
|
0.999599,
|
||
|
0.999581,
|
||
|
0.998436
|
||
|
],
|
||
|
"min": [
|
||
|
-0.999084,
|
||
|
-1,
|
||
|
-0.999832
|
||
|
],
|
||
|
"type": 35665
|
||
|
},
|
||
|
"attribute_27": {
|
||
|
"bufferView": "bufferView_29",
|
||
|
"byteOffset": 57576,
|
||
|
"byteStride": 8,
|
||
|
"count": 2399,
|
||
|
"max": [
|
||
|
0.983346,
|
||
|
0.980037
|
||
|
],
|
||
|
"min": [
|
||
|
0.026409,
|
||
|
0.019963
|
||
|
],
|
||
|
"type": 35664
|
||
|
},
|
||
|
"indices_21": {
|
||
|
"bufferView": "bufferView_30",
|
||
|
"byteOffset": 0,
|
||
|
"count": 12636,
|
||
|
"type": 5123
|
||
|
}
|
||
|
},
|
||
|
"animations": {},
|
||
|
"asset": {
|
||
|
"generator": "collada2gltf@75061f683116dc0ffdad48f33c226e933132e98c"
|
||
|
},
|
||
|
"bufferViews": {
|
||
|
"bufferView_29": {
|
||
|
"buffer": "duck",
|
||
|
"byteLength": 76768,
|
||
|
"byteOffset": 0,
|
||
|
"target": 34962
|
||
|
},
|
||
|
"bufferView_30": {
|
||
|
"buffer": "duck",
|
||
|
"byteLength": 25272,
|
||
|
"byteOffset": 76768,
|
||
|
"target": 34963
|
||
|
},
|
||
|
"bufferView_31": {
|
||
|
"buffer": "duck",
|
||
|
"byteLength": 0,
|
||
|
"byteOffset": 102040
|
||
|
}
|
||
|
},
|
||
|
"buffers": {
|
||
|
"duck": {
|
||
|
"byteLength": 102040,
|
||
|
"path": "duck.bin",
|
||
|
"type": "arraybuffer"
|
||
|
}
|
||
|
},
|
||
|
"cameras": {
|
||
|
"camera_0": {
|
||
|
"perspective": {
|
||
|
"aspect_ratio": 1.5,
|
||
|
"yfov": 37.8492,
|
||
|
"zfar": 10000,
|
||
|
"znear": 1
|
||
|
},
|
||
|
"type": "perspective"
|
||
|
}
|
||
|
},
|
||
|
"images": {
|
||
|
"image_0": {
|
||
|
"path": "duckCM.png"
|
||
|
}
|
||
|
},
|
||
|
"lights": {
|
||
|
"directionalLightShape1-lib": {
|
||
|
"directional": {
|
||
|
"color": [
|
||
|
1,
|
||
|
1,
|
||
|
1
|
||
|
]
|
||
|
},
|
||
|
"type": "directional"
|
||
|
}
|
||
|
},
|
||
|
"materials": {
|
||
|
"blinn3-fx": {
|
||
|
"instanceTechnique": {
|
||
|
"technique": "technique1",
|
||
|
"values": {
|
||
|
"ambient": [
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
"diffuse": "texture_image_0",
|
||
|
"emission": [
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
"shininess": 38.4,
|
||
|
"specular": [
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
1
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"name": "blinn3"
|
||
|
}
|
||
|
},
|
||
|
"meshes": {
|
||
|
"LOD3spShape-lib": {
|
||
|
"name": "LOD3spShape",
|
||
|
"primitives": [
|
||
|
{
|
||
|
"attributes": {
|
||
|
"NORMAL": "attribute_25",
|
||
|
"POSITION": "attribute_23",
|
||
|
"TEXCOORD_0": "attribute_27"
|
||
|
},
|
||
|
"indices": "indices_21",
|
||
|
"material": "blinn3-fx",
|
||
|
"primitive": 4
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"nodes": {
|
||
|
"LOD3sp": {
|
||
|
"children": [],
|
||
|
"matrix": [
|
||
|
1,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
1,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
1,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
"meshes": [
|
||
|
"LOD3spShape-lib"
|
||
|
],
|
||
|
"name": "LOD3sp"
|
||
|
},
|
||
|
"camera1": {
|
||
|
"camera": "camera_0",
|
||
|
"children": [],
|
||
|
"matrix": [
|
||
|
-0.728969,
|
||
|
0,
|
||
|
-0.684547,
|
||
|
0,
|
||
|
-0.425205,
|
||
|
0.783693,
|
||
|
0.452797,
|
||
|
0,
|
||
|
0.536475,
|
||
|
0.621148,
|
||
|
-0.571288,
|
||
|
0,
|
||
|
400.113,
|
||
|
463.264,
|
||
|
-431.078,
|
||
|
1
|
||
|
],
|
||
|
"name": "camera1"
|
||
|
},
|
||
|
"directionalLight1": {
|
||
|
"children": [],
|
||
|
"light": "directionalLightShape1-lib",
|
||
|
"matrix": [
|
||
|
-0.954692,
|
||
|
0.218143,
|
||
|
-0.202428,
|
||
|
0,
|
||
|
0.0146721,
|
||
|
0.713885,
|
||
|
0.700109,
|
||
|
0,
|
||
|
0.297235,
|
||
|
0.665418,
|
||
|
-0.684741,
|
||
|
0,
|
||
|
148.654,
|
||
|
183.672,
|
||
|
-292.179,
|
||
|
1
|
||
|
],
|
||
|
"name": "directionalLight1"
|
||
|
}
|
||
|
},
|
||
|
"profile": "WebGL 1.0.2",
|
||
|
"programs": {
|
||
|
"program_0": {
|
||
|
"attributes": [
|
||
|
"a_normal",
|
||
|
"a_position",
|
||
|
"a_texcoord0"
|
||
|
],
|
||
|
"fragmentShader": "duck0FS",
|
||
|
"vertexShader": "duck0VS"
|
||
|
}
|
||
|
},
|
||
|
"samplers": {
|
||
|
"sampler_0": {
|
||
|
"magFilter": 9729,
|
||
|
"minFilter": 9987,
|
||
|
"wrapS": 10497,
|
||
|
"wrapT": 10497
|
||
|
}
|
||
|
},
|
||
|
"scene": "defaultScene",
|
||
|
"scenes": {
|
||
|
"defaultScene": {
|
||
|
"nodes": [
|
||
|
"LOD3sp",
|
||
|
"camera1",
|
||
|
"directionalLight1"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"shaders": {
|
||
|
"duck0FS": {
|
||
|
"path": "duck0FS.glsl"
|
||
|
},
|
||
|
"duck0VS": {
|
||
|
"path": "duck0VS.glsl"
|
||
|
}
|
||
|
},
|
||
|
"skins": {},
|
||
|
"techniques": {
|
||
|
"technique1": {
|
||
|
"parameters": {
|
||
|
"ambient": {
|
||
|
"type": 35666
|
||
|
},
|
||
|
"diffuse": {
|
||
|
"type": 35678
|
||
|
},
|
||
|
"emission": {
|
||
|
"type": 35666
|
||
|
},
|
||
|
"light0Color": {
|
||
|
"type": 35665,
|
||
|
"value": [
|
||
|
1,
|
||
|
1,
|
||
|
1
|
||
|
]
|
||
|
},
|
||
|
"light0Transform": {
|
||
|
"source": "directionalLight1",
|
||
|
"type": 35676
|
||
|
},
|
||
|
"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
|
||
|
},
|
||
|
"texcoord0": {
|
||
|
"semantic": "TEXCOORD_0",
|
||
|
"type": 35664
|
||
|
}
|
||
|
},
|
||
|
"pass": "defaultPass",
|
||
|
"passes": {
|
||
|
"defaultPass": {
|
||
|
"details": {
|
||
|
"commonProfile": {
|
||
|
"extras": {
|
||
|
"doubleSided": false
|
||
|
},
|
||
|
"lightingModel": "Blinn",
|
||
|
"parameters": [
|
||
|
"ambient",
|
||
|
"diffuse",
|
||
|
"emission",
|
||
|
"light0Color",
|
||
|
"light0Transform",
|
||
|
"modelViewMatrix",
|
||
|
"normalMatrix",
|
||
|
"projectionMatrix",
|
||
|
"shininess",
|
||
|
"specular"
|
||
|
],
|
||
|
"texcoordBindings": {
|
||
|
"diffuse": "TEXCOORD_0"
|
||
|
}
|
||
|
},
|
||
|
"type": "COLLADA-1.4.1/commonProfile"
|
||
|
},
|
||
|
"instanceProgram": {
|
||
|
"attributes": {
|
||
|
"a_normal": "normal",
|
||
|
"a_position": "position",
|
||
|
"a_texcoord0": "texcoord0"
|
||
|
},
|
||
|
"program": "program_0",
|
||
|
"uniforms": {
|
||
|
"u_ambient": "ambient",
|
||
|
"u_diffuse": "diffuse",
|
||
|
"u_emission": "emission",
|
||
|
"u_light0Color": "light0Color",
|
||
|
"u_light0Transform": "light0Transform",
|
||
|
"u_modelViewMatrix": "modelViewMatrix",
|
||
|
"u_normalMatrix": "normalMatrix",
|
||
|
"u_projectionMatrix": "projectionMatrix",
|
||
|
"u_shininess": "shininess",
|
||
|
"u_specular": "specular"
|
||
|
}
|
||
|
},
|
||
|
"states": {
|
||
|
"blendEnable": 0,
|
||
|
"cullFaceEnable": 1,
|
||
|
"depthMask": 1,
|
||
|
"depthTestEnable": 1
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"textures": {
|
||
|
"texture_image_0": {
|
||
|
"format": 6408,
|
||
|
"internalFormat": 6408,
|
||
|
"sampler": "sampler_0",
|
||
|
"source": "image_0",
|
||
|
"target": 3553
|
||
|
}
|
||
|
}
|
||
|
}
|