// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2003-02-27 10:14:55 by stolfi background{ color rgb < 0.10, 0.13, 0.25 > } light_source { < 0.00, 0.00, -20.00 > color rgb < 1.00, 1.00, 1.00 > } light_source { < 10.00, 10.00, -2.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < -1.00, 8.00, -20.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 3.00, 0.00 > } #declare raio = 2.000; #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_C = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.2 roughness 0.005 ambient 0.1 } } #declare corpo = box { <-3.8, -4.5, -1.5>, // Near lower left corner < 3.8, 4.5, 1.5> // Far upper right corner texture { tinta_A } // rotate y*20 // Equivalent to "rotate <0,20,0>" } #declare cabe = sphere { < 0.00, 6.5, 0 >, 1.5 texture { tinta_C } } #declare pesco = cylinder { < 0.00, 4.4, 0 >, < 0.00, 5.6, 0 >, 0.7 texture { tinta_C } } #declare brae = cylinder { < -3.6, 4.0, 0 >, < -4.8, -1.8, -1.7 >, 0.7 texture { tinta_C } } #declare antebrae = cylinder { < -4.8, -1.8, -1.7 >, < 1.1, -1.90, -2.0 >, 0.6 texture { tinta_C } } #declare brad = cylinder { < +3.8, 4.0, 0 >, < +5, -2, -2 >, 0.7 texture { tinta_C } } #declare antebrad = cylinder { < +5, -2, -2 >, < -1.4, -1.50, -2.0 >, 0.6 texture { tinta_C } } #declare olhoe = union { sphere { < 0.71, 7, -1.11 >, 0.2 texture { tinta_A } } torus { 0.2, 0.1 // major and minor radius translate 0.71*x translate 7.34*y translate -0.9*z texture { tinta_C } } } #declare olhod = union { sphere { < -0.71, 7, -1.11 >, 0.2 texture { tinta_A } } torus { 0.2, 0.1 // major and minor radius translate -0.71*x translate 7.34*y translate -0.9*z texture { tinta_C } } } // Aqui está a cena, finalmente: union { union { union { object { cabe } union { object { olhoe } object { olhod } } } object { pesco } object { corpo } } union { object { brae } object { antebrae } } union { object { brad } object { antebrad } } }