Skip to content

benitogr-code/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A path tracer based on the Raytracing in one weekend book series.

The feature set includes what is covered in the first two books in the series:

  • Geometry: Spheres, Rectangle and boxes.
  • Materials (metal, glass...), multiple Texture types and Light sources.
  • Configurable camera: fov, focus distance, motion blur...
  • Bounding volume hierarchy to speed up scene traversal.

Additional features:

  • Integrated STB library to generate PNG image output.
  • Multi threaded rendering.

The main executable has multiple scene samples which can be rendered at different quality presets: low, medium and high.

raytracer --scene [SCENE_ID] --quality [low|medium|high]

Materials and camera effects

Light sources and textures

About

Raytracer based on "Raytracing in one weekend" book series

Resources

Stars

Watchers

Forks

Packages

No packages published