Three.js, cannot get plane to appear

bestweb

New Member
Here is a link to the code http://dl.dropbox.com/u/44521442/src/shapeshifter.jsAnd the HTML it affectshttps://dl.dropboxusercontent.com/u/44521442/index.htmlThis is how I am creating the plane. The camera is looking at the origin.\[code\]var floorGeometry = new THREE.PlaneGeometry( 1000, 1000 );var floorMaterial = new THREE.MeshLambertMaterial( { color: 0x78AB46 } );ShapeShifter.floor = new THREE.Mesh( floorGeometry, floorMaterial );ShapeShifter.floor.material.side = THREE.DoubleSide;ShapeShifter.floor.position.y = 0;ShapeShifter.floor.rotation.x = Math.PI / 2;ShapeShifter.scene.add( ShapeShifter.floor );\[/code\]When I don't set ShapeShifter.floor.rotation.x it is a vertical plane and appears to be black, cutting through the square and circle I have.
 
Back
Top