home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Amiga / pov / utils / Gforge.lha / land1.pov < prev    next >
Text File  |  1996-05-19  |  1KB  |  34 lines

  1. // POV file adapted from topo example by Russell Towle
  2.  
  3. #include "colors.inc"
  4. #include "textures.inc"
  5.  
  6. camera
  7. {
  8.   location  <0,  .75, -1.2> // <X Y Z>
  9.   direction 2*z              // which way are we looking <X Y Z>
  10.   up        y                // which way is +up <X Y Z>
  11.   right     1.33*x           // which way is +right <X Y Z> and aspect ratio
  12.   look_at   <0, -0.05, 0> // point center of view at this point <X Y Z>
  13. }
  14.  
  15.  
  16. light_source { <-300, 300, -10> color red 0.75 green 0.5 blue 0.3 }
  17. light_source { <-300, 210, 5>   color red 0.25 green 0.1 blue 0.0 }
  18. // light_source { <0, 1500, 0>     color red 0.15 green 0.25 blue 0.1 }
  19.  
  20.  
  21. // The heightfield object is in the X-Z plane, centered on the origin, 
  22. // and extends +/- 0.5 units in the X and Z directions
  23.  
  24. object{
  25.          height_field {tga "output.tga" }
  26.          scale < 1, .1, 1 >      // reduce height
  27.          translate <-.5, 0, -.5>
  28.          texture { 
  29.            pigment {color White} 
  30.            finish {phong 0.1 ambient 0.2} 
  31.          }
  32.        }
  33.  
  34.