# `forma-retopo`: Curvature-Aligned Quad Retopology Feasibility Note - **Status:** Feasibility Note / Deferred - **Target:** Opt-in workspace crate (`crates/forma-retopo`, excluded from `default-members`) - **Core Impact:** `0 bytes` on core `forma` / `forma.wasm`, `0 tokens` on core `forma-mcp` - **Design Review:** Required before implementation (see [`CONTRIBUTING.md`](../CONTRIBUTING.md)) --- ## 1. What Exists in Core Today - **Voxel Quad Remesh (`remesh(voxel_size=...)`, `remesh.rs`):** Pure-Rust Surface Nets voxel remesher emitting watertight, manifold **all-quad** meshes (`WT=ok NM=0`) in ~2–15 ms with Taubin smoothing and surface-normal volume calibration. Equivalent to Blender's Voxel Remesh — great for healing dirty imports, fusing overlapping solids, or establishing uniform quad density. - **Catmull-Clark Quad Subdivision (`subsurf`)** with crease weights + watertight **Link-Condition QEM Decimation (`decimate`)**. - **Not Supported Yet:** Curvature-aligned / edge-flow retopology (Blender's QuadriFlow, Instant Meshes, Exoside Quad Remesher) for organic deformation loops. --- ## 2. Feasibility of a Pure-Rust Field-Aligned Quad Remesher - **Preferred algorithm:** **Instant Meshes** (Jakob et al. 2015 — local Gauss-Seidel relaxation of an extrinsic 4-RoSy orientation field + 4-way position field) fits Forma's zero-heavy-deps pure-Rust architecture far better than QuadriFlow's global min-cost network-flow integer optimization. - **Estimated size:** ~1,500–2,500 LOC working (~2.5k–3.5k LOC hardened for strict `WT=ok NM=0`), ~40–90 KB compiled. - **Primary engineering risk:** 70%+ of complexity sits in quad extraction (singularities, T-junctions, non-manifold pinches, and sharp-crease preservation). - **Recommendation:** Keep out of `forma-core`; if demand for scan/sculpt edge-flow cleanup grows, build and test it as an **opt-in workspace crate (`crates/forma-retopo`)** without risking core watertightness or binary size.