home *** CD-ROM | disk | FTP | other *** search
- //FIG2-1.PI
-
- include "d:\polyray\include\colors.inc"
- include "d:\polyray\include\texture.inc"
-
- viewpoint {
- from <0, 5, -20.0>
- at <0.0, 2.5, 5>
- up <0.0, 1.0, 0.0>
- angle 30
- aspect 1.6
- }
-
- // LIGHT_SOURCE
- light <-10, 10, -10>
-
- haze 0.95, 20, black
-
- // PLANE (Polygon)
- object {
- polygon 4, <-100,0,100>, <-100,0,-100>, <100,0,-100>, <100,0,100>
- translate <0, -2.5, 0>
- matte_white
- }
-
- // SPHERE
- object {
- sphere <0.0, 2.5, 6.0>, 5
- matte_blue
- }
-
- // SPHERE
- object {
- sphere <-5.0, 5.0, 0.0>, 1.0
- matte_green
- }
-