-
Notifications
You must be signed in to change notification settings - Fork 813
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
Meshlabserver no additional memory available!!! memory required: 91928760 #26
Comments
I confirm the issue. |
I don't get error to open file but this output:
Thank you |
Maybe i found the problem. Screened Poisson filter creates temporary files, unfortunately if you launch meshlabserver.exe from C:/Program Files/VCG/MeshLab2016/ Windows doesn't allow you to save output files in the C:/Program Files subfolders. An easy workaround is to launch meshlabserver from the directory where you have the input files. For instance suppose you have the file in C:\test you should do
In C:\test now you should have a file called Poissonmesh_out.ply containing the result of the screened poisson filter. Let me know if it solves your problem. PS I used the -w option because it will save automatically all the meshes generated by the filters included in the script files. Being the Screened poisson filter a filter creating a new layer if you want to save the output file generated by the poisson filter you should write something like
We will try to fix the problem in the next release of MeshLab. |
Another possible cause for the Screened Poisson filter to fail is that the new Poisson does require valid normals on ALL points. Try to see if the model can be merged in MeshLab. |
It is not a folder permission problem, I tried calling script from another path, changed Meshlab folder permission, etc.. And neither a normals problem (I do Re-Compute Vertex Normals filter before poisson). :( |
the problem could be related with unreferenced vertices...did you try to call the filter "remove unreferenced vertices" before the screened poisson filter? Obviously i assume that you launched the filter on the meshes inside MeshLab itself and you were able to get a meaningful result.... |
Yes, there aren't unrefered vertices. Inside Meshlab filter works fine. It is from meshlabserver that there are problems. |
Can you upload somewhere the smallest mesh causing you this problem? |
Deleting vertices with normals = 0 prior to filter seem to work. Thanks |
Here is a sample model Screened Poisson Pre-clean doesn't work so I have to make:
Before applying Poisson. After that I apply Simplification: Quadric Edge Collapse Decimation:
But result is very bad with meshlabserver Same script loaded by Meshlab GUI: Which seem right, so something is wrong with meshlabserver. Here the full script used: |
ok, found: MeshLab server works like MeshLab, the concept of "current" layer is important. so, in the script, after the poisson filter, and before the simplification, add
And the simplification will be applied correctly to the newly created layer. (remember to save both layers, and not just the first) in alternative, you may remove the first layer, as it is not useful anymore, using filter->mesh layer->"delete current mesh". In this way you will also have the advantage of saving only ONE layer, that is your final result I would use this script: newscript.zip and call it with: Finally: the "remove unreferenced vertices" and "recompute normals" are not really useful, in this case. I removed them from "newscript.xml" |
Thank you very much for the explanation. Layer concept of meshlab is not so intuitive, some filter create new layers, other not.. I think issues can be summarized with the following:
Last question: there is a way to use Poisson with multi thread? Meshlab output display: Running Screened Poisson Reconstruction (Version 9.0) Thank you again |
Hello all,
In version 2016.12 of Meshlab when i try to call meshlabserver with a script file that apply Screened Poisson Surface Reconstruction i get this error:
This is my script file:
I call the script file using
"C:\Program Files\VCG\MeshLab\meshlabserver.exe" -i mymodel.stl -o outputmodel.ply -s Script\myscript.xml
But I have 8 GB free RAM, with previous version of Meshlab all works fine (with old poisson filter)
The text was updated successfully, but these errors were encountered: