-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
params::vertex_is_constrained_map setting in PMP::isotropic_remeshing does not set the corner points remain its position during remesh #8388
Comments
Hi @janetournois , I saw you have assigned this issue. Do you need the code and input files? |
Hello @citystrawman |
Here's the code: Here's the input off model: Because this code is my testing code, it is a bit long and has many intermediate processes, but you can find that I write out "slope_clip_before.off" and "slope_clip.off" which corresponds to the screenshot that I have shown, these two outputs are example that If you have anything unclear, feel free to call me. Thank you! |
BTW I use 5.5.x version |
I'm not sure what is wrong in your code. You should try to make a shorter test to make sure your feature vertices are kept by remeshing (the constraints code works in our tests). As a short term workaround, I would suggest to use |
Please use the following template to help us solving your issue.
Issue Details
I am using PMP::isotropic_remeshing method to remesh a surface mesh. I have a vertex_is_constrained_map in which the corner points are set to be true.
Before isotropic_remeshing, the surface mesh is as follows:

and the green points are corner points (for these vertices, vertex_is_constrained_map[vertex] = true )
However, after isotropic_remeshing, the corner points are not at the same position, which is not what I desire:


I use isotropic_remeshing to another example but that example works fine: the corner points all remains at its position:

I dont understand why the two isotropic_remeshing (I implement the two almost the same) results differently.
Source Code
Environment
The text was updated successfully, but these errors were encountered: