Skip to content

Instantly share code, notes, and snippets.

@joates
Created February 25, 2014 13:54
Show Gist options
  • Save joates/9209180 to your computer and use it in GitHub Desktop.
Save joates/9209180 to your computer and use it in GitHub Desktop.
http://threejs.org/editor >> File >> Import (note: add an Env Map image to the Box & change View >> Dark theme)
{
"metadata": {
"version": 4.3,
"type": "Object",
"generator": "ObjectExporter"
},
"geometries": [
{
"uuid": "892D4DF7-229E-4DF8-BFFD-083D7AE16140",
"type": "CylinderGeometry",
"radiusTop": 20,
"radiusBottom": 20,
"height": 100,
"radialSegments": 8,
"heightSegments": 1,
"openEnded": false
},
{
"uuid": "F4094A76-C766-473E-9664-01B8A88FBE14",
"type": "BoxGeometry",
"width": 100,
"height": 100,
"depth": 100,
"widthSegments": 1,
"heightSegments": 1,
"depthSegments": 1
}],
"materials": [
{
"uuid": "7BAFC7F5-0F24-47CC-96DD-86B3CC509734",
"type": "MeshNormalMaterial",
"opacity": 1,
"transparent": false,
"wireframe": false
},
{
"uuid": "E86ECC2A-F519-4074-BEF8-705DA6508E7D",
"type": "MeshPhongMaterial",
"color": 16777215,
"ambient": 16777215,
"emissive": 16777215,
"specular": 58367,
"shininess": 30,
"blending": 2,
"side": 1,
"opacity": 0.84,
"transparent": true,
"wireframe": false
}],
"object": {
"uuid": "7F11136B-07A9-44EF-8627-8F032FF8A1F6",
"type": "Scene",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],
"children": [
{
"uuid": "57E4EE31-F421-4311-9D3F-331C1A7ADAF7",
"name": "Cylinder 1",
"type": "Mesh",
"geometry": "892D4DF7-229E-4DF8-BFFD-083D7AE16140",
"material": "7BAFC7F5-0F24-47CC-96DD-86B3CC509734",
"matrix": [1.0577389001846313,0,0,0,0,1,0,0,0,0,1.080452799797058,0,-5.614208698272705,51.0894775390625,0,1]
},
{
"uuid": "BE080A48-9796-42EA-93CD-0C940B818A5C",
"name": "Cylinder 1",
"type": "Mesh",
"geometry": "892D4DF7-229E-4DF8-BFFD-083D7AE16140",
"material": "7BAFC7F5-0F24-47CC-96DD-86B3CC509734",
"matrix": [1.0577389001846313,0,0,0,0,1,0,0,0,0,1.080452799797058,0,61.04787826538086,51.0894775390625,0,1]
},
{
"uuid": "C7BCDA88-765A-4DF2-94BB-F2D009ED6246",
"name": "Cylinder 1",
"type": "Mesh",
"geometry": "892D4DF7-229E-4DF8-BFFD-083D7AE16140",
"material": "7BAFC7F5-0F24-47CC-96DD-86B3CC509734",
"matrix": [1.0577389001846313,0,0,0,0,1,0,0,0,0,1.080452799797058,0,-7.650944232940674,51.0894775390625,242.87310791015625,1]
},
{
"uuid": "A4884DBB-A6C4-4BD3-B5ED-B0CF3AE29977",
"name": "Box 2",
"type": "Mesh",
"geometry": "F4094A76-C766-473E-9664-01B8A88FBE14",
"material": "E86ECC2A-F519-4074-BEF8-705DA6508E7D",
"matrix": [1.9229010343551636,0,0,0,0,1.9646345376968384,0,0,0,0,2.255885124206543,0,-70.93209838867188,52.9005012512207,64.0120620727539,1]
},
{
"uuid": "66C96DF6-EC7E-428E-9D5D-BF3A17FB8180",
"name": "AmbientLight 1",
"type": "AmbientLight",
"color": 2236962,
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
},
{
"uuid": "72F69673-B9BA-4824-BE35-EFB4D9140F35",
"name": "PointLight 2",
"type": "PointLight",
"color": 16777215,
"intensity": 1,
"distance": 0,
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,21.70244026184082,185.88333129882812,209.7581787109375,1]
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment