#include "colors.inc"
#include "librerias.inc"

camera {
  location <15,15,-15>
  look_at <0,0,0>
}

light_source {<4,5,-6> color White}
#declare pa=<5,0,0>;
#declare pb=<0,3,0>;
#declare pc=<0,0,0>;
#declare pd=<5,0,2>;
#declare pe=<0,3,2>;
#declare pf=<0,0,2>;



#declare calza= union{

object{triangle {pa,pb,pc}
pigment {color Red}
}

object{triangle {pd,pf,pe}
pigment{color Blue}

}

object{triangle {pb,pe,pc}
pigment {color Green}
}
object{triangle {pe,pf,pc}
pigment {color Green}
}


object{triangle {pf,pd,pa}
pigment {color Yellow}
}
object{triangle {pf,pc,pa}
pigment {color Yellow}
}


object{triangle {pe,pd,pa}
pigment {color White}
}
object{triangle {pe,pb,pa}
pigment {color White}
}
}//calza



plane  { y,-0.01 pigment {checker Black White }}
ejes3D
//calza
object{
calza
//scale<1,1,-1>
//translate<0,-1,0>
//rotate<0,30,0>
//rotate<0,-30,0>
//rotate<-45,0,0>
//rotate<45,0,0>
//scale<1/2,1/3,1>


//matrix<
//-1,0,0,
//0,1,0,
//0,0,1,
//0,0,0>
}
