home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 1995 January
/
pcw-0195.iso
/
polyray
/
dat
/
sweep
/
glyph1.pi
next >
Wrap
Text File
|
1994-12-31
|
648b
|
33 lines
// Generic Polyray input File
// Polyray input file: Alexander Enzmann
// Set up the camera
viewpoint {
from <0,4,-12>
at <0,2,0>
up <0,1,0>
angle 30
resolution 128, 128
}
include "..\colors.inc"
background <0, 0, 0>
light <-10, 10, -20>
object {
glyph 2
contour 4,
<0, 0>, <4, 0>, <4, 4>, <0, 4>
contour 4,
<1, 1>, <1, 3>, <3, 3>, <3, 1>
texture { shiny { color red reflection 0.2 } }
translate <-2, 0, 0>
}
// Create a ground plane
object {
polygon 4, <-20, 0, -20>, <-20, 0, 20>, <20, 0, 20>, <20, 0, -20>
texture { checker matte_white, matte_black }
}