← All projects
Project record1 mention
Originally shared on Hacker News

3D Software Renderer in C

A 3D software renderer written in C as a from-first-principles computer graphics learning project. It implements triangle rasterization, perspective projection, a depth buffer, clipping, texture mapping, diffuse lighting, and gamma correction, with shadow mapping in progress as the final renderer feature before planned procedural generation of meshes and textures. A YouTube video series walking through the code and algorithms is planned.

Last shared
01 / The problem

What it addresses

Built as a hands-on way to learn more about computer graphics by implementing rendering techniques from scratch.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 3D Software Renderer in C

    A 3D software renderer written in C as a from-first-principles computer graphics learning project. It implements triangle rasterization, perspective projection, a depth buffer, clipping, texture mapping, diffuse lighting, and gamma correction, with shadow mapping in progress as the final renderer feature before planned procedural generation of meshes and textures. A YouTube video series walking through the code and algorithms is planned.

    Problem: Built as a hands-on way to learn more about computer graphics by implementing rendering techniques from scratch.

    Posted by @fasterik · Original source ↗

    Source text · @fasterik · · Source ↗

    I wanted to learn more about computer graphics, so I'm writing a 3D software renderer in C. So far I have a solid implementation of triangle rasterization, perspective projection, depth buffer, clipping, texture mapping, diffuse lighting, and gamma correction.