// Last edited on 2003-04-12 01:01:15 by stolfi #include "colors.inc" background{White} #declare cam = <10, 50, 10 >; #declare ctr = <0, 0, 0>; camera { location ctr + 1.5*cam right 0.6*x up 0.8*y sky <0,0,1> look_at ctr } light_source { 50*(ctr + vrotate(cam, -25*y) + 20*z) 1.2*White } #declare cor_espelho= LightGray; #declare tx_espelho=texture{ pigment{cor_espelho } finish{ ambient 0.05 diffuse 0.05 reflection 0.75 specular 0.20 roughness 0.05 } } #declare cor_chao=texture{ pigment{color 0.2*Yellow + 0.5*Brown} finish{ roughness 0.5} } #declare espelho= plane { <1,0,0>, -5} #declare chao=plane{<0,0,1>,-5} object{espelho texture{tx_espelho}} object{chao texture{cor_chao}} // porta copo union{ torus{4,1 translate<6,3,4> pigment{Red}} torus{3,2 translate<6,3,0> pigment{Red}} cylinder{<5.5,1.5,4>,<5.5,1.5,0>,0.3 pigment{Yellow}} cylinder{<6,2,4>,<6,2,0>,0.3 pigment{Yellow}} cylinder{<7.5,2.5,4>,<7.5,2.5,0>,0.3 pigment{Yellow}} texture{ pigment{ Red } // Acrescentado por stolfi finish{ ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001}} } //bomba union{ cylinder{<2,1,5>,<2,1,1>,3 scale<1,1,7> pigment{Yellow}} torus{4,3.5 pigment{color 0.5*White}} cylinder{<2,1,1>,<2,1,0>,0.2 pigment{Yellow}} cylinder{<1,1,1>,<2,1,0>,0.2 pigment{Yellow}} cylinder{<3,1,1>,<3,1,0>,0.2 pigment{Yellow}} texture{ pigment{ Green } finish{ ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001}} }