home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 1995 January
/
pcw-0195.iso
/
polymore
/
fig2-13.pi
< prev
next >
Wrap
Text File
|
1994-09-20
|
880b
|
57 lines
//CYLINDER.PI
include "d:\polyray\include\colors.inc"
include "d:\polyray\include\texture.inc"
viewpoint {
from <0.1, 0.0, -0.7>
at <0.0, 0.0, 0.0>
up <0.0, 1.0, 0.0>
resolution 100,100
aspect 1.0
}
// LIGHT_SOURCE
light <0, 5, -5>
// LIGHT_SOURCE
light <10,1,0>
// CYLINDER
object {
cylinder <0.0, -0.5, 0.0>, <0.0, 0.5, 0.0>, 0.2
rotate <0, 0, 90>
reflective_yellow
}
// SPHERE
object {
sphere < 0.5, 0, 0>, 0.2
reflective_yellow
}
// SPHERE
object {
sphere < -0.5, 0, 0>, 0.2
reflective_yellow
}
// CYLINDER
object {
cylinder <0.0, -0.5, 0.0>, <0.0, 0.5, 0.0>, 0.2
reflective_yellow
}
// SPHERE
object {
sphere < 0, 0.5, 0>, 0.2
reflective_yellow
}
// SPHERE
object {
sphere < 0, -0.5, 0>, 0.2
reflective_yellow
}