// Last edited on 2003-04-12 02:32:09 by stolfi // Arte Decorativa // 25/03/2003 Thiago Barroso Fonte Boa #declare ctr = < 0, -1.5, 0 >; #declare vis = < 0, 0, -4 >; #declare cam = vis + 2.0*y; light_source{ <0,2,2> color rgb <1,1,1>} light_source { <-2.0,1.5,1.5> color rgb <1,1,1>} light_source { <1,2,0> color rgb <1,1,1>} light_source { <0, 3, -1> color rgb < 1.00, 1.00, 1.00 > } light_source { <0,-3,-2> color rgb <1,1,1>} camera { location ctr + 1.5*cam right -0.6*x up 0.8*y look_at ctr } plane{y,-3.5 pigment{color rgb <0.5,0.3,0.1>}} #declare tampa= difference{ box{ <-1.0, 0.0, -1.0>, <1.0, 0.1, 1.0> texture{ pigment{rgb <0,0.3,1>} finish{ ambient 0.05 diffuse 0.05 reflection rgb <0,0.3,1> specular 0.20 roughness 0.05 phong 1 } } } cylinder{ <0.00, 0.04, 0.00>, <0.00, 2.00, 0.00>, 0.3 pigment {color rgb <0,0,1>} } } #declare argola= difference{ torus{ 0.2,0.05 rotate <90,0,0> texture{ pigment{rgb <1,0,0>} finish{ ambient 0.05 diffuse 0.05 reflection rgb <1,0,0> specular 0.20 roughness 0.05 } } } box{ <-0.5, -0.5, -0.3>, <0.5, 0.0, 0.3> texture{ pigment{rgb <1,0,0>} finish{ ambient 0.05 diffuse 0.05 reflection rgb <1,0,0> specular 0.20 roughness 0.05 } } } } union{ object{tampa} object{argola translate<-1.1,0,-0.9>} object{argola translate<-1.1,0,-0.9> scale<-1,1,1>} object{argola translate<-1.1,0,-0.9> scale<1,1,-1>} object{argola translate<-1.1,0,-0.9> scale<-1,1,-1>} } union{ difference{ cylinder{ <0,0,0>,<0,-3,0>, 0.4 texture{ finish{ ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment {color rgb <0.2,1.0,0.4>} } } torus{ 0.36,0.1 translate<0,-0.6,0> pigment {color rgb <0.2,1.0,0.4>} } torus{ 0.36,0.1 translate<0,-1.2,0> pigment {color rgb <0.2,1.0,0.4>} } } torus{ 0.36,0.1 translate<0,-3,0> pigment {color rgb <0.2,1.0,0.4>} } torus{ 0.42,0.13 translate<0,-3.2,0> pigment {color rgb <0.2,1.0,0.4>} } }