Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 481 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 481 Bytes

A RayTracer in rust

Tutorial

image

How to run?

Generate output with

cargo run --release > image.ppm

Benchmaring

Rendering only:

hyperfine "cargo run --release"

Outputing image

hyperfine "cargo run --release > image.ppm"

Downscale image

you need image magick installed. Run:

magick image.ppm -quality 10% image.png