home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / sweep / glyph1.pi next >
Text File  |  1994-12-31  |  648b  |  33 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,4,-12>
  7.    at <0,2,0>
  8.    up <0,1,0>
  9.    angle 30
  10.    resolution 128, 128
  11.    }
  12.  
  13. include "..\colors.inc"
  14.  
  15. background <0, 0, 0>
  16. light <-10, 10, -20>
  17.  
  18. object {
  19.    glyph 2
  20.       contour 4,
  21.      <0, 0>, <4, 0>, <4, 4>, <0, 4>
  22.       contour 4,
  23.      <1, 1>, <1, 3>, <3, 3>, <3, 1>
  24.    texture { shiny { color red reflection 0.2 } }
  25.    translate <-2, 0, 0>
  26.    }
  27.  
  28. // Create a ground plane
  29. object {
  30.    polygon 4, <-20, 0, -20>, <-20, 0, 20>, <20, 0, 20>, <20, 0, -20>
  31.    texture { checker matte_white, matte_black }
  32.    }
  33.