https://github.com/cheind/mesh-deform
:lollipop: Physically plausible interactive 3D mesh deformation based on as rigid as possible constraints.
https://github.com/cheind/mesh-deform
computer-graphics deforming-meshes surface-modeling
Last synced: 8 months ago
JSON representation
:lollipop: Physically plausible interactive 3D mesh deformation based on as rigid as possible constraints.
- Host: GitHub
- URL: https://github.com/cheind/mesh-deform
- Owner: cheind
- Created: 2016-04-28T17:37:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-16T18:24:15.000Z (about 4 years ago)
- Last Synced: 2025-09-10T01:33:30.187Z (9 months ago)
- Topics: computer-graphics, deforming-meshes, surface-modeling
- Language: C++
- Homepage:
- Size: 323 KB
- Stars: 83
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## mesh-deform
**mesh-deform** is cross-platform C++11 library capable of deforming meshes under rigidity constraints, leading to an interactive visually appealing (not necessarily physically correct) surface modeling approach.
The implementation is based on *Sorkine, Olga, and Marc Alexa. "As-rigid-as-possible surface modeling." Symposium on Geometry processing. Vol. 4. 2007.*
### Features
- Mesh independent implementation running interactive frame rates
- Keyframe-based 6DoF trajectory interpolation
- OpenMesh surface adapter
- Visualizer
### Compilation
**mesh-deform** is a header only project requiring the following dependencies:
- Eigen: http://eigen.tuxfamily.org/
Optionally:
- Sophus: https://github.com/stevenlovegrove/Sophus/
- OpenMesh: https://www.openmesh.org/
- OSG: http://www.openscenegraph.org/
### Getting started
You may want to browse the source of one of the examples to get a feeling for how this library is meant to be used.
The basic procedure is: Given a source mesh, a set of handles that are said to be fixed in space, another set of handles dragged to an offset position the library iteratively computes the positions of the remaining vertices so that every vertex is moved as rigid as possible given its direct neighborhood.
### Videos
Click to view.
[](https://www.youtube.com/watch?v=h7YqRzAhKVw)
[](https://www.youtube.com/watch?v=0BI0iYPgbyo)