/* 
a simple scene with the (USUAL) cube
this time with a lightmap over the texture
notice the lightmap is automatically loaded
*/

scene clip(1,8000);
scene position(0,0,-500);
scene rotation(0,0,0);
scene color(0.2,0.1,0);

//add a light just for fun
poorLight = new cLight(-1);
light poorLight position(-1000,0,-1000);
light poorLight active(1);

myCube = load("cube");
object myCube lighted(1);
object myCube diffuse(1,1,1);
object myCube active(1);

spinCube = new cDeform(myCube);
deform spinCube spin(0.1,0.1,0.1);
deform spinCube active(1);

scene keybd(1);
scene focus(myCube);

scene start;

