// Last edited on 2003-03-19 18:48:33 by stolfi
// Brincando com blobs
// 11/03/2003 Thiago Barroso Fonte Boa

#include "colors.inc"
#include "textures.inc"
#include "stones.inc"

sky_sphere{ 
  pigment {Blue_Sky}
}

light_source {
  3*<0, 3, -5 >
  color rgb 1.2*< 1.00, 1.00, 1.00 >
} 

light_source {
  3*<7, 12, 5 >
  color rgb 0.5*< 1.00, 1.00, 1.00 >
} 

camera {
  location  <  0, 1, -7 >
  look_at   <  0, 0, 0 >
} 

plane { y, -3
  pigment {color rgb <0,0.8,1>}
}

blob{
  threshold 0.4
  sphere{<-0.9, 0.0, 0.0>, 0.5, 1 pigment{color rgb <0,0,1>}}
  sphere{<-0.1, 0.3, 0.0>, 0.8, 1 pigment{color rgb <1,0,0>}}
  finish {phong 1}
}

blob{
  threshold 0.3
  sphere{<0.0, 2.0, 1.0>, 0.6, 1 pigment{color rgb <0,0.8,1>}}
  sphere{<0.4, 1.5, 0.8>, 0.4, 1 pigment{color rgb <1,0,0>}}
  sphere{<1.0, 1.7, 0.3>, 0.8, 1 pigment{color rgb <0,1,0>}}
  finish {phong 1}
}

blob{
  threshold 0.4
  sphere{<-2.3, -1.4, 0.0>, 0.6, 1 texture{T_Stone12} }
  sphere{<-1.2, -1.7, 0.0>, 1.3, 1 texture{T_Stone25} }
  sphere{< 0.0, -1.1, 0.0>, 1.0, 1 texture{T_Stone10} }
  sphere{< 0.8, -1.3, 0.0>, 0.5, 1 texture{T_Stone11} }
  sphere{< 1.4, -0.8, 0.0>, 0.8, 1 texture{T_Stone13} }
  finish {phong 1}
}

blob{
  threshold 0.4
  sphere{<2.9, 2.9, 0.0>, 0.6, 1 texture{T_Stone36} }
  sphere{<2.6, 1.8, 0.0>, 1.3, 1 texture{T_Stone36} }
  sphere{<2.5, 0.4, 0.0>, 1.0, 1 texture{T_Stone38} }
  sphere{<2.7, -0.3, 0.0>, 0.5, 1 texture{T_Stone11} }
  sphere{<2.9, -0.8, 0.0>, 0.8, 1 texture{T_Stone13} }
  finish {phong 1}
}