#include "colors.inc" #include "shapes.inc" #include "textures.inc" #include "stones.inc" global_settings { radiosity { distance_maximum 0.5 nearest_count 10 count 200 gray_threshold 0.0 }} camera { location <-15,60,-25> look_at <10,0,-5> } /* Ground */ plane { y, -20.0 texture { pigment { White } finish{specular 0.6 diffuse 0.8 ambient 0.3} } hollow } /* Blind wall (left) */ plane { x, -50 texture {pigment{White} finish{specular 0.6 diffuse 0.8 ambient 0} } hollow } /* Blind wall (right) */ plane { x, 30 texture {pigment{White} finish{specular 0.6 diffuse 0.8 ambient 0.3} } hollow } /* Window */ union { polygon {5, <0,0,0>, <0,1,0>,<1,1,0>,<1,0,0>,<0,0,0>} disc {<0.5, 1, 0>, <0, 0, 1>, 0.5} pigment { image_map {gif "mystain2-modified.gif" interpolate 2 filter all 1.0 } scale <1,1.5,1> } finish{ambient 1.0} translate x*-0.5 scale <20,20,1> translate z*13.9 } /* Back wall with hole for window */ difference { box { <-100,-20,0.1>,<100,100,3.9> } merge { box {<0, 0, 0>, <1, 1, 4>} cylinder {<0.5, 1, 0>, <0.5, 1, 4>, 0.5} translate x*-0.5 scale <20,20,1> } texture {pigment{White} finish{specular 0.6 diffuse 0.8 ambient 0.3} } translate z*10 } light_source { <-10, 30, 20> color <1,1,1> area_light <0.5,0,0>,<0,0.5,0>,5,5 adaptive 1 jitter } light_source { <-10, 30, 20> color <1,1,1> area_light <6,0,0>,<0,6,0>,8,8 adaptive 1 jitter }