Introduction
Collision detection is a cornerstone of computer animation, physical simulation, and robotics. While Signed Distance Fields (SDFs) provide a high-performance solution for rigid bodies, their application to deformable objects has historically been limited. Deformable simulations typically rely on Bounding Volume Hierarchies (BVHs), which necessitate costly per-frame updates or complete reconstructions as geometry changes. This "rebuild bottleneck" is particularly acute on modern GPUs, where tree-building algorithms are difficult to optimize.
This paper presents a novel approach: training a neural network to learn a "Deformable SDF." By conditioning a multilayer perceptron (MLP) on a low-dimensional representation of an object's deformation, the system can predict signed distances for any query point without ever rebuilding a spatial data structure.
Methodology
The core of the proposed method is an MLP that maps a query point $q \in \mathbb{R}^3$ and a deformation code $z \in \mathbb{R}^k$ to a signed distance value.
Deformation Coding
To keep the input space manageable, the high-dimensional vertex data of a mesh is compressed into a low-dimensional "code" ($z$):
- Volumetric FEM Objects: For objects like a squishy bunny, linear modal analysis is employed to represent the shape as a weighted sum of primary vibration modes.
- Skinned Characters: For articulated figures, the joint angles of the underlying skeleton serve as the deformation code.
Network Architecture and Training
The authors utilize an 8-layer MLP. Training data is generated by sampling ground-truth SDFs across a wide variety of deformed poses. Samples are concentrated near the surface to ensure high accuracy where collisions are most likely, while uniform samples throughout the bounding box provide global coverage. At runtime, collision normals are efficiently computed via a backward pass through the network to obtain the gradient of the distance function.
Experimental Evaluation
The method was evaluated on two distinct scenarios: a volumetric bunny (1,883 nodes) for haptic feedback and a complex skinned character (27,999 vertices) for cloth interaction.
Performance and Scalability
A key advantage of the neural approach is its constant evaluation cost and zero rebuild cost. On GPU hardware, the neural method outperforms traditional BVH traversals for up to 10,000 query points per frame. Furthermore, as mesh complexity increases, the relative benefit of the neural method grows because the BVH rebuild time scales with the number of triangles, whereas the MLP evaluation time remains largely independent of the underlying mesh resolution.
Key Insights
- Physics-Geometry Decoupling: The network learns the geometric space of possible shapes. Consequently, physical properties like stiffness or mass can be adjusted at runtime without retraining the network.
- Hardware Synergy: By framing collision detection as a series of matrix multiplications, the method directly leverages specialized deep learning hardware (e.g., Tensor Cores), which is significantly more optimized than custom GPU tree traversal logic.
Limitations and Future Work
Despite its speed, the method faces challenges with "projection errors" if the deformation code is too low-dimensional, potentially leading to blurred surface representations. Additionally, while the network provides distance information, it does not inherently identify specific colliding triangles—a requirement for certain high-fidelity haptic applications. Future work aims to integrate hierarchical neural structures to scale the approach to entire complex scenes.
Summary updated