// Last edited on 2003-12-13 21:28:42 by stolfi // Last edited on DATE TIME by USER #include "colors.inc" #include "skies.inc" #declare ctr = <0, 2, 0>; #declare camDir = <0, -1, -4>; camera { location ctr + 1.30*camDir right 1.00*x up 1.00*y sky y look_at ctr } light_source { 10 * < +50.0, +30.0, -50.0 > // Posição da lâmpada. color rgb 1.2 * < 1.00, 1.00, 1.00 > // Intensidade e cor da luz. } light_source { 10 * < +50.0, -10.0, -10.0 > // Posição da lâmpada. color rgb 0.8 * < 1.00, 1.00, 1.00 > // Intensidade e cor da luz. } // ====================================================================== // DESCRIÇÃO DA CENA background{ color rgb < 0.05, 0.10, 0.15 > } sky_sphere { pigment { gradient y color_map { [ 0.5 color CornflowerBlue ] [ 1.0 color MidnightBlue ] } scale 2 translate -1 } rotate -135*x } object { blob{ #declare th = 0.6 + clock/10; #if (th < 0.68) threshold th #else threshold 0.68 #end sphere { 2*y, .4 , 2 texture{ pigment { color Green } finish { diffuse 0.9 ambient 0.1 specular 0.1 roughness 0.05 } } translate 1*x rotate -45*x } sphere { 2*y, .3 , 2 texture{ pigment { color Green } finish { diffuse 0.9 ambient 0.1 specular 0.1 roughness 0.05 } } translate 1.3*x rotate -50*x } sphere { 2*y, 7 , 0.8 texture{ pigment{ image_map {"../txmaps/earth-land.png" map_type 1 } translate <1,2,0> } finish { diffuse 0.9 ambient 0.1 specular 0.1 roughness 0.05 } } rotate -180*y rotate 15*z } } }