Today, I’d like to dedicate a post to the topic of mesh stitching.
Stitching meshes is usually necessary when they contain gaps, cracks, or thin, n

Alex on software development

submited by
Style Pass
2025-01-17 06:30:06

Today, I’d like to dedicate a post to the topic of mesh stitching. Stitching meshes is usually necessary when they contain gaps, cracks, or thin, narrow holes that can be stitched together instead of being filled. Such cracks might appear due to incorrect data conversion or as a result of geometric algorithms – for example, merging two meshes.

This task interests me because it demonstrates how a solution from real life (stitching fabric with a needle) can be applied in programming. Generally, I aim to write posts about the philosophy of programming, but they somehow always end up being very technical. 🙂

Although there’s nothing revolutionary about this method, it’s extremely useful for developing one’s skills as a geometric programmer.

Imagine a half-edge mesh with cracks or narrow, elongated holes. The goal is to stitch the sides of these cracks if their width (or radius) is smaller than a specified threshold (indicated by the purple circles in the picture).

Leave a Comment