Skip to content

lleoha/trace-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRACE-RS

This is yet another ray tracer (with global illumination). It renders following image in ~15 minutes in the current state of the project with 10k samples/pixel:

cornell box

And following images in ~5m with 10k samples:

showcase

dof

Rationale

This project is not complete nor correct by any means. It was created for the following purposes:

  • learn some Rust,
  • it was always one of my "bucket list" project - something I always wanted to do,

Planned features

  • global illumination
  • multi-threaded rendering
  • importance sampling
  • antialiasing
  • refraction
  • depth of field
  • russian roulette
  • textures
  • serialize and deserialize scene (.obj loader)
  • spectra rendering (instead of RGB)
  • light dispersion (stretch)

Known bugs

  • occasionally NaN values are return from trace method

Non-goals

  • be fast
  • be efficient
  • model diffraction

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages