4 ms·
Triangle Rasterization in Practice
- ggambetta 7y agoA simpler, dirtier, much quicker approach (with essentially three divisions per triangle): https://gabrielgambetta.com/computer-graphics-from-scratch/filled-triangles.html https://gabrielgambetta.com/computer-graphics-from-scratch/f...
- edflsafoiewq 7y agoThe reason for preferring edge functions to scanline rasterization is given in the next article: https://fgiesen.wordpress.com/2013/02/10/optimizing-the-basic-rasterizer/ https://fgiesen.wordpress.com/2013/02/10/optimizing-the-basi...
- sillysaurusx 7y agoI love rasterization. It's such a cool algorithm. Everyone should write a software rasterizer! Why bother? Because it's heckin' cool, mate. But beyond that, it will also give you a much deeper understanding of a modern graphics pipeline (just in time for it to be replaced by AI rendering within the next decade). I used Chris Hecker's 5-part series to learn how to do rasterization: http://www.chrishecker.com/Miscellaneous_Technical_Articles http://www.chrishecker.com/Miscellaneous_Technical_Articles He walks you through the math and the code simultaneously, which is deliciously rare. Usually you get one or the other, but having both is delightful.
- emikulic 7y ago2013.
- hatsunearu 7y agohttps://github.com/ssloy/tinyrenderer/wiki https://github.com/ssloy/tinyrenderer/wiki This tutorial is super good for making a simple rasterizing renderer. https://github.com/hatsunearu/tinyrendere-rs https://github.com/hatsunearu/tinyrendere-rs I implemented some of it in rust!