A rust implementation version of RayTracingInOneWeekend.
Include complete code and output ppm file for each chapter and section.
Final output (image_width = 1200, sample_per_pixel = 500, max_depth = 50)
example:
cargo run --bin raytracing --release
You can replace "raytracing" with chapter2-2, chapter4-2 etc to get corresponding output.ppm
files.
- Ray Tracing In One Weekend by Peter Shirley
- Raytracing in Rust on YouTube