home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / INTERIOR / CAUSTIC2.POV < prev    next >
Text File  |  1999-10-30  |  632b  |  32 lines

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // Caustics example
  3.  
  4. global_settings { assumed_gamma 2.2 }
  5.  
  6. #include "colors.inc"
  7. #include "textures.inc"
  8.  
  9. light_source { <0, 50, 0> color White }
  10.  
  11. camera {
  12.     direction z
  13.     location <0, 6, -15>
  14.     look_at <0, 2, 0>
  15. }
  16.  
  17. // The sea floor
  18. plane { y, 0
  19.     pigment { Gray60 }
  20.     finish { ambient 0.1 diffuse 0.7 }
  21. }
  22.  
  23. // The water surface
  24. plane { y, 10
  25.     hollow on
  26.     pigment { red 0.7 green 0.7 blue 1.0 filter 0.9 }
  27.     finish {reflection 0.7 }
  28.     interior { ior 1.1 caustics 1.0 }
  29.     translate <5, 0, -10>
  30.     normal { bumps 0.5 }
  31. }
  32.