Skip to content

chinoto/rust_raytracer_iow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Not much to say, I (slowly) followed the tutorial and got the expected result.

I used Rayon to parallelize each scanline, but even with that, rendering the final scene took a really long time (Ryzen 9 5900HX 8c/16t), maybe I'll find a way to optimize that (get rid of Arc?).

I'm not sure if the pattern has a name, but I replaced the "pass-by-reference plus boolean return for error" with Option<T>, which I find much more pleasant and clear to work with.

About

"Ray Tracing in One Weekend" done in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages