https://github.com/fxia22/pc_sampler
https://github.com/fxia22/pc_sampler
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fxia22/pc_sampler
- Owner: fxia22
- Created: 2019-08-05T18:01:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T07:04:51.000Z (over 6 years ago)
- Last Synced: 2025-01-13T00:28:43.920Z (11 months ago)
- Language: C
- Size: 85.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build
```
mkdir build
cd build
cmake ..
make
```
## Usage
```
./pc_sampler ~/Downloads/Allensville/mesh_z_up.obj > pc.xyz
python xyz2ply.py --infile build/pc.xyz --outfile test.ply
```
## Cut and remeshing pipeline
```
./pc_sampler ~/Downloads/Allensville/mesh_z_up.obj > pc.xyz
python xyz2ply.py --infile pc.xyz --outfile pc_color.ply
./PoissonRecon --in pc_color.ply --out poisson_no_color.ply --depth 10 --density
./SurfaceTrimmer --in poisson_no_color.ply --out poisson_trimmed.ply --trim 7
meshlabserver -i poisson_no_color.ply pc_color.ply -s color_transfer.mlx -o poisson_color.ply -om vn vc
```