// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_A = texture { pigment { color rgb < 0.90, 0.80, 0.60 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0.40, 0.80, 1.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare tinta_D = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare cor_prata = <0.7 0.7 0.8>; #declare tx_prata = texture { pigment { rgb cor_prata } finish { ambient 0.05 diffuse 0.1 reflection cor_prata specular 0.3 roughness 0.7 } } #declare cor_ouro = < 1.00, 0.80, 0.10 >; #declare tx_ouro = texture { pigment { rgb cor_ouro } finish { ambient 0.05 diffuse 0.05 reflection cor_ouro specular 0.20 roughness 0.05 } } #declare tt = clock; #if (tt<0.20) #declare posicao = 1100*tt*tt; #else #if (tt<0.80) #declare posicao = -44+440*tt; #else #declare posicao = 360-1300*(1-tt)*(1-tt); #end #end #declare xx = clock; #if (xx<0.50) #declare dedopos = 20*xx; #else #declare dedopos = -10*xx; #end #declare falange = box { <0.00, +0.25, -0.15> <1.50, -0.25, +0.15> texture { tx_ouro } } #declare dedo = union { object {falange rotate -45*y} object {falange rotate 45*y translate <1.0, 0, 1.0> } } #declare dedo1 = object { dedo rotate -10*y } #declare dedo2 = object { dedo rotate 180*x rotate 10*y } #declare mao = union { sphere { <0,0,0>, 0.4 texture { tinta_B } } object { dedo1 rotate -dedopos*y translate <0.2, 0, 0>} object { dedo2 rotate dedopos*y translate <0.2, 0, 0>} } #declare antebraco = union { cylinder { <0.2,0,0> <6,0,0> 0.25 texture { tx_prata } } object { mao rotate 3*posicao*x translate < 6.2, 0, 0 > } sphere { <0,0,0>, 0.4 texture { tinta_B } } } #declare braco = union { cylinder { <0.2,0,0> <6,0,0> 0.25 texture { tx_ouro } } object { antebraco rotate 0.3*posicao*y translate < 6.2, 0, 0 > } sphere { <0,0,0>, 0.4 texture { tinta_B } } } #declare base = union { cylinder { <0,0,-0.2> <0,0,-3> 0.4 texture { tx_prata } } object { braco rotate -0.4*posicao*y} sphere { <0,0,0>, 0.4 texture { tinta_B } } } #declare chao = plane { z, -3.51 texture { pigment { checker <0,0,0>, <1,1,1>} finish { ambient 0.1 diffuse 0.9 } scale 5 } } #declare alicerce = union { box { <2.00, +2.00, -3.01> <-2.00, -2.00, -3.5> texture { tx_ouro } } object { base rotate posicao*z } object { chao } } object { alicerce } #include "camlight.inc" camlight(<0,0,0>,<21.00,22.00,12.00>,1.00,z,1.0)