Skip to content

Peter Shirley's "Raytracing in One Weekend", written in (only) Rust (for now, may add CUDA or HIP when finished).

License

Notifications You must be signed in to change notification settings

LtdJorge/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peter Shirley's "Raytracing in One Weekend", written in Rust.

Building:

cargo build --release

Running:

cargo run > image.ppm

This will produce an "image.ppm" file, which can be opened with IrfanView on Windows.


Things that could be added when the three books are implemented:

  • Actix actors support
  • CUDA and/or HIP backend
  • Vulkan/OpenGL display
  • IMGUI user interface to modify parameters
  • Arbitrary mesh support
  • OBJ or FBX (ugh) support. glTF is probably a better option
  • Spectral rendering
  • Full path-tracing
  • Full PBR
  • Better BRDF

About

Peter Shirley's "Raytracing in One Weekend", written in (only) Rust (for now, may add CUDA or HIP when finished).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages