Skip to content

darkeclipz/raytracing

Repository files navigation

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

About

Physically based raytracing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published