“Keyframe control of smoke simulations” by Treuille, McNamara, Popovic and Stam

  • ©Adrien Treuille, Antoine McNamara, Zoran Popovic, and Jos Stam




    Keyframe control of smoke simulations



    We describe a method for controlling smoke simulations through user-specified keyframes. To achieve the desired behavior, a continuous quasi-Newton optimization solves for appropriate “wind” forces to be applied to the underlying velocity field throughout the simulation. The cornerstone of our approach is a method to efficiently compute exact derivatives through the steps of a fluid simulation. We formulate an objective function corresponding to how well a simulation matches the user’s keyframes, and use the derivatives to solve for force parameters that minimize this function. For animations with several keyframes, we present a novel multiple-shooting approach. By splitting large problems into smaller overlapping subproblems, we greatly speed up the optimization process while avoiding certain local minima.


    1. ASCHER, U. M., MATTHEIJ, R. M. M., AND RUSELL, R. D. 1988. Numerical Solution of Boundary Value Problems for Ordinary Differential Equations. Prentice-Hall, Englewood Cliffs, New Jersey.Google Scholar
    2. BEWLEY, T. R., MOIN, P., AND TEMAM, R. 2001. Dns-based predictive control of turbulence: an optimal benchmark for feedback algorithms. Journal of Fluid Mechanics 447, 179–225.Google ScholarCross Ref
    3. BEWLEY, T. R. 2001. Flow control: new challenges for a new renaissance. Progress in Aerospace Sciences 37, 21–58.Google ScholarCross Ref
    4. BEWLEY, T. R. 2002. The emerging roles of model-based control theory in fluid mechanics. In Advances in Turbulence IX. Proceedings of the Ninth European Turbulence Conference.Google Scholar
    5. CHEN, J. X., DA VITTORIA LOBO, N., HUGHES, C. E., AND MOSHELL, J. M. 1997. Real-Time Fluid Simulation in a Dynamic Virtual Environment. IEEE Computer Graphics and Applications (May-June), 52–61. Google Scholar
    6. CHENNEY, S., AND FORSYTH, D. A. 2000. Sampling Plausible Solutions to Multi-body Constraint Problems. In Computer Graphics (SIGGRAPH 2000), ACM, 219–228. Google Scholar
    7. ENRIGHT, D., MARSCHNER, S., AND FEDKIW, R. 2002. Animation and Rendering of Complex Water Surfaces. In Computer Graphics (SIGGRAPH 2002), ACM, 736–744. Google Scholar
    8. FEDKIW, R., STAM, J., AND JENSEN, H. 2001. Visual Simulation of Smoke. In Computer Graphics (SIGGRAPH 2001), ACM, 15–22. Google Scholar
    9. FOSTER, N., AND FEDKIW, R. 2001. Practical Animation of Liquids. In Computer Graphics (SIGGRAPH 2001), ACM, 23–30. Google Scholar
    10. FOSTER, N., AND METAXAS, D. 1996. Realistic Animation of Liquids. Graphical Models and Image Processing 58, 5, 471–483. Google ScholarDigital Library
    11. FOSTER, N., AND METAXAS, D. 1997. Controlling fluid animation. Computer Graphics International, 178–188. Google Scholar
    12. FOSTER, N., AND METAXAS, D. 1997. Modeling the Motion of a Hot, Turbulent Gas. In Computer Graphics (SIGGRAPH 97), ACM, 181–188. Google Scholar
    13. GHIL, M., IDE, K., BENNETT, A. F., COURTIER, P., KIMOTO, M., AND (EDS.), N. S. 1997. Data Assimilation in Meteorology and Oceanography: Theory and Practice,. Meteorological Society of Japan and Universal Academy Press.Google Scholar
    14. KAJIYA, J. T., AND VON HERZEN, B. P. 1984. Ray Tracing Volume Densities. Computer Graphics (SIGGRAPH 84) 18, 3 (July), 165–174. Google Scholar
    15. NGUYEN, D., FEDKIW, R., AND JENSEN, H. 2002. Physically Based Modeling and Animation of Fire. In Computer Graphics (SIGGRAPH 2002), ACM, 736–744. Google Scholar
    16. POPOVIĆ, J., SEITZ, S. M., ERDMANN, M., POPOVIĆ, Z., AND WITKIN, A. 2000. Interactive Manipulation of Rigid Body Simulations. In Computer Graphics (SIGGRAPH 2000), ACM, 209–218. Google Scholar
    17. POPOVIĆ, J. 2001. Interactive Design of Rigid-Body Simulatons for Computer Animation. PhD thesis, Carnegie Mellon University. Google Scholar
    18. STAM, J. 1999. Stable Fluids. In Computer Graphics (SIGGRAPH 99), ACM, 121–128. Google Scholar
    19. STOER, J., AND BULIRSCH, R. 1993. Introduction to Numerical Analysis, 2nd ed. Springer.Google Scholar
    20. WITTING, P. 1999. Computational Fluid Dynamics in a Traditional Animation Environment. In Computer Graphics (SIGGRAPH 99), ACM, 129–136. Google Scholar
    21. ZHU, C., BYRD, R., LU, P., AND NOCEDAL, J., 1994. Lbfgs-b: Fortran subroutines for large-scale bound constrained optimization.Google Scholar

ACM Digital Library Publication:

Overview Page: