// Last edited on 2003-03-19 17:36:38 by stolfi #include "colors.inc" background{White} camera { angle 15 location <10,5,-20> look_at <0,0,0> } light_source { <10, 20, -10> color White } light_source { <-7, 20, 5> color 0.5*White } #declare tinta_A = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare corrente = blob { threshold .65 sphere { <0,-.8,-.95>, .8, 1 pigment {Blue} } sphere { <0,-.5,0>, .8, 1 pigment {Yellow} } sphere { <0,.5,0>, .8, 1 pigment {Blue} } sphere { <0,.8,-.95>, .8, 1 pigment {Yellow} } sphere { <0,0,-1.47>, .8, 1 pigment {Yellow} } finish { phong 1 } } #declare cilindro = cylinder { < -2.00, 0.00, -.735 >, < +2.00, 0.00, -.735 >, 0.2 texture { tinta_A } } #declare bola1 = sphere { < -2.00, 0.00, -.735 >, .5 texture { tinta_A } } #declare bola2 = sphere { < 2.00, 0.00, -.735 >, .5 texture { tinta_A } } union { object { cilindro } object { corrente } object { bola1 } object { bola2 } }