delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/13/05:34:40

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3012DE12B@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: polygon fill implementaion and theory
Date: Tue, 13 Apr 1999 10:34:08 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

Matthew Heyman writes:
> Anybody know the the theory and possibly the implementation of a 
> polygon fill? I know Allegro has such functions, but I would prefer 
> to write my own function to learn about it.  

This is really off topic for a djgpp group: comp.graphics.algorithms 
would be a much better place to ask.

But to answer your question, "Computer Graphics, Principles and 
Practice", by Foley & Van Damme, is a great reference, and you 
should also read the DDJ articles by Michael Abrash
(ftp://x2ftp.oulu.fi/pub/msdos/programming/docs/). There are plenty 
of examples around on the net: look at the Allegro sources, or any 
of the couple of million polygon rasterisers on x2ftp.oulu.fi.


	Shawn Hargreaves.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019