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.
-
Notifications
You must be signed in to change notification settings - Fork 1
thefranke/mediancut
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