home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polymore / fig2-1.pi < prev    next >
Text File  |  1994-09-26  |  590b  |  37 lines

  1. //FIG2-1.PI
  2.  
  3. include "d:\polyray\include\colors.inc"
  4. include "d:\polyray\include\texture.inc"
  5.  
  6. viewpoint {
  7.  from      <0, 5, -20.0>
  8.  at        <0.0, 2.5, 5>
  9.  up        <0.0, 1.0, 0.0>
  10.  angle 30
  11.  aspect 1.6
  12.  }
  13.  
  14. // LIGHT_SOURCE
  15.     light <-10, 10, -10>
  16.  
  17. haze 0.95, 20, black
  18.  
  19. // PLANE (Polygon)
  20. object {
  21.    polygon 4, <-100,0,100>, <-100,0,-100>, <100,0,-100>, <100,0,100>
  22.    translate <0, -2.5, 0>
  23.    matte_white  
  24. }
  25.  
  26. // SPHERE
  27. object {
  28.     sphere <0.0, 2.5, 6.0>, 5
  29.     matte_blue
  30. }
  31.  
  32. // SPHERE
  33. object {
  34.     sphere <-5.0, 5.0, 0.0>, 1.0
  35.     matte_green
  36. }
  37.