packages/library/path_tracer
p

path_tracer

v780ff1dlibrary

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

0 stars0 forksUnknownupdated 4 years ago
Open repo

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

Package Info
Version
v780ff1d
License
Unknown
Author
@arieldon
Type
library
Forks
0
Created
4 years ago
Updated
4 years ago
Health
maintained
has releases
has readme
has license
Activity
last 56 weeks