Author: Julie Digne 2013-2021 [email protected]
This code is a simple implementation of Poisson Disk Subsampling.
This code is released under the GNU GPL v3 License. See the attached LICENSE file.
The build process relies on cmake/make which should be installed. Tested on Ubuntu 16.04, 18.04, 20.04
git clone https://github.com/jdigne/PoissonDiskSubSampling
cd PoissonDiskSubSampling
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
This project has no dependency.
pdss -i input_file -o output -r radius
By default the output file is saved in OFF format, use the optional -a option to save in ascii directly.
NOTE: every file containing oriented points is formatted as:
x1 y1 z1 nx1 ny1 nz1
x2 y2 z2 nx2 ny2 nz2
. . . . . .
. . . . . .
xn yn zn nxn nyn nzn
If no normal is provided, the normal is set to 0,0,0 (TO BE IMPROVED IN LATER VERSIONS)