An algorithm for rendering antialiased polygons

From: Date: Mon, 30 Jul 2007 08:27:33 +0000
Subject: An algorithm for rendering antialiased polygons
Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-234@lists.php.net to get a copy of this message
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

« previous php.gd.devel (#234) next »