/Raytracer

A toy backward Raytracer written in C++

Primary LanguageC++

Quick hack of a simple Backward Raytracer

Requires SFML as a dependency.

Renders the resulting image to a SFML RenderWindow.

Multithreaded with automatic hardware thread count detection.

Features:

  • Camera positioning
  • FOV adjustment
  • Corrects distortion for different aspect ratios
  • Spheres and planes
  • Shadows
  • Multiple directional lights

Sample image

Sample render