// MC930 - Laboratorio 10 - Blobs // Martim Carbone - RA:002193 camera { location 1.2*< 10, 3, -3 > right <1.0,0,0> up <0,0.75,0> look_at < 4, 0, 0 > sky <0,1,0> } light_source { <10, 0, 0> color rgb <1, 1, 1>} light_source { <-8, 0, 0> color rgb <1, 1, 1>} background{ color rgb < 0, 0, 0.2 > } #declare textura = "textura.png"; #declare temp_globo = 2; #declare temp_brasil = 1; #declare x_coord = 5 + clock*2; plane { <1,0,0>, -10 pigment { image_map {gif "starry.gif"} rotate 90*y } finish{ambient rgb <1,1,1>} } blob { threshold 0.3 // O mundo sphere { <0,0,0>, 8, temp_globo } // Componente 1 sphere { <0,0,0>, 1, temp_brasil scale 2*z translate } // Componente 2 sphere { <0,0,0>, 0.8, temp_brasil translate } // Componente 3 sphere { <0,0,0>, 0.5, temp_brasil translate } // Componente 4 sphere { <0,0,0>, 0.8, temp_brasil translate } pigment { image_map {png textura map_type 1} rotate <0,125,11> scale 2 } finish{ ambient rgb <1,1,1>} }