MeshQuery: Agentic Seam Planning for UV Parametrization
Organizations: Adobe Research, France
Abstract
We present MeshQuery, a training-free agentic approach to automatic UV unwrapping of production-grade quad meshes. A Vision-Language Model (VLM) plans artist-aligned seams using a set of edge-selection tools, conditioned on domain-specific UV-unwrapping knowledge expressed in natural language and refined with a feedback loop. We design a queryable mesh representation together with a domain-specific language (DSL) that enables the agent to retrieve mesh information on demand, express a seam plan as a compact program of edge-selection operators over topological, geometric, and semantic mesh attributes, and iteratively refine it from UV quality feedback. On Adobe Substance 3D and Toys4K meshes, MeshQuery produces 2.9x/4.29x fewer charts and 1.63x/1.7x shorter seams than the strongest baseline, and professional artists prefer its results in 80.9% of comparisons. Ultimately, decoupling high-level intent planning from low-level edge selection and compact mesh representation lets MeshQuery run on different backend VLMs and scale to meshes an order of magnitude larger than autoregressive seam prediction
Figures & tables
| Seam quality | Distortion | ||||||||||
| Method ( ) | UV Charts | UV Seam length | 3D Seam length | AO | Non-disk | Compact. | Convex. | Jagged. | Texel spread | Area dist. | Conformal dist. |
| Substance-50 | |||||||||||
| FlattenAnything Zhang et al. (2024) ‡ (50) | (19.7) | (17.0) | (5.9) | (0.545) | (0.298) | (3.042) | (0.902) | (0.58) | (1.703) | (4.067) | (43.716) |
| OptCuts Li et al. (2018) † (38) | (3.8) | (6.3) | (3.4) | (0.504) | (0.051) | (0.473) | (0.819) | (0.84) | (0.197) | (1.172) | (1.133) |
| xatlas (LSCM) Lévy et al. (2002) (50) | 355.5 | 44.2 | 26.6 | 0.503 | 0.065 | 0.428 | 0.853 | 1.21 | 0.163 | 1.095 | 1.111 |
| Blender Smart UV Sheffer et al. (2007) (50) | 162.6 | 37.9 | 21.5 | 0.521 | 0.071 | 0.408 | 0.807 | 1.14 | 0.159 | 1.102 | 1.162 |
| Variant | Area dist. | Angular dist. | Conformal dist. | Texel spread | |
|---|---|---|---|---|---|
| (a) Closed-loop feedback | |||||
| Substance-50 | With feedback (ref.) | 1.151 | 0.928 | 1.100 | 0.178 |
| No closed loop | 1.341 | 0.887 | 1.419 | 0.377 | |
| Toys4K-50 | With feedback (ref.) | 1.201 | 0.903 | 1.173 | 0.215 |
| No closed loop | 1.525 | 0.822 | 1.359 | 0.512 | |
| (b) LLM model | |||||
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Property | Substance-50 | Toys4K-50 |
|---|---|---|
| Vertices | 1,344 / 9,233 / 53,638 | 62 / 4,751 / 330,654 |
| Object parts | 1 / 1 / 6 | 1 / 1 / 1 |
| Connected components | 1 / 2 / 31 | 1 / 1 / 1 |
| Triangle fraction | 0 / 0.003 / 0.095 | 0 / 0 / 0.050 |
| Tool | Details | Time |
| 1. Perception | ||
| Query | ||
| query (SQL) SQL-edge SQL-face, Stats | Is the main tool of the agent for collecting mesh attribute observations. Returns valid SQL-edges or SQL-faces fitting the query, as well as their aggregate distribution statistics. | |
| DSL statements Base : evaluated from SQL selections | ||
| topological_loop (SQL-edge) Base | from an input SQL-Edge, it proceeds through a topological walk over the mesh and returns the set of connected edges. the chain that goes straight through every valence-4 vertex via the opposite edge, ending at poles or the boundary | |
| boundary_loop (SQL-face) Base | returns Mesh boundary loop as the edges with exactly one incident face, chained into cycles | |
Vision-Language Agents
Vision-language agents use visual and language models to perceive environments, reason about goals, and take actions through interactive interfaces.
See all 44 papers