/*
a simple "hole" is applyed on the usual -boring- cube, 
the "hole" (or transparency) is defined as the alpha
channel in the same TGA texture and automatically applyed
to the cube
*/

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

myCube = load("cube");
object myCube diffuse(1,1,1);
object myCube cull(2);
object myCube transp(1);
object myCube test(0);
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;

