/ray-tracer

Ray tracer tutorial project.

Primary LanguageC++

Ray Tracer

C++ ray tracer implementation based on "Understandable RayTracing in 256 lines of bare C++" tutorial.

Features

Implemented features:

  • Ray tracing itself (duh).
  • Lighting.
  • Specular lighting.
  • Shadows.
  • Reflections.
  • Refractions.

Installation

GCC compiler is required. cppcheck is optional.

macOS

brew install gcc cppcheck

Usage

To compile source code and render the scene described in Source/main.cpp run:

make