Skip to content
项目

关于

Demo implementation of smoothly filling holes in 3D meshes using surface fairing

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

hole_fixer - Demo implementation of smoothly filling holes in 3D meshes using surface fairing

An implementation of Surface Fairing, that demonstrates the concepts explained in my article.

This demo program allows you to specify a broken mesh with a hole, that the program will fix. By running the command line

hole_fixer -in bunnyhole.off -out out.off -outfaces 8000 -upsample 2

The above pictured bunny mesh will be fixed, and the fixed mesh is written to out.off.

NOTE: the implementation is not by any means optimized, in order to keep it simple and readable.

Building

The only dependencies are libigl and Eigen. Both of which are included within this repository.

We use CMake for building. If on Linux or OS X, you can build it in the terminal by doing something like:

mkdir build && cd build && cmake .. && make

If on Windows, create a build/ folder, and run cmake .. from inside that folder. This will create a visual studio solution(if you have visual studio). Launch that solution, and then simply compile the project named hole_fixer.

探索相关项目

加载中…