Skip to content

smutch/rtiow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An attempt to learn more complicated Rust topics by building a ray tracer following Ray Tracing in One Weekend. I'm slowly playing with and adding features beyond the first book in this series too (e.g. lights).

Warning: Some parts of the code are deliberately over-complicated / poor design. This is because I wanted to learn things like how to clone a vector of boxed traits or what the pros-and-cons of traits vs. an enum of structs for shared behaviour is. I have also pressed ahead with some details of the algorithm after skimming other sources, without working through the math myself. There are most likely bugs land mistakes lurking here.

Example render

example render

About

Ray Tracing In One Weekend implemented in Rust as a learning exercise.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages