-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix poisson disc sampling mask generation
Before fixing, the function segfaults or stalls for some rectangular shapes. The main reason is that poisson disc mask requires a radius parameter such that each sample is away from each other. The problem was for rectangular shapes, the radius parameter is adjusted such that it was not stable.
- Loading branch information
Showing
2 changed files
with
72 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters