TopGen: Learning Structural Layouts and Cross-Fields for Quadrilateral Mesh Generation

Yuguang Chen, Xinhai Liu, Xiangyu Zhu, Yiling Zhu, Zhuo Chen, Dongyu Zhang, Chunchao GuoarXiv 2026

TL;DR

TopGen is a novel deep learning framework for quadrilateral mesh generation that mimics professional human workflows by simultaneously predicting structural layouts and cross-fields. By combining these structural "skeletons" (hard constraints) with orientation fields (soft constraints), it produces high-fidelity, editable quad meshes from messy triangular inputs in less than a second.

What Problem Does This Paper Address?

Quadrilateral meshes (quad meshes) are the industry standard for animation, game development, and industrial design due to their clean topology and ease of editing. However, generating them automatically from dense triangular meshes or AI-generated 3D assets is notoriously difficult.

Traditional optimization-based methods are computationally expensive and frequently fail when encountering low-quality or non-manifold (physically impossible) input topologies. Recent deep learning approaches try to solve this by predicting "cross-fields" (mathematical orientation guides), but because these fields act only as soft constraints, the resulting meshes often suffer from jagged boundaries, lost sharp details, and a complete lack of intuitive editability for human artists.

Methods

TopGen bridges this gap by automating the professional artist's "layout-first, generation-second" workflow.

Overview of the TopGen pipeline
  1. Geometry-Aware Encoding: Instead of processing messy input meshes directly, TopGen converts them into point clouds using a Sharp Edge Sampling (SES) strategy. This ensures that sharp features and boundaries are heavily sampled and preserved. A transformer-based encoder then maps these points into a continuous latent space.
  2. Dual-Query Decoding: The core innovation is a decoder that utilizes two types of mesh-aligned queries in parallel:
  3. Edge Queries: Placed at the midpoints of all edges to classify whether an edge belongs to the main structural layout (predicting the geometric "skeleton").
  4. Face Queries: Placed at the centroids of all faces to regress the 2-RoSy cross-field (predicting internal edge flow direction).
  5. Driven Remeshing: The predicted structural lines are enforced as rigid, hard boundaries, while the cross-fields serve as soft orientation guides. A traditional parameterization backend then traces clean, regular quad elements within these boundaries.

Datasets

Because high-quality structural layout data is rarely preserved in production pipelines, the authors introduced TopGen-220K, a large-scale dataset featuring 220,000 curated samples.

A sample from the TopGen-220K dataset showing paired data types

The dataset was built by aggregating 1.3 million raw meshes from repositories like ShapeNetV2, 3D-FUTURE, and Objaverse. Initial structural lines and cross-fields were generated using automated optimization tools, and professional 3D modelers were recruited to rigorously filter the data into five quality tiers. Only the top three tiers were selected to ensure artist-grade training data.

Key Insights and Ideas

  • The Power of Synergy: Predicting structural layouts and cross-fields together solves a classic trade-off. Structural lines preserve sharp geometric features and boundaries, while cross-fields ensure smooth, regular internal flow.
  • Point-Cloud Intermediary: By translating the input mesh into a point cloud before encoding, the framework becomes inherently robust against the chaotic, fragmented topologies typical of AI-generated 3D content.
  • Mesh-Aligned Queries: Mapping neural network queries directly to discrete mesh elements (edges and faces) allows the network to output topology-aware predictions that map perfectly back onto the original asset.

Key Results

TopGen was evaluated against state-of-the-art remeshing methods, including Instant-Meshes, QuadriFlow, and QuadWild, demonstrating significant improvements:

  • Geometric Fidelity: TopGen achieved the lowest Chamfer Distance across test cases, proving its superior ability to preserve original shapes.
  • Zero Corruption: Unlike competing methods, which frequently suffered from structural fractures or broken faces on complex or non-manifold models, TopGen maintained perfect geometric integrity.
  • Massive Speedups: While traditional optimization pipelines can take hundreds or thousands of seconds to compute structural lines, TopGen’s encoder-decoder architecture completes the inference step in roughly 0.02 to 0.03 seconds.
Qualitative comparison of TopGen against state-of-the-art remeshing methods

Limitations and Future Work

The authors note that when dealing with ultra-high-resolution models containing millions of faces, TopGen's fine-grained precision still has room for improvement. They believe this can be resolved by incorporating a larger volume of authentic, human-authored modeling data into the training set.

Additionally, the authors point out that the underlying Dual-Query architecture holds strong potential for other layout-prediction tasks in computer graphics, such as UV unwrapping and semantic part segmentation.

Summary updated

BibTeX
@misc{chen2026topgen,
  author = {Yuguang Chen and Xinhai Liu and Xiangyu Zhu and Yiling Zhu and Zhuo Chen and Dongyu Zhang and Chunchao Guo},
  title = {{TopGen: Learning Structural Layouts and Cross-Fields for Quadrilateral Mesh Generation}},
  year = {2026},
  eprint = {2603.10606},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.10606},
}
Figure