// Trabalho de laboratorio numero 2 // Decoraçao Genetica // MP004 -1s/2001 // Aluna: Simone da Silva Amorim background{ color rgb < 0.97, 0.95, 0.00 > } light_source { < 8.00, 2.00, 4.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 8.00, 2.00, 2.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare cabeca = blob { threshold .65 //antenas cylinder { <0,-0.5,2>, <0,-0.5,3.3>, 0.10,1 pigment {color rgb <1,0,0>} } cylinder { <0,0,2>, <0,0,3.3>, 0.10,1 pigment {color rgb <1,0,0>} } cylinder { <0,0.5,2>, <0,0.5,3.3>, 0.10,1 pigment {color rgb <1,0,0>} } //pontas das antenas sphere { < 0, -0.5, 3.3 >, 0.20 ,1 pigment {color rgb <0,0,1 >} } sphere { < 0, 0, 3.3 >, 0.20 ,1 pigment {color rgb <0,0,1 >} } sphere { < 0, 0.5, 3.3 >, 0.20 ,1 pigment {color rgb <0,0,1 >} } //nariz cylinder { <1,0,2>, <1.5,-0.25,2>, 0.25, 0.95 } //cabeca sphere { <0,0,2>, 2 ,1 pigment {color rgb <0,1,0 >} } //olhos sphere { < 1, -0.1, 2.5 >, 0.15 ,1 pigment {color rgb <1,0,0 >} } sphere { < 1, 0.45, 2.5 >, 0.15 ,1 pigment {color rgb <1,0,0 >} } pigment {color rgb <0,0,1> } } #declare corpo= blob { threshold .65 cylinder { <0,0,1>, <0,0,0>, 1, 1 } sphere { <0,0,-1>, 3 ,1 pigment {color rgb <1,1,0> } } sphere { <1.5,0,-0.5>, 0.4 ,1 pigment {color rgb <1,0,0> } } cylinder { <1,0.8,1>, <1,1.5,0>, 0.45, 1 pigment {color rgb <0,1,0> }} cylinder { <-1,-1,1>, <-1,-1.5,0>, 0.45, 1 pigment {color rgb <0,1,0> }} cylinder { <0,0.5,-1>, <0,1,-3.5>, 0.45, 1 pigment {color rgb <0,1,0> }} cylinder { <0,-0.5,-1>, <0,-1,-3.5>, 0.45, 1 pigment {color rgb <0,1,0> }} sphere { <0,1,-3.5>, 0.6 ,1 pigment {color rgb <1,0,0> } } sphere { <0,-1,-3.5>, 0.6 ,1 pigment {color rgb <1,0,0> } } sphere { <-1,-1.5,0>, 0.6 ,1 pigment {color rgb <1,0,0> } } sphere { <1,1.5,0>, 0.6 ,1 pigment {color rgb <1,0,0> } } pigment {color rgb <1,1,0> } } // Aqui está a cena, finalmente: object { corpo} object { cabeca}