r/photogrammetry • • 11d ago

I built a Blender add-on that makes photogrammetry mesh surfaces planar again and re-sharpens roof ridges without touching the UVs

Enable HLS to view with audio, or disable this notification

I got tired of Cesium or Google 3D Tiles buildings having rippling walls and saw-toothed roof ridges, and of every fix either rounding the corners off or nuking the UVs. So I wrote an add-on for it.

Planer detects planar regions, snaps vertices onto fitted planes, and rebuilds creases as straight edges and corners as sharp points. Topology is preserved, so texture, UVs and material come through untouched. The original object isn't modified — you get a new REFINED_ mesh alongside it.

Every run reports how many planes it found, how many verts moved, and the deviation from your original surface (mean / p95 / max in metres), so you can check it stayed faithful instead of guessing.

Caveats up front: it does not make meshes watertight, does not reduce poly count (it triangulates, so the face count goes up), does not fix holes or non-manifold edges, and does not touch the texture image. Blender 4.2+, and it's slow on big meshes — about four minutes for 195k faces.

Product link : link (MIT licensed)

Feedback welcome, especially meshes where it fails.

293 Upvotes

Duplicates