leastfixedpoint

Tony's Link Log

All tags.

Software rendering in 500 lines of bare C++.

Dmitry V. Sokolov (n.d.; project 2015–)
🔗 https://haqr.eu/tinyrenderer/
#graphics #bcs1450 #bcs

A series of tutorial articles building up to a software renderer, not using a GPU at all, that can produce remarkably sophisticated renders of textured 3D objects. Great for building up intuition about the modern graphics stack; nothing more than high-school mathematics required.

In this series of articles, I aim to demonstrate how OpenGL, Vulkan, Metal, and DirectX work by writing a simplified clone from scratch. […] The task is as follows: using no third-party libraries (especially graphics-related ones), we will generate an image like this: […]