#include "colors.inc" #include "textures.inc" #include "Woods.inc" #include "stones1.inc" camera { location <550,70,-750> look_at <150,300,0> blur_samples 40 aperture 100 focal_point <100,400,100> confidence 0.9999 } light_source { <5000,4000,-4000> White } #declare T01_Window = object { union { difference { box { <0,0,0>, <105,155,5> } box { <5,5,-0.1>, <50,50,5.1> } box { <55,5,-0.1>, <100,50,5.1> } box { <5,55,-0.1>, <50,100,5.1> } box { <55,55,-0.1>, <100,100,5.1> } box { <5,105,-0.1>, <50,150,5.1> } box { <55,105,-0.1>, <100,150,5.1> } texture { pigment {P_WoodGrain12B} scale <10,10,10> } } union { box { <5,5,2>,<50,50,3> } box { <55,5,2>, <100,50,3> } box { <5,55,2>, <50,100,3> } box { <55,55,2>, <100,100,3> } box { <5,105,2>, <50,150,3> } box { <55,105,2>, <100,150,3> } texture { pigment { rgbf <0.98, 1.0, 0.99, 0.75> } finish { ambient 0.1 diffuse 0.1 //reflection .1 specular 1 roughness .001 } } interior { ior 1.5 } } } } #declare Wall_Window = object { union { object {T01_Window translate <50,0,0> } difference { box { <0,0,0>, <205,205,5> } box { <50,0,-0.1>, <155,155,5.1> } texture { pigment {White} } } } } #declare H_Floor = object { union { object {Wall_Window} object {Wall_Window rotate y*-90 } object {Wall_Window translate <0,0,200> } object {Wall_Window rotate y*-90 translate <205,0,0> } box { <-5,205,0>, <205,215,205> texture { pigment {White} } } } } #declare Building = object { union { object {H_Floor translate <0,300,0>} box { <-5,0,0>,<205,300,205> texture { pigment {White} } } } } object { Building } //Light source inside the Building light_source { <100,400,100> White } #declare Grass_1 = material // Grass_1 { texture { pigment { granite color_map { [ 0.0 rgbft <0.7743, 0.3353, 0.5701, 0.98, 0.0> ] [ 0.07 rgbft <0.521, 0.1044, 0.0333, 0.45, 0.0> ] [ 0.13 rgbft <0.3663, 0.5682, 0.0687, 0.82, 0.0> ] [ 0.31 rgbft <0.0887, 0.9886, 0.4438, 0.01, 0.0> ] [ 0.39 rgbft <0.1308, 0.9083, 0.5524, 0.74, 0.0> ] [ 0.55 rgbft <0.484, 0.3945, 0.7343, 0.69, 0.0> ] [ 1.0 rgbft <0.1755, 0.5095, 0.448, 0.43, 0.0> ] } turbulence 0.7 ramp_wave } finish { //ambient 0.1 //phong 0.66 //phong_size 81.0 } } } plane { y, 0 material {Grass_1 scale <10,10,10>} } // Create an infinite sphere around scene and allow any texture on it sky_sphere { pigment { Bright_Blue_Sky } } object { #declare SD1=seed(16) #declare BarkTexture=2 #declare LeafShape=3 #declare LeafTexture=3 #declare MinXDeg=25 #declare MaxXDeg=60 #declare LengthInc=1.5 #declare IncSplits=1.15 #include "trees.inc" scale <20,30,20> translate <-350,0,0> } object { #declare SD1=seed(24) #declare BarkTexture=2 #declare LeafShape=3 #declare LeafTexture=3 #declare MinXDeg=25 #declare MaxXDeg=60 #declare LengthInc=1.5 #declare IncSplits=1.15 #include "trees.inc" scale <20,30,20> translate <-350,0,-200> }