Skip to content

mtichavsky/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray tracer

I wrote this program in order to learn Rust and computer graphics. The logic is taken from an awesome book Ray Tracing In One Weekend by Peter Shirley.

This program supports multi-threading using modified thread pool from Rust book.

An example of a generated scene

An example of a generated scene

Usage

It is still WIP and not user-friendly yet.

The config is done through constants in src/lib.rs file and scene setup in set_scene_objects function in the same file.

Compilation and execution should be done with cargo run --release for performance reasons.

About

Implementation of Peter Shirley ray tracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages