Building a 3D model using threejs