Mirror of huxingyi/autoremesher — Automatic quad remeshing tool
Find a file
Jeremy HU 5851196b5e
Some checks failed
development / clang-format-check (push) Has been cancelled
release / appimage-upload (push) Has been cancelled
release / win32-msvc-upload (push) Has been cancelled
release / macos-upload (push) Has been cancelled
Update SUPPORTERS
2026-07-11 08:01:49 +10:00
.github Fix CI for windows 2026-07-06 19:30:51 +10:00
ci Add command line options, replace logo and fix CI 2026-07-06 08:30:00 +10:00
include/AutoRemesher Relicense to MIT, improve remeshing algorithms, and refine UI 2026-07-05 14:46:06 +10:00
resources Add command line options, replace logo and fix CI 2026-07-06 08:30:00 +10:00
shaders Relicense to MIT, improve remeshing algorithms, and refine UI 2026-07-05 14:46:06 +10:00
src Fix crash when remeshing non-manifold meshes 2026-07-10 00:01:15 -06:00
thirdparty Added fix 2026-07-10 17:18:06 +03:00
.clang-format Fix build 2026-07-05 20:50:17 +10:00
.gitignore Add command line options, replace logo and fix CI 2026-07-06 08:30:00 +10:00
ACKNOWLEDGEMENTS.html Add command line options, replace logo and fix CI 2026-07-06 08:30:00 +10:00
AUTHORS Update AUTHORS 2026-07-11 07:55:38 +10:00
autoremesher.icns Add command line options, replace logo and fix CI 2026-07-06 08:30:00 +10:00
autoremesher.pro Use Accelerate framework on macOS. 2026-07-10 00:06:56 +10:00
autoremesher.rc Implement guiding constraints generation [skip ci] 2020-08-03 16:48:44 +09:30
CHANGELOGS.md Update change log 2026-07-06 18:38:25 +10:00
CONTRIBUTORS Update Contributors 2026-07-09 19:32:43 +10:00
favicon.ico Add command line options, replace logo and fix CI 2026-07-06 08:30:00 +10:00
LICENSE Relicense to MIT, improve remeshing algorithms, and refine UI 2026-07-05 14:46:06 +10:00
README.md Update README.md 2026-07-09 00:28:05 +10:00
resources.qrc Add contributors dialog 2026-07-09 20:05:19 +10:00
SUPPORTERS Update SUPPORTERS 2026-07-11 08:01:49 +10:00

AutoRemesher

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 :-)

autoremesher-1 0-screenshot

Getting Started

These instructions will get you a copy of AutoRemesher up and running on your local machine for development.

Prerequisites

  • C++ compiler with C++14 support (GCC, Clang, or MSVC)
  • Qt 5.15.2
  • TBB (Intel Threading Building Blocks)
  • CMake 3.12 or later (only needed on Windows to build TBB from source)

Building

Linux (Ubuntu/Debian)

# 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

Windows (Visual Studio 2022)

  1. Install Visual Studio 2022 with Desktop development with C++ workload.
  2. Install CMake (required to build TBB from source).
  3. Install Qt 5.15.2 with the online installer — select the msvc2019_64 archive.
  4. Open a x64 Native Tools Command Prompt for VS 2022 and run:
:: 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.Release

The release binary will be at release\autoremesher.exe.

macOS

# 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)

Running a quick test

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.0

Quick Start

Windows

Download autoremesher-<version>-win32-x86_64.zip from releases, extract it and run autoremesher.exe.

macOS

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.

Linux

Download autoremesher-<version>.AppImage from releases.

$ chmod a+x ./autoremesher-<version>.AppImage
$ ./autoremesher-<version>.AppImage

License

AutoRemesher is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

See the full ACKNOWLEDGEMENTS for a list of libraries and resources used in this project.