Mail Archives: djgpp/1999/04/13/05:34:40
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 -