This is a C++ implementation of the cone singularity construction in the following paper:
Efficient Cone Singularity Construction for Conformal Parameterizations. Mo Li, Qing Fang, Zheng Zhang, Ligang Liu, Xiao-Ming Fu. ACM Transactions on Graphics (SIGGRAPH Asia), 42(6), 2023.
The code is written by using Microsoft Visual Studio 2017.
- A generated .exe file is included in
x64/Release
, and run with:
ConeGenes.exe [INPUT_OBJ] [OUTPUT_PATH] [INPUT_DISTORTION_BOUND]
Command arguments:
- [INPUT_OBJ]: a input mesh (.obj).
- [OUTPUT_PATH]: the output path.
- [INPUT_DISTORTION_BOUND]: the input area distortion bound (default: 0.2).
- cones.txt: the first column records cones ids(index start from 1) and the second column records the non-zero Gaussian curvature.