Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 542 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 542 Bytes

Ray Tracing in One Weekend - Rust

This repo is a Rust implementation of Ray Tracing in One Weekend.

Extra Features (Not Implemented in the vanilla C++ version)

  • multithreading rendering (CPU)
  • generic type (not perfect)

How to run

you can turn on your compiler's optimize option to make it fast

cargo run > image.ppm
# optimized (faster)
cargo run -r > image.ppm

Happy for feedbacks and comments since it is my first Rust project. 🤗

Render Results

rendered