Skip to content

D-Berg/raytracer_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A raytracer coded in rust.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages