Hacker News new | ask | show | jobs
by starmole 1562 days ago
This is a nice very high level view.

But if I were to teach modern GPUs and rendering I would recommend starting with something like https://tayfunkayhan.wordpress.com/2018/11/24/rasterization-...

4 comments

Scratch A Pixel is really comprehensive and very "talk to me like I am 5 years old" kind of tutorial: https://www.scratchapixel.com/
another nice resource is https://github.com/ssloy/tinyrenderer/wiki

The wiki is nice and it has a functional renderer with cpu vertex/pixel shaders, texture mapping and obj loader. A Python version is just 100 lines:

https://github.com/rougier/tiny-renderer

For me, I had to go deep into NVidia docs & sample code before it really clicked. And there's still a dearth of online materials for webgl 2.0 compute & webgpu. But it's still early ;)
That's pretty nice. I focused on the practical parts in my article, but diving into the rasterization process itself is also very interesting. Thanks for sharing!