#include "colors.inc" #include "stones.inc" #include "textures.inc" #include "skies.inc" #include "shapes.inc" #include "glass.inc" #include "metals.inc" #include "woods.inc" #include "finish.inc" // Define the location of the camera camera { location <.5,-1,1> look_at <-1.35,1,-.5> up <0,0,1> right <4/3,0,0> sky <0,0,1> } // Lights background {color rgb <.8,.8,.8>} light_source { <8,-5,5> White area_light <0,0,1>, <1,1,0>, 8, 8 jitter } light_source { <-50,50,50> color rgb <0.4,0.4,0.4> shadowless } //#declare TXTR = texture { pigment {color White} } //#declare TXTR = texture {Cork scale 0.2} //#declare TXTR = texture {DMFLightOak scale 0.5} #declare TXTR = texture {DMFWood4} difference { box { <0,0,-.4>, <-3,2,0> texture { TXTR } } box { <-1,-1,-1>, <1,3,1> rotate <0,-45,0> translate //texture { pigment {color Red transmit 0.2} } texture { TXTR } } box { <-4,-1,-1>, <1,1,1> rotate <-45,0,0> translate <0,-sqrt(2)+.1,0> //texture { pigment {color Red transmit 0.8} } texture { TXTR } } }