projf-explore icon indicating copy to clipboard operation
projf-explore copied to clipboard

Shared Triangle Edges

Open WillGreen opened this issue 3 years ago • 0 comments

When two triangles share an edge, we need to decide which triangle draws that edge. The standard approach is to draw the top and left edges.

Implementing the top-left rule ensures rasterisation is consistent, whichever order triangles are drawn in.

See Triangle rasterization (Wikipedia)

WillGreen avatar Sep 10 '22 08:09 WillGreen