This repository contains the official implementation of the paper
Fast and Globally Consistent Normal Orientation based on the Winding Number Normal Consistency
ACM ToG 2024, SIGGRAPH Asia 2024 Journal Track
Siyou Lin, Zuoqiang Shi, Yebin Liu
ext/wn_treecode
main_wnnc.py
ext/gaussrecon_src
, which is faster than PoissonRecon with better smoothness control, but never officially open-sourced.
cd ext
pip install -e .
cd ..
python main_wnnc.py data/Armadillo_40000.xyz --width_config l0 --tqdm
python main_wnnc.py data/bunny_noised.xyz --width_config l1 --tqdm ... python main_wnnc.py data/bunny_noised.xyz --width_config l5 --tqdm
python main_wnnc.py data/bunny_noised.xyz --width_config custom --wsmin 0.03 --wsmax 0.12 --tqdm
python main_wnnc.py -h
2. For Gauss surface reconstruction:
First download [ANN 1.1.2](https://www.cs.umd.edu/~mount/ANN/) and unpack to `ext/gaussrecon_src/ANN`. Run `make` there. Then go back to the main repository directory, and:
```bash
sh build_GR_cpu.sh
sh build_GR_cuda.sh
./main_GaussReconCPU -i <input.xyz> -o <output.ply>
./main_GaussReconCUDA -i <input.xyz> -o <output.ply>
This is a preliminary version and updates are coming soon