home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 1995 January
/
pcw-0195.iso
/
polyray
/
dat
/
poly
/
witch.pi
< prev
Wrap
Text File
|
1994-12-31
|
554b
|
28 lines
// Generic Polyray input File
// Polyray input file: Alexander Enzmann
// Set up the camera
viewpoint {
from <0, 5, -5>
at <0, 0, 0>
up <0, 1, 0>
angle 30
resolution 160, 160
}
// Get various surface finishes
include "..\colors.inc"
// Set up background color & lights
background black
light <10, 10, -20>
// Witch of Agnesi
define a 0.04
object {
object { polynomial a * (y - 1) + (x^2 + z^2) * y }
& object { sphere <0, 0, 0>, 1 }
bounding_box <-1, -1, -1>, <1, 1, 1>
shiny_red
}