home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 1995 January
/
pcw-0195.iso
/
polyray
/
dat
/
texture
/
depmap.pi
< prev
next >
Wrap
Text File
|
1994-12-31
|
565b
|
31 lines
// Render a scene using a depth map for shadows - depends on the depth file
// being rendered first from "deplgt.pi"
//
// Polyray input file: Alexander Enzmann
viewpoint {
from <0,4,-8>
at <0,0,0>
up <0,1,0>
angle 45
hither 1
resolution 128, 128
}
background <0, 0, 0>
//
// Here is where we define the light source
//
depthmapped_light {
depth "dep1.tga"
from <-10, 5, -20>
at <0, 0, 0>
up <0, 1, 0>
hither 0.2
angle 20
}
// This file holds the actual scene objects
include "depmap.inc"