Skip to content

💡 An implementation of Ray Tracing in One Weekend and Ray Tracing: The Next Week in 2.1 kLoC of Rust.

Notifications You must be signed in to change notification settings

BugenZhao/raytracing.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raytracing.rs

An implementation of Ray Tracing in One Weekend and Ray Tracing: The Next Week in 2.1 kLoC of Rust.

Features

  • Basic textures, materials, objects and transformations
  • Simple BVH for object organization
  • Naive one-line pixel-level parallelism
  • Trivial macro- and generic-based static dispatches
  • Childish interactive GUI (see interactive branch)

Gallery

  • Weekend Final weekend_final_bvh
  • Rectangle Light rect_light
  • Cornell Box cornell_box
  • Smoke Sphere in Cornell Box cornell_smoke_sphere
  • Checker checker

Roadmap

  • SIMD support
  • PDF support

About

💡 An implementation of Ray Tracing in One Weekend and Ray Tracing: The Next Week in 2.1 kLoC of Rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages