Physically-based ray tracing on CPU
Output from /scenes/shadows.jl
.
] add https://github.com/pxl-th/Trace.jl.git
All of the examples are available in scenes/
directory.
Example of running caustic glass scene (note that it supports multithreading).
julia -t 4 --project=. scenes/caustic_glass.jl
Caustic effect using Stochastic Progressive Photon Mapping on a glass block.
Image | Video |
---|---|
100 iterations, ray depth 8 | 25 iterations per frame, ray depth 5. YouTube |