// cave10.pov - SCC Entry by Matthew Grove // Short Description // A light grey fading light source just in front of the camera light_source{z/3rgb.8fade_distance.5fade_power 3} // A pigment function of the agate pattern with a very simple colour map #declare g=function{pigment{agate color_map{[0rgb 0][1rgb 1]}}} isosurface{ // The pigment function is stretched in the x axis(x/4), shifted up(y-.5) // and moved back the z axis(z+.4), use the red(shortest!) component, // and a threshold of .3 function{g(x/4,y-.5,z+.4).red-.3} // boundary of the object contained_by{box{-x-y,x+y+z*3}} max_gradient 20 // a blue and red pigment pigment{rgb x/2+z} // with some extra effects finish{phong.3reflection x/5} }