home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 1995 January
/
pcw-0195.iso
/
polymore
/
fig2-3.pi
< prev
next >
Wrap
Text File
|
1994-09-26
|
1KB
|
61 lines
//FIG2-3.PI
include "d:\polyray\include\colors.inc"
include "d:\polyray\include\texture.inc"
viewpoint {
from <0, 1, -2.5>
at <1, 2, 0>
up <0.0, 1.0, 0.0>
angle 100
}
// LIGHT_SOURCE
light <-10, 10, -10>
haze 0.95, 10, black
// PLANE (Polygon)
object {
polygon 4, <-100,0,100>, <-100,0,-100>, <100,0,-100>, <100,0,100>
matte_white
}
// SPHERE
object {
sphere <1, 1, 0>, 1
scale<2, 1, 1>
texture
{
surface
{
color red
ambient 0.1
diffuse 0.7
specular white, 0.5
reflection white, 0.1
transmission white, 0.1,1
}
}
}
// SPHERE
object {
sphere <1, 1, 0>, 1
scale<2, 1, 1>
texture
{
surface
{
color red
ambient 0.1
diffuse 0.7
specular white, 0.5
reflection white, 0.1
transmission white, 1.0,1
}
}
rotate<0, 0, 45>
}