// MC930 - POV-Ray, Exercicio 9 // Last edited on 2003-05-31 15:18:54 by stolfi // Fabio de Souza Azevedo - RA 952215 // Aula de 20/05/2003 #include "colors.inc" #declare imgname = "falcao.gif"; #declare ctr = < 0.0, 3.0, 0.0 >; camera { location ctr + 2.0 * < 0.0, 5.0, -23.0 > right 1.0*x up 0.50*x sky y look_at ctr } light_source { 10*< -10.0, 25.0, -40.0 > color 1.2*White } light_source { 10*< +10.0, 15.0, -40.0 > color 0.8*White } light_source { 10*< +3.0, 5.0, -40.0 > color 0.4*White } background { color rgb < 0.07, 0.30, 0.30 > } #declare plano = plane { <0,1,0>, -4.0 pigment { rgb <0.75, 0.75, 1.0> } } #declare orelha = cylinder { <-5.7, 0.0, 0.0>, <+5.0, 0.0, 0.0>, 1.35 } #declare tronco = cylinder { <-6.7, 0, 0>, <+6.7, 0, 0>, 2.3 } #declare cabeca = union { blob { threshold .35 cylinder { <0.0, 0.0, 0.0>, <0.0, 2.0, 0.0>, 6.0, 1 } sphere { <2.0, 7.0, 0.0>, 7.0, 5.0 } /* pigment ... */ } object { orelha rotate <0, 0, -14> translate <1.2, 6.1, -2> } } #declare busto = union { object { tronco translate <0.0, -0.5, -2.0>} object { cabeca } pigment { image_map {gif imgname } scale <15.0, 15.0, 0.0> translate <-6.5, -2.0, 0.0 > } } // Aqui está a cena, finalmente: object { plano } object { busto } object { busto rotate +53*y translate -15*x } object { busto rotate -53*y translate +15*x }