Controllable smoke animation with guiding objects

Lin Shi, Yizhou YuACM Trans. Graphics 2005

Abstract

In computer graphics, simulating smoke that follows a specific artistic direction—such as forming a character or logo—presents a fundamental conflict between physical realism and controllability. This paper introduces a framework that forces chaotic smoke simulations to adopt 3D target shapes while maintaining the swirling, turbulent appearance of real gas. The core of the approach is an empirical compressible fluid model that integrates velocity constraints without the mathematical instability typical of standard incompressible solvers.

Introduction

Traditional smoke simulation relies on the Navier-Stokes equations to produce realistic, diffusing clouds. However, animators often require "supernatural" control to make smoke form specific objects. Simply "containerizing" smoke within a mesh results in a solid-looking object that lacks fluid dynamics. Conversely, applying strong forces to push smoke into a shape often causes standard incompressible solvers to "explode" or produce jittery artifacts due to sudden, non-physical velocity changes. This research addresses the tug-of-war between controllability and physical realism.

Methodology

The proposed solution utilizes a three-part approach to guide smoke density toward a target geometry:

  1. Shape Matching via Level Sets: Both the smoke and the target object are represented as implicit functions (level sets). The system calculates the discrepancy between the current smoke boundary and the target shape.
  2. Velocity Constraints: To minimize this discrepancy, the system derives velocity constraints that "nudge" the smoke boundary toward the target. A key feature is tangential velocity clamping based on surface curvature, ensuring that while the global shape is maintained, local smoke still swirls and feels "alive."
  3. Empirical Compressible Fluid Model: Standard solvers enforce zero divergence (incompressibility) strictly, leading to pressure spikes when external control forces are added. The authors introduce a model that allows for a small amount of "squishiness" (compressibility). By treating pressure feedback as a diffusion process, the simulation effectively "absorbs" the shocks created by control forces, resulting in a smooth, stable animation.
Evolution of smoke boundary toward a target shape using velocity constraints.

For large-scale movements, such as a running character, a "smoke transportation" step physically moves the density grid to track the target before the fluid simulation refines the edges.

Results and Discussion

The algorithm was evaluated on several complex synthetic scenarios, including a smoke horse, colliding heart-shaped clouds, and text formation.

A smoke simulation evolving into a galloping horse while maintaining wispy, turbulent edges.

Key Insights

  • Relaxing Physics for Art: The authors argue that for "genie-like" smoke, it is acceptable to relax the laws of physics (specifically incompressibility) as long as the visual result remains plausible.
  • Pressure as a Shock Absorber: Decomposing the pressure field and applying a diffusion process creates a numerical "buffer" that allows the simulation to accept "illegal" velocity commands without crashing.
  • Curvature-Dependent Control: Pushing smoke hard on flat surfaces is acceptable, but doing so on sharp corners destroys the fluid appearance. Tangential constraints are automatically tuned to local geometry to preserve wispy details.

Performance and Stability

The empirical compressible model successfully integrated frequently updated velocity constraints without the "ringing" or "popping" artifacts seen in standard solvers. In 2004, the system could generate a 1250-frame sequence (at 128³ resolution) in approximately 4 hours, making it viable for production environments of that era. Qualitative comparisons demonstrate that this method produces more natural, "wispy" edges compared to traditional "hard boundary" container approaches.

Limitations

Despite its successes, the model has limitations. Because it is compressible and uses thresholding, mass is not strictly preserved—smoke can technically appear or disappear. Additionally, the system struggles with very thin features (e.g., horse ears) where grid resolution and gradient estimations become inaccurate. Future work could involve matching smoke to 2D video silhouettes rather than 3D meshes.

Reference: Shi, L., & Yu, Y. (2004). Controllable Smoke Animation with Guiding Objects. Technical Report No. UIUCDCS-R-2004-2438. University of Illinois at Urbana-Champaign.

Summary updated

BibTeX
@article{shi2005controllable,
  author = {Lin Shi and Yizhou Yu},
  title = {{Controllable smoke animation with guiding objects}},
  journal = {ACM Trans. Graphics},
  year = {2005},
  doi = {10.1145/1037957.1037965},
}
Figure