global_settings { assumed_gamma 2.2 } global_settings { max_trace_level 10 }//(1...20) [default = 5] #include "colors.inc" #include "stones.inc" // pre-defined scene elements #include "textures.inc" // pre-defined scene elements #include "shapes.inc" #include "glass.inc" #include "metals.inc" #include "woods.inc" // camera ----------------------------------------------------------- #declare Cam5 = camera {angle 70 location <6 , 2.0 ,-6> look_at <2 , 3 , 1.5>} camera{ Cam5} // sun --------------------------------------------------------------- light_source{<2500,5000,3500> color Grey} light_source{<-2500,5000,-3500> color White} light_source{<-2500,5000,-3500> color Gold} // sky --------------------------------------------------------------- plane{<0,1,0>,10000 hollow // texture{ pigment {color rgb<0.2,0.5,0.8>} finish {ambient 1 diffuse 0}} } plane{<0,1,0>,1 hollow // texture{pigment { bozo turbulence 0.65 octaves 6 omega 0.7 lambda 2 color_map { [0.0 color rgb <0.95, 0.95, 0.95>] [0.1 color rgb <0.85, 0.85, 0.85>] [0.5 color rgbt <1, 1, 1, 1> ] [1.0 color rgbt <1, 1, 1, 1> ] } rotate<10,20,0> scale <0.3, 0.4, 0.2>*3 } finish {ambient 1 diffuse 0}} scale 1000} // fog at the horizon fog{distance 300000 color White} // ground ------------------------------------------------------------ #declare ground = box {<10, 0.0, -16>, <-500, -2.5, 107>// scale <1,1,1> texture{Cork pigment{color Grey} normal { bumps 0.5 scale 0.0515} finish {ambient 0.45 diffuse 0.5 phong 1}} } union { difference { object { ground} union { box { <5.5, -1, -17>, <3, 1, -7> } box { <7.5, -2, -17>, <5, 1, -7> } box { <10.5, -2.5, -17>, <7, 1, -7> } box { <10., -1, -13.5>, <-25, 1, -11>} box { <10, -2, -15.5>, <-25, 1, -13>} box { <10, -2.5, -17>, <-25, 1, -15>} // texture{pigment{color Gray45 } texture{Cork pigment{color Grey} normal { bumps 0.5 scale 0.0515} finish {ambient 0.45 diffuse 0.5 phong 1}}} }} #declare body = box { <-3, 0.00, -1.5>, < 3, 1.75, 0.0> // texture{pigment{color Gray45 } texture{pigment { color rgb <0.9, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05}} } #declare body0 = box { <-3, 0.00, -1.5>, < 3, 1.75, 0.0> texture{Cork pigment{color rgb <0.9, 0.69, 0.65>} normal { bumps 0.5 scale 0.0515} finish {ambient 0.45 diffuse 0.5 phong 1}} } #declare body1 = box { <10, 0.00, -6>, < 7, 1.75, 9> // texture{pigment{color Gray45 } texture{pigment { color rgb <0.9, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05}} } #declare body2 = box { <3, 3.5, -1.5>, < -10, 4.5, 3.0> // texture{pigment{color Gray45 } texture{Cork pigment{color rgb <0.65, 0.57, 0.55>} normal { bumps 0.15 scale 0.0515} finish {ambient 0.45 diffuse 0.65 phong 1}} } #declare body3 = box { <0,0,0>, <3, 0.3, 3.5> texture{pigment { color rgb <0.9, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05}} } //#declare box1 = difference{ box { <6, 0, -5>, <5, 1, -3> } box { <5.7, 0.7, -4.7>, <5.3, 2, -3.3> } texture{Cork pigment{rgb <0.8, 0.9, 0.9>} normal { bumps 0.5 scale 0.0515} finish {ambient 0.45 diffuse 0.65 phong 1}} } #declare window = box { <-3, 0.00, -0.1>, < 3, 1.75, -0.0> texture{pigment{color Black} // texture { T1} finish {ambient 0.1 diffuse 0.2 phong 1 reflection 0.65}} } #declare window_up= box { <-3, 0.00, -0.1>, < 3, 1.75, -0.0> texture{pigment{color Black} // texture { T1} finish {ambient 0.1 diffuse 0.2 phong 1 reflection 0.45}} } #declare window1 = box { <3, 0.00, 5>, <3.1, 1.75, 1> texture{pigment{color Black} // texture { T1} finish {ambient 0.1 diffuse 0.2 phong 1 reflection 0.65}} } #declare invisibal_box = box{< 0.0,0.0,0.0>, < 3.5,3.5,3.5> texture{pigment{color Black} finish {ambient 0.1 diffuse 0.2 phong 1 reflection 0.65}} } #declare Box = union { object { body scale <3,2,4> translate <-6, 0, 6> } object { body0 scale <3,2,4> translate <-2, 0, 11> } object { body1 scale <1,2,1>} object { body2 scale <1.5,2,1.7> translate <-1.2, -0.3, 1.5>} object { body3 scale <1.6,5.8,1.8> translate <2.9, 3.41, 1.1>} object { body3 scale <1.6,4,1.5> translate <2.9, 7, 5>} // object { body3 scale <1.2,3,0.4> translate <3.8, 3, 3.9>} object { window scale <1.5,1.5,0.5> translate <-1.8, 0.5, 0.01> } object { window scale <0.6,1.5,1> translate <5, 0.4, 5> } object { window1 scale <1,1.5,1> translate <-0.1, 0.5, -0.6>} object { window1 scale <1,1.5,1.3> translate <3.99, 0.5, -5.6> } } difference { object { body2 scale <1.5,2,1.4> translate <-1.2, -3.6, 1>} object { body2 scale <1.6,2.1,0.8> translate <-0.5, -2.5, 0.9> rotate -x*13} } union { object { Box } // rotate -y*20 } height_field{ tga "C:\Program Files\POV-Ray for Windows v3.5\scenes\Mount1.tga" smooth texture{Cork scale 0.02 pigment{quick_color Tan} finish {ambient 0.10 diffuse 0.85 phong 0.1}} translate<-0.5,-0.75,-0.5> scale<205100,7550,200500> } difference { object { window_up scale <2.9,1.5,0.5> translate <-5, 3.9, 3> rotate -x*32 } object { invisibal_box scale <1, 1, 0.7> translate <-1., 5, -1> rotate -z*32} } difference { object { window1 scale <1,1.5,1.7> translate <-4,5.5,-2.2>rotate -z*30} object { invisibal_box scale <0.7, 1.5, 0.7> translate <1, 0.9, 0.5> rotate -x*31.7} } #declare b1 = union { difference{ box { <0, 0, 0>, <-1, 1, 1> } box { <-0.1, 0.8, 0.1>, <-0.9, 1.1, 0.9> } texture{Cork pigment{rgb <0.9, 0.85, 0.9>} normal { bumps 0.5 scale 0.0515} finish {ambient 0.45 diffuse 0.65 phong 1}} } } union { object {b1 scale <0,0.5,0> translate <3,0,-11>} object {b1 scale <0,0.5,0> translate <-4,0,-11> } object {b1 scale <0,0.5,0> translate <-11,0,-11> } object {b1 scale <0,0.5,0> translate <-17.5,0,-11> } object {b1 scale <0,0.5,0> translate <-23,0,-11>} object {b1 scale <0,0.5,0> translate <-25,0,-15> } } #declare b2 = box { <0, 0, 0>, <-0.4, 1, 0.5> texture{pigment { color rgb <0.9, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05}} } union { object { b2 scale<0.5,3,2> translate<0.4,4.5,-0.89>} object { b2 scale<0.5,3,2> translate<-2.8,4.5,-0.89>} object { b2 scale<0.5,3,2> translate<-6,4.5,-0.89>} object { b2 scale<0.6,2,2> translate<-9.2,4.5,-0.89>} object { b2 scale<0,3,2> rotate -y*90 translate<3.1,4.5,2.2> } } #declare steak = box { <0, 0, 0>, // Near lower left corner < 0.1,1, 0.1> // Far upper right corner texture { pigment { color rgb <0.7, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05} } } union { object { steak scale<0,3.5,0> translate<0,0,-0.1>} object { steak scale<0,3.6,0> translate<-3,0,-0.1>} object { steak rotate z*90 scale<15,4.3,> translate<3,0,-0.1>} object { steak scale<0,3.5,3> rotate y*90 translate<2.7,0,0>} object { steak scale<0,3,0> translate<5.5,0,4.9>} object { steak scale<0,3,0> translate<4,0,4.9>} object { steak rotate z*90 scale<10,4.3,> translate<7,0,4.95>} // object { b2 scale<0,4,0> translate<-2.7,4.5,-0.5>} // object { b2 scale<0,2,2> rotate -y*90 translate<3,4.5,1.5> } } #declare wall = box { <0, 0, 0>, <-1, 1, 1> texture{Cork pigment{color Grey} normal { bumps 0.5 scale 0.0515} finish {ambient 0.45 diffuse 0.5 phong 1}} } #declare wall1 = box { <-3, 0.00, -0.1>, < 3, 1.75, -0.0> texture{T_Old_Glass } // pigment{color White}} // texture { T1} // finish {ambient 0.1 diffuse 0.2 phong 1}} } #declare wall2 = cylinder { <5.5, 0, 0>, // Center of one end <-24, 0, 0>, // Center of other end 0.1 // Radius texture { pigment { color rgb <0.8, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05 }} } #declare wall3 = cylinder { <0, -0.41, 0>, // Center of one end <0, -2.5, 0>, // Center of other end 0.1 // Radius texture { pigment { color rgb <0.8, 0.59, 0.65> } normal {dents 0.6 } finish {phong 0.3 phong_size 60 metallic reflection 0.05 }} } union { object {wall scale<6,1,0.5> translate<9,0,-7>} object {wall1 scale<5.5,1,1> translate<-10,-2.5,-16> } object {wall2 translate<0,-0.65,-15.55> } object {wall3 translate<0,-0.55,-15.7> } object {wall3 translate<0,-0.4,-15.9> } object {wall3 translate<-2.5,-0.4,-15.9> } object {wall3 translate<-5,-0.4,-15.9> } object {wall3 translate<-7.5,-0.4,-15.9> } object {wall3 translate<-10,-0.4,-15.7> } object {wall3 translate<-12.5,-0.4,-15.9> } object {wall3 translate<-15,-0.4,-15.7> } object {wall3 translate<-17.5,-0.4,-15.9> } object {wall3 translate<-20,-0.4,-15.7> } object {wall3 translate<-22.5,-0.4,-15.9> } object {wall3 translate<-25,-0.4,-15.9> } object {wall3 translate<-27.5,-0.4,-15.9> } object {wall3 translate<-30,-0.4,-15.7> } }