// Last edited on 2003-05-31 15:20:41 by stolfi #include "colors.inc" #declare imgname = "face.png"; #declare ctr = <0,0.5,0>; camera { location ctr + 2.2 * <0,1,-4> right 1.00*x up 0.50*y sky y look_at ctr } light_source { 100*<+10, 20, -10> color 1.5*White } light_source { 100*<-10, 10, -10> color 1.0*White } light_source { 100*< 1, 3, -10> color 0.6*White } background{Gray85} #declare cabeca = blob { threshold .65 sphere { <2.3,1.6,0.9>, 3.0 ,1} //cabeca sphere { <2.1,1.7,-0.3>, 0.3 ,.5} // nariz sphere { <2.4,2.2,-0.1>, 0.4 ,.5} // olho sphere { <1.8,2.2,-0.1>, 0.4 ,.5} // olho sphere { <2.2,0.7,0>, 0.4 ,.5} // queixo sphere { <2.2,2.5,0.9>, 0.8 ,.5} // testa pigment{ Flesh } } #declare cena = object { cabeca pigment { image_map {png imgname once } scale 4 } translate -< 2.1, 1.0, 0.0> } plane { y, -2 pigment { color 0.75*Gray90 + 0.25*Green} } object { cena } object { cena rotate +53*y translate -3.5*x } object { cena rotate -53*y translate +3.5*x }