mmg is an open source software for surface and volume remeshing.
It provides two applications:
- mmgs: adaptation and optimization of a surface triangulation representing a piecewise linear approximation of an underlying surface geometry;
- mmg3d: adaptation and optimization of a tetrahedral mesh and implicit domain meshing.
- Get the repository:
git clone https://github.com/MmgTools/mmg.git
The project sources are available under the **_src/_** directory, see:
* **_src/mmgs/_** for files related to the mmgs application;
* **_src/mmg3d/_** for files related to the mmg3d application;
* **_src/common/_** for files related to the both.
- Fast compilation (build both mmgs, mmg3d and the mmg3d static library libmmg3d.a):
cd mmg mkdir build cd build cmake .. make make install
If the `make install` command fail, try to run the `sudo make install` command.
If you don't have root access, please refers to the [Installation] section(https://github.com/MmgTools/Mmg/wiki/Setup-guide#iii-installation) of the [setup guide](https://github.com/MmgTools/Mmg/wiki/Setup-guide#setup-guide).
The **mmgs** and **mmg3d** applications are available under the `mmgs_O3` and `mmg3d_O3` commands.
More detailed informations about the compilation and configuration of the mmg's applications are available on the project wiki.
Run the make doc
command to build the Doxygen documentation.
- To see the mmgs documentation, open up the mmg/doc/mmgs/html/index.html file;
- To see the mmg3d documentation, open up the mmg/doc/mmg3d/html/index.html file.
The mmg applications are validated on OS X and on most of the Linux platforms.
Your contributions to the mmg project are welcomed. You can help us to improve our code by many means:
- pull requests: please follow the wiki's guideline;
- feature requests: please use the GitHub issue tracker with the enhancement label;
- bug reports: please use the GitHub issue tracker with the bug label.
mmg's current developers and maintainers are Charles Dapogny, Cécile Dobrzynski, Pascal Frey and Algiane Froehly.
Contact: contact@mmgtools.org
Code is under the terms of the GNU Lesser General Public License.
Copyright © Inria - IMB (Université de Bordeaux) - LJLL (UPMC), 2004- .