ddunbar / PDSample

Poisson-disk sampling code as described in "A Spatial Data Structure for Fast Poisson-Disk Sample Generation".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boundary Sampling always overflows max points per grid cell

mmdanziger opened this issue · comments

Hi,

After compiling with the MakeFile I encounter:

./PDSample Boundary 0.02 /tmp/boundary.out
Internal error, point outside grid was generated, ignoring.
Internal error, point outside grid was generated, ignoring.
Internal error, point outside grid was generated, ignoring.
Internal error, point outside grid was generated, ignoring.
Internal error, point outside grid was generated, ignoring.
Internal error, point outside grid was generated, ignoring.
Internal error, point outside grid was generated, ignoring.
Internal error, overflowed max points per grid cell. Exiting.

This holds for almost all values of r that I try. What is going on? Is there some trick that I'm missing here?