Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.2 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.2 KB

Ray Tracing

This repository contains various ray tracing algorithms.

  • Raytracer.Simple is a simple implementation of a ray tracer.
  • Raytracer is supposed to be a physics based ray tracer.

Examples

example1

Example rendered with 16X supersampling and hard shadows. (4K)

example2

Example rendered with 4X supersampling, Blinn-Phong specular lightning, and 64 shadow rays to approx. a soft shadow. (4K)

References

  1. Physically Based Rendering, 2nd ed., Matt Phar, Greg Humphreys.
  2. Reflections and Refractions in Ray Tracing, Bram de Greve, 2006.
  3. Scratchapixel - Introduction to Shading: Reflection, Refraction, and Fresnel
  4. C++ Example - Refraction