Coarse-to-fine mesh generation

MeshOctave: Vertex Split-and-Rewire Cascades for Native Mesh Generation

Junkai Lin1,2 Tianhao Zhao1,2 Hang Long1,2 Huipeng Guo1 Jielei Zhang1 Youjia Zhang1,2 Jiale Xu2 Wenbing Li1,2 Rendong Liang2 Jozef Hladký3 Matthias Nießner4 Yuanming Hu2 Wei Yang1,†

1Huazhong University of Science and Technology 2Meshy AI 3Independent Researcher 4Technical University of Munich

†Corresponding author

Split + Rewire Joint mesh refinement
Coarse → Fine Cascaded generation
Multi-resolution Progressive detail
Explore the method

Abstract

Generating compact, artist-style meshes with explicit topology typically relies on autoregressive models—which incur prohibitive sequential per-token costs—or continuous flow models that depend on heuristic connectivity decoders. Next-scale generation paradigms offer a compelling alternative by enabling parallel token prediction within each scale; yet, existing methods derive hierarchical levels via progressive mesh simplification and invert them sequentially. This eliminates intra-scale parallelism and scales generation steps linearly with face count. We propose MeshOctave, which instead defines scale through dyadic spatial grid resolutions, framing coarsening as a deterministic collapse that merges vertices sharing a voxel cell and inherits connectivity. Its inverse operation, split-and-rewire, determines which octant sub-vertices are instantiated for each coarse face and resolves local connectivity using discrete refinement tokens. Because these per-face operations require no serialization, each scale transition is modeled as an unordered set that adds one bit of coordinate precision, naturally supporting dynamic-length meshes and adaptive resolution refinement. We construct a scale-conditioned masked-uniform discrete diffusion model to learn split-and-rewire refinement from resolution collapse hierarchies. MeshOctave outperforms strong baselines in geometric fidelity and topological validity, while supporting adaptive resolution refinement and extending naturally to mesh subdivision tasks.

Core Idea

Grow geometry and connectivity together

Each refinement stage expands the current mesh locally, then predicts the connections needed to turn the new samples into a coherent surface.

Stage 01 · Expand

Split

Represent every parent vertex with a local child grid and select occupied child positions to increase geometric resolution.

Stage 02 · Connect

Rewire

Predict intra-parent and inter-parent connections among selected children so the refined vertices form a valid mesh.

MeshOctave mesh encoding for split, occupancy, intra-connectivity, and inter-connectivity
Mesh encoding. Refinement is represented by child occupancy, connections within a parent neighborhood, and connections across adjacent parent neighborhoods. The same representation also supports resolution collapse.
M0 → M1 → ··· → ML

Pipeline

Cascaded Mesh Refinement

A masked diffusion transformer performs one learned refinement step; applying the same split-and-rewire process across resolutions turns a coarse mesh into a detailed result.

MeshOctave one-resolution refinement pipeline
One-resolution refinement. The parent mesh is encoded into face and masked refinement tokens. A masked diffusion transformer combines self-attention, conditioning through cross-attention, and timestep/level modulation before occupancy and connectivity heads decode the refined mesh.
01

Tokenize Structured mesh state

Encode parent vertices, faces, child occupancy, and local connectivity in a representation designed for refinement.

02

Denoise Masked diffusion

Use self-attention and conditioning features to jointly recover the masked refinement tokens at the current level.

03

Decode Split and rewire

Select occupied children, then decode intra- and inter-connectivity to construct the next-resolution mesh.

04

Cascade Progressive detail

Repeat the learned refinement step across levels to scale from a compact coarse mesh to a detailed final surface.

Generation Result

Coarse-to-fine Mesh Generation

MeshOctave begins with a compact mesh and repeatedly applies learned split-and-rewire refinement to generate detailed geometry and coherent connectivity.

Set 01 / 01
Faces —
Vertices —
Faces —
Vertices —
Faces —
Vertices —

Multi-resolution Generation

Generation at Different Resolutions

Each case shows the same generated mesh across six spatial resolutions, revealing how geometry and connectivity emerge from coarse structure to fine detail.

Case 01 / 03

Application

Learned Mesh Subdivision

The split-and-rewire operator refines a coarse input while recovering local geometric detail and adaptive connectivity.

01 / 02 Desk
Click a boxed detail

Input Coarse mesh

Faces—
Vertices—

Prediction MeshOctave

Faces—
Vertices—

Select a detail to zoom both views to the same part; manual camera movements remain synchronized.

Comparison

Qualitative Comparison

MeshOctave recovers detailed geometry and coherent triangulation across a range of complex shapes.

Qualitative comparison of MeshOctave against prior mesh generation methods
Qualitative comparison. MeshOctave preserves recognizable structure and fine surface detail while producing cleaner, more complete meshes than prior approaches.