// Last edited on 2019-07-17 14:12:55 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.20, 0.40, 0.60 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_alt = texture{ pigment{ color rgb < 0.10, 0.40, 0.20 > transmit 0.91 } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_alt2 = texture{ pigment{ color rgb < 0.70, 0.40, 0.50 > transmit 0.81 } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.50, 0.32, 0.60 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 3.0 } #declare Red = texture{ pigment { color rgb <1.00, 0, 0 > } finish {diffuse 0.9 ambient 0.1} } #declare raio = 1.500; #declare chao = box{ <-9,-12,-1>, <+9.0,+12,0> } #macro anima() #union { light_source{ <0,0,2>, rgb <1,1,1>} difference { difference{ object{ prism{ linear_spline 0,4,7, <2,4>,<-2,4>,<-4,0>,<-2,-4>,<2,-4>,<4,0>,<2,4> texture {tx_plastico} } } object{ prism{ linear_spline 0,4,7, <2,4>,<-2,4>,<-4,0>,<-2,-4>,<2,-4>,<4,0>,<2,4> texture {tx_plastico} scale 0.9 } } } text{ ttf "arial.ttf" "GG" 5, 0 texture {Red} translate <-1,0,1> rotate <0,90,90> scale 3 } } } #end #include "eixos.inc" object { eixos(4.00) translate <-6,0,-5> scale 2} object{ chao translate <0,0, -10> rotate <0,0,0> texture {tx_fosca} } object{anima() rotate <-60,0,0>} #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 40.0; #declare dir_camera = < 14.00, 18.00, 4.00 >; #declare dist_camera = 4*raio_cena; #declare intens_luz = 1.20; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)