This basic path tracer project is allow me to learn the basic concepts of graphics programming as well as to learn basic Rust.
Install the latest version of Rust.
Use cargo run > image.ppm to render the path traced image.
Note: Since this is just a demo project for me to learn how to write a path tracer and Rust, I have wrote a few tests, but it's not comprehensive as it could be.
To run tests, use cargo test.
This basic path tracer implements diffuse material for the sphere. A diffuse material will absorb or reflect some light/rays in random directions. The final color is determined by its albedo (to be implemented), which is the fraction of light absorbed vs. the fraction reflected back into the scene.