CrossGen: Learning and Generating Cross Fields for Quad Meshing

Qiujie Dong, Jiepeng Wang, Rui Xu, Cheng Lin, Yuan Liu, Shiqing Xin, Zichun Zhong, Xin Li, Changhe Tu, Taku Komura, Leif Kobbelt, Scott Schaefer, Wenping Wang · DOI

Abstract

Cross fields play a critical role in various geometry processing tasks, especially for quad mesh generation. Existing methods for cross field generation often struggle to balance computational efficiency with generation quality, using slow per-shape optimization. We introduce CrossGen, a novel framework that supports both feed-forward prediction and latent generative modeling of cross fields for quad meshing by unifying geometry and cross field representations within a joint latent space. Our method enables extremely fast computation of high-quality cross fields of general input shapes, typically within one second without per-shape optimization. Our method assumes a point-sampled surface as input, allowing us to accommodate various surface representations. Using an auto-encoder network architecture, we encode input point-cloud surfaces into a sparse voxel grid with fine-grained latent spaces, which are decoded into both SDF-based surface geometry and cross fields. Once trained, the network ensures high geometric fidelity, noise resilience, and rapid inference. Furthermore, we incorporate a diffusion model for computing cross fields of new shapes generated from partial input, such as sketches.

Introduction

In the field of geometry processing, quadrilateral (quad) meshing is considered the "gold standard" for high-end applications in animation, physics simulation, and computer-aided design (CAD). The quality of a quad mesh is fundamentally determined by cross fields—a set of two orthogonal directions at every point on a surface that serve as a guide for mesh edge alignment.

Traditionally, generating these fields has been a bottleneck, requiring complex per-shape optimization that can take several minutes per model. CrossGen addresses this by introducing a deep learning framework capable of generating high-quality cross fields in under a second—representing a speedup of approximately 5,000x over current state-of-the-art optimization methods.

Overview of the CrossGen pipeline showing input point clouds (a), generated cross fields (b), and final quad meshes (c) for diverse shapes like human figures and aircraft.

Methodology

CrossGen utilizes an auto-encoder architecture built on sparse convolutional neural networks (CNNs) to bridge the gap between efficiency and generalization. The pipeline is defined by three core innovations:

1. Local-to-Global Encoding

The encoder processes input point clouds using a restricted receptive field. This "local-first" approach forces the network to learn geometric primitives—such as curves, corners, or sharp edges—that are universal across different object categories. By avoiding global shape memorization, the model generalizes effectively to "out-of-domain" shapes it did not encounter during training.

2. Joint Latent Space

The model simultaneously predicts a Signed Distance Field (SDF) for surface geometry and the Cross Field itself. This joint representation ensures that the directional field is perfectly anchored to the underlying manifold. Rather than predicting ambiguous rotation angles, CrossGen directly predicts a primary cross field vector, deriving the second via a cross product with the surface normal, which leads to higher consistency.

3. Generative Diffusion

Leveraging the unified latent representation, the authors integrated a two-stage diffusion pipeline. This allows the system to perform generative tasks, such as taking a 2D sketch as input and producing both a 3D shape and its corresponding cross field.

The CrossGen Dataset

To train this framework, the authors curated a new large-scale dataset of paired SDFs and high-quality cross fields. The dataset includes over 10,000 shapes derived from 1,700 distinct models across diverse sources:

  • DeformingThings4D: Organic and humanoid figures.
  • ShapeNet Core: Common household and industrial objects.
  • Thingi10K: Intricate and complex geometries.
  • ABC Dataset: Sharp-edged CAD models.

Ground truth cross fields were generated using NeurCross, an optimization-based method known for high quality but low speed, providing a robust baseline for the network to learn from.

Results and Performance

Experimental results demonstrate that CrossGen achieves a remarkable balance of speed and fidelity. The system performs inference in approximately 0.067 seconds for a standard model, compared to ~360 seconds for optimization-based methods. Despite this speed, the model maintains an Angular Error (AE) of 0.05, matching the accuracy of the best available optimizers.

Detailed workflow for the Stanford Bunny: (a) input triangle mesh, (b) predicted cross field, and (c) the final high-quality quad mesh.

Furthermore, the system is highly robust to imperfect data. It maintains performance even when input point clouds are noisy, unevenly sampled, or extremely sparse (down to 1,000 points), and it generalizes successfully to surfaces with open boundaries.

Conclusion and Future Work

CrossGen represents a significant step forward in making high-quality quad meshing accessible for real-time applications. While the current model excels at generalization, future work will focus on scaling the dataset further and addressing extremely fine-grained geometric details that can still cause local distortions. Additionally, moving toward self-supervised learning could remove the current bottleneck of relying on slow optimization methods for training data generation.

Summary updated

BibTeX
@article{dong2025crossgen,
  author = {Qiujie Dong and Jiepeng Wang and Rui Xu and Cheng Lin and Yuan Liu and Shiqing Xin and Zichun Zhong and Xin Li and Changhe Tu and Taku Komura and Leif Kobbelt and Scott Schaefer and Wenping Wang},
  title = {{CrossGen: Learning and Generating Cross Fields for Quad Meshing}},
  journal = {ACM Trans. Graphics},
  year = {2025},
  doi = {10.1145/3763299},
}
Figure