// Last edited on DATE TIME by USER // Processed by remove-cam-lights #macro quadro(tt) #include "eixos.inc" 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 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); #macro peh() union { object { cylinder {<0,0,0> <0,4,0> 0.5}} rotate<30+30*stt,0,0> } #end #macro anteperna() union { object{peh() texture{tx_fosca}} object{cylinder{<0,0,0> <0,0,4> 0.5}} translate<0,0,-4> rotate<-60-60*stt,0,0> } #end #macro coxas() union { object{anteperna() texture{tx_fosca}} object{cylinder{<0,0,0> <0,0,4> 0.5}} translate<0,0,-4> rotate<+30*stt+30,0,0> } #end #macro caixa() union { object{ box{ <-1,-1,-1> <1,1,1> } } object{coxas() translate <-1,0,0>} object{coxas() translate<1,0,0>} } #end object{caixa() texture{tx_fosca}} object{ eixos(100.00) } #end quadro(clock) // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_loc = <20.00,10.00,10.00> // #local cam_vec = <20.00,10.00,10.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,13.472,<10,10,10>,24.495,z,1.2)