// Sunset #include "colors.inc" // Standard Color definitions #include "textures.inc" // Standard Texture definitions #include "skies.inc" #include "geomorph.inc" // #declare light=<1,0.97,0.94>; #declare light=<1,0.7,0.7>; global_settings {ambient_light light} #declare rock_color = <0.72,0.56,0.3> ; // #declare horiz_sky_color = <0.6,0.7,1.0>; #declare horiz_sky_color = <0.9,0.5,0.3>; #declare sand_plane = plane {y,0 texture { pigment {colour rock_color } finish { ambient 0.15 diffuse 0.8 specular 0.0 } scale 0.5 } } #declare sun= sphere {<0,1,0>,300 pigment{rgb light + <0,0.1,0>} finish {ambient 1} } #declare maincamera = camera { location <0, 0, -0.1> // angle gl_angle up y // which way is +up right aspect_ratio*x // which way is +right and aspect ratio look_at <0, 0, 0> // point center of view at this point } #declare water = plane {y, 0 texture { // pigment {color rgbf<0.0,0.6,0.5,0.5>+<0.0,0.1,-0.1,0.5>} //<0.6,0.8,1> pigment {color rgbt<0.0,0.1,0.6,0.7> } normal {bumps 0.1 translate clock scale 3*<2.5,1,1> rotate <0,-30,0>} finish {specular 0.9 roughness 0.05 reflection 0.8 ambient 0.0 diffuse 0.4 refraction 1 ior 1.33 caustics 1} } } sky_sphere { pigment { gradient y color_map { [0 color rgb horiz_sky_color] [0.04 color horiz_sky_color - <0.33, 0.33, 0.33>] [0.06 color horiz_sky_color - <0.38, 0.38, 0.38>] [0.08 color horiz_sky_color - <0.41, 0.41, 0.41>] [0.1 color horiz_sky_color - <0.44, 0.44, 0.44>] [0.12 color horiz_sky_color - <0.48, 0.48, 0.48>] [0.15 color horiz_sky_color - <0.53, 0.53, 0.53>] [0.19 color horiz_sky_color - <0.57, 0.58, 0.58>] [0.23 color horiz_sky_color - <0.58, 0.63, 0.62>] [1.0 color <0.0, 0.02, 0.4>] } scale 2 translate 0 } } // Clouds sphere - sky_sphere is the background // plane { y,1000 sphere { <0,0,0>, 10000 texture { pigment { granite turbulence 0.1 color_map { [0.4 rgbt <0,0,0,1>] [1.0 rgb 0.9] } } finish {ambient 1} scale <2000,1000,2000> rotate 35*y } no_shadow hollow } #declare hf = height_field { png main_terrain smooth scale < 1.0, 0.3, 1.0 > translate <-.5, 0.0, -.5> } #declare Sun = light_source { 0*x // light's position (translated below) color rgb light // light's color looks_like {sun} } #declare Fog = fog { fog_type 2 distance 1.5 color rgb horiz_sky_color transmit 0.05 fog_offset 0.05 fog_alt 0.04 turbulence 30.0 // Very high value, because the camera is near the HF } /**********************************************************************************************/ object {hf scale <1.0,1.4,1.0> translate y*-0.01 texture {pigment {color rock_color } } } object {sand_plane rotate y*rot_y scale 0.015 translate <0,0,0> } // object {water scale 0.1*<1,1,1> translate y*-0.7} fog {Fog} light_source {Sun translate <-6550,720, 15000>} camera {maincamera translate <0+tr_x,0.05+tr_y,tr_z> rotate }