Skip to content

Instantly share code, notes, and snippets.

@dirkk0
Created December 28, 2012 16:07
Show Gist options
  • Select an option

  • Save dirkk0/4399207 to your computer and use it in GitHub Desktop.

Select an option

Save dirkk0/4399207 to your computer and use it in GitHub Desktop.
blender exporter output
{
"metadata" :
{
"formatVersion" : 3.2,
"type" : "scene",
"sourceFile" : "",
"generatedBy" : "Blender 2.65 Exporter",
"objects" : 3,
"geometries" : 1,
"materials" : 1,
"textures" : 0
},
"urlBaseType" : "relativeToScene",
"objects" :
{
"Cube" : {
"geometry" : "geo_Cube.001",
"groups" : [ ],
"material" : "Material",
"position" : [ 0, 0, 0 ],
"rotation" : [ -0, 0, -0 ],
"quaternion": [ 0, 0, 0, 1 ],
"scale" : [ 1, 1, 1 ],
"visible" : true,
"castShadow" : false,
"receiveShadow" : false,
"doubleSided" : false
},
"default_light" : {
"type" : "DirectionalLight",
"direction" : [ 0, 1, 1 ],
"color" : 16777215,
"intensity" : 0.80
},
"default_camera" : {
"type" : "PerspectiveCamera",
"fov" : 60.000000,
"aspect": 1.333000,
"near" : 1.000000,
"far" : 10000.000000,
"position": [ 0, 0, 10 ],
"target" : [ 0, 0, 0 ]
}
},
"geometries" :
{
"geo_Cube.001" : {
"type" : "embedded",
"id" : "emb_Cube.001"
}
},
"materials" :
{
"Material" : {
"type": "MeshLambertMaterial",
"parameters": { "color": 10724259, "opacity": 1, "blending": "NormalBlending" }
}
},
"embeds" :
{
"emb_Cube.001": { "scale" : 1.000000,
"materials" : [ {
"DbgColor" : 15658734,
"DbgIndex" : 0,
"DbgName" : "Material",
"blending" : "NormalBlending",
"colorAmbient" : [0.6400000190734865, 0.6400000190734865, 0.6400000190734865],
"colorDiffuse" : [0.6400000190734865, 0.6400000190734865, 0.6400000190734865],
"colorSpecular" : [0.5, 0.5, 0.5],
"depthTest" : true,
"depthWrite" : true,
"shading" : "Lambert",
"specularCoef" : 50,
"transparency" : 1.0,
"transparent" : false,
"vertexColors" : false
}],
"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],
"morphTargets" : [],
"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],
"colors" : [],
"uvs" : [[]],
"faces" : [35,0,1,2,3,0,0,1,2,3,35,4,7,6,5,0,4,5,6,7,35,0,4,5,1,0,0,4,7,1,35,1,5,6,2,0,1,7,6,2,35,2,6,7,3,0,2,6,5,3,35,4,0,3,7,0,4,0,3,5],
"bones" : [],
"skinIndices" : [],
"skinWeights" : [],
"animation" : {}
}
},
"transform" :
{
"position" : [ 0, 0, 0 ],
"rotation" : [ -1.5708, 0, 0 ],
"scale" : [ 1, 1, 1 ]
},
"defaults" :
{
"bgcolor" : [ 0, 0, 0 ],
"bgalpha" : 1.000000,
"camera" : "default_camera"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment