Abstract
There is no settled universal 3D representation for geometry with many alternatives such as point clouds, meshes, implicit functions, and voxels to name a few. In this work, we present a new, compelling alternative for representing shapes using a sequence of cross-sectional closed loops. The loops across all planes form an organizational hierarchy which we leverage for autoregressive shape synthesis and editing. Loops are a non-local description of the underlying shape, as simple loop manipulations (such as shifts) result in significant structural changes to the geometry. This is in contrast to manipulating local primitives such as points in a point cloud or a triangle in a triangle mesh. We further demonstrate that loops are intuitive and natural primitive for analyzing and editing shapes, both computationally and for users.
Introduction
Choosing the "right" representation for 3D geometry is a long-standing challenge in computer vision and graphics. Common formats like voxels are computationally expensive at high resolutions, point clouds lack surface connectivity, and implicit functions (like NeRFs or SDFs) are notoriously difficult for humans to edit directly.
LoopDraw addresses this gap by proposing a representation that is both computationally efficient for deep learning and intuitively editable for users. The authors propose that "loops"—closed 2D contours representing cross-sections—strike the perfect balance. Unlike a single vertex in a mesh, a loop is a "non-local" primitive; moving one loop implies a significant structural change, making it a powerful handle for shape manipulation.
Methods
LoopDraw represents a 3D shape as an ordered sequence of 2D polylines.
Loop Representation
A 3D mesh is sliced along a primary axis into a set of planes. Each plane contains one or more closed loops. These loops are resampled to a fixed number of vertices (32 in this paper) and paired with a "level-up" binary flag that tells the model when to move to the next slice plane. This creates an organizational hierarchy that can be modeled as a sequence.
Architecture
The core is a Transformer-based Variational Autoencoder (VAE).
- Encoder: Takes the full sequence of loops and compresses them into a latent vector $z$.
- Decoder: An autoregressive Transformer. Given the latent code $z$ and the sequence of loops generated so far, it predicts the next loop in the sequence.
Reconstruction
To turn the predicted loops back into a 3D mesh, the authors use Poisson Surface Reconstruction. They develop a specific heuristic to estimate surface normals from the loop data, ensuring the final mesh respects the intended topology, such as the hollow interior of a vase.
Key Insights and Ideas
The "Adaptive" Edit
The most striking feature of LoopDraw is how it handles user intervention. Because the decoder is autoregressive, a user can manually "inject" a modified loop mid-generation. The model then "explains" this anomaly by adapting all subsequent loops. For example, shifting a single loop on a handleless vase can force the model to generate a handle to connect that shifted loop back to the body.
Non-Local Primitives
Traditional editing (moving vertices) is local and tedious. LoopDraw treats the cross-section as the fundamental unit. This allows for "loop transplantation," where you can take the handle loops from one vase and insert them into the generation process of another. By flattening 3D structures into 1D sequences of loops, the authors leverage the progress made in Large Language Models (LLMs) and sequence transformers, applying "next-token prediction" logic to 3D synthesis.
Results and Evaluation
The model was trained on two primary categories: COSEG Vases (smooth curves, varied topologies) and ShapeNet Sofas (angular, man-made features).
- Smooth Latent Space: Interpolating between two latent vectors produces smooth, semantically meaningful transitions.
- Structural Modification: Qualitative results demonstrate that the model can successfully "repair" or "complete" shapes after drastic manual edits.
- Fidelity: Despite the sparse representation (32-40 planes), the reconstructed meshes accurately capture sharp corners and high-frequency features.
Limitations and Future Work
Currently, the model requires slicing along a single, pre-defined axis, which struggles with complex, multi-directional geometry like tangled knots. The input data must also be manifold meshes. Future directions include exploring "multi-axis" slicing or treating loops as unordered sets to remove scan direction dependency. There is also potential for this representation in medical imaging (CT/MRI scans), which are natively cross-sectional.
Summary updated