-
Notifications
You must be signed in to change notification settings - Fork 60
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
MROffset to keep sharp features #884
Comments
Positive offset (outside of original surface) is a smooth surface with minimal convex curvature radius equal to offset distance (it can have sharp concave regions, but they are not in the same places where the original surface had them). Please clarify, what do you mean. If you have some samples (input and expected result), that will help us. |
Thanks, I see, you are interested in negative offset, which shall produce sharp edges. We will try to work on it later this year. |
you use openvdb core library to do offseting which may not keep sharp, but openvdb_houdini has functions to keep sharp,maybe it will help, I do not understand the code above,if you solve this problem ,please tell me thanks |
Decimation tool can sharpen features when Max Error is large enough ,But it will cause large deformation elsewhere, So I do not think it is a perfect solution |
@Fedr Will you solve this issue recently?I really expect this function。Thank you |
Yes, we are working on it. |
If I use the function in MROffset.h ,it still can not keep sharp. So where is the function to offset mesh while keep sharp? |
|
Thanks I ll do more tests recently,and will tell you if I find bugs |
1-2.zip |
I see your point. The best I could do with this input is to reduce voxel size to 0.3 and remove smaller connected components after offset: The place highlighted on the picture is ragged because probably two surfaces join here at very acute angle. We will investigate and probably add another parameter to control it. Hope to return to you next week with an update. |
In today release of MeshLib and MeshInspector we introduced several improvements in Offset tool and added one more setting in UI. And now the output looks as follows (with shown parameters): |
you use openvdb to do mesh offset. It is good. but the origin openvdb code can not preserve sharp features.
Do you have plans to optimize the code to keep sharp features?
The text was updated successfully, but these errors were encountered: