// Last edited on DATE TIME by USER // Processed by remove-cam-lights #macro quadro(tt) #include "colors.inc" #include "textures.inc" #include "woods.inc" #include "stones.inc" background{ color rgb <1-pow(sin(pi*tt),6), 1, 1 > } #declare tx_bolinha = texture{ pigment { color Red } finish { phong 1 } } #declare raioLogotipo = 1.000; #declare angulo = (40*cos(6*pi*tt)); #declare velocidade = 20; #declare comprAsa = 2.5; #declare larguraAsa = 1; #declare chao = box{ <-10,-10,-3>, <+20,+20,-2>} #declare asa = box { <0,0,0>, pigment { wood} } #declare bolinha = sphere { <0, 0, 0>, raioLogotipo texture { tx_bolinha } } #declare texto = text{ ttf "mtcorsva.ttf" "Carol" 0.2, 0.0 texture { Gold_Metal } finish { ambient .2 diffuse .6 phong .75 phong_size 25 } } #declare logotipo = union { object{ asa translate <-(comprAsa+raioLogotipo)+0.2, -larguraAsa/2, 0> rotate <0,angulo,0>} object{ bolinha } object{ asa translate <+raioLogotipo-0.2, -larguraAsa/2, 0> rotate <0,-angulo,0>} object{ texto rotate <90,0,0> translate <-1, -raioLogotipo+0.2, 0>} translate <-10, 0,0> } #include "eixos.inc" union{ object{ eixos(3.00) } object{ chao texture{Silver_Metal}} object{ logotipo translate } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 0.00 >; #declare raio_cena = 10.0; #declare dir_camera = < 0, -3.00, 1.50 >; #declare dist_camera = 10.0; #declare intens_luz = 2.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz) #end quadro(clock)