123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362 |
- {
- "accessors": {
- "accessor_21": {
- "bufferView": "bufferView_29",
- "byteOffset": 0,
- "byteStride": 0,
- "componentType": 5123,
- "count": 12636,
- "type": "SCALAR"
- },
- "accessor_23": {
- "bufferView": "bufferView_30",
- "byteOffset": 0,
- "byteStride": 12,
- "componentType": 5126,
- "count": 2399,
- "max": [
- 0.961799,
- 1.6397,
- 0.539252
- ],
- "min": [
- -0.692985,
- 0.0992937,
- -0.613282
- ],
- "type": "VEC3"
- },
- "accessor_25": {
- "bufferView": "bufferView_30",
- "byteOffset": 28788,
- "byteStride": 12,
- "componentType": 5126,
- "count": 2399,
- "max": [
- 0.999599,
- 0.999581,
- 0.998436
- ],
- "min": [
- -0.999084,
- -1,
- -0.999832
- ],
- "type": "VEC3"
- },
- "accessor_27": {
- "bufferView": "bufferView_30",
- "byteOffset": 57576,
- "byteStride": 8,
- "componentType": 5126,
- "count": 2399,
- "max": [
- 0.983346,
- 0.980037
- ],
- "min": [
- 0.026409,
- 0.019963
- ],
- "type": "VEC2"
- }
- },
- "animations": {},
- "asset": {
- "generator": "collada2gltf@ceec062e3d5793f2f249f53cbd843aee382ad40b",
- "premultipliedAlpha": true,
- "profile": {
- "api": "WebGL",
- "version": "1.0.2"
- },
- "version": 1
- },
- "bufferViews": {
- "bufferView_29": {
- "buffer": "duck",
- "byteLength": 25272,
- "byteOffset": 0,
- "target": 34963
- },
- "bufferView_30": {
- "buffer": "duck",
- "byteLength": 76768,
- "byteOffset": 25272,
- "target": 34962
- }
- },
- "buffers": {
- "duck": {
- "byteLength": 102040,
- "type": "arraybuffer",
- "uri": "duck.bin"
- }
- },
- "cameras": {
- "cameraShape1": {
- "name": "cameraShape1",
- "perspective": {
- "aspect_ratio": 1.5,
- "yfov": 0.660593,
- "zfar": 100,
- "znear": 0.01
- },
- "type": "perspective"
- }
- },
- "images": {
- "file2": {
- "name": "file2",
- "uri": "duckCM.png"
- }
- },
- "materials": {
- "blinn3-fx": {
- "name": "blinn3",
- "technique": "technique0",
- "values": {
- "ambient": [
- 0,
- 0,
- 0,
- 1
- ],
- "diffuse": "texture_file2",
- "emission": [
- 0,
- 0,
- 0,
- 1
- ],
- "shininess": 38.4,
- "specular": [
- 0,
- 0,
- 0,
- 1
- ]
- }
- }
- },
- "meshes": {
- "LOD3spShape-lib": {
- "name": "LOD3spShape",
- "primitives": [
- {
- "attributes": {
- "NORMAL": "accessor_25",
- "POSITION": "accessor_23",
- "TEXCOORD_0": "accessor_27"
- },
- "indices": "accessor_21",
- "material": "blinn3-fx",
- "mode": 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": "cameraShape1",
- "children": [],
- "matrix": [
- -0.728969,
- 0,
- -0.684547,
- 0,
- -0.425205,
- 0.783693,
- 0.452797,
- 0,
- 0.536475,
- 0.621148,
- -0.571288,
- 0,
- 4.00113,
- 4.63264,
- -4.31078,
- 1
- ],
- "name": "camera1"
- },
- "directionalLight1": {
- "children": [],
- "matrix": [
- -0.954692,
- 0.218143,
- -0.202429,
- 0,
- 0.014672,
- 0.713885,
- 0.700109,
- 0,
- 0.297235,
- 0.665418,
- -0.684741,
- 0,
- 1.48654,
- 1.83672,
- -2.92179,
- 1
- ],
- "name": "directionalLight1"
- }
- },
- "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": {
- "type": 35632,
- "uri": "duck0FS.glsl"
- },
- "duck0VS": {
- "type": 35633,
- "uri": "duck0VS.glsl"
- }
- },
- "skins": {},
- "techniques": {
- "technique0": {
- "attributes": {
- "a_normal": "normal",
- "a_position": "position",
- "a_texcoord0": "texcoord0"
- },
- "parameters": {
- "ambient": {
- "type": 35666
- },
- "diffuse": {
- "type": 35678
- },
- "emission": {
- "type": 35666
- },
- "light0Color": {
- "type": 35665,
- "value": [
- 1,
- 1,
- 1
- ]
- },
- "light0Transform": {
- "node": "directionalLight1",
- "semantic": "MODELVIEW",
- "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
- }
- },
- "program": "program_0",
- "states": {
- "enable": [
- 2929,
- 2884
- ]
- },
- "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"
- }
- }
- },
- "textures": {
- "texture_file2": {
- "format": 6408,
- "internalFormat": 6408,
- "sampler": "sampler_0",
- "source": "file2",
- "target": 3553,
- "type": 5121
- }
- }
- }
|