// Persistence Of Vision raytracer version 3.1 sample file.
// gamma devised to approximate the illustration in Ray Tracing Creations II


global_settings { assumed_gamma 1.5 }

//----------- fish out of water ----------- 3/10/92 miller

#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
#include "glass.inc"
#include "fish.inc"
#include "world12.inc"
#include "stem1.inc"

camera {
   location <-5, 0, -105>
   direction <0, 0, 1.5>
   up <0, 1, 0>
   right <4/3, 0, 0>
   look_at <-5, -5, 0>
}

//-------light
light_source { <200, 100, -100> White }

//-------light
light_source { <1000, 500, 400> White }


object { fish rotate -30*y }
object { world12 }

object { stem1 scale <3, 3, 3> rotate <0, 0, 0> translate <80, -25, 150>  }
object { stem1 scale <1.5, 1.5, 1.5> rotate <0, 80, 0> translate <70, -25, 90>  }


/*-------------- SWAMP WATER ----------------------------*/
object {
   Cube
   scale <10000, 1, 500>
   translate -25*y

   texture {
      pigment { color red 0.0 green 0.07 blue 0.0 }
      finish {
         reflection 0.45
         ambient 0.15
         diffuse 0.6 phong 1.0 phong_size 80
      }
      normal {
         ripples 0.7
         frequency 0.08
         translate <0, 0, 0>
      }
   }
}

