EDGE AND BIT-MASK CALCULATIONS FOR ANTI-ALIASING
Russell C.H. Cheng, University of Wales, College of Cardiff, Cardiff, United Kingdom
Publisher Summary
At the heart of many antialiasing algorithms for rendering polygons is a routine for calculating the overlap between a polygon and the pixels at the edge of the polygon. Anyone who has had to implement such an edge calculator must have encountered the problem of ensuring that the code handled polygons consistently. This chapter presents an algorithm for such an edge calculator in which particular attention has been paid to the preceding points so that it operates in a clean, efficient, and fast manner. The algorithm has been used successfully in real-time applications. The algorithm ...
Get Graphics Gems III (IBM Version) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.