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

  1. //BOXES.PI 
  2.  
  3. include "d:\polyray\include\colors.inc"
  4. include "d:\polyray\include\texture.inc"
  5.  
  6. viewpoint {
  7.  from      <-0.5, 2.0, -5.0>
  8.  at        <0.0, 0.0, 0.0>
  9.  up        <0.0, 1.0, 0.0>
  10.  resolution      100,100
  11.  aspect          1.0
  12. }
  13.  
  14. // LIGHT_SOURCE
  15.     light <0.0,  0.0, -3.0>
  16. // LIGHT_SOURCE
  17.     light <0.5,  3.0, -3.0>
  18. // LIGHT_SOURCE
  19.     light <1.0,  0.0, -5.0>
  20.  
  21. // BOX
  22. object {
  23.     box <-1, -1, -1>, <1, 1, 1>
  24.     reflective_yellow
  25. }
  26.  
  27. // BOX
  28. object {
  29.     box <-1, -1, -1>, <1, 1, 1>
  30.     translate <-1.65, -2.1, 0>
  31.     white_marble
  32. }
  33.  
  34. // BOX
  35. object {
  36.     box <-1, -1, -1>, <1, 1, 1>
  37.     scale <2, 1, 3>
  38.     translate <2.4, -2.1, 0>
  39.     dented_red
  40. }
  41.  
  42.