Skip to content

Instantly share code, notes, and snippets.

@iambumblehead
Created January 16, 2016 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iambumblehead/d9dc8be1acebbda4cb9c to your computer and use it in GitHub Desktop.
Save iambumblehead/d9dc8be1acebbda4cb9c to your computer and use it in GitHub Desktop.
blender-exported.json (using three.js exporter from dev branch)
{
"materials": [{
"color": 5874522,
"depthTest": true,
"specular": 8355711,
"emissive": 0,
"type": "MeshPhongMaterial",
"depthWrite": true,
"shininess": 50,
"uuid": "FC9C3C1C-87E7-3748-8148-105003E5F3D5",
"vertexColors": 0,
"name": "Material",
"blending": "NormalBlending"
},{
"color": 10710325,
"depthTest": true,
"specular": 8355711,
"emissive": 0,
"type": "MeshPhongMaterial",
"depthWrite": true,
"shininess": 50,
"uuid": "109C8DEC-623D-3F38-8AFD-395BEC6741C8",
"vertexColors": 0,
"name": "Material.001",
"blending": "NormalBlending"
},{
"color": 11083024,
"depthTest": true,
"specular": 8355711,
"emissive": 0,
"type": "MeshPhongMaterial",
"depthWrite": true,
"shininess": 50,
"uuid": "9D8A2545-F1EB-3251-B63F-BA16B4AD0604",
"vertexColors": 0,
"name": "Material.002",
"blending": "NormalBlending"
},{
"color": 13421772,
"depthTest": true,
"specular": 12829635,
"emissive": 0,
"type": "MeshPhongMaterial",
"depthWrite": true,
"shininess": 50,
"uuid": "EB490126-1C41-34D8-A3E3-F60E2F4BE7BB",
"vertexColors": 0,
"name": "Material.003",
"blending": "NormalBlending"
}],
"geometries": [{
"uuid": "31F9DD3C-2200-3149-8360-C87C703AA631",
"data": {
"uvs": [],
"normals": [0,0,1],
"metadata": {
"uvs": 0,
"normals": 1,
"vertices": 4,
"version": 3,
"generator": "io_three",
"faces": 1
},
"vertices": [-1,-1,0,1,-1,0,-1,1,0,1,1,0],
"faces": [33,0,1,3,2,0,0,0,0],
"name": "PlaneGeometry.3"
},
"type": "Geometry"
},{
"uuid": "B1CB2B62-2789-32E9-A3DE-CB7598BCCEA0",
"data": {
"uvs": [],
"normals": [0,0,1],
"metadata": {
"uvs": 0,
"normals": 1,
"vertices": 4,
"version": 3,
"generator": "io_three",
"faces": 1
},
"vertices": [-1,-1,0,1,-1,0,-1,1,0,1,1,0],
"faces": [33,0,1,3,2,0,0,0,0],
"name": "Plane.001Geometry.4"
},
"type": "Geometry"
},{
"uuid": "0E682731-4568-38F6-809B-F8B6475A2F18",
"data": {
"uvs": [],
"normals": [0.577349,0.577349,-0.577349,0.577349,-0.577349,-0.577349,-0.577349,-0.577349,-0.577349,-0.577349,0.577349,-0.577349,0.577349,0.577349,0.577349,-0.577349,0.577349,0.577349,-0.577349,-0.577349,0.577349,0.577349,-0.577349,0.577349],
"metadata": {
"uvs": 0,
"normals": 8,
"vertices": 8,
"version": 3,
"generator": "io_three",
"faces": 6
},
"vertices": [1,1,-1,1,-1,-1,-1,-1,-1,-1,1,-1,1,0.999999,1,0.999999,-1,1,-1,-1,1,-1,1,1],
"faces": [33,0,1,2,3,0,1,2,3,33,4,7,6,5,4,5,6,7,33,0,4,5,1,0,4,7,1,33,1,5,6,2,1,7,6,2,33,2,6,7,3,2,6,5,3,33,4,0,3,7,4,0,3,5],
"name": "CubeGeometry.3"
},
"type": "Geometry"
},{
"uuid": "461433E7-2EB2-3CA2-8FBB-A880CE53D3F0",
"data": {
"uvs": [],
"normals": [-0.577349,0.577349,-0.577349,-0.577349,-0.577349,-0.577349,-0.577349,-0.577349,0.577349,-0.577349,0.577349,0.577349,0.577349,0.577349,0.577349,0.577349,0.577349,-0.577349,0.577349,-0.577349,0.577349,0.577349,-0.577349,-0.577349],
"metadata": {
"uvs": 0,
"normals": 8,
"vertices": 8,
"version": 3,
"generator": "io_three",
"faces": 6
},
"vertices": [-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1],
"faces": [33,2,0,1,3,0,1,2,3,33,3,7,6,2,3,4,5,0,33,7,5,4,6,4,6,7,5,33,0,4,5,1,1,7,6,2,33,0,2,6,4,1,0,5,7,33,5,7,3,1,6,4,3,2],
"name": "Cube.001Geometry.3"
},
"type": "Geometry"
}],
"textures": [],
"images": [],
"metadata": {
"generator": "io_three",
"version": 4.4,
"sourceFile": "fullscene_basic.blend",
"type": "Object"
},
"object": {
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],
"uuid": "53BC381D-1BB3-4DD3-922B-ED0F00FCBA71",
"children": [{
"name": "Camera",
"uuid": "DE0714B3-5D16-30EF-9A0A-6C5D6DD394B9",
"matrix": [-0.685881,-0.010817,0.727634,0,0.31737,0.895343,0.312469,0,-0.654862,0.445245,-0.610666,0,-7.48113,5.34366,-6.50764,1],
"visible": true,
"type": "PerspectiveCamera",
"far": 100,
"near": 0.1,
"aspect": 1.77778,
"fov": 35
},{
"name": "Cube",
"uuid": "F29D1AC4-D789-3D8E-BAB5-59DC1B758FE2",
"matrix": [-0.965926,0,0.258819,0,0.258819,0,0.965926,0,0,1,0,0,0,0,2,1],
"visible": true,
"type": "Mesh",
"material": "FC9C3C1C-87E7-3748-8148-105003E5F3D5",
"castShadow": true,
"receiveShadow": true,
"geometry": "0E682731-4568-38F6-809B-F8B6475A2F18"
},{
"name": "Cube.001",
"uuid": "7E8B5B6C-C1E8-35F8-8CAD-F6CC57432E76",
"matrix": [-0.5,0,0,0,0,0,0.5,0,0,0.5,0,0,0,-0.5,-0.268383,1],
"visible": true,
"type": "Mesh",
"material": "109C8DEC-623D-3F38-8AFD-395BEC6741C8",
"castShadow": true,
"receiveShadow": true,
"geometry": "461433E7-2EB2-3CA2-8FBB-A880CE53D3F0"
},{
"name": "Hemi",
"uuid": "22CFB302-A60E-370A-B795-CE269BF98925",
"matrix": [-1,0,0,0,0,0,1,0,0,1,0,0,0,9.08398,0,1],
"visible": true,
"type": "HemisphereLight",
"color": 16777215,
"intensity": 1,
"distance": 0
},{
"name": "Lamp",
"uuid": "480358C5-FC08-314B-A146-DEE8993A0407",
"matrix": [0.290865,-0.055189,0.955171,0,0.771101,0.604525,-0.199883,0,-0.566393,0.794672,0.218391,0,-5.14526,6.57756,7.78787,1],
"visible": true,
"type": "PointLight",
"color": 16777215,
"intensity": 1,
"distance": 0,
"decayExponent": 2
},{
"name": "Plane",
"uuid": "631279BD-3DB0-34E6-BE17-B19991DEF360",
"matrix": [-30,0,0,0,0,0,30,0,0,1,0,0,0,-1,0,1],
"visible": true,
"type": "Mesh",
"material": "9D8A2545-F1EB-3251-B63F-BA16B4AD0604",
"castShadow": true,
"receiveShadow": true,
"geometry": "31F9DD3C-2200-3149-8360-C87C703AA631"
},{
"name": "Plane.001",
"uuid": "66205067-0F90-3828-854D-B862B8DDED90",
"matrix": [0,0,-3,0,0,-1.5,0,0,-1,-0,-0,0,4,1,0,1],
"visible": true,
"type": "Mesh",
"material": "EB490126-1C41-34D8-A3E3-F60E2F4BE7BB",
"castShadow": true,
"receiveShadow": true,
"geometry": "B1CB2B62-2789-32E9-A3DE-CB7598BCCEA0"
},{
"name": "Spot",
"uuid": "DE0829BB-44E8-3BF8-8020-60C9F8FDCBB9",
"matrix": [-1.21501,-1.58863,0,0,0,0,2,0,-1.58863,1.21501,0,0,-2.48657,7.16201,0.435682,1],
"visible": true,
"type": "SpotLight",
"castShadow": true,
"color": 16777215,
"intensity": 1,
"distance": 0,
"angle": 0.785398,
"decayExponent": 2
}],
"type": "Scene"
},
"animations": [{
"fps": 24,
"tracks": [],
"name": "default"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment