NeurCross: A Neural Approach to Computing Cross Fields for Quad Mesh Generation
Qiujie Dong, Huibiao Wen, Rui Xu, Shuangmin Chen, Jiaran Zhou, Shiqing Xin, Changhe Tu, Taku Komura, Wenping Wang
TL;DR
NeurCross tackles quadrilateral mesh generation by jointly optimizing a neural signed distance function and a cross field, using the Hessian of the SDF to implicitly align cross-field directions with principal curvature directions while preserving cross-field smoothness. The framework comprises an SDF fitting module (SIREN) and a cross-field predictor (UNet), unified under a total loss that enforces surface fidelity, curvature alignment, and field coherence. By treating the neural SDF as a tunable proxy surface, NeurCross avoids brittle reliance on unstable principal directions and achieves robust performance across noisy and geometrically complex shapes. The results show improved singularity placement, robust cross-field behavior under perturbations, and faithful surface approximation, with practical quad extraction via libigl/libQEx. This self-supervised approach also offers potential as a data source for training future generative mesh models.
Abstract
Quadrilateral mesh generation plays a crucial role in numerical simulations within Computer-Aided Design and Engineering (CAD/E). Producing high-quality quadrangulation typically requires satisfying four key criteria. First, the quadrilateral mesh should closely align with principal curvature directions. Second, singular points should be strategically placed and effectively minimized. Third, the mesh should accurately conform to sharp feature edges. Lastly, quadrangulation results should exhibit robustness against noise and minor geometric variations. Existing methods generally involve first computing a regular cross field to represent quad element orientations across the surface, followed by extracting a quadrilateral mesh aligned closely with this cross field. A primary challenge with this approach is balancing the smoothness of the cross field with its alignment to pre-computed principal curvature directions, which are sensitive to small surface perturbations and often ill-defined in spherical or planar regions. To tackle this challenge, we propose NeurCross, a novel framework that simultaneously optimizes a cross field and a neural signed distance function (SDF), whose zero-level set serves as a proxy of the input shape. Our joint optimization is guided by three factors: faithful approximation of the optimized SDF surface to the input surface, alignment between the cross field and the principal curvature field derived from the SDF surface, and smoothness of the cross field. Acting as an intermediary, the neural SDF contributes in two essential ways. First, it provides an alternative, optimizable base surface exhibiting more regular principal curvature directions for guiding the cross field. Second, we leverage the Hessian matrix of the neural SDF to implicitly enforce cross field alignment with principal curvature directions...
