Skip to content

grant0417/ray_tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracer

Cornell Box Rendered at 1280x1280 with 4096 samples/pixel in 01:19:34 on a Ryzen R7 2700x.

About

A basic ray tracer built in Rust that also runs on the web.

Some features include:

  • Parallel execution of ray tracing
  • .obj loading
  • BVH acceleration
  • Command line interface
  • Multiple image output formats

Here are some more images from the ray tracer:

Utah Teapot and Stanford Dragon

How to use

To run the program clone the repository then run cargo run --release -- file.png or use cargo run --release -- --help to get more info on how to use the program.