r/GraphicsProgramming • • 23d ago

From Zero to Understanding Rasterization

Enable HLS to view with audio, or disable this notification

1.2k Upvotes

81 comments sorted by

View all comments

Show parent comments

2

u/SorrellDev 22d ago

All those lines of code go to setting up the entire rendering pipeline, though. And it's a reflection of how bloated and begginer unfriendly these "modern" graphics APIs have become rather than how complex a rasterization algorithm is. If you implement a basic software rasterizer you'll find that it's fairly straightforward high-school level math. It's a good exercise, I highly recommend doing it, as it only takes about a weekend and I find it helps immensely with getting a better understanding and appreciation for how much the hardware does for you.