// Last edited on 2007-03-31 19:14:03 by stolfi background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare cor_1 = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare cor_2 = texture { pigment { color rgb < 0.50, 0.50, 0.50 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } // base #declare base = box { <1,1.45,0.15>, <-1,-1.45,-0.15> texture { cor_1 } } #declare base2 = box { <1,1.45,0.2>, <-1,-1.45,0.15> texture { cor_2 } } #declare furo_base = sphere { <0, 0, 0> 0.8 } // haste vertical #declare haste_vertical = box { <0.1,-1.45,0.15>, <-0.1,-1.05,3> texture { cor_2 } } // haste horizontal #declare haste_horizontal = box { <0.1,0.7,3> <-0.1,-1.45,3.3> texture { cor_2 } } // cilindo mexedor #declare cilindro_mexedor = cylinder { <0, 0.6 , 3> <0, 0.6 , 2> 0.03 texture { cor_2 } } // bola mexedor #declare bola_mexedor = sphere { <0, 0.6, 2> 0.15 texture { cor_1 } } // Aqui está a cena, finalmente: //difference { // union { // object { bola } // object { pino } // } // object { furo } // } difference { object { base2 } object { furo_base } } object { base } object { haste_vertical } object { haste_horizontal } object { cilindro_mexedor } object { bola_mexedor } //} #include "camlight.inc" camlight(<0,0,1>,<10.00,10.00,10.00>,0.38,z,1.0)