Skip to content

Proof of concept CPU ray tracer made following Raytracing in One Weekend.

Notifications You must be signed in to change notification settings

DavJCosby/RustRayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

RustRayTracer

A simple raytacer following Peter Shirley's Raytracing In One Weekend. Features multi-threaded rendering using rayon, a custom (albeit naive) HDR environment map solution, and support for a handful of common tonemappers. For better or for worse, all memory used for rendering lives on the stack.

Gallery

Basic diffusive material lit by a pretty sunset

Metallic materials with varying roughness

Colored dialectric glass material

Final demo scene from the book

That glass shader is definitely wrong...

Same scene with an environment map applied

Couldn't figure out how to implement importance sampling for the enviroment maps, so small and bright areas tend to create tons of fireflies :(

About

Proof of concept CPU ray tracer made following Raytracing in One Weekend.

Topics

Resources

Stars

Watchers

Forks

Languages