Open Shaokun-X opened 3 years ago
Interesting. I never had any problem with the quadric decimation filter. It probably depends on the particular data set. I could make it an option, which algorithm to use.
I always preferred the quadric decimation because I though it was a cool algorithm, and my friend wrote the VTK class.
The program stuck at line 174 in
vtkutils.py
:I checked the official documentation, in the given example it uses
vtk.vtkDecimatePro()
instead ofvtk.vtkQuadricDecimation()
, and this fixes the problem.My environment: