Poisson Disk Sampling Generator for Unity3D - RazorYhang/PoissonDiskGeneratorForUnity GitHub Wiki
Welcome to the PoissonDiskGeneratorForUnity wiki!
Intro.
This Unity C# script generates Poisson Disk sampling for general purpose.
The algorithm in this script follows paper: "Fast Poisson Disk Sampling in Arbitrary Dimensions." Robert Bridson. ACM SIGGRAPH 2007
About Poisson disc and supersampling: https://en.wikipedia.org/wiki/Supersampling#Poisson_disc
How to use:
- set parameters. ( minDist / k / sampleRange )
- call Generate(). It will return the list contains sample points.
- You can test and view the samples with PoissonDiskResultHelper.cs.