Xrvitd / CWF

Code of CWF: Consolidating Weak Features in High-quality Mesh Simplification, ACM Transactions on Graphics, SIGGRAPH 2024
https://ruixu.me/html/CWF/index.html
GNU Affero General Public License v3.0
224 stars 14 forks source link

Add a command line program #14

Closed afabri closed 1 month ago

afabri commented 1 month ago

Add cwf.cpp which takes a mesh and a points file as command line arguments. We can later expose more parameters, such as the number of iterations, the directory where to write intermediate files, etc.

There are also changes in the function calculate() but MAIN,cpp does the same as before.