Skip to content

anapupa/cuMesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuMesh

cuMesh is a simple C++/Cuda(thrust) parallel geometry processing library.

We develop it as a toolbox for post-processing of Delaunay 3d-reconstruction.

Examples

  • Mesh Smoothing
num of vertices: 2135547
num of facets: 4268725
num of boundary edges: 1167
Time of Kernel << PQGFSmoothing >> 338.622 ms. 

Quadric Smoothed Original Mesh

#include <cuMesh/SurfaceMesh.h>
#include <cuMesh/algorithm/UpdateTopology.cuh>
#include <cuMesh/algorithm/SurfaceSmoothing.cuh>

int main (int argc, char **argv) {
    cuMesh::VFMeshData mesh_data;

    cuMesh::readPLY(argv[1], mesh_data);

    cuMesh::Topology::UpdateHalfEdge(mesh_data);
    cuMesh::Smoothing::PQGFSmoothing(mesh_data, 2, 5, 1);

    cuMesh::writePLY(argv[2], mesh_data);
}

Build

git clone --recurse-submodules [email protected]:anapupa/cuMesh.git
cd cuMesh && mkdir build
cmake .. && make -j 10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published