/raytracing_in_rust

Implementation of raytracing in rust from Peter Shirley's RTIW and RTTNW, Chapter-by-Chapter

Primary LanguageRust

raytracing_in_rust

Implementation of Raytracing in Rust from Peter Shirley's RTIW and RTTNW

We will add some more thing such as object, hdr, etc in RRayTracer because those are not covered by Peter Shirley's minibooks.

Commits are done chapter by chapter Note: RTIW'sChapter 10 isn't missing, it was typo in commit message Chapter 11 is Chapter 10, Chapter 11 is Chapter 12

Renders according to RTIW's chapter in RTIW Chapter Renders, RTTNW's chapter in RTTNW Chapter Renders,

If you are using VSCode than run Render task by pressing F1 - Tasks: Run Task - Render else run it with cargo run --release > output.ppm command and .ppm image will be generated.

RTIW's Final output(Width = 1200, Height = 800, Sampling = 10):

RTTNW's Final output(Width = 800, Height = 800, Sampling = 10,000):