arXiv:2610.19777cs.CVOct 2026

Manuscript Offprint

arXiv:2610.19777

Q-MAGIC: Quad-only Mesh Autoregressive Generation via Singularity-Aware Circular Relative Offset Tokenization

Yuming Zhao, Zezeng Li, Weimin Wang, Xiang Wu, Na Lei

Pacific Graphics 2026 Y. He, N. Thürey, and L. Liu (Guest Editors)

COMPUTER GRAPHICS forum Volume 45 (2026), Number 7

Q-MAGIC: Quad-only Mesh Autoregressive Generation via Singularity-Aware Circular Relative Offset Tokenization

Yuming Zhao1†^{1\dagger}, Zezeng Li2,†^{2,\dagger}, Weimin Wang1‡^{1\ddagger}, Xiang Wu1^{1}, Na Lei1,‡^{1,\ddagger}

1^{1}Dalian University of Technology, China

2^{2}École Centrale de Lyon, France

Abstract

Autoregressive models have proven effective for triangular mesh generation by transforming it into predicting the next face, converting the non-differentiable connectivity prediction into a sequence of token predictions. However, generating quad-only meshes remains challenging because quad faces impose stricter topological constraints than triangles. The model must not only serialize quad faces into a valid token sequence, but also support unambiguous connectivity reconstruction during deserialization. To address this, we propose Q-MAGIC, a novel autoregressive model for quad mesh generation. We first introduce a tailored serialization scheme for quad meshes, which requires at least two new vertices for the next face and is less flexible than triangles due to strict wiring constraints. To meet these requirements and reduce serialization length, we propose a singularity-aware serialization that prioritizes wiring from singular points, leading to more coherent traversals. Additionally, we propose a circular relative offset tokenization that encodes geometry mainly via local relative offsets. Built upon this representation, an autoregressive Transformer learns the underlying distribution of quad meshes via next-token prediction, enabling effective quad mesh generation. Extensive experiments demonstrate that Q-MAGIC produces more compact sequences while consistently improving geometric fidelity and mesh quality compared to state-of-the-art methods.

CCS Concepts

• Computing methodologies → Shape modeling; Computer vision; Neural networks;

References (50)