🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5715

looking for shaded triangle draw code ..

#5715
From: Arthur J. Butler
Date: Wed, 18 Nov 1992 01:51
15 lines
1091 bytes
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
Technical Details
Message-ID: <1ec7jeINNplj@bigboote.WPI.EDU>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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