A simple feature-preserving isotropic remesher based on edge flips, edge collapses and vertex repositioning.
This is pre-alpha code! Use at your own risk. I cannot support it!
My utilities code for string handling, some geometry functions and command line arguments, download from: https://github.com/jamesgregson/utilities
Generate makefiles using CMake from the build/ subdirectory then build with make.
<path>/remesher$ cd build
<path>/remesher/build$ cmake .. -G Xcode
<path>/remesher/build$ make
After a successful build, run from bin/ subdirectory or play with the run_suite.py
Run with no options to see command line arguments, e.g.:
<path>/remesher/bin$ ./remesher
option -size defaulted to 0.02
option -feat defaulted to 45.0087
option -iters defaulted to 10
==================================================
Usage: ./remesher [parameters]
==================================================
Parameters:
  -input  <String>  [REQUIRED] input file in .obj format
  -output <String>  [REQUIRED] output file in .obj format
Optional parameters:
  -size   <Real>    [OPTIONAL] edge length as fraction of bounding box longest side, default: 0.02
  -feat   <Real>    [OPTIONAL] feature threshold, degrees, default: 45.0087
  -iters  <Integer> [OPTIONAL] number of remeshing iterations to perform, default: 10
==================================================
Errors: 
required option -input was not specified!
required option -output was not specified!
command line was: 
./remesher 



