// Last edited on 2007-04-03 19:22:13 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_A = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 0.00, 0.40, 1.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 1.00, 0.10, 0.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 } } #declare bola = sphere { < 0.00, 0.00, 0.00 >, 2.00 texture { tinta_A } } #declare bola_buraco = sphere { < 0.00, 0.00, 0.00 >, 1.90 texture { tinta_A } } #declare bola_corte = box { < -2.00, -2.00, 0.0 >, < 2.00, 2.00, 4.00 > texture { tinta_A } } #declare cubo = box { < 1.35, -1.35, -0.6 >, < -1.35, 1.35, 1.70 > texture { tinta_B } } #declare cubo_buraco = box { < 1.20, -1.20, -0.4 >, < -1.20, 1.20, 1.60 > texture { tinta_B } } #declare cubo_corte = box { < 1.40, -1.40, 0.2 >, < -1.40, 1.40, 4.00 > texture { tinta_B } } #declare cilindro = cylinder { < 0.00, 0.00, -0.40 >, < 0.00, 0.00, 1.00 >, 1.20 texture { tinta_C } } #declare cilindro_buraco = cylinder { < 0.00, 0.00, -0.20 >, < 0.00, 0.00, 1.00 >, 1.00 texture { tinta_C } } #declare cilindro_corte = box { < 1.40, -1.40, 0.6 >, < -1.40, 1.40, 4.00 > texture { tinta_C } } difference { difference { object { bola } object { bola_buraco } } object { bola_corte } } difference { difference { object { cubo } object { cubo_buraco } } object { cubo_corte } } difference { difference { object { cilindro } object { cilindro_buraco } } object { cilindro_corte } } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <4.00,3.00,3.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,7,z,1.0)