Is it possible to generate polygon or polyhedron shapes in three.js using alternative methods?
var customShapePts = [];
customShapePts.push( new THREE.Vector2 ( -50, 200 ) );
customShapePts.push( new THREE.Vector2 ( 100, 200 ) );
customShapePts.push( new THREE.Vector2 ( 300, -50 ) );
customShape = new THREE.Shape( customShapePts );
var extrudeSettings = {amount: 30}; // can adjust bevelSegments, steps, bevelSize, bevelThickness here
var geometry = new THREE.ExtrudeGeometry( customShape, extrudeSettings );
mesh = THREE.SceneUtils.createMultiMaterialObject( geometry, [ new THREE.MeshBasicMaterial( { color: 0x00cc00 } ), new THREE.MeshBasicMaterial( { color: 0xff3333, wireframe: true, transparent: true } ) ] );
scene.add( mesh );