Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pmp-library

> 编程语言
Open source

The Polygon Mesh Processing Library

1.5K stars0 likes0 views
WebsiteGitHub

About

The Polygon Mesh Processing Library

Introduction

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 viewers
  • Seamless cross-compilation to JavaScript (demo)

Get Started

Clone the repository:

git clone https://github.com/pmp-library/pmp-library.git

Configure and build:

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

Run the mesh processing app:

./mpview ../data/off/bunny.off

Build your own tool:

#include <pmp/surface_mesh.h>
#include <pmp/io/io.h>

int main()
{
    pmp::SurfaceMesh mesh;
    pmp::read(mesh,"input.obj");
    // .. do awesome things with your mesh
    pmp::write(mesh,"output.obj");
}

Read the Docs

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

Contribute

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.

Acknowledge

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

@software{pmp23,
  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 = {https://github.com/pmp-library/pmp-library}
}

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

License

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

GitHub Issues· 17 open

View all on GitHub
  • #247

    Python bindings for pmp-library (nanobind)

    Updated Feb 27, 2026
  • #244

    Python bindings

    Updated Jan 2, 2026
  • #218

    Remove duplicated nodes from mesh

    Updated Nov 13, 2024
  • #159

    Algorithms Preserve/Calculate Texture Coordinates

    Updated Jun 19, 2024
  • #205

    Joining Meshes

    Updated Jun 17, 2024
  • #204

    can't obj read normal vectors?

    Updated Jun 11, 2024
  • #181

    Issue in hole filling algorithm

    Updated Nov 28, 2023
  • #158

    Introduced artifacts when remeshing

    Updated Jul 12, 2023
  • #141

    Face property propagation through SurfaceTriangulation

    enhancementUpdated Mar 13, 2023
  • #139

    Remove duplicates

    Updated Mar 12, 2023

> Tags

C++c-plus-pluscurvaturegeodesic-distancesgeometry-processing

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言