Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdsu!crash!jcs From: jcs@crash.cts.com (John Schultz) Newsgroups: comp.graphics Subject: Re: FC Line Clipper Message-ID: <2174@crash.cts.com> Date: 11 Apr 90 03:40:24 GMT References: <2162@crash.cts.com> Reply-To: jcs@crash.cts.com (John Schultz) Organization: Crash TimeSharing, El Cajon, CA Lines: 19 I have sent the source for the FC clipper to comp.sources.misc. It's moderated, so the file will go to the moderator first. Fifty or so have requested a copy, so try to get it from comp.sources.misc. If you can't get it there (should be there RSN), I mail you a copy directly. The file is 30825 bytes. I've also written the Sutherland-Hodgman polygon clipper in Modula-2 and also Assembly. Why not C? Well, when I code in C, I write all of the time critical code in assembly and link it all together. The Modula-2 compiler didn't have a link compatible format, so no assembly. Converting from Modula-2 to C is easy, as Modula-2 looks just like Pascal (it's Pascal's successor). The SH polygon clipper is much shorter than FC. It's a fairly general clipper, and the fastest method I know of. Again, those interested, let me know. Also, if faster methods exist, please fill me in. John