Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

Businesscard Raytracer, now in Rust!

This is a port of the well known "Bussiness Card Raytracer" from C++ to Rust. It's source and a breakdown of how it works can be found here.

Instructions

Run the following in this directory:

cargo build --release
./target/release/raytracer > out.ppm

This will build and run the program, causing it to generate an image at out.ppm. To convert this image to .png, one can use the convert utility. An example of the output image looks like this:

Example of raytracer output

About

A port of the famous business card raytracer

Resources

Releases

No releases published

Packages

No packages published

Languages