An algorithm for rendering antialiased polygons

[email protected] ("Kiia Kallio")
Newsgroups php.gd.devel
Message-ID <[email protected]>
GD doesn't really support antialiased rendering properly, for instance polygons are rendered by rendering an antialiased stroke over the outline. You might want to incorporate a proper algorithm for rendering antialiased polygons. This was published in TPCG07 conference in June. See mlab.uiah.fi/~kkallio/antialiasing/ for the paper, presentation and full source code (BSD license).

A robust polygon algorithm is the cornerstone of antialiased 2D rendering: by subdividing to small edge segments it's for instance possible to render any curved shape. Also wide antialiased lines and polylines can be rendered by extruding the line to a polygon.

Yours,
Kiia Kallio
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.