Skip to content

Mr-1311/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracer

Yet another simple ray tracing implementation in Rust, based on Peter Shirley's ray tracing in one weekend book.

img

Build and Run

rust must be installed.

git clone https://github.com/metinUr/ray-tracer.git
cd ray-tracer
cargo run --release

Examples

Diffuse Material

img

cargo run --release --example ex_lambertian

Metal Material

img

cargo run --release --example ex_metal

Glass Material

img

cargo run --release --example ex_dielectric

Random Spheres

img

cargo run --release --example ex_random

or just run

cargo run --release

About

Simple ray tracer in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages