Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.26 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.26 KB

Ray Tracer

Implementation of Peter Shirley's Ray Tracing In One Weekend book to learn the concept.

Implemented features:

  • adding spheres
  • ray-sphere intersection
  • calculating surface normals
  • antialiasing
  • diffuse material
  • gamma-correction
  • metal material
  • dielectrics
  • positioning the camera
  • defocus blur (depth of field)

A series of rendered images from my ray-tracer:

final_render4 final_render3 camera glass_sphere fuzzy_metal sphere_normals

Compilation: Build Project for VS 2022

rm -rf <build_folder>
mkdir <build_folder>
cmake -G "Visual Studio 17" -S . -B <build_folder>
cmake --build <build_folder>