home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5583 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.0 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!uwm.edu!news.bbn.com!noc.near.net!bigboote.WPI.EDU!winton!ajb
  2. From: ajb@winton.uucp (Arthur J. Butler)
  3. Newsgroups: comp.lang.postscript
  4. Subject: looking for shaded triangle draw code ..
  5. Date: 18 Nov 1992 01:51:42 GMT
  6. Organization: Worcester Polytechnic Institute, MA
  7. Lines: 16
  8. Distribution: world
  9. Message-ID: <1ec7jeINNplj@bigboote.WPI.EDU>
  10. NNTP-Posting-Host: winton.wpi.edu
  11.  
  12. Hi. I'm in need of a routine to draw a shaded triangle in PostScript.
  13. I have a similar routine for raster graphics which does scanline
  14. conversion and interpolates the color at a each pixel based on the
  15. nodal values of color.
  16.  
  17. Any pointers to implimentations of such a routine or ideas on how to
  18. impliment it would be appreciated.  It would be easy enough to convert
  19. the scanline code to PostScript, but I am not sure how to access each
  20. pixel in a device independent manner and still allow the figure to be
  21. scaled later by a user when he includes it in another document.
  22.  
  23. Thanks.
  24.  
  25. Arthur
  26. ajb@winton.wpi.edu
  27.  
  28.