#include "colors.inc" #include "shapes.inc" #include "textures.inc" #include "stones.inc" global_settings { radiosity { distance_maximum 0.2 nearest_count 10 count 1000 gray_threshold 0.3 }} /* Window wall */ plane { z, 3.0 texture { pigment { image_map { ppm "mystain.ppm" interpolate 2 } scale 10 //rotate 90*x } finish{ambient 1.0} } } /* Floor */ plane { y, 0.0 texture { pigment {color White} finish{ambient 0.5} } } /* Blind wall (front) */ plane { x, -6.8 texture { pigment {color White} finish{ambient 0.5} } } /* Blind wall (front) */ plane { x, 15 texture { pigment {color White} finish{ambient 0.3} } } #declare mywood = texture { pigment{DMFWood1} scale <10,1,1> finish {ambient 0.5} } /* Table */ union { box { <0,0,0>, <1,5,1> texture { mywood } } box { <40,0,0>, <41,5,1> texture { mywood } } box { <0,0,25>, <1,5,26> texture { mywood } } box { <40,0,25>, <41,5,26> texture { mywood } } box { <0,5,0>, <1,6,26> texture { mywood } } box { <40,5,0>, <41,6,26> texture { mywood } } box { <0,5,0>, <41,6,1> texture { mywood } } box { <0,5,25>, <41,6,26> texture { mywood } } box { <1,5,1>,<40,6,25> texture { pigment { White filter 0.5 } finish { ambient 0.2 diffuse 0.2 reflection .25 specular 1 roughness .001 } } interior{ior 1.33} } //rotate y*90 scale 0.25 translate <-3,0,-10> } //light_source { <5, 20, 10> color White} //light_source { <0, 20, -10> color White} camera { location <10,5,-15> //location <0,9,-6> look_at <0,2,0> }