// Last edited on 2003-12-13 19:19:11 by stolfi #include "colors.inc" #include "stoneold.inc" #include "glass.inc" #include "metals.inc" #declare ctr = < 0.00, 0.00, 0.0 >; #declare camDir = < 20.00, 0.00, 4.00 >; camera { location ctr + 1.10*camDir right -1.00*x up 1.00*y sky z 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 corda 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 corda luz. } light_source { 10 * < 40, 10, 0> color rgb 0.8 * <1,1,1> } // ====================================================================== // DESCRIÇÃO DA CENA background{ color rgb < .6, 0.60, 1 > } sky_sphere{ pigment { image_map {"../txmaps/jwm8.png" map_type 1} scale -1 rotate <+60,0,0> } } #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0.80, 1.00, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_D = texture { pigment { color rgb < 1.00, 0.80, 1.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare chao = plane {z, -1 pigment { rgb <0.8,0.8,0.8> } } #declare bola = sphere { <0,0,0>, 10 pigment { image_map {"../txmaps/earth-land.png" map_type 1} scale -1 rotate <-90,0,0> } } #declare brobi = blob { threshold 0.35 sphere { <0,0,0>, 10, 1 } sphere { <0,clock*6,0>, 1.7, 1 } pigment { image_map {"../txmaps/earth-land.png" map_type 1} scale -1 rotate <-90,-20,140> } } object { brobi rotate <0,0,-40 - 60*clock> }