Abstract
We propose a compressive yet effective mesh representation, Blocked and Patchified Tokenization (BPT), facilitating the generation of meshes exceeding 8k faces. BPT compresses mesh sequences by employing block-wise indexing and patch aggregation, reducing their length by approximately 75% compared to the original sequences. This compression milestone unlocks the potential to utilize mesh data with significantly more faces, thereby enhancing detail richness and improving generation robustness. Empowered with the BPT, we have built a foundation mesh generative model training on scaled mesh data to support flexible control for point clouds and images. Our model demonstrates the capability to generate meshes with intricate details and accurate topology, achieving SoTA performance on mesh generation and reaching the level for direct product usage.
Introduction
Generating 3D meshes—the "gold standard" for games, movies, and simulations—is notoriously difficult for AI. Most current state-of-the-art models use auto-regressive Transformers, which treat a 3D mesh like a long string of text. The primary bottleneck is the context window. In a standard mesh representation, every face and vertex is a "token." As detail increases (more faces), the sequence length quickly exceeds the Transformer's processing capacity. Consequently, most existing models are limited to "low-poly" outputs, usually capped at around 4,000 faces, resulting in blocky models that lack professional-grade detail.
Methods: Blocked and Patchified Tokenization (BPT)
To overcome the context window limitation, we introduce BPT, a novel representation that shrinks sequence length by approximately 75% without losing geometric fidelity. BPT operates in two stages:
- Block-wise Indexing (Vertex Level): Instead of raw 3D coordinates, the 3D space is divided into a grid of blocks. Vertices are stored as a block index plus a local offset. Since nearby vertices often share blocks, this allows for significant index compression.
- Patchified Aggregation (Face Level): BPT identifies "patch centers" (vertices connected to many faces) and groups surrounding faces into a single patch. This eliminates the redundancy of calling the same vertex multiple times for adjacent triangles.
The generative backbone is a 500-million parameter Transformer that utilizes cross-attention to condition mesh generation on inputs like images or point clouds.
Scaling and Performance
The model was trained as a foundation model using ~1.5 million meshes from sources like ShapeNetV2 and Objaverse, followed by fine-tuning on 300,000 high-quality, product-ready meshes. A key insight from our research is the "Scaling Law of Meshes": increasing the face count in training data directly correlates with improved geometric accuracy.
Key Results
- Compression Efficiency: BPT achieves a compression ratio of 0.26, significantly outperforming previous methods like MeshAnything (1.00) and MeshGPT (0.67).
- Geometric Accuracy: On point-cloud-to-mesh tasks, the model achieved a Hausdorff Distance of 0.166, a substantial improvement over the previous state-of-the-art (0.265).
- High-Poly Generation: The model successfully generates meshes with up to 8,000 faces, preserving intricate topological details in complex objects like statues and characters.
Conclusion
By treating mesh redundancy as a compression problem, BPT unlocks the ability to train on and generate high-fidelity 3D assets. While the current 500M parameter model shows state-of-the-art performance, future work will focus on scaling parameter counts further and exploring end-to-end image-to-mesh pipelines to further enhance intuitive 3D understanding.
Summary updated