skip to main content
article

Keyframe control of smoke simulations

Published:01 July 2003Publication History
Skip Abstract Section

Abstract

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.

Skip Supplemental Material Section

Supplemental Material

mcnamara_treuille_keyframe.mp4

mp4

35 MB

References

  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 ScholarGoogle 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 ScholarGoogle ScholarCross RefCross Ref
  3. BEWLEY, T. R. 2001. Flow control: new challenges for a new renaissance. Progress in Aerospace Sciences 37, 21--58.Google ScholarGoogle ScholarCross RefCross 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 ScholarGoogle 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 ScholarGoogle ScholarDigital LibraryDigital Library
  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 ScholarGoogle ScholarDigital LibraryDigital Library
  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 ScholarGoogle ScholarDigital LibraryDigital Library
  8. FEDKIW, R., STAM, J., AND JENSEN, H. 2001. Visual Simulation of Smoke. In Computer Graphics (SIGGRAPH 2001), ACM, 15--22. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. FOSTER, N., AND FEDKIW, R. 2001. Practical Animation of Liquids. In Computer Graphics (SIGGRAPH 2001), ACM, 23--30. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. FOSTER, N., AND METAXAS, D. 1996. Realistic Animation of Liquids. Graphical Models and Image Processing 58, 5, 471--483. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. FOSTER, N., AND METAXAS, D. 1997. Controlling fluid animation. Computer Graphics International, 178--188. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. FOSTER, N., AND METAXAS, D. 1997. Modeling the Motion of a Hot, Turbulent Gas. In Computer Graphics (SIGGRAPH 97), ACM, 181--188. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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 ScholarGoogle 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 ScholarGoogle ScholarDigital LibraryDigital Library
  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 ScholarGoogle ScholarDigital LibraryDigital Library
  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 ScholarGoogle ScholarDigital LibraryDigital Library
  17. POPOVIĆ, J. 2001. Interactive Design of Rigid-Body Simulatons for Computer Animation. PhD thesis, Carnegie Mellon University. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. STAM, J. 1999. Stable Fluids. In Computer Graphics (SIGGRAPH 99), ACM, 121--128. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. STOER, J., AND BULIRSCH, R. 1993. Introduction to Numerical Analysis, 2nd ed. Springer.Google ScholarGoogle Scholar
  20. WITTING, P. 1999. Computational Fluid Dynamics in a Traditional Animation Environment. In Computer Graphics (SIGGRAPH 99), ACM, 129--136. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. ZHU, C., BYRD, R., LU, P., AND NOCEDAL, J., 1994. Lbfgs-b: Fortran subroutines for large-scale bound constrained optimization.Google ScholarGoogle Scholar

Index Terms

  1. Keyframe control of smoke simulations

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM Transactions on Graphics
      ACM Transactions on Graphics  Volume 22, Issue 3
      July 2003
      683 pages
      ISSN:0730-0301
      EISSN:1557-7368
      DOI:10.1145/882262
      Issue’s Table of Contents

      Copyright © 2003 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 July 2003
      Published in tog Volume 22, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader