# pmp-library **Repository Path**: dang050/pmp-library ## Basic Information - **Project Name**: pmp-library - **Description**: The Polygon Mesh Processing Library - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-23 - **Last Updated**: 2021-07-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README logo [![build](https://github.com/pmp-library/pmp-library/workflows/build/badge.svg)](https://github.com/pmp-library/pmp-library/actions?query=workflow%3Abuild) The Polygon Mesh Processing Library is a modern C++ open-source library for processing and visualizing polygon surface meshes. Its core features are: - An efficient and easy-to-use mesh data structure - Canonical mesh processing algorithms - Ready-to-use visualization tools ![Demo](docs/images/demo.gif) See [www.pmp-library.org](http://www.pmp-library.org) for more information. ## Getting Started Clone the repository: ```sh git clone --recursive https://github.com/pmp-library/pmp-library.git ``` Configure and build: ```sh cd pmp-library && mkdir build && cd build && cmake .. && make ``` Run the mesh processing app: ```sh ./mpview ../external/pmp-data/off/bunny.off ``` ## Usage ```cpp #include int main(void) { pmp::SurfaceMesh mesh; mesh.read("input.obj"); // .. do something with your mesh mesh.write("output.obj"); } ``` ## Contributing Contributions to the pmp-library are welcome. See the [contributing](https://www.pmp-library.org/contributing.html) section of the [user guide](https://www.pmp-library.org/userguide.html). ## Acknowledgment If you are using the pmp-library for research projects, please acknowledge its use by referencing ```tex @misc{pmp-library, title = {The Polygon Mesh Processing Library}, author = {Daniel Sieger and Mario Botsch}, note = {http://www.pmp-library.org}, year = {2020}, } ``` ## License The pmp-library is provided under a simple and flexible MIT-style [license](https://github.com/pmp-library/pmp-library/blob/master/LICENSE.txt), thereby allowing for both open-source and commercial usage.