I'm searching for such an algorithm, it can generate a non-manifold
mesh from a set of triangles.
The input triangles are on the object's surface, and connected
together. Part of the mesh (about 20%) is non-manifold. So I want to
find a way to deleted some triangles, and convert the input mesh into
manifold mesh (needn't to be bounded) by delete bad triangles.
Is there any algorithm satissified this requirement?