// Last edited on 2005-01-05 23:05:53 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.90, 0.95, 1.00 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 1, 1, 0 > } finish { diffuse 0.8 specular 0.4 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1, 0.9, 0 > } finish { diffuse 0.8 specular 0.4 roughness 0.005 ambient 0.1 } } #declare cor_cristal = <0.1, 1, 0.1 >; #declare tx_cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_cristal filter 1 } } #declare cor_espelho = <1, 0, 0 >; #declare tx_espelho = texture { pigment { rgb cor_espelho } finish { ambient 0.05 diffuse 0.05 reflection cor_espelho specular 0.20 roughness 0.05 } } #declare cor_ouro = <1, 0.9, 0>; #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 cor_ourot = < 1, 0.9, 0 >; #declare tx_ourot = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { color cor_ourot filter 1 } } #declare base = torus{ 2.5,0.70 texture {tinta_B} } #declare topo = lathe { 4,<1.3,1.7>,<1.6,3>,<2.2,3>,<1.9,1.7> texture {tx_ourot} } #declare furo = cylinder { <0,0,1>,<2,2,1>,0.4 } #declare tampafuro = cylinder { <1.2,1.2,1.6>,<1.5,1.5,1.8>,0.4 texture {tx_cristal} interior {ior 1.2} } #declare bolinha1 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha2 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha3 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha4 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha5 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha6 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha7 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha8 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } #declare bolinha9 = sphere { <1.5,1.5,2.5>,0.2 texture {tx_espelho} } plane { z,0 texture { pigment { checker <1,1,1>,<0.50,0.55,0.60> } finish { ambient 0.6 diffuse 0.4 } scale 0.5 } } union { difference { union { object { base rotate 90*x } object { topo rotate 90*x translate <0,0,-1.5> } } object {furo} translate <0,0,0.8> } } object {bolinha1} object {bolinha2 rotate 45*z} object {bolinha3 rotate 90*z} object {bolinha4 rotate 135*z} object {bolinha5 rotate 180*z} object {bolinha6 rotate 225*z} object {bolinha7 rotate 270*z} object {bolinha8 rotate 315*z} #include "camlight.inc" camlight(<0,0,1.7>,<7.50,5.00,4.50>,1.10,z,1.0)