home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / texture / depmap.pi < prev    next >
Text File  |  1994-12-31  |  565b  |  31 lines

  1. // Render a scene using a depth map for shadows - depends on the depth file
  2. // being rendered first from "deplgt.pi"
  3. //
  4. // Polyray input file: Alexander Enzmann
  5.  
  6. viewpoint {
  7.    from <0,4,-8>
  8.    at <0,0,0>
  9.    up <0,1,0>
  10.    angle 45
  11.    hither 1
  12.    resolution 128, 128
  13.    }
  14.  
  15. background <0, 0, 0>
  16.  
  17. //
  18. // Here is where we define the light source
  19. //
  20. depthmapped_light {
  21.    depth "dep1.tga"
  22.    from <-10, 5, -20>
  23.    at <0, 0, 0>
  24.    up <0, 1, 0>
  25.    hither 0.2
  26.    angle 20
  27.    }
  28.  
  29. // This file holds the actual scene objects
  30. include "depmap.inc"
  31.