-
Notifications
You must be signed in to change notification settings - Fork 57
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
Simplify complex meshes #7
Comments
I also had this issue. My solution was to use the mesh simplification script that comes with MeshLab. The function "Simplification: quadratic edge collapse decimation" with a desired percentage reduction of for example 0.1, preserving boundary of the mesh etc. This action can then be automated to run from the command line similarly to the original simplify script from the other repo. Let me know if you need further help |
@CallumMcMahon Thank you for the suggestion! I am in a similar situation; could you please point me to MeshLab's mesh simplification script and give a few hints about automating it to run from the command line. Thanks! |
@unlugi No problem! With MeshLab installed, load up a mesh, then select Once a proper workflow is established, select filters -> show current filter script -> save script This script can be run by calling the meshlab server from the command line, passing the script and mesh to process as arguments. This allows you to chain the manifoldPlus script followed by the simplification script in a Bash file looping over each mesh to process. I learned bash for this project so the following code is very messy and will need quite a lot of playing around with but should be an alright starting point. Note that the way you call meshlab server can change based on how it was installed. I've seen people just call
My chosen model (meshCNN) produced OOM errors for meshes that were still too large after simplification (a problem of using percentage reduction simplification). You can call
I've since moved on from this project but let me know if you need any other help |
@CallumMcMahon Thank you so much for the detailed explanation and suggestions. I am trying it out for myself right now. |
@CallumMcMahon @hjwdzh Some other ManifoldPLUS outputs do not have such holes. But if I apply "Simplification: quadratic edge collapse decimation" from meshlab on it, some holes appear, like this one: Do you have any suggestions on how to fix it? Whether on meshlab or some other method is ok. |
@1999kevin Hi, have you solved the problem? I'm also trying to use Meshlab to simplify the meshes and find that it produces non-watertight meshes with holes. Do you have some advice? |
hello, I have same issues, did you solve it? |
Hello, I also encountered a similar problem. Can you provide the mesh file? |
Is there a way to simplify the mesh (i.e., reduce the number of vertices and edges) that works with complex mesh shapes? With the mesh, I mean the mesh that's produced by
manifold
.I've tried to use
simplify
from your Manifold project. This works for simple shapes, like a box. However, for certain complex shapes, such as a bowl, it results in this error:This is the mesh: bowl.tar.gz.
The text was updated successfully, but these errors were encountered: