Skip to content

A semester project to build a ray-tracing renderer for CS 419 (Computer Graphics) @ UIUC

pattyjogal/rust-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Basic Ray-Tracer (Ray-Caster?) in Rust

A simple ray-tracing renderer written in Rust.

Currently supports:

  • Objects
    • Triangles
    • Spheres
    • Planes
    • Meshes
  • Light Effects
    • Hard Shadows
    • Diffuse Shading
    • Specular Shading
    • Smooth Mesh Shading
  • Anti-Aliasing
    • Multi-Jittered Sampling
  • Camera Projections
    • Perspective
    • Orthographic

Gallery

balls trippy

Building and Running

As long as you have Rust installed w/ the cargo command-line tool, simply run

cargo run

from the base directory.

Sources

Some functionality adapted from Ray Tracing in One Weekend by Peter Shirley.

About

A semester project to build a ray-tracing renderer for CS 419 (Computer Graphics) @ UIUC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages