Skip to content

arieldon/path_tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Path Tracer

An implementation of Peter Shirley's Ray Tracing in One Weekend in Odin.

At the core, the ray tracer sends rays through pixels and computes the color seen in the direction of those rays.

-- Peter Shirley, Ray Tracing in One Weekend

Shirley's high-level explanation of a ray tracer may be broken down further into the following steps:

  1. Calculate ray from camera to pixel.
  2. Determine which objects this ray hits.
  3. Compute a color for that point.

Because this ray tracer, or path tracer more specifically, is an implementation of Shirley's work, it follows this model.

Usage

This script serves as a very simple wrapper for the Odin compiler.

./run.sh

Images

Images output by the ray tracer are available under images/.

Credits

Ray Tracing in One Weekend

About

An implementation of Peter Shirley's Ray Tracing in One Weekend in Odin.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors