global_settings{ assumed_gamma 1.0 } #default{ finish{ ambient 0.1 diffuse 0.9 }} #include "colors.inc" #include "textures.inc" #include "shapes.inc" #include "axis.inc" #declare Camera_0 = camera{ angle 90 right x*image_width/image_height location <1 , 1.0 ,-4.0> look_at <1.2 , 2.0 , 0.0> translate <0, 0, (clock)*15> } camera{Camera_0} light_source{<1500,2500,-2500> color rgb<1,1,1> } plane{<0,1,0>,1 hollow // texture{ pigment {color rgb<0.1,0.3,0.75>*0.7} #if (version = 3.7 ) finish {emission 1 diffuse 0} #else finish { ambient 1 diffuse 0} #end } texture{ pigment{ bozo turbulence 0.75 octaves 6 omega 0.7 lambda 2 color_map { [0.0 color rgb <0.95, 0.95, 0.95> ] [0.05 color rgb <1, 1, 1>*1.25 ] [0.15 color rgb <0.85, 0.85, 0.85> ] [0.55 color rgbt <1, 1, 1, 1>*1 ] [1.0 color rgbt <1, 1, 1, 1>*1 ] } translate< 3, 0,-1> scale <0.3, 0.4, 0.2>*3 } #if (version = 3.7 ) finish {emission 1 diffuse 0} #else finish { ambient 1 diffuse 0} #end } scale 10000 } fog{ fog_type 2 distance 1000 color rgb<1,1,1>*0.9 fog_offset 0.1 fog_alt 20 turbulence 1.8 } plane { <0,1,0>, 0 texture{ pigment{color rgb<0.35,0.65,0.0>*0.8} normal {bumps 0.75 scale 0.015} finish {ambient 0.1 diffuse 0.8} } } // street union{ // asphalt box{ <-3.00, 0.00,-500>,< 3.00, 0.0005, 500> texture{ pigment{ color rgb<1,1,1>*0.1} normal { bumps 0.5 scale 0.005} finish { phong 0.5} } } // street lines union{ #local Nr = -500; #local EndNr = 500; #while (Nr< EndNr) box{ <-0.1, 0.00, 0>,< 0.1, 0.0015, 1.50> texture{ pigment{ color rgb<1,1,1>*1.1} finish { phong 0.5} } translate<0,0,Nr*3.00>} #local Nr = Nr + 1; #end } rotate<0,0,0> translate<0,0,0> } box{ <-8.00, 0.00,-7>,< 8.00, 0.0005, 7> texture{ pigment{ color rgb<1,1,1>*0.1} normal { bumps 0.5 scale 0.005} finish { phong 0.5} } translate<25,0,17> } sphere { <0, 1, 2>, .2 // coordinates for center and //number of units for radius texture { pigment { color Red } } translate<8,-.8,12> } sphere { <0, 1, 2>, .2 // coordinates for center and //number of units for radius texture { pigment { color Red } } translate<23,-.8,16> } sphere { <0, 1, 2>, .2 // coordinates for center and //number of units for radius texture { pigment { color Red } } translate<21,-.8,13> } sphere { <0, 1, 2>, .2 // coordinates for center and //number of units for radius texture { pigment { color Red } } translate<26,-.8,10> } sphere { <0, 1, 2>, .2 // coordinates for center and //number of units for radius texture { pigment { color Red } } translate<19,-.8,9> }