#include "colors.inc" #include "metals.inc" #include "woods.inc" #include "glass.inc" #include "skies.inc" light_source { < 15.00, 0, 20.00 > color rgb < 2.00, 2.00, 2.00 > } light_source { < 0.00, 0, 20.00 > color rgb < 2.00, 2.00, 2.00 > } light_source { < 30.00, 0, 20.00 > color rgb < 2.00, 2.00, 2.00 > } #declare camX=0; #declare camY=0; #declare camZ=4; light_source { < camX, camY, camZ > color rgb < 2.00, 2.00, 2.00 > } camera { location right < 3, 0.00, 0.00 > up < 0.00, 1.00, 0.00 > sky < 0.00, 0.00, 1.00 > look_at < 0, 0.00, 0.00 > } #declare voltas_T=1; #declare voltas_o=2; #declare voltas_r=1; #declare voltas_oagudo=2; #declare voltas_i=1; #declare voltas_d=2; #declare voltas_e=1; #declare voltas_s=2; #declare voltas_torus=1; #declare ajuste=0.35; #declare letra_T = object { text { ttf "arial.ttf" "T" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_o = object { text { ttf "arial.ttf" "o" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_r = object { text { ttf "arial.ttf" "r" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_oagudo = object { text { ttf "arial.ttf" "o" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_i = object { text { ttf "arial.ttf" "i" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_d = object { text { ttf "arial.ttf" "d" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_e = object { text { ttf "arial.ttf" "e" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letra_s = object { text { ttf "arial.ttf" "s" 0.15,0 pigment{White} } translate <-ajuste,0,0> rotate <0,180+voltas_T*360*clock,180> translate < ajuste,0,0> } #declare letreiro = union { object{letra_T} object{letra_o translate <1,0,0>} object{letra_r translate <2,0,0>} object{letra_oagudo translate <3,0,0>} object{letra_i translate <4,0,0>} object{letra_d translate <5,0,0>} object{letra_e translate <6,0,0>} object{letra_s translate <7,0,0>} } #declare radio=0.7; #declare toroide= object{ torus{ radio,radio/4 pigment{ Yellow} } rotate <90,voltas_torus*360*clock,90> } #declare cena= union{ object{letreiro translate <-14 +10*clock,1,0>} object{toroide translate <0,-1.5,0> scale <1,0.5,1>} } cena