Comment

Comment by fgeahfeaha

Other people have mentioned ray-tracing in one weekend

Complimentary to that I would recommend TinyRenderer

https://github.com/ssloy/tinyrenderer/wiki

This one is a CPU-based rasterizing renderer, it gives you a good understanding of what a GPU graphics pipeline does underneath.

In the graphics world the two common ways of rendering things are either rasterization or raytracing.

Raytracing is basically all the movie/VFX/CGI/offline renderers (although it is also being used for certain parts of real-time in recent years)

Raster is how most real-time renderers like the ones used for video games work.

If you're interested in graphics I'd highly recommend implementing a ray-tracer and a rasterizer from scratch at least once to get a good mental model of how they both work.

parent fgeahfeaha 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton