Creative Coding

Why Generated 3D Buildings Fall Apart Under Simplification, and an Agent That Fixes It

Shrink a generated building mesh down to 0.5% of its original triangles and standard decimators don't just lose detail — they weld walls shut, delete rooms, or blow past the error budget entirely. RemeshingAgent treats the fix as a validated repair loop instead of a one-shot simplification.

Generated 3D buildings — the kind a text-to-3D or photogrammetry pipeline spits out — tend to look complete at full resolution and then fall apart the moment you try to simplify them for a game engine or real-time renderer. A new paper, RemeshingAgent, by independent researcher Haipeng Wang, pins down exactly why that happens and builds an agent specifically to fix it.

The actual failure mode, not just “lost detail”

Shrinking a high-poly generated building mesh down to 0.5–1% of its original face count hits a hard limit well before the surface starts looking visibly wrong. The real problem, per the paper, is topological: a generated mesh at that scale typically contains somewhere between 10³ and 10⁴ disconnected mesh fragments and non-manifold thin walls — geometry that’s structurally broken even where it still looks fine from a normal viewing distance. Below a certain triangle budget, standard decimators respond by deleting parts outright, welding thin walls together where they shouldn’t be, or simply blowing past their own error tolerance. Wang frames this through a triangle-budget decomposition into curvature, crease, component, and genus terms, arguing that once a mesh’s budget drops below what he calls the “component floor,” cleaning the mesh has to come before simplifying it — not the other way around, which is what most pipelines do by default.

Running the fix as a loop, not a single pass

RemeshingAgent runs cleaning, simplification, and verification as a validated, iterative process rather than a one-shot operation — effectively automating the manual loop a technical artist would otherwise run by hand on a problem mesh. At a 0.5% triangle budget, it stays topologically clean on cases where standard approaches like QEM (quadric error metrics) and vertex clustering fail outright, and it matches a commercial remesher’s output on 20 unseen city building models it wasn’t trained on.

On the 24 training buildings, a nine-participant blind study held on a single workstation preferred RemeshingAgent’s output over the alternative 168 times to 48 (p = 0.0195 on a subject-level sign test) — a real, statistically meaningful preference, not a marginal one. Notably, once the underlying cleaning-and-simplification skill is learned, it deploys as retrieval replay — no further LLM calls needed — running in 11.7 seconds per mesh on CPU alone, which matters a lot for anyone trying to batch-process generated assets rather than hand-tune them one at a time.

Why this matters for anyone generating 3D content at scale

As text-to-3D and photogrammetry pipelines get better at producing plausible-looking buildings, the bottleneck increasingly shifts from “can you generate it” to “can you actually use it” — and a mesh that’s unusable in a game engine or real-time renderer because of invisible topological damage is exactly the kind of problem that doesn’t show up until someone tries to ship it. RemeshingAgent is a narrow fix, but it’s aimed at a real, specific failure that sits between generation and production.