Skip to content

kzqiu/rs-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs-tracer

A small ray-tracing project written in Rust. Inspired by the Ray Tracing in One Weekend series. Go check them out!

Usage

Run an example from the examples/ directory using Cargo to render a .png file in your current directory:

cargo run --example <example_name>

Roadmap:

  • Basic image generation using .ppm files
  • Simple camera and rays
  • Adding spheres
  • Calculating collisions between rays and generic list of objects (the world)
  • Basic shading
  • Anti-aliasing (stochastic sampling)

anti-aliased

  • Materials (Lambertian/Diffuse, Metal, Dielectrics)

materials

  • Defocus blur

defocus_blur

  • Moveable camera
  • Motion blur (moving objects)
  • Bounding volume hierarchies
  • Perlin (and Voronoi?) noise
  • Additional shapes
  • Light sources
  • Light scattering

About

A small ray-tracing project written in rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages