home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / surfaces / caustic2.pov < prev    next >
Text File  |  1997-12-12  |  599b  |  31 lines

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