| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397 |
- {
- "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
- }
- }
- }
|