huxingyi / autoremesher
- четверг, 9 июля 2026 г. в 00:00:06
Automatic quad remeshing tool
AutoRemesher is a cross-platform automatic quad remeshing tool that converts high-polygon meshes into clean quad-based topology. It is built on top of libraries: Geogram, libigl, isotropicremesher and others.
Buy me a coffee for staying up late coding :-)
These instructions will get you a copy of AutoRemesher up and running on your local machine for development.
# Install Qt and build tools
sudo apt install build-essential qt5-qmake qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5multimedia5-dev
# Install TBB and OpenGL
sudo apt install libtbb-dev libgl1-mesa-dev
# Clone and build
git clone https://github.com/huxingyi/autoremesher.git
cd autoremesher
qmake
make -j$(nproc)Fedora:
sudo dnf install gcc-c++ qt5-qtbase-devel qt5-qttools-devel tbb-devel mesa-libGL-devel
msvc2019_64 archive.:: Build TBB from the bundled third-party source
cd thirdparty\tbb
cmake -B build2 ^
-DTBB_BUILD_SHARED=ON ^
-DTBB_BUILD_STATIC=OFF ^
-DTBB_BUILD_TBBMALLOC=OFF ^
-DTBB_BUILD_TBBMALLOC_PROXY=OFF ^
-DTBB_BUILD_TESTS=OFF
cmake --build build2 --config Release
cd ..\..
:: Build AutoRemesher
qmake -spec win32-msvc
set CL=/MP
nmake -f Makefile.ReleaseThe release binary will be at release\autoremesher.exe.
# Install Xcode Command Line Tools
xcode-select --install
# Install dependencies via Homebrew
brew install qt@5 tbb cmake
# Build
export PATH="/usr/local/opt/qt@5/bin:$PATH"
git clone https://github.com/huxingyi/autoremesher.git
cd autoremesher
qmake CONFIG+=sdk_no_version_check
make -j$(sysctl -n hw.logicalcpu)AutoRemesher has a CLI mode for headless processing. Try it with one of the common-3d-test-models:
./autoremesher \
--input armadillo.obj \
--output remeshed.obj \
--report remeshed_report.txt \
--target-quads 50000 \
--edge-scaling 1.0 \
--sharp-edge 90.0 \
--smooth-normal 0.0 \
--adaptivity 1.0Download autoremesher-<version>-win32-x86_64.zip from releases, extract it and run autoremesher.exe.
Download autoremesher-<version>.dmg from releases.
For the first time, Apple will reject to run and popup something like "can't be opened because its integrity cannot be verified". Go to System Preferences > Security & Privacy > General and under "Allow apps downloaded from" click the button to allow it.
Download autoremesher-<version>.AppImage from releases.
$ chmod a+x ./autoremesher-<version>.AppImage
$ ./autoremesher-<version>.AppImage
AutoRemesher is licensed under the MIT License - see the LICENSE file for details.
See the full ACKNOWLEDGEMENTS for a list of libraries and resources used in this project.