Sampling a Geometric Edge on a Pixel Grid

A rasterizer decides which discrete locations represent a geometric shape. Sampling at a fixed point per pixel can lose subpixel features.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a narrow shape
  2. Describe coverage separately

Trace a narrow shape

A thin stripe can pass between neighboring sample centers, causing a point-sampled result to miss it. Pixel grids distinguish samples from continuous cells.

Describe coverage separately

A renderer can approximate how much of each cell is covered using more samples or a separate coverage rule. Pixel area and scale explain what those cells represent.[1]

References

  1. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩