Skip to content

About

Simple ray tracer in rust

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages