// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 1.00, 1.00, 1.00 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.71, 0.45, 0.19 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_plastico2 = texture{ pigment{ color rgb < 0.99, 0.0, 0.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #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 tx_xadrez2 = texture{ pigment{ checker color rgb < 0.60, 0.32, 0.10 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare tx_vidro = texture{ pigment{ color rgb < 0.85, 0.65, 1.00 > filter 0.50 } finish{ diffuse 0.03 ambient 0.02 specular 0.25 roughness 0.005 } } #declare raio = 2.000; #include "eixos.inc" #declare chao = box{ <-20,-20,-1>, <+20,+20,0> } #macro logotipo(texto,fase) #local n=strlen(texto); #local etapa=int(n*fase); #local frac=n*fase - etapa; #if (mod(etapa,2)) #local pin= -5; #else #local pin= 5; #end #local pfi = 0; #local obj=letra_entrando(substr(texto,1,etapa),0,pin,pfi,1); #local a=max_extent(obj); #local b=min_extent(obj); #local larg=a.y-b.y; union{ object{ letra_entrando(substr(texto,1,etapa),0,pin,pfi,1)} object{ letra_entrando(substr(texto,etapa+1,1),larg+0.1,pin,pfi,frac)} } #end #macro letra_entrando(letra,pos,pin,pfi,frac) object{ text{ ttf "bookos.ttf" letra .2, 0.0 scale<2,2,2> rotate<90,0,90> translate<0,-5+pos,pin+(pfi-pin)*frac>}} #end union{ object{ logotipo("Ola mundo!!",clock) } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 12; #declare dir_camera = < 12.00, 0.0, 3.00 >; #declare dist_camera = 11.00; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)