Rasterisaation
Rasterization is a fundamental process in computer graphics used to convert vector graphics into a raster image, which is a grid of pixels. This process is essential for displaying images on screens, as monitors are inherently pixel-based. When a 3D model or 2D vector shape is to be displayed, its geometric data, typically represented by vertices and edges, is transformed and projected onto a 2D plane. Rasterization then determines which pixels on the screen grid fall within the boundaries of these projected shapes.
The core of rasterization involves algorithms that efficiently calculate pixel coverage. For lines, algorithms like Bresenham's
The output of rasterization is a bitmap or raster image, where each pixel has a specific color