平滑网格中的尖锐边缘

时间:2020-06-12 14:10:34

标签: cgal

我已经尝试了几天,以找到合适的方法来平滑此网格中的尖角: enter image description here

能够正确映射我要平滑的面和点,并应用以下方法:

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));

其次:

PMP::smooth_shape(wrap, 0.1e-5, PMP::parameters::number_of_iterations(200).vertex_is_constrained_map(vcmap));

取得了可喜的结果,但仍不完全是: enter image description here

无论如何调整参数,我都无法摆脱最终结果中的“凹凸”或“丘疹”。

解决此问题的正确CGAL方法是什么?

0 个答案:

没有答案