huxingyi/autoremesher
摘要
AutoRemesher 是一款跨平台的自动四边形重新网格化工具,可将高多边形网格转换为干净的四边形拓扑。它是开源的,并基于多个库构建。
自动四边形重新网格化工具
查看缓存全文
缓存时间: 2026/07/09 07:52
huxingyi/autoremesher 源码: https://github.com/huxingyi/autoremesher # AutoRemesher AutoRemesher 是一个跨平台的自动四边形网格重拓扑工具,可将高多边形网格转换为干净的四边形拓扑结构。它基于以下库构建:Geogram (https://github.com/BrunoLevy/geogram)、libigl (https://github.com/libigl)、isotropicremesher (https://github.com/huxingyi/isotropicremesher) 以及其他库 (https://github.com/huxingyi/autoremesher/blob/master/ACKNOWLEDGEMENTS.html)。请我喝杯咖啡,熬夜编码辛苦了 :-) ## 快速入门 按照以下说明,你可以在本地开发环境中获取并运行 AutoRemesher 的副本。 ### 前置条件 - 支持 C++14 的 C++ 编译器(GCC、Clang 或 MSVC) - Qt 5.15.2 - TBB(Intel Threading Building Blocks) - CMake 3.12 或更高版本(仅 Windows 需要从源码构建 TBB) ### 构建方法 #### Linux(Ubuntu/Debian) bash # 安装 Qt 和构建工具 sudo apt install build-essential qt5-qmake qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5multimedia5-dev # 安装 TBB 和 OpenGL sudo apt install libtbb-dev libgl1-mesa-dev # 克隆并构建 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. 安装 Visual Studio 2022 (https://visualstudio.microsoft.com/),选择 使用 C++ 的桌面开发 工作负载。 2. 安装 CMake (https://cmake.org/download/)(需要从源码构建 TBB)。 3. 使用在线安装程序 (https://www.qt.io/download-open-source) 安装 Qt 5.15.2,选择 msvc2019_64 归档。 4. 打开 VS 2022 的 x64 本机工具命令提示符,运行: cmd :: 从捆绑的第三方源码构建 TBB 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 ..\.. :: 构建 AutoRemesher qmake -spec win32-msvc set CL=/MP nmake -f Makefile.Release 发布版二进制文件位于 release\autoremesher.exe。 #### macOS bash # 安装 Xcode 命令行工具 xcode-select --install # 通过 Homebrew 安装依赖 brew install qt@5 tbb cmake # 构建 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 提供 CLI 模式用于无头处理。使用 common-3d-test-models (https://github.com/alecjacobson/common-3d-test-models) 中的模型进行测试: bash ./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 ### 快速启动 #### Windows 从发布页面 (https://github.com/huxingyi/autoremesher/releases) 下载 autoremesher--win32-x86_64.zip,解压后运行 autoremesher.exe。 #### macOS 从发布页面 (https://github.com/huxingyi/autoremesher/releases) 下载 autoremesher-.dmg。 首次运行时,苹果系统会拒绝打开并弹出类似“无法打开,因为无法验证其完整性”的提示。请前往 系统偏好设置 > 安全性与隐私 > 通用,在“允许从以下位置下载的 App”下点击按钮允许它运行。 #### Linux 从发布页面 (https://github.com/huxingyi/autoremesher/releases) 下载 autoremesher-.AppImage。 $ chmod a+x ./autoremesher-.AppImage $ ./autoremesher-.AppImage ### 相关链接 - 了解开源自动重拓扑工具 AutoRemesher (http://www.cgchannel.com/2020/08/check-out-open-source-auto-retopology-tool-autoremesher/) cgchannel.com - 一款新的开源自动重拓扑工具 (https://80.lv/articles/a-new-open-source-auto-retopology-tool/) 80.lv - [非 Blender] AutoRemesher 自动重拓扑工具发布 blendernation.com - オープンソースの新しいオートリメッシュツール Auto Remesher (https://cginterest.com/2020/08/20/%e3%82%aa%e3%83%bc%e3%83%97%e3%83%b3%e3%82%bd%e3%83%bc%e3%82%b9%e3%81%ae%e6%96%b0%e3%81%97%e3%81%84%e3%82%aa%e3%83%bc%e3%83%88%e3%83%aa%e3%83%a1%e3%83%83%e3%82%b7%e3%83%a5%e3%83%84%e3%83%bc%e3%83%ab-a/) cginterest.com - AutoRemesher 1.0.0-alpha - 超高速で高品質のクワッドポリゴン生成!Dust3D開発者によるオープンソースの自動リメッシュツール! (https://3dnchu.com/archives/autoremesher-1-0-0-alpha/) 3dnchu.com - 开源 AutoRemesher 发布 (https://cgpress.org/archives/open-source-remesher.html) cgpress.org - 「autoremesher」多角形を自動でリトポしてれる無料トポロジーツール (https://modelinghappy.com/archives/30339) modelinghappy.com - 开源自动重网格工具 (https://blender-addons.org/open-source-auto-remesher/) blender-addons.org - AutoRemesher | 自动重拓扑工具 (https://www.digitalproduction.com/2020/08/05/autoremesher-auto-retopology-tool/) digitalproduction.com - AutoRemesher 开源自动重拓扑工具 (https://blenderartists.org/t/autoremesher-open-source-auto-retopology-tool/1245131/126) blenderartists.org ## 许可证 AutoRemesher 采用 MIT 许可证 - 详情请参阅 LICENSE 文件 (https://github.com/huxingyi/autoremesher/blob/master/LICENSE)。 ## 致谢 完整致谢列表请参见 ACKNOWLEDGEMENTS (https://github.com/huxingyi/autoremesher/blob/master/ACKNOWLEDGEMENTS.html),其中列出了本项目使用的库和资源。
相似文章
zeux/meshoptimizer
meshoptimizer 是一个库,提供优化三角形网格以用于GPU渲染的算法,提升顶点和索引数据的效率,同时降低存储开销。
MeshWeaver: 稀疏体素引导的表面编织用于自回归网格生成
MeshWeaver 提出了一种自回归网格生成框架,它使用多级稀疏体素编码器直接预测顶点,为高多边形网格实现了最先进的压缩率和几何保真度。
由 Qwen 3.6-27B 编写的精简版 Hugging Face 模型搜索工具
一位开发者创建了一款精简版 Hugging Face 模型搜索工具,以单个内嵌 JS 的 HTML 文件形式存在,大部分代码由 Qwen 3.6-27B 编写。该工具按作者、基础模型和衍生模型组织模型,并利用缓存最小化 API 调用。
数十亿三角形再现
zeux 详细介绍了 meshoptimizer 的分层级联 LOD 与 glTF 压缩扩展(EXT/KHR_meshopt_compression)的改进,这些改进是在 NVIDIA 更新了 vk_lod_clusters 示例及其包含 16 亿三角形的 Zorah 场景之后展开的,重点展示了场景数据体积的大幅缩减以及路径追踪性能的提升。
PolyFlow:面向艺术家风格网格生成的连续拓扑嵌入流匹配
PolyFlow利用拓扑嵌入器提出连续的网格表示,并基于Transformer实现流匹配的并行网格生成,相比自回归方法推理速度更快且分辨率控制精确。