Giter Site home page Giter Site logo

dragon's Introduction

Dragon

Dragon is a library for geometry processing.

What can dragon do?

DragonView2D

  • Voronoi diagram and Delaunay triangulation

  • 7 kinds of Curves

DragonView3D

Mesh

  • Mesh Curvature
  • Mesh Smoothing
  • Mesh Parameterization for model with border
  • Mesh simplification

  • Loop subdivision (updated in 2021/3/10)

  • Mesh to SDF (updated in 2021/7/2)

We can estimate the quality of mesh2sdf algorithm by applying marching-cube algorithm on generated sdf to extract a new mesh, here are some results:

Bunny_head.obj, voxel resolution: 0.01

happy_vrip.ply, voxel resolution: 0.002

Point Cloud

  • Point Cloud Processing
  • Octree
  • Simplified RBF reconstruction and Poisson reconstruction

Reconstructed model using RBF and Poisson

Reconstructed model with different depth (3-7)

Tubular Shape Reconstruction from Skeleton Representation

Extract Tree Graph and Key-node Graph from Skeleton Representation

Skeleton Representation Tree Graph from Skeleton Key-node Graph from Skeleton (End points and bifurcation points are considered as key-nodes)

Other

  • SpiderMan (The curve is cubic spline):

Get Started

Prerequisites:

  • OpenGL, GLUT, GLEW

Other 3rd libraries are packaged into 3rdparty (imgui)

mkdir build
cd build
cmake .. && make -j

Refer to https://github.com/MyEvolution/GAMES102 for more information.

Acknowledgement

Thanks to GAMES 102, a large part of this library comes from the assignments of this course.

TODO

Remeshing

ChangeLog

  • 2021/3/10: Loop subdivision
  • 2021/3/14: Apply real Phong model on visualization as following(the old shader is from elastic fusion and flashfusion, and the color on each vertex will not change as the moving object):
  • 2021/7/2: Generate sdf from triangle mesh (Mesh2SDF in Mesh2SDF.h).
  • 2023/9/25: Generate sdf from skeleton representation (CenterLine2SDF in Mesh2SDF.h)
  • 2023/12/7: Generate tree graph from skeleton representation (Refer to app/Centerline2SDF.cpp)

License

Under the MIT License, see http://opensource.org/licenses/MIT.

dragon's People

Contributors

wlsdzyzl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.