← All projects

C++ · Graphics · Personal project

3D Game Engine

My first C++ program: a 3D renderer built without any maths libraries, so every matrix operation and projection is hand-written. Development is ongoing.

  • C++
  • Linear algebra
  • 3D graphics
A wireframe cube made of triangles, rotating in 3D, rendered by the engine.
Early milestone: a rotating wireframe cube built from triangles.

What I built

I implemented the maths behind 3D rendering myself: matrix multiplication, projecting 3D coordinates onto a 2D screen, and a camera that transforms each triangle into view. The camera was the part I found most interesting.

It was also my introduction to C++ and the extra complexity it brings compared with the languages I'd used before, and it fed a long-standing interest in computer graphics.