问题
I've been trying for days to find the appropriate way of smoothing the sharp corners in this mesh:
Been able to properly map the faces and points I wanted to smooth, and applied the following method:
namespace PMP = CGAL::Polygon_mesh_processing;
PMP::isotropic_remeshing(
faces_to_smoothen,
0.2,
wrap,
PMP::parameters::number_of_iterations(5).
face_patch_map(fccmap));
Followed by:
PMP::smooth_shape(wrap, 0.1e-5, PMP::parameters::number_of_iterations(200).vertex_is_constrained_map(vcmap));
Got a promising result, but still not quite:
No matter how I tweak the parameters, I can't get rid of the "bumps" or "pimples" in the final result.
What would be the correct CGAL method to get this problem solved?
来源:https://stackoverflow.com/questions/62346039/smoothing-sharp-edges-in-a-mesh