// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 20.00, 10.0, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 20.00,10.00, 20.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare tinta_A = texture { pigment { color rgb < 1.00, 0.00,0.00 > } // vermelho (cubo) finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } // amarelo (cilindro) finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0.00, 0.00, 1.00 > } // azul (Cone) finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare cubo = box { < 3.00, 1.3 , 2.50> < 4.00, 2.70 , 3.50> texture { tinta_A } } #declare furo = cylinder { < 2.00, 2.00, 0.00 > < 2.00, 2.00, 6.00 > 0.50 texture { tinta_B } } #declare cone1 = cone { < 2.00, 6.00, 6.0 >, 0.2 < 2.00, 6.00, 8.00 >, 0.60 texture { tinta_C } } // Aqui está a cena, finalmente: object {cubo} object {furo} object {cone1}