projects / albedo

Albedo

C++ · ray tracing since 2026 in progress: about 1/6 of the way through the book source

Albedo is a CPU ray tracer written in C++. It starts as a pass through Ray Tracing in One Weekend and the plan is to keep going: a BVH, textures, and eventually a path tracer fast enough to render real scenes.

Where it is now

  • Writes images out as PPM
  • Casts rays from a simple camera and shades the background

Next

  • Sphere intersection and surface normals
  • Antialiasing
  • Diffuse, metal and glass materials