GithubHelp home page GithubHelp logo

toplattice / hole_fixer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erkaman/hole_fixer

0.0 0.0 0.0 3.08 MB

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

Home Page: https://erkaman.github.io/posts/hole_filling.html

License: MIT License

CMake 0.14% C++ 98.18% C 1.32% Objective-C 0.36%

hole_fixer's Introduction

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.

hole_fixer's People

Contributors

erkaman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.