Smoothing sharp edges in a mesh

时光毁灭记忆、已成空白 提交于 2021-02-11 14:16:00

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!