################################################## # global setting # ################################################## global_setting { max_trace_level 3 output_width 1024 output_height 768 #antialiasing 10 #aa_threshold 0.2 } ################################################## # background # ################################################## background{ color <0.2,0.2,0.8> } ################################################## # light_source # ################################################## light_source { location <3,-5,0> color <1.0,1.0,1.0> } light_source { location <2,1,0> color <1.0,1.0,1.0> } light_source { AMBIENT color <1,1,1> } ################################################## # camera # ################################################## camera{ location <0.2,0,-0.1> look_at <0,0,1> field_of_view 130 } ################################################## # la sphere premier plan # ################################################## sphere{ 2.5 finish { ambient 0.3 diffuse 0.3 specular 0.9 shininess 50 reflection 0.5 } transform { translate <-1,0,4> } pigment{ color <1.0,0.0,0.0> } } ################################################## # l'ocean # ################################################## plan { finish { ambient 0.2 diffuse 0.4 specular 0.8 shininess 40 transparency 0.0 reflection 0.7 } transform { translate <-2,0,0> } pigment{ color <0.1,0.1,0.5> } normal { perlin { 0.4,0.4,1,3 scale <15,5,15> } } } ################################################## # les ciel # ################################################## plan { finish { ambient 0.2 diffuse 0.4 specular 0.0 shininess 0 transparency 0.5 } transform { translate <1000,0,0> } pigment{ perlin { 0.5,0.5,2,0.5 color_map { [0.0 color <1.0,1.0,1.0>] [0.1 color <0.2,0.2,0.8>] [0.2 color <0.0,0.0,0.5>] [1.0 color <1.0,1.0,1.0>] } } scale <0.001,0.001,0.001> } }