// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2023-09-13 16:41:41 by stolfilocal // ====================================================================== // CORES E TEXTURAS background{ color rgb < 0.85, 0.85, 0.85 > } #declare marrom = texture{ pigment{ color rgb 1.8*< 0.33 0.16, 0.02 > } finish{ diffuse 0.9 ambient 0.1 } } #declare vidro = texture{ pigment{ color rgb < 0.85, 0.95, 1.00 > filter 0.70 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } // ====================================================================== // DESCRI��O DA CENA #declare raio = 2.000; #declare h_plank = box{ <0,0,0>,<20,4,20> texture{marrom} } #declare v_plank = box{ <0,0,0>,<20,20,4> texture{marrom} } #declare hole= sphere{ <0,0,0>,2 texture{vidro} } #declare cyl_leg= cylinder{ <0,0,0>,<0,0,-10>,1 texture{marrom} } #declare con_leg= cone{ <0,0,0>,1,<0,0,-10>,0 texture{marrom} } #declare foot= intersection { box{<0,0,0>,<2,2,2> texture{marrom}} box{<1,1,1-sqrt(2)/2>,<2,2,1+sqrt(2)/2> texture{marrom}} } #include "eixos.inc" // object{ eixos(30) } union{ difference{ difference{ object{h_plank translate<0,0,0> texture{marrom}} object{hole translate<5,4,12>} } object{hole translate<15,4,12>} } object{v_plank translate<0,0,0> texture{marrom}} object{cyl_leg translate<2,2,0> texture{marrom}} object{cyl_leg translate<18,18,0> texture{marrom}} object{con_leg translate<2,18,0>} object{con_leg translate<18,2,0>} } #include "camlight.inc" #declare centro_cena = < 10.00, 10.0, 5.00 >; #declare raio_cena = 30.0; #declare dir_camera = < 5.00, 7.00, 4.00 >; #declare dist_camera = 5*raio_cena; #declare intens_luz = 1.20; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)