// MC930 - POV-Ray, Exercicio 2 // Fabio de Souza Azevedo - RA 952215 // Aula de 11/03/2003 // (Terminado em casa em 18/03/2003) background { color rgb < 0.15, 0.30, 0.07 > } /* // Para ver o virus de lado camera { location <0.0, 0.0, -3.5> // -20.0 look_at < 0.00, 0.00, 0.00 > } */ // Para ver o virus meio em perspectiva camera { location <1.7, 1.0, -3.0> // -20.0 look_at < 0.00, 0.00, 0.00 > } light_source { < 0.00, 5.00, -10.00 > color rgb < 1.00, 1.00, 1.00 > } // Exemplo do POV: #include "colors.inc" #declare blob_corpo = blob { threshold .35 sphere { <-1.0, 0, 0>, 1.3, 1 pigment {Yellow} } sphere { <0.8,0,0>, 1.0, 1 pigment {Blue} } cylinder { <-.75,0,0>, <.75,0,0>, 0.7, 1 } pigment {Green} finish { phong 1 } } #declare blob_garra_dir = blob { threshold .35 sphere { <0.6, 0, -0.4>, 0.5, 1 pigment {Blue} } sphere { <1.2, 0, -1.0>, 0.4, 1 pigment {Yellow} } cylinder { <0.7,0,-0.5>, <1.1,0,-0.9>, 0.3, 1 } pigment {Green} finish { phong 1 } } #declare blob_garra_esq = blob { threshold .35 sphere { <0.6, 0, 0.4>, 0.5, 1 pigment {Blue} } sphere { <1.2, 0.4, 1.0>, 0.4, 1 pigment {Yellow} } cylinder { <0.7, 0, 0.5>, <1.1, 0.3, 0.9>, 0.3, 1 } pigment {Green} finish { phong 1 } } // Aqui está a cena, finalmente: object { blob_corpo } object { blob_garra_dir } object { blob_garra_esq }