4 ms·
> Writing a triangle rasterizer is not that hard Certainly. One can write a trivial version in maybe 30 lines of code. Writing a triangle rasterizer that you w
by bob1029 5y ago
> Writing a triangle rasterizer is not that hard
Certainly. One can write a trivial version in maybe 30 lines of code. Writing a triangle rasterizer that you would want to use in a product that is consumed by another human is hard.
Also, it is my experience that none of these things can truly be built in isolation. Depth buffers and acceleration structures crosscut all aspects of a rendering engine.
I do agree regarding the 3d APIs though. Writing it yourself in software mode can be easier than learning someone else's mousetrap. This is the path I prefer, even if it is slower at first.