Skip to content

esdmr/path-tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Path Tracing

Output of the Ray Tracer, several colorful spheres are on a gray ground, the camera is focused at the middle of the screen and the horizon is blurred, the image in a glass sphere is inverted

Experimenting with Path Tracing in the Rust Crab programming language.

This repo is following the Ray Tracing in One Weekend tutorial. The original was written in C++, so this is an interpretation of it.

I recommend compiling in release profile to render faster. I also recommend PGO since even with multithreading, it is not very fast.

The output is in PPM format. It should be trivial to rewrite it to use SDL instead. Though, it is quite slow and definitely not real-time, so it seems pointless currently.

About

Experimenting with Path Tracing

Resources

License

Stars

Watchers

Forks

Languages