This is an implementation of Paul Debevec's A Median Cut Algorithm for Light Probe Sampling. The code generates sample positions for 2^n light sources. You will still need to sum up the energy of the respective cut region to get the final flux. To run the sample, please fetch Sean Barrett's stb_image.
forked from thefranke/mediancut
-
Notifications
You must be signed in to change notification settings - Fork 0
chemaguerra/mediancut-topotoy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A basic implementation of "A Median Cut Algorithm for Light Probe Sampling"
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 94.9%
- C++ 5.1%