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

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Number_of_waves example
  3.  
  4. #version 3.0
  5. global_settings { 
  6.  assumed_gamma 2.2 
  7.  number_of_waves 1
  8. }
  9.  
  10. #include "colors.inc"
  11. #include "textures.inc"
  12.  
  13. camera {
  14.    location  <0, 2, -4>
  15.    direction <0, 0,  1>
  16.    up        <0, 1,  0>
  17.    right   <1, 0,  0>
  18.    look_at   <0, 0, 0>
  19. }
  20.  
  21. light_source {<20, 10, -10> color White }
  22.  
  23. // Floor plane
  24. plane { y, 0
  25.     texture { 
  26.         pigment { checker color White color Green 
  27.             rotate y*45
  28.         }
  29.         normal { 
  30.             waves 1
  31. //            frequency 10
  32.             scale .1
  33.         }
  34.     }
  35. }
  36.  
  37.