// 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 { < 4.00, 10.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 8.00, 4.00, 2.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 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 vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare vermelho_transparente = texture { pigment { color rgbt <1.00 0.00 0.00, 0.60> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare azul_transparente = texture { pigment { color rgbt <0.00 0.00 1.00, 0.60> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare preto = texture { pigment { color rgb <0.00 0.00 0.00> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare branco = texture { pigment { color rgb <1.00 1.00 1.00> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare branco_transparente = texture { pigment { color rgbt <1.00 1.00 1.00, 0.60> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare elipse_lataria = sphere { < 0.00, 0.00, 0.00 >, 2.00 texture { vermelho_transparente } scale <1.00, 2.00, 1.00> } #declare elipse_porta = sphere { < 1.25, -0.50, 0.15 >, 1.00 texture { branco_transparente } scale <1.00, 1.00, 1.50> } #declare elipse_vidro = sphere { < 0.90, 1.25, 0.50 >, 0.50 texture { azul_transparente } scale <1.00, 2.00, 1.00> } #declare esfera_roda1 = sphere { < 1.00, -0.75, -2.00 >, 0.50 texture { preto } } #declare esfera_roda2 = sphere { < 1.00, -0.40, -1.90 >, 0.50 texture { preto } } #declare esfera_roda3 = sphere { < 1.00, 2.00, -1.55 >, 0.50 texture { preto } } #declare esfera_roda4 = sphere { < 1.00, 2.35, -1.45 >, 0.50 texture { preto } } #declare esfera_helice = sphere { <0.00, 0.50, 2.00>, 0.25 texture { branco } } #declare box_pa1= box { <-1.00, 1.05, 1.85>, <1.60, 3.00, 2.00> texture {preto} rotate <0, 0, 10> } #declare box_pa2= box { <-1.00, -0.20, 1.85>, <1.60, -2.00, 2.00> texture {preto} } #declare box_macaneta= box { <-2.00, -1.75, -1.00>, <-2.50, -2.00, -1.25> texture {preto} } // Aqui está a cena, finalmente: union { object { elipse_lataria } object { elipse_porta } object { elipse_vidro } object { esfera_roda1 } object { esfera_roda2 } object { esfera_roda3 } object { esfera_roda4 } object {esfera_helice} object {box_pa1} object {box_pa2} object {box_macaneta} }