// File: bug_blob_reflection.pov
// Vers: 3.7 beta 34
// render stalls

#include "colors.inc"

global_settings {ambient_light <1,1,1>*0.3}

camera {
   location  <0.0, 0.5, -4.0>
   direction 1.5*z
   right     x*image_width/image_height
   look_at   <0.0, 0.0,  0.0>
}

background {White}

light_source {
  <-5, 0, -5>           
  color rgb <1, 1, 1> 
}


plane {y,-5 pigment{checker White Blue}}                                                                             
plane {-y,-5 pigment{checker Orange White}}                                                                             

#declare btex = texture {
   pigment {Blue}
   finish {reflection 0.5}
};

#declare rtex = texture {
   pigment {Red}
   finish {reflection 0.5}
};

#declare gtex = texture {
   pigment {Green}
   finish {reflection 0.5}
};

#declare mirror = texture {
   pigment {White}
   finish {reflection 1}
};

blob { 
   sphere {<-0.5,0,0>,0.7,1 texture {rtex}}
   sphere {<0,0,0>,0.7,1 texture {gtex}}
   sphere {<0.5,0,0>,0.7,1 texture {btex}}
   sphere {<-0.5,0.8,0>,0.7,1 texture {rtex}}
   sphere {<0,0.8,0>,0.7,1 texture {gtex}}
   sphere {<0.5,0.8,0>,0.7,1 texture {btex}} 
   sphere {<0,0.4,0>,0.25,-1 texture {mirror}}
}
 
// eof