GithubHelp home page GithubHelp logo

annareithmeir / asrigidaspossibledeformer Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 704 KB

Interactive framework for the as-rigid-as-possible mesh deformation in C++.

C++ 52.71% CMake 2.99% C 44.31%
optimization deformation

asrigidaspossibledeformer's Introduction

Interactive As-Rigid-As-Possible Mesh Deformer

This implementation offers an interactive mesh deformer for triangulated meshes. It allows the user to directly interact with a mesh in a graphical user interface and to view the deformation in real-time. It is an implementation of the ARAP deformation algorithm by Sorkine et al. [1]. The algorithm optimizes the rotations and positions of the vertices by considering their local rigidity, i.e. the local cells consisting of a vertex and its neighbors. This procedure can be done in an iterative flip-flop fashion where the rotations are estimated with the Procrustes algorithm and the new vertex positions with a linear equation system (LES).

For the deformation the user can choose between the following weights:

  • Constant:
  • Uniform: , where is the number of neighbors of vertex i
  • Cotangent:

Sparse matrices are supported and for the estimation of the vertex locations the user can decide on which decomposition is used for solving the LES.

The interactive mesh deformer allows the user to load a triangulated mesh, select static vertices and handles. The deformation is done by dragging the handles in the GUI. The deformer performs well on meshes up to 1000 vertices (without OpenMP). The code is based on libigl, glob, glew and Eigen. OpenMP support is optional.

Contributors: Maximilian Hess, Konstantin Karas, Anna Reithmeir, Moritz Schirra

[1] Olga Sorkine and Marc Alexa. As-rigid-as-possible surface modeling. In: Symposium on Geometry processing, volume 4, pages 109โ€“116, 2007.

asrigidaspossibledeformer's People

Contributors

annareithmeir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

grideyes-2010

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.