Hacker News new | ask | show | jobs
by khedoros1 11 days ago
I know this one: https://www.amazon.com/Tricks-Programming-Gurus-Advanced-Gra...

The examples use an old version of DirectX, but if I'm remembering correctly, it's purely to get a window that you can draw into. When I was working through it, I was translating code to SDL2, with minimal effort.

But the focus was on the math, how to implement it efficiently, and building a full software rendering graphics pipeline from scratch.

So, producing the image, doing animations, rendering shadows.

Raytracing is something you can study on your own. There are a lot of tutorials out there for building a working raytracer.

Collisions and physics would be a separate topic.

Shaders...you're back to one of the graphics APIs, because those are the interfaces that graphics accelerator drivers give us to interface with the GPU itself.