Skip to content

superosku/raytracer

Repository files navigation

Ray Tracer

This is my raytracer written in rust

How To Run

Unoptimized

cargo run

Optimized version:

cargo build --release && time ./target/release/raytracer

Output is a bmp file

Example Render (5000 rays per pixel)

alt text

Old versions (single ray per pixel)

First render was at command line

alt text

First color render had just the shape

alt text

Added some shadows

alt text

The perspective was wrong at the beginning

alt text

First well working version

alt text

Added soft shadows

alt text

And opaque spheres

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages