Skip to content

Instantly share code, notes, and snippets.

@PyroAVR
Created February 19, 2016 23:17
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 PyroAVR/b8cdc321f21b1b4df932 to your computer and use it in GitHub Desktop.
Save PyroAVR/b8cdc321f21b1b4df932 to your computer and use it in GitHub Desktop.
A 3-D touchplate made for Three.js
{
"metadata": {
"version": 4.4,
"type": "Object",
"generator": "Object3D.toJSON"
},
"geometries": [
{
"uuid": "0A9F7777-88C8-41A1-964E-FBFA30EA265E",
"type": "BoxGeometry",
"width": 5,
"height": 0.6,
"depth": 5,
"widthSegments": 0,
"heightSegments": 0,
"depthSegments": 0
},
{
"uuid": "1A583147-F380-454E-BAF3-646CB918E861",
"type": "BoxGeometry",
"width": 5,
"height": 1,
"depth": 1,
"widthSegments": 0,
"heightSegments": 0,
"depthSegments": 0
},
{
"uuid": "C249AD9E-1978-42DC-A389-65BE0BAC6985",
"type": "BoxGeometry",
"width": 1,
"height": 1,
"depth": 5.5,
"widthSegments": 0,
"heightSegments": 0,
"depthSegments": 0
}],
"materials": [
{
"uuid": "F7C7224B-2DC3-4623-B19E-DE4022CE9448",
"type": "MeshStandardMaterial",
"color": 16777215,
"emissive": 0
},
{
"uuid": "1DE3B4FC-C7F1-46B0-99BB-CC3CEDD3875B",
"type": "MeshStandardMaterial",
"color": 16777215,
"emissive": 0
},
{
"uuid": "550CF55D-8F6F-4A24-93F4-EE931B9CBA76",
"type": "MeshStandardMaterial",
"color": 16777215,
"emissive": 0
}],
"object": {
"uuid": "77BA031F-4CA6-471B-A55E-E8DF28F60E9B",
"type": "Group",
"name": "Touchplate",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],
"children": [
{
"uuid": "C87A589D-45E9-4B2E-A581-1A8A5D13A359",
"type": "Mesh",
"name": "Touchplate-surface",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,1,0,1],
"geometry": "0A9F7777-88C8-41A1-964E-FBFA30EA265E",
"material": "F7C7224B-2DC3-4623-B19E-DE4022CE9448"
},
{
"uuid": "B31D60D1-62BD-4759-89D0-F60D0039DF0B",
"type": "Mesh",
"name": "Touchplate-edge1",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,1.100000023841858,2.5,1],
"geometry": "1A583147-F380-454E-BAF3-646CB918E861",
"material": "1DE3B4FC-C7F1-46B0-99BB-CC3CEDD3875B"
},
{
"uuid": "53126A7B-D45D-4C95-93ED-A7E604636C08",
"type": "Mesh",
"name": "Toucplate-edge2",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,2.5,1.100000023841858,0.25,1],
"geometry": "C249AD9E-1978-42DC-A389-65BE0BAC6985",
"material": "550CF55D-8F6F-4A24-93F4-EE931B9CBA76"
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment