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

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Simple heightfield example
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8.  
  9. camera {
  10.     location <0, 0.75, -1.00 >
  11.     right x*1.333
  12.     up y
  13.     direction z
  14.     look_at <0, 0, 0>
  15. }
  16.  
  17. light_source { <0, 10, -10> White }
  18.  
  19. height_field {                   // upper-right of image at <0.5, 0.0, 0.5>
  20.     gif "test.gif"               // lower-left of image at <0.0, 0.0, 0.0>
  21.     pigment {
  22.         image_map { gif "test.gif" }
  23.     rotate x*90                  // rotate the image to the x/z plane
  24.     }
  25.     translate <-0.5, 0, -0.5>    // center the whole shebang
  26. }
  27.