#include "functions.inc"

#declare stone1 =

    

isosurface{


   function{ f_sphere (x + 0.125*f_noise3d(0, 6*y, 6*z), y + 0.0625*f_noise3d(x, 0, 6*z),z + 0.125*f_noise3d(x, 6*y, 0),1) }
   
   max_gradient 4
   bounded_by{ box{-4,4} }
   scale <1, 0.3, 1>
   translate<0,0.1,0>
       

} 

#declare stone2 =
isosurface{

   function{ f_rounded_box (x + 0.5*(.5-f_noise3d(0, 3*y, 6*z)), y + 0.0125*f_noise3d(6*x, 0, 6*z),z + 0.5*(.5-f_noise3d(6*x, 3*y, 0)),.4,1,0.5,1) }
   
   max_gradient 4
   bounded_by{ box{-4,4} }
   scale 0.75
   translate<0,0,0>

}

#declare stone3 =

isosurface{


   function{ f_sphere (x + 0.125*f_noise3d(0, 6*y, 6*z), y + 0.0625*f_noise3d(x, 0, 6*z),z + 0.125*f_noise3d(x, 6*y, 0),1) }
   
   max_gradient 4
   bounded_by{ box{-4,4} }
   scale <0.3, 0.3, 0.3>
   translate<0,0.1,0>
       

} 
