// CORES E TEXTURAS #declare tx_fosca = texture{ pigment{ color rgb < 1, 1, 1 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca2 = texture{ pigment{ color rgb < 1, 0, 1 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca3 = texture{ pigment{ color rgb < 0.3, 0.6, 0.154 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca4 = texture{ pigment{ color rgb < 1, 0, 0 > } finish{ diffuse 0.9 ambient 0.1 } } // ====================================================================== // DESCRIÇÃO DA CENA // Partes da cena: #include "eixos.inc" object{eixos(10)} union{ difference{ difference{ prism{ 0 11 5 <-19,-19>,<19,-19>,<19,19>,<-19,19>,<0,0> translate<-10,-10,-10> rotate<0,0,90> texture{tx_fosca} } prism{ 1 10 5 <-20,-20>,<20,-20>,<20,20>,<-20,20>,<0,0> translate<-10,-10,-10> rotate<0,0,90> texture{tx_fosca} } } text{ttf "arial.ttf" "OBA" 100 2.0 texture{tx_fosca} rotate<60,0,90> translate<10,0,0>} } light_source{<1,1,1> rgb <1,1,1> } } #include "camlight.inc" #declare centro_cena = < 0,0,0>; #declare raio_cena = 30; #declare dir_camera = < 4,1,3 >; #declare dist_camera = 5*raio_cena; #declare intens_luz = 1.20; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)