geometry-central icon indicating copy to clipboard operation
geometry-central copied to clipboard

adding remeshing functions

Open cbrakensiek opened this issue 4 years ago • 2 comments

These new files add four functions: a function that makes all the triangles in the mesh Delaunay, two functions for smoothing vertex positions (circumcenter and Laplacian), and a function for adjusting the mesh so that the edges become a curvature-adaptive target edge length.

cbrakensiek avatar Apr 17 '21 18:04 cbrakensiek

These all look great, thank you for submitting!

I just gave them a quick read-through and everything looks pretty solid. I'll pull down the code and do some testing soon, probably at the same time as writing docs.

I was thinking it would work well to combine these algorithms with the "mutation manager" functionality currently in this branch https://github.com/nmwsharp/geometry-central/tree/mutation_manager, and do a release together. The mutation manager adds the ability to track data & update arrays during remeshing operations, so it seems like a great synergy with these algorithms. Just let me know if you have other thoughts!

nmwsharp avatar May 07 '21 17:05 nmwsharp

Is there anything I can improve on this?

fire avatar Oct 10 '21 02:10 fire

Reviving this thread. In the search for an efficient mesh library to base my Rhino plugin on, I stumbled upon geometry-central. It looks fantastic, but I really need fast remeshing tools. It seems that this PR has not been looked into for more than a year. Andthe only reference to remeshing I can find in the repo is commented out:

https://github.com/nmwsharp/geometry-central/blob/b704f0ef35a94504fca65dbf6b88a8b65ceee4ae/include/geometrycentral/surface/mutation_manager.h#L157

Is this functionality being worked on, or have your plans changed @nmwsharp?

mariuszhermansdorfer avatar Dec 07 '22 19:12 mariuszhermansdorfer

Thanks for the reminder, I just added the remeshing code in #137

MarkGillespie avatar Dec 12 '22 14:12 MarkGillespie

Thanks, @MarkGillespie!

mariuszhermansdorfer avatar Dec 12 '22 14:12 mariuszhermansdorfer