home *** CD-ROM | disk | FTP | other *** search
- 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
- From: ajb@winton.uucp (Arthur J. Butler)
- Newsgroups: comp.lang.postscript
- Subject: looking for shaded triangle draw code ..
- Date: 18 Nov 1992 01:51:42 GMT
- Organization: Worcester Polytechnic Institute, MA
- Lines: 16
- Distribution: world
- Message-ID: <1ec7jeINNplj@bigboote.WPI.EDU>
- NNTP-Posting-Host: winton.wpi.edu
-
- Hi. I'm in need of a routine to draw a shaded triangle in PostScript.
- I have a similar routine for raster graphics which does scanline
- conversion and interpolates the color at a each pixel based on the
- nodal values of color.
-
- Any pointers to implimentations of such a routine or ideas on how to
- impliment it would be appreciated. It would be easy enough to convert
- the scanline code to PostScript, but I am not sure how to access each
- pixel in a device independent manner and still allow the figure to be
- scaled later by a user when he includes it in another document.
-
- Thanks.
-
- Arthur
- ajb@winton.wpi.edu
-
-