Skip to content

vsevolodbazhan/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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