[comp.graphics] 3D polygon clippers

chas@ssc-vax.UUCP (Chas Boyd) (12/23/87)

	Does anyone out there have sources for a quick&dirty routine to clip
   3D polygons to the viewing pyramid?  I would like to see an example in some
   popular language like C, Pascal, or Fortran.  If you know of a reference in
   a book let me know, too.

	I remember a Byte article by Franklin who listed an entire pascal prog,
   but I never got it to work properly because I could not read the printout
   very well.  If anybody has a working version of this, or something similar
   I would be thrilled!

			Thanks (and Merry Christmas) in advance,
						Chas.
UUCP  ihnp4!uw-beaver!ssc-vax!ssc-bee!chas     (Charles Boyd)
ARPA  ssc-vax!ssc-bee!chas@uw-beaver
WORK  (206) 773-3878			Now is the time for all good men to
HOME  (206) 271-7216			come to the aid of their planet...
-- 
UUCP  (uw-beaver|fluke)!ssc-vax!ssc-bee!chas   (Charles Boyd)
ARPA  ssc-vax!ssc-bee!chas@uw-beaver
WORK  (206) 773-3878			Now is the time for all good men to
HOME  (206) xxx-xxxx			come to the aid of their planet...

karthur@codas.att.com (Kurt_R_Arthur) (12/24/87)

In article <947@ssc-bee.ssc-vax.UUCP> chas@ssc-vax.UUCP (Chas Boyd) writes:
> 
> 
> 	Does anyone out there have sources for a quick&dirty routine to clip
>    3D polygons to the viewing pyramid?  I would like to see an example in some
>    popular language like C, Pascal, or Fortran.  If you know of a reference in
>    a book let me know, too.
> 
> 	I remember a Byte article...

Byte has a pair of BBS's: BIX and BYTEnet, both of which have source code
listings for all articles it's published.  Maybe the code you're looking for is
in there (or at least something you can modify)

BIX costs $39 to join, Bytenet is free.  Look in BYTE for the number (or email
me and I'll post it).


Kurt Arthur
Software Services of Florida, Inc.