// Last edited on 2003-04-12 04:38:17 by stolfi #include "colors.inc" background{ color rgb < 1.00, 1.00, 1.00 > } #declare ctr = < 0.00, 0.00, 0.00 >; #declare vis = < 25.00, 0.00, -30.00>; #declare cam = vis + 25*y; light_source { ctr + 20*(vrotate(vis, 90*y) + 60*y) color rgb 1.2*< 1.00, 1.00, 1.00 > } light_source { ctr + 20*(vrotate(vis, -25*y) + 20*y) color rgb 0.6*< 1.00, 1.00, 1.00 > } camera { location ctr + 0.8*cam right -0.6*x up 0.8*y look_at ctr } // cores #declare cor_vermelho = color rgb <1,0,0>; #declare cor_cinza = color rgb <0.7,0.7,0.7>; // textura cristlizada #declare textura_cristal_vermelha = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment { cor_vermelho filter 1} } #declare textura_metalica_cinza = texture { pigment { cor_cinza } finish { ambient 0.05 diffuse 0.05 reflection cor_cinza specular 0.20 roughness 0.05 } } //circulo central sphere{ <0,5,0>, 5 texture{textura_cristal_vermelha}} //quadrado central box{ <-4,9,4>, <4,1,-4> texture{textura_metalica_cinza}} plane {<0,1,0>, -5 texture{ pigment {color rgb <1,0,0>}}} //haste cylinder{<0,1,0>,<0,-3,0>,1 texture{textura_metalica_cinza}} //base box{<5,-3,5>,<-5,-5,-5> texture{textura_metalica_cinza}} //torus torus {8, .4 pigment{ Yellow} rotate 45*z translate <0,5,0>} torus {8, .4 pigment{ Yellow} rotate 135*z translate <0,5,0>} torus {5,1 pigment{ Yellow} translate <0,10,0>}