// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2020-11-27 05:09:34 by jstolfi // ====================================================================== // CORES E TEXTURAS #version 3.6; global_settings{max_trace_level 30} background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_black = texture{ pigment{ color rgb < 0.00, 0.00, 0.00 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_espelho = texture{ pigment{ color rgb < 1.000, 1.000, 1.000 > } finish{ diffuse 0.05 reflection 0.95*< 1.000, 1.000, 1.000 > ambient 0 } } #declare tx_caldeira = texture{ pigment{ color rgb < 1.000, 0.000, 0.000 > } finish{ diffuse 0 ambient 1 } } // ====================================================================== // DESCRIÇÃO DA CENA #declare caldeira = box { <0.1, -0.1, -0.1>, <-0.1, 0.1, 0.1> texture { tx_caldeira } } #declare suporte = cylinder { <0,0,0>, <0,0,0.3>, 0.01 texture { tx_black } } #declare espelho = box { <0.2, -0.2, -0.02>, <-0.2, 0.2, 0.02> texture { tx_espelho } } // Aqui está a cena, finalmente: #include "eixos.inc" #include "frontal.inc" #include "textures.inc" #include "direcao_do_sol.inc" #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 0.20 >; #declare raio_cena = 1.0; #declare dir_camera = < 1.00, 1.00, 0.50 >; #declare dir_camera = direcao_do_sol(-22.8,-19,16*clock+4); #declare dist_camera = 2*raio_cena; #declare intens_luz = 1.20; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz) union{ object { box { < -18, -18, -0.1 >, < +18, +18, 00.0 > texture{ Rust } } } object { caldeira translate <0,0,0.3> } object { suporte} object { espelho rotate <45,0,0> translate <0,0.5,0.1> } object { suporte scale 0.70 translate <0,0.6,0> } object { espelho rotate <-45,0,0> translate <0,-0.5,0.1> } object { suporte scale 0.70 translate <0,-0.6,0> } object { espelho rotate <0,45,0> translate <-0.3,0.25,0.1> } object { suporte scale 0.70 translate <-0.4,0.25,0> } object { espelho rotate <0,45,0> translate <-0.3,-0.25,0.1> } object { suporte scale 0.70 translate <-0.4,-0.25,0> } object { espelho rotate <0,-45,0> translate <0.3,0.25,0.1> } object { suporte scale 0.70 translate <0.4,0.25,0> } object { espelho rotate <0,-45,0> translate <0.3,-0.25,0.1> } object { suporte scale 0.70 translate <0.4,-0.25,0> } }