// Exemplo de arquivo de descricao de cena para POV-ray // usar 'make' para plotar e 'make export' para enviar // Last edited on 2003-02-27 10:31:30 by stolfi background{ color rgb < 0.10, 0.13, 0.25 > } light_source { < 20, 10, -30.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, 0.00, -50.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, 0.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_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bola = sphere { <12.00, 5.00, 0.00 >, 6.00 texture { tinta_B } } //#declare cilindro = // cylinder{ // <0.00,-10.00, 0.00>, // <0.00,10.00, 10.00>, // 6.00 // texture{tinta_A} // } #declare mycone1 = cone { <0.00, -10.5, 0>, 5.0 // Center and radius of one end <0.00, 10, 10>, 6.0 // Center and radius of other end texture { tinta_A } } #declare mycone2 = cone { <-11.00, -10, 0>, 0 // Center and radius of one end <-13.00, 10, 10>, 6.0 // Center and radius of other end texture { tinta_B } } // Aqui está a cena, finalmente: union { object { bola } object { mycone1 } object { mycone2 } }