//Ejemplo de prueba para una escena vista 3D
//Por: Mario H Tiburcio Z

#include "colors.inc"
#include "librerias.inc"
camera {
  location <6,6,-6>
  look_at <0,0,0>
}
light_source {<4,5,-6> color White}
triangle {
<0,0,0>,
<1,0,0>,
<1,0,1>
pigment {color Red}
}
light_source {<4,5,-6> color White}
#declare figura = union{
squared {
<1,0,1>,
<1,1,1>,
<0,1,1>,
<0,1,0>
pigment {color Blue}
}
light_source {<4,5,-6> color White}
triangle {
<0,2,0>,
<0,2,1>,
<2,0,1>
pigment {color Yellow}
}
light_source {<4,5,-6> color White}
triangle {
<0,2,0>,
<2,0,0>,
<2,0,1>
pigment {color Yellow}
}
}
figura
/*box{
  <0,0,0>,<1,1,1>
  pigment {color Red}
scale<3,.2,1>
rotate <0,90,0>
}*/
plane  { y,0 pigment {checker Black White }}
ejes3D

