// Last edited on 2019-07-17 14:24:06 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0, 0, 0> } #declare tx_plastico_branco = texture{ pigment{ color rgb < 1.0, 1.0, 1.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_plastico_preto = texture{ pigment{ color rgb < 0.0, 0.0, 0.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_plastico_vermelho = texture{ pigment{ color rgb < 0.90, 0.20, 0.10 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_plastico_azul = texture{ pigment{ color rgb < 0.1, 0.2, 0.9 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_plastico_laranja = texture{ pigment{ color rgb < 1.0, 0.55, 0.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #include "eixos.inc" union{ light_source { <0, 0, 0>, rgb <1,1,1> } difference{ object{ difference{ prism { linear_spline 0, 2, 9, <1,0>, <2,0>, <3,1>, <3,2>, <2,3>, <1, 3>, <0, 2>, <0, 1>, <1, 0> texture{ tx_plastico_laranja } } prism { linear_spline 0, 2, 9, <1.1,0.1>, <1.9,0.1>, <2.9,1.1>, <2.9,1.9>, <1.9,2.9>, <0.9, 2.9>, <0.1, 1.9>, <0.1, 1.1>, <1.1, 0.1> texture{ tx_plastico_laranja } } } rotate <90, 0, 90> translate <-1.5, -1.5, -1.0> } object{ text { ttf "arial.ttf" "A" 5, 0 texture { tx_plastico_preto } } translate <-0.25, -0.5, -0.5> rotate <90, 0, 90> } } object{ box{ <4, -4, -4>, <4.02, 4, 4> texture { tx_plastico_branco } } rotate <90, 0, 0> } rotate <0, 0, 90 + 45> } #include "camlight.inc" #declare centro_cena = < 0.50, 0.50, 0.50>; #declare raio_cena = 5.0; #declare dir_camera = < 45, 30, 10 >; #declare dist_camera = 5*raio_cena; #declare intens_luz = 1.20; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)