Skip to main content

RayTTracer

Project C++

This is a very simple and naive CPU based ray tracer I wrote in a couple of days to refresh my knowledge of C++.

A screenshot of a simple ray traced scene with spheres and planes.
A ray traced scene with 3 spheres and 4 point lights rendered with 2 bounces.

It uses Streaming SIMD Extensions (SSE) and multi-threading to calculate as many rays as possible in parallel, but lacks any further optimization like KD tree traversal.

It currently only supports:

  • Sphere and plane primitives
  • Point lights
  • Adjustable number of bounces