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

camera {
   location <6, 3, -6>
   look_at <0, 0, 0>
}
background { color White }
light_source { <0, 30, 0> White }
light_source { <0, 0, 30> White }
light_source { <80, 40, -80> White }


#declare eixos =
union
{
	cylinder {<-20,0,0>, <20,0,0>, 0.02 pigment { Red }}
	cylinder {<0,-20,0>, <0,20,0>, 0.02 pigment { Green }}
	cylinder {<0,0,-20>, <0,0,20>, 0.02 pigment { Blue }}
}
	
#declare base =
	box {<-1,-1,-1>, <2,2,2> texture { T_Stone8 scale 4 }}

#declare vidro =
	box {<1.9,-.8,-.8>, <2.1,1,1> texture { Glass }}

#declare fissura =
	cylinder {<2,-1,0>,<2,2,0>, 0.1 texture { T_Stone8 scale 4 }}


object{ eixos }

difference
{
	object{ base }
	object { fissura }
	object{ vidro }
}





plane{ y, -4 texture{ pigment { White }}}

plane { y, 700
    texture {
      pigment { SkyBlue }
      finish { ambient 1 diffuse 0}
     }
     texture {
       pigment {
         bozo
         turbulence .5
         color_map {
           [0 White]
           [1 White filter 1]
         }
       }
       finish { ambient 1 diffuse 0 }
       scale <1000, 250, 250>
    }
  }