News for hackers. Stuff that matters.
Re:Exact Polygonal Filtering: Using Green's Theorem and Clip... by Sharlin on Thursday August 15, 2024 @09:55AM (#41256100)
The problem is determining the coverage, the contribution of the polygon to a pixel's final color, weighted by a filter. This is relevant at polygon edges, where a pixel straddles one or more edges, and some sort of anti-aliasing is required to prevent jaggies[1] and similar aliasing artifacts, such as moiré, which would result from naive discretization (where each pixel is either 100% or 0% covered by a polygon, typically based on whether the polygon covers the pixel center).

[1] https://en.wikipedia.org/wiki/Jaggies

There are no comments on this comment yet.