// Last edited on 2019-07-17 14:14:11 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_cor00 = texture{ pigment{ color rgb < 0.30, 1.00, 0.30 > } finish{ diffuse 0.8 ambient 0.1 specular 1.0 roughness 0.005 } } #declare tx_cor01 = texture{ pigment{ color rgb < 1.00, 0.20, 0.20 > } finish{ diffuse 0.6 ambient 0.1 specular 1.0 roughness 0.005 } } #declare tx_cor02 = texture{ pigment{ color rgb < 0.30, 0.30, 1.00 > } finish{ diffuse 0.5 ambient 0.1 specular 1.0 roughness 0.005 } } #declare tx_branco = texture{ pigment{ color rgb < 1.00, 1.00, 1.00 > } finish{ diffuse 0.5 ambient 0.8 specular 1.0 roughness 0.005 } } #declare my_prism = union{ difference{ prism { -0, 5.0, 6, <-1.3, 0.5>, <-1, 2>, <1.5, 2>, <2,1>, <1, 0.5>, <1.5, -0.5> } prism { -1, 6.0, 6, <-1.1, 0.7>, <-0.8, 1.8>, <1.3, 1.8>, <1.8, 1.2>, <0.8, 0.5>, <1.3, -0.3> } } light_source{<1.0, 5, 1> color rgb < 1.00, 1.00, 1.00 >} } #declare texto = object{ union{ difference{ box{< -1.0, -1.0 , 0.2>, <2.5, 1.5, 0.3> texture{tx_branco}} text{ ttf "arial.ttf" "OBA" 1 0} }} rotate <90, 0, 180> translate<1.5, -1, 0.0> } #declare projetor = union { object{ my_prism translate<1, 2 , -0.7> texture{tx_cor01}} object {texto} } #declare parede = box{< -1.0, -1.01 ,-1.0>, <2.0, -1.0, 2.0> texture{tx_branco}} #include "eixos.inc" box{< -10.0, -10.1 ,-10.0>, <10.0, -10.0, 10.0> texture{tx_cor02}} object{ projetor translate<0, 10 , 0.5> rotate <20, 0, 0>} #include "camlight.inc" #declare centro_cena = < 0.50, 1, 2 >; #declare raio_cena = 12.0; #declare dir_camera = < 0.50, 1, 0 >; #declare dist_camera = 5*raio_cena; #declare intens_luz = 1.20; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)