Smooth Triangulated Mesh
This function smooths a triangulated Mesh / Patch.
Supports accurate curvature flow smoothing. Which smooths in the direction of the normal keeping the edge ratio's the same.
Also supports Laplacian smoothing with inverse vertice-distance based umbrella weights, making the edge lengths more uniform.
Can be used to smooth iso-surface meshes, for scale space and simplification of patches.
Literature:
Mathieu Desbrun et al. "Implicit Faring of Irregular Meshes using Diffusion and Curvature Flow"
Alexander Belyaev. "Curvature Estimation"
Code:
The code is written in Matlab and partly in c-code for speed up reasons.
Comments:
Please leave a comment in case of a bug, like the code, or know a good improvement.
Cite As
Dirk-Jan Kroon (2024). Smooth Triangulated Mesh (https://www.mathworks.com/matlabcentral/fileexchange/26710-smooth-triangulated-mesh), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Surface and Mesh Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Volume Visualization > Scalar Volume Data >
Tags
Acknowledgements
Inspired: Export Voxel Data
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.