Learning the basics of raytracing method and Rust programming language by rewriting every C++ source code in the book "Raytracing in One Weekend" written by Peter Shirley
I re-read Raytracing in One Weekend recently and the code structure changed and,
my previous code was terrible.
I wanted to rewrite to code with a better structure and base it off of the new
code base in the book.
What differentiates this from other implementations are the following features.
- Not using stdout for writing PPM.
- Created a dedicated PPM writer to get rid of the bottleneck from using stdout.
- Added PNG image writer by using the
image
crate for handling PNG file writer. - Parallel renderer. (Because multithread = fast)
2022/5/31
- Erased every past code in
rust
branch due to fatal flaw in code- Backed previous codes to
rust_bak
branch
- Backed previous codes to
- Completed 2.2. Creating an Image File
2022/6/5
- Completed 12 Defocus Blur
2022/6/8
2022/6/11
- Completed 7 Rectangles and Lights
2022/6/12
- Completed 8 Instances
2022/6/16
- Completed 9 Volumes
2024/9/25
- Rewrite in rust with better code base
2024/10/12
- Moved rust-rewrite to rust
- Completed Raytracing in One Weekend