Nexus: Native Mesh Generation with Diffusion

Hanxiao Wang, Ying-Tian Liu, Yuan-Chen Guo, Qi-Yuan Feng, Zi-Xin Zou, Ding Liang, Biao Zhang, Yan-Pei Cao

TL;DR

Nexus is a fully diffusion-based, sort-free framework for 3D triangle mesh generation that completely abandons the traditional 1D serialization paradigm. By decoupling the process into hierarchical vertex generation via an octree and topology generation using a novel "Spacetime Interval" indicator, Nexus avoids the slow inference speeds and error accumulation typical of autoregressive models, delivering high-quality, artist-friendly meshes.

What Problem Does This Paper Address?

Most state-of-the-art 3D mesh generation methods treat meshes like text: they serialize 3D coordinates and face indices into a 1D sequence of discrete tokens and feed them into autoregressive transformers. However, meshes do not have an intrinsic natural order. Forcing them into a sequential format introduces two major bottlenecks:

  1. Inference Sluggishness: Sequence lengths grow linearly with mesh complexity, requiring thousands of autoregressive steps that can take minutes per mesh.
  2. Error Accumulation: A single incorrectly predicted token early in the sequence can cause the entire subsequent mesh structure to collapse or become meaningless.

Nexus addresses these challenges by treating mesh generation as an order-agnostic, holistic process, leveraging the power of continuous diffusion models for both geometry and topology.

Methods

Nexus breaks down mesh generation into two parallelizable stages: hierarchical vertex generation and vertex-conditioned topology generation.

The Nexus pipeline decouples vertex generation via an octree from topology generation via spacetime intervals.

1. Hierarchical Vertex Generation

Instead of sorting vertices, Nexus organizes them spatially using an octree structure. The model generates geometry layer-by-layer from coarse to fine. Starting from a single root node, a Diffusion Transformer (trained via flow matching) predicts the binary occupancy of the 8 child nodes for each occupied cell. This allows the model to establish global shape first and progressively inject high-frequency details.

2. Topology Generation via Spacetime Intervals

To predict how these vertices connect to form edges and faces without relying on sequential indexing, the authors introduce the Spacetime Interval.

Illustration of 1st-order (edges) and 2nd-order (faces) spacetime intervals used to determine connectivity.
  • 1st-Order Spacetime Interval (Edges): Inspired by Minkowski space in physics, vertex embeddings are split into spatial ($s$) and temporal ($t$) components. The connectivity indicator is defined as $d_{u,v} = \|s_u - s_v\|^2 - \|t_u - t_v\|^2$. A positive value indicates an edge exists. The subtractive temporal component acts as a learned "slack variable," allowing the network to cleanly separate vertices that are physically close in 3D space but topologically unconnected.
  • 2nd-Order Spacetime Interval (Faces): This extends the concept to higher dimensions by calculating the difference between the temporal and spatial squared areas of the triangle formed by three vertices.

During inference, Nexus uses an edges-first strategy: it computes pairwise intervals to find edges, identifies candidate 3-cycles (triangles), and verifies them with the 2nd-order face indicator. This drastically reduces the computational complexity from $O(|V|^3)$ to $O(|V|^2)$.

Datasets

The models were trained on a curated subset of Objaverse and ObjaverseXL, consisting of approximately 1 million meshes containing fewer than 20,000 faces.

For evaluation, the authors used two distinct test sets excluded from training:

  • Objaverse Test Set: 500 randomly sampled models.
  • Toys4K: 900 low-poly shape examples with a face count threshold of 4,000 to evaluate performance on clean, artistic layouts.

Key Insights and Ideas

  • The Power of Indefinite Metrics: Standard Euclidean metrics ($L_2$) suffer from a transitive proximity bias (if A is close to B, and B is close to C, A is encouraged to be close to C). This makes it incredibly difficult to model complex, branching, or non-manifold topologies. Switching to a pseudo-Euclidean/Minkowski space provides the mathematical flexibility needed to represent intricate connectivity.
  • Feature Decoupling: Forcing a single embedding space to satisfy both edge (pairwise) and face (triplet) constraints causes severe optimization issues. Splitting the per-vertex embedding $Z$ into disjoint subsets ($Z_{edge}$ and $Z_{face}$) dramatically improves topological accuracy.

Key Results

Nexus achieves state-of-the-art performance across both quantitative benchmarks and qualitative human evaluations:

  • Geometric Accuracy: On the Toys4K dataset, Nexus achieved a Hausdorff Distance of 0.071 and a Chamfer Distance of 0.027, significantly outperforming competitive autoregressive baselines like BPT (0.091 / 0.037) and two-stage regressors like FastMesh (0.100 / 0.033).
  • Robustness: The model is highly robust to input variations; its Chamfer Distance remains stable across a $32\times$ density range of input point clouds (from 512 to 16,384 points).
  • Perceptual Quality: In a blind user study with 3D practitioners evaluating edge flow and structural integrity, Nexus achieved a dominant 93.0% preference rate and the highest Elo rating (1440.4).

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Inference Speed: While it bypasses autoregressive sequencing, the first stage (octree vertex generation) still takes about 1 minute at 512 resolution due to multiple diffusion sampling steps. Incorporating few-step distillation techniques is a clear path forward.
  • Orientation Issues: The topology generation stage ignores face normals, requiring a post-processing orientation correction step to ensure normal consistency.
  • Resolution Artifacts: At depth $D=9$, discrete coordinate snapping can still cause minor grid artifacts or distortions on extremely fine structures.

Summary updated

BibTeX
@article{wang2026nexus,
  author = {Hanxiao Wang and Ying-Tian Liu and Yuan-Chen Guo and Qi-Yuan Feng and Zi-Xin Zou and Ding Liang and Biao Zhang and Yan-Pei Cao},
  title = {{Nexus: Native Mesh Generation with Diffusion}},
  journal = {ACM Trans. Graphics},
  year = {2026},
  doi = {10.1145/3811344},
}
Figure