LiangliangNan/Easy3D
A lightweight, easy-to-use, and efficient library for processing and rendering 3D data (C++ & Python)
What it solves
Easy3D tackles the problem of building 3D applications that need both geometry processing (like mesh simplification or surface reconstruction) and high-quality rendering, without forcing developers to juggle low-level OpenGL code. Existing geometry libraries such as PMP and libigl focus mainly on algorithms, leaving rendering and user interaction to the user. Easy3D fills that gap by providing a single, easy-to-use toolkit that covers data structures, algorithms, rendering, and a ready-made viewer.
How it works
Easy3D is written in C++ and also ships Python bindings. It offers efficient data structures for common 3D objects — point clouds, polygonal surfaces (triangle meshes), polyhedral volumes (tetrahedral meshes), and graphs — and lets you attach arbitrary per-element properties. On top of that, it bundles a set of widely used geometry algorithms (normal estimation, Poisson surface reconstruction, RANSAC, mesh simplification, subdivision, smoothing, parameterization, remeshing, and more). For rendering, it wraps modern OpenGL and GLSL into high-level drawable objects, so you can render points, lines, triangles, scalar fields, and vector fields with just a few lines of code. It also includes a viewer that can be used directly or extended, and supports multiple GUI toolkits (GLFW, Qt, wxWidgets). The library is built with CMake and most third-party dependencies are bundled; optional features like CGAL-based advanced mesh processing and Qt support can be enabled via CMake flags.
Who it’s for
Easy3D is aimed at researchers, educators, and developers who work with 3D data and want a library that is both simple to learn and powerful enough for real applications. It is explicitly intended for research and educational purposes, but also serves as a solid starting point for building sophisticated 3D tools. The step-by-step tutorials and Python bindings make it accessible to people who are not deeply experienced with C++ or OpenGL.
Highlights
- Efficient data structures for point clouds, surface meshes, polyhedral volumes, and graphs, with easy addition of arbitrary per-element properties.
- A broad set of geometry processing algorithms, including Poisson surface reconstruction, RANSAC, mesh simplification, subdivision, smoothing, parameterization, and remeshing.
- A variety of rendering techniques: point/line imposters, screen-space ambient occlusion (SSAO), hard shadows (shadow maps), soft shadows (PCSS), eye-dome lighting, and transparency (average color blending, dual depth peeling).
- High-level encapsulation of OpenGL and GLSL — no need to touch low-level graphics APIs.
- Step-by-step tutorials covering data structures, rendering, and algorithms.
- A ready-to-use viewer that can be extended, with support for GLFW, Qt, and wxWidgets.
- A companion tool called Mapple, built on Easy3D, for rendering and processing 3D data.
- Python bindings, allowing Easy3D to be used from Python scripts.
Related
- Project
- Project
- Project
- Project
- Project