I am new to VTK and interested to make a CAD software. Recently I have been working with decimation. I have tried to write the reduced STL using vtkSTLWriter. But the exported STL is not correctly visible due to disturbed vertices.
Weird thing is if I import the same STL in blender, the export seems fine. And If I export an STL of the same vtkSTLWritten imported STL from blender, then the blender exported STL is visible fine in Unity3D.
Please help what I am missing here?