Good refresher on halfspace rasterization by Ryg: https://fgiesen.wordpress.com/2013/02/08/triangle-rasterization-in-practice/
The span fillers are already there, I just need to make them support Z-interpolation for perspective correction and add extra interpolators, to start with UV and not just color.
But start with gouraud shading: use the half-space algorithm to set up spans is what I used to do, or so I recall. And unless I'm overlooking something processing horizontal spans also has the favourable cache behaviour.
Until we enter screen-space tiling territory (hello Niklas Beisert).
Good refresher on halfspace rasterization by Ryg: https://fgiesen.wordpress.com/2013/02/08/triangle-rasterization-in-practice/
The span fillers are already there, I just need to make them support Z-interpolation for perspective correction and add extra interpolators, to start with UV and not just color.
But start with gouraud shading: use the half-space algorithm to set up spans is what I used to do, or so I recall. And unless I'm overlooking something processing horizontal spans also has the favourable cache behaviour.
Until we enter screen-space tiling territory (hello Niklas Beisert).