// Last edited on 2001-06-02 22:10:53 by stolfi // Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 02/06/2001 #include "colors.inc" background{ color rgb < 0.50,0.90, 0.90 > } light_source { < 12.00, 6.00, 15.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 1.00, 10.00, 12.00 > right <-0.60, 0.00, 0.00 > up < 0.00, 0.00, 0.80 > sky < 0.00, 0.00, 1.00 > look_at < 2.00, 2.00, 3.00 > } #declare raio = 2.000; #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.9 specular 0.5 roughness 0.05 ambient 0.1 } } #declare amarelo = texture { pigment { color rgb <1.0, 1.0, 0.0>} finish {diffuse 0.9 specular 0.5 roughness 0.050 ambient 0.0} } #declare branco = texture {pigment {color rgb <1.0, 1.0, 1.0> } finish {diffuse 0.9 specular 0.5 roughness 0.050 ambient 0.1} } #declare preto = texture {pigment {color rgb <0.0, 0.0, 0.0> } finish {diffuse 0.9 specular 0.5 roughness 0.050 ambient 0.1} } #declare azul = texture {pigment {color rgb <0.0, 0.2, 1.0> } } #declare verde = texture {pigment {color rgb <0.0, 1.0, 0.1>} finish {diffuse 0.75 specular 0.5 roughness 0.050 ambient 0.1} } # declare cor_cristal = azul #declare tx_cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001} pigment {color filter 1 Blue} } #declare cor_espelho = White declare tx_espelho = texture { pigment{rgb White} finish{ambient 0.05 diffuse 0.05 reflection White specular 0.20 roughness 0.05 } } #declare bola2 = cylinder { < 0.50, 1.50, 3.00 >, < 3.50, 1.50, 3.00>, 0.30 texture {branco} } #declare cone1 = cone { < 2.00, 2.0, 1.00 >,1.5 < 2.00, 2.0, 5.00 >, 0.50 texture { tx_cristal} } #declare remo = cylinder { < 2.00, 0.0, 4.00 >, //,,4 < 2.000, 2.00, 4.00 >, 0.10 texture { amarelo } } #declare orelha = torus {0.5, 0.15 texture {amarelo}} #declare suporte = box { <1, 4, 1>, < 6.5,0,2> texture {tx_espelho}} // Aqui está a cena, finalmente: //difference {object {remo} object {cone1}} union { object { cone1 hollow interior {ior 1.5}} //object { remo } //object { remo translate <0.0, 0.0,0.5> rotate 90*y} //object { remo translate <0.0, 1.5, 0.5> rotate 90 *y} //object { orelha translate <2,2,2> rotate 180*x } object {suporte translate <-2.0, 0,0> } difference { torus { 0.45, 0.25 rotate 90*z texture {preto} translate <1.0,0,5>} } difference { torus { 0.45, 0.25 rotate z*90 texture {preto} translate <1.0,2.5,5>} } } blob { threshold 0.75 sphere { <2.3,2.1,5>, 2, 1 texture {branco} } } plane { <0, 0,1>,-1 pigment { checker color White, color Blue} }