/rust-pt

A path tracer written in Rust using "Raytracing In One Weekend" as a guide

Primary LanguageRust

Build Status Coverage Status

Rust Ray Tracer

This project is based on a tutorial called Ray Tracing In One Weekend. I decided to port the code to Rust since I wanted to learn the language and do it through a fun project. The code isn't perfect yet, but I am hoping to iterate over it from time-to-time and build out some more features and fix bugs.

Examples

Below I am going to post some example pictures. These are some of many configurable scenes. Example Scene 1

Features

  • OBJ model parsing or randomized scene creation
  • Support for configurable dielectric, diffuse, and caustic materials
  • Motion blur
  • Checkered textures support
  • Configuring of rendering parameters through command line arguments
  • Multithreaded rendering through the use of Rust’s rayon library

Future Work

  • Bounding Volume Hierarchy
  • Microfacet materials
  • Volumes