Skip to content


Repository files navigation


build Coverage Status Latest Release DOI

The Polygon Mesh Processing Library is a modern C++ open-source library for processing and visualizing polygon surface meshes. Its main features are:

  • An efficient and easy-to-use mesh data structure
  • Standard algorithms such as decimation, remeshing, subdivision, or smoothing
  • Ready-to-use visualization tools
  • Seamless cross-compilation to JavaScript (demo)

Get Started

Clone the repository:

git clone

Configure and build:

cd pmp-library && mkdir build && cd build && cmake .. && make

Run the mesh processing app:

./mpview ../data/off/

Build your own tool:

#include <pmp/surface_mesh.h>

int main()
    pmp::SurfaceMesh mesh;
    // .. do awesome things with your mesh

Read the Docs

The user guide contains all you need to get started using PMP, including a tutorial covering mesh processing basics.


Contributions to PMP are welcome! There are many ways you can help: Report any issues you find, help to improve the documentation, join our discussions forum, or contribute new code.


If you are using PMP for research projects, please acknowledge its use by referencing

  author = {Sieger, Daniel and Botsch, Mario},
  title = {{The Polygon Mesh Processing Library}},
  year = {2023},
  month = aug,
  version = {3.0.0},
  doi = {10.5281/zenodo.10866532},
  url = {}

We acknowledge that PMP evolved from our previous work on Surface_mesh and OpenMesh.


PMP is provided under a simple and flexible MIT-style license allowing for both open-source and commercial usage.