// Last edited on DATE TIME by USER // Processed by remove-cam-lights #macro quadro(tt) #include "eixos.inc" #include "retalho.inc" #include "camlight.inc" #declare centro_cena = < 0.00, 00.00, 0.00 >; #declare raio_cena = 50; #declare dir_camera = < 101.0, 50.0, 30.10 >; #declare dist_camera = 50.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz) background{ color rgb < 0.75, 0.80, 0.85 > } #declare marrom = texture{ pigment{ color rgb < 0.9, 0.2, 0.2 > } finish{ diffuse 0.8 ambient 0.01 specular 0.5 roughness 0.005 } } #declare tx_bandeira = texture{ uv_mapping pigment{ image_map{jpeg "bandeira.jpg" } translate<-1/2,-1/2,0> rotate -90*z translate<1/2,1/2,0> } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_grito = texture{ pigment{ image_map{jpeg "grito.jpg" } translate<-1/2,-1/2,0> rotate -90*z } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005} } #declare lol = texture{ pigment{ color rgb < 0.0, 0.5, 0.8 > } finish{ diffuse 0.8 ambient 0.01 specular 0.5 roughness 0.005 } } #declare verde = texture{ pigment{ color rgb < 0.15, 0.90, 0.15 > } finish{ diffuse 0.8 ambient 0.01 specular 0.5 roughness 0.005 } } #declare tx_plastico = texture{ pigment{ color rgb < 0.80, 0.90, 0.90 > } finish{ diffuse 0.8 ambient 0.01 specular 0.5 roughness 0.005 } } #declare tx_plastico2 = texture{ pigment{ color rgb < 0.90, 0.90, 0.90 > } 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_fosca2 = texture{ pigment{ color rgb < 0.50, 0.50, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_espelho = texture{ pigment{ color rgb < 1.00, 0.85, 0.30 > } finish{ diffuse 0.2 reflection 0.7*< 1.00, 0.85, 0.30 > ambient 0.1 } } #declare tx_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.05 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.10, 0.32, 0.60 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare raio = 10.000; #declare ctt = cos(2*pi*tt); #declare stt = sin(2*pi*tt); #local a11 = <0,0, 0>; #local a12 = <0,4,-3>; #local a13 = <0,8,-3>; #local a14 = <0,12,-3>; #local a21 = < 0,0,0>; #local a22 = < 3,4,-2>; #local a23 = < 4,8,-2>; #local a24 = <0,12,-2>; #local a31 = < 0,0,0>; #local a32 = < 2,4,5>; #local a33 = < 2,8,2>; #local a34 = <0,12,2>; #local a41 = < 0,0,0>; #local a42 = < 2,4,3>; #local a43 = < 2,8,3>; #local a44 = <0,12,3>; #local b11 = < 3,16,-3>; #local b12 = < 3,20,-3>; #local b13 = < 3,24,-3>; #local b14 = < 3,28,-3>; #local b21 = < 5,16,-2>; #local b22 = < 5,20,-2>; #local b23 = < 5,24,-2>; #local b24 = < 5,28,-2>; #local b31 = < 2,16,2>; #local b32 = < 2,20,2>; #local b33 = < 2,24,2>; #local b34 = < 2,28,2>; #local b41 = < 1,16,3>; #local b42 = < 1,20,3>; #local b43 = < 1,24,3>; #local b44 = < 1,28,3>; #local c11 = < 3,32,-3>; #local c12 = < 3,34,-3>; #local c13 = < 3,36,-3>; #local c14 = < 0,36,0>; #local c21 = < 5,32,-2>; #local c22 = < 5,34,-2>; #local c23 = < 5,36,-3>; #local c24 = < 0,36,0>; #local c31 = < 2,32,2>; #local c32 = < 2,34,2>; #local c33 = < 2,36,12>; #local c34 = < 0,36,0>; #local c41 = < 1,32,3>; #local c42 = < 1,34,3>; #local c43 = < 1,36,3>; #local c44 = < 0,36,0>; #declare haste = cylinder{<0,0,0><0,0,2> 0.1} #declare asa = box{<-1,-1,-1><1,1,1>} #macro deform1(p) #local cons = 2*sin(pi+p.y/18);