Skip to content

Ray-tracer written in Rust based on "Ray Tracing in One Weekend" books series.

License

Notifications You must be signed in to change notification settings

pbmtp/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raytracer

Raytracer written in Rust based on "Ray Tracing in One Weekend" books series.

I learned Rust while writing this code so many things could be improved.

Fully implemented.

Final render

Fully implemented.

Final render

Fully implemented.

Cornell box with importance sampling

Cornell box with glass sphere and importance sampling

Rust specificities

  • Use dynamic traits for Texture and Materials.
  • Multi-threaded using rayon.
  • Multi-threaded using crossbeam.

Todo list

  • do real time render preview using pixels / minifb
  • incremental rendering
  • update to soon to be released version 4.0.0 of books

About

Ray-tracer written in Rust based on "Ray Tracing in One Weekend" books series.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages