Apex › Storage & databases

How a GPU rasterizes a triangle

The other way to turn 3D into pixels, and the one real-time games use: instead of a ray per pixel, take each triangle and find which pixels it covers. A narrated walk through the edge-function inside test, barycentric colour interpolation, and the z-buffer — beside a real rasterized triangle. Slide a vertex and watch it re-rasterize, colours blending smoothly from the corners.

More in Storage & databases