I am trying to perform a mesh optimization using the Quadric Edge Collapse Decimation filter.
I have a fairly large STL file, 150 Mb with 3166080 faces.
While using the default values within the filter :
Target number of faces = 1583040
Percentage reduction = 0
Quality threshold = 0.3
I get an error message stating: Runtime Error! This application has requested the Runtime to terminate it in an unusual way.
Now, this filter worked on a smaller STL file, 80 Mb with 1669760 faces and was able to use the default values and reduce the number of faces to 834880.
Please advise. Is there any other filters than can be used for mesh optimization?
I am running 32 bit windows XP on Intel Core i7 CPU, 2.93 GHz and 2.96 GB of RAM.
I am using MeshLab version 1.2.3
This bug is in meshlab130/vcglib/vcg/complex/local_optimization/tri_edge_collapse_quadric.h
in the routine Init_Quadric line 556 in version 3652, the variable q is used without being initialized. I don't know how to fix it because I don't understand what the code is trying to do.