Hacker News Viewer

Implementing a tiny CPU rasterizer (2024)

by PaulHoule on 1/25/2026, 10:45:34 PM

https://lisyarus.github.io/blog/posts/implementing-a-tiny-cpu-rasterizer-part-1.html

Comments

by: delta_p_delta_x

This is a great resource. Some others along the same lines:<p>TinyRenderer: <a href="https:&#x2F;&#x2F;haqr.eu&#x2F;tinyrenderer&#x2F;" rel="nofollow">https:&#x2F;&#x2F;haqr.eu&#x2F;tinyrenderer&#x2F;</a><p>ScratchAPixel: <a href="https:&#x2F;&#x2F;www.scratchapixel.com&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.scratchapixel.com&#x2F;index.html</a><p>3D Computer Graphics Programming by Pikuma (paid): <a href="https:&#x2F;&#x2F;pikuma.com&#x2F;courses&#x2F;learn-3d-computer-graphics-programming" rel="nofollow">https:&#x2F;&#x2F;pikuma.com&#x2F;courses&#x2F;learn-3d-computer-graphics-progra...</a><p>Ray-tracing:<p>Ray Tracing in One Weekend: <a href="https:&#x2F;&#x2F;raytracing.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;raytracing.github.io&#x2F;</a><p>Ray Tracing Gems: <a href="https:&#x2F;&#x2F;www.realtimerendering.com&#x2F;raytracinggems&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.realtimerendering.com&#x2F;raytracinggems&#x2F;</a><p>Physically Based Rendering, 4th Edition: <a href="https:&#x2F;&#x2F;pbr-book.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pbr-book.org&#x2F;</a><p>Both:<p>Computer Graphics from Scratch: <a href="https:&#x2F;&#x2F;gabrielgambetta.com&#x2F;computer-graphics-from-scratch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gabrielgambetta.com&#x2F;computer-graphics-from-scratch&#x2F;</a><p>I&#x27;ll also link a comment[1] I made a while back about learning 3D graphics. There&#x27;s no better teacher than manually implementing the rasterisation and ray-tracing pipelines.<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46410210#46416135">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46410210#46416135</a>

1/30/2026, 3:47:47 PM