Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesh Generation Library implementation in C++

In this project, we plan to implement mesh generation algorithms for 2D and 3D shapes in C++.

Algorithm

  • Marching Cubes

compilation and execution [in src]

  g++ -std=c++14 -o marchingcubes main.cpp
  ./marchingcubes

visualization[in test/]

python3 viz.py <.txt filepath>
python3 vizply.py <ply filepath>

Test results

Ring torus(https://3dviewer.net/) Ring torus

Ring torus using open 3d Ring torus

sphere in sphere Sphere in sphere

Ball on top of xy+yz+zx = c with edges

Distorted sphere along with few other sphere

Random

Existing features

  • supports multiple threads
  • function to export to .ply
  • use open3d ( python lib) for visualization

Future plans

  • OpenCL / CUDA-based functions
  • addition of better interpolation functions
  • support for IO (.obj, .mesh )

contributors

About

Mesh Generation Library in C++ for 2D and 3D objects( like CGAL)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages