home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / surfaces / caustic1.pov < prev    next >
Text File  |  1997-12-12  |  603b  |  33 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 { <15, 50, -50> color White }
  11.  
  12. camera {
  13.     direction 2*z
  14.     location <0, 13, -40>
  15.     look_at <0, -3, -10>
  16. }
  17.  
  18. plane { z, 15
  19.     pigment { Gray50 }
  20.     finish { Dull }
  21. }
  22.  
  23. sphere { <0, 0, 0>, 4
  24.     pigment { red 0.8 green 0.8 blue 1.0 filter 0.9 }
  25.     finish {
  26.         ambient 0 diffuse 0.7
  27.         phong 0.5 phong_size 100
  28.         refraction 1.0 ior 1.2
  29.         caustics 1.0
  30.     }
  31.     translate <5, 0, -10>
  32. }
  33.