Flint and Pixels 3D is a very small software-rendered 3D viewer written in C++ with SDL3, built as a learning project.

It loads .obj mesh files, parses vertex and face data, triangulates polygon faces, applies a minimal 3D transform pipeline, clips triangles against the near plane, projects the result to 2D, and renders the final wireframe in an SDL window.

I built it to experiment directly with computer graphics and the basic math behind it. Writing a tiny renderer from scratch was a practical way to study transformations, projection, clipping, and the relationship between 3D geometry and what eventually reaches the screen.

GitHub: lucas-x86/flint-and-pixels-3d

Main points:

  • Written entirely in C++
  • Loads .obj files and converts polygon faces to triangles internally
  • Uses a CPU-side rendering pipeline with projection and wireframe drawing
  • Includes (very) basic controls for movement, rotation, and vertex display
  • Built as a practical experiment for studying the basics of 3D graphics and software rendering