Currently working on a little #rasterizer after watching the fantastic video from Sebastian Lague on yt.
Decided to write mine in #rust with some other techniques than the ones in the video, like using Barycentric Coordinates and calculating an AABB of an tri before iterating over the pixels. The video below showcases the rasterizer trying to process 250 random triangles. (Windowing and the FPS counter are done with #raylib)
Some artifacts here and there due to Z-ordering issues, but I hope to fix this soon.
End goal is to write it in such a way that I even might someday can use the rasterizer inside an custom rust #kernel / #os for basic 3d graphics, ofc to run
#doom on it!!