Skip to content

Trivial implementation of Poisson Disk subsampling for 3D surfaces

License

Notifications You must be signed in to change notification settings

jdigne/PoissonDiskSubSampling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poisson Disk subsampling

Author: Julie Digne 2013-2021 [email protected]

Disclaimer

This code is a simple implementation of Poisson Disk Subsampling.

License

This code is released under the GNU GPL v3 License. See the attached LICENSE file.

Build instructions

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.

Usage

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)

About

Trivial implementation of Poisson Disk subsampling for 3D surfaces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published