SMASH: Data-driven Reconstruction of Physically Valid Collisions

Aron Monszpart, Nils Thuerey, Niloy J. Mitra

TL;DR

SMASH (Physics-guided Reconstruction of Collisions from Videos) is a framework that reconstructs physically accurate 3D rigid body collisions from simple 2D video recordings. By using the laws of physics—like conservation of momentum—as regularizers, the system can "see through" occlusions and recover hidden parameters like mass ratios, angular velocity, and coefficients of restitution.

What Problem Does This Paper Address?

Capturing or authoring realistic collisions is a major headache for animators and researchers. In the real world, collisions happen in the blink of an eye, leading to motion blur in standard video. Furthermore, the most critical moment—the actual impact—is often occluded by the objects themselves or the environment.

Existing 3D acquisition methods like Kinect Fusion are too slow for high-speed dynamics, and manual "rigging" of simulations in software is a tedious trial-and-error process. The authors aim to bridge this gap by "reading off" physical parameters directly from raw video, allowing users to capture a real-world event and then re-author it digitally with ease.

Methods

The SMASH pipeline operates in three main stages:

  1. Position Initialization: The system uses background subtraction to find object centroids in 2D. It then employs a RANSAC-based labeling process to fit 3D parabolas (representing ballistic motion under gravity) to these points.
  2. Orientation Initialization: Since 2D centroids don't capture spin, the user provides sparse orientation hints for a few frames. A differential renderer (OpenDR) helps refine these initial guesses against the video data.
  3. Physics-based Optimization: This is the core innovation. The authors formulate a non-linear least-squares optimization that treats the laws of rigid body dynamics as constraints.

Instead of just fitting curves to noisy data, the optimizer ensures the reconstructed motion obeys:

  • Conservation of Momentum: Both linear and angular momentum must be preserved across the impact.
  • Impulse Equations: The change in velocity is linked to a single collision impulse ($jn$) acting at a specific point ($x^c$).
  • Energy Limits: Post-collision kinetic energy cannot exceed pre-collision energy.
  • Coefficient of Restitution ($c$): A parameter representing how "bouncy" the collision is.

By coupling the "before" and "after" trajectories through these laws, the system can accurately estimate the motion even if the collision point is completely hidden from the camera.

Figure 3: The geometric setup showing how four trajectory segments are coupled at a single collision point via physics priors.

Datasets

The researchers evaluated SMASH using two primary sources:

  • Synthetic Data: Generated using the BULLET physics engine. This provided a "ground truth" environment to test how the algorithm handles varying levels of noise and occlusion.
  • Real-World Sequences: Captured using an iPhone 6 at 120 or 240 fps. They tested a variety of objects, including cardboard boxes, a bike helmet, a rubber duck, a toy elephant, and a rugby ball.
  • Geometry: For real-world tests, 3D models of the objects were pre-acquired using Kinect Fusion scans.

Key Insights and Ideas

  • Physics as a Regularizer: The most powerful idea here is that you don't need to see the impact to understand it. If you know the trajectories leading in and out, the laws of physics dictate what must have happened in the middle.
  • Trajectory Coupling: The optimization doesn't just look at one object; it solves for both objects simultaneously. The mass ratio ($m^{b,a}$) becomes a key variable that links how Object A's momentum change affects Object B.
  • Handling Occlusion: Because the model is grounded in ballistic parabolas, it can interpolate through long periods of missing data. As shown in Figure 1, the system successfully reconstructed a collision that occurred entirely behind a curtain.
Figure 1: Starting from an input video of a collision sequence behind a curtain (top), SMASH reconstructs an accurate physically valid collision (bottom) using laws of rigid body physics for regularization. Note the reconstructed spin (i.e., angular velocity) of the objects.

Key Results

  • Robustness: In synthetic tests, the system remained accurate even with 30% noise in position measurements and 40° of error in orientation annotations.
  • Parameter Recovery: The system successfully recovered mass ratios and restitution coefficients close to ground truth. For example, it correctly identified that a bike helmet dissipates energy (low $c$) while a rugby ball is quite bouncy (high $c$).
  • Authoring Workflow: The authors implemented a Blender plugin. Once the physical parameters are "read" from a video, an animator can instantly generate new simulations—like changing the entry angle or adding more objects—that feel grounded in reality.

Limitations and Future Work

  • Rigid Bodies Only: The current model assumes objects don't deform. While it works for "near-rigid" objects like toy elephants, it would struggle with highly soft bodies or fracturing objects.
  • Zero Friction Assumption: The current optimization ignores friction, which leads to a slight underestimation of the coefficient of restitution ($c$).
  • User Input: While the position tracking is automatic, the system still requires a human to provide a few orientation "keyframes" to resolve visual ambiguities in spin.
  • Single Viewpoint: A single camera can lead to depth ambiguity if the objects are moving directly toward or away from the lens. Future work could involve multi-camera setups or more advanced depth-from-gravity techniques.

Summary updated

Abstract

Collision sequences are commonly used in games and entertainment to add drama and excitement. Authoring even two body collisions in the real world can be difficult, as one has to get timing and the object trajectories to be correctly synchronized. After tedious trial-and-error iterations, when objects can actually be made to collide, then they are difficult to capture in 3D. In contrast, synthetically generating plausible collisions is difficult as it requires adjusting different collision parameters (e.g., object mass ratio, coefficient of restitution, etc.) and appropriate initial parameters. We present SMASH to directly read off appropriate collision parameters directly from raw input video recordings. Technically we enable this by utilizing laws of rigid body collision to regularize the problem of lifting 2D trajectories to a physically valid 3D reconstruction of the collision. The reconstructed sequences can then be modified and combined to easily author novel and plausible collisions. We evaluate our system on a range of synthetic scenes and demonstrate the effectiveness of our method by accurately reconstructing several complex real world collision events.
BibTeX
@article{monszpart2016smash,
  author = {Aron Monszpart and Nils Thuerey and Niloy J. Mitra},
  title = {{SMASH: Data-driven Reconstruction of Physically Valid Collisions}},
  journal = {ACM Trans. Graphics},
  year = {2016},
  doi = {10.1145/2980179.2982421},
}
Figure