skip to main content
10.1145/2699276.2699287acmconferencesArticle/Chapter ViewAbstractPublication Pagesi3dConference Proceedingsconference-collections
research-article

Position-based fluid control

Published:27 February 2015Publication History

ABSTRACT

We present a novel fluid control method that is capable of driving particle-based fluid simulation to match a rapidly changing target while keeping natural fluid-like motion. To achieve the desired behavior, we first generate control particles by sampling the target shape and then apply a non-linear constraint to each control particle, with its neighboring fluid particles keeping a constant fluid density within its influence region. This density constraint is highly in line with the incompressible nature of the fluid, which can drive the fluid to match the target shape in a natural way. In addition, to match a fast moving or deforming target, we add an adaptive spring for each fluid particle in the control region, connecting with its nearest control particle. The spring constraint takes effect only when the fluid particle is far from its corresponding control particle to avoid introducing artificial viscosity. Therefore, the fluid particles are well controlled even if the target shape changes rapidly. Furthermore, we integrate a velocity constraint to adjust the stiffness of the controlled fluid. All these three constraints are solved under position-based framework which enables our simulation fast, robust and well-suitable for interactive applications. We demonstrate the efficiency and effectiveness of our method in various scenarios in real time.

Skip Supplemental Material Section

Supplemental Material

p61-zhang.mp4

mp4

86.8 MB

References

  1. Adams, B., Pauly, M., Keiser, R., and Guibas, L. J. 2007. Adaptively sampled particle fluids. In ACM Transactions on Graphics (TOG), vol. 26, ACM, 48. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Becker, M., and Teschner, M. 2007. Weakly compressible sph for free surface flows. In Proceedings of the 2007 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 209--217. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Dionne, O., and de Lasa, M. 2013. Geodesic voxel binding for production character meshes. In Proceedings of the 12th ACM SIGGRAPH/Eurographics Symposium on Computer Animation, ACM, 173--180. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Dong, Z., Chen, W., Bao, H., Zhang, H., and Peng, Q. 2004. Real-time voxelization for complex polygonal models. In Computer Graphics and Applications, 2004. PG 2004. Proceedings. 12th Pacific Conference on, IEEE, 43--50. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Fattal, R., and Lischinski, D. 2004. Target-driven smoke animation. In ACM Transactions on Graphics (TOG), vol. 23, ACM, 441--448. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Foster, N., and Fedkiw, R. 2001. Practical animation of liquids. In Proceedings of the 28th annual conference on Computer graphics and interactive techniques, ACM, 23--30. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Foster, N., and Metaxas, D. 1997. Controlling fluid animation. In Computer Graphics International, 1997. Proceedings, IEEE, 178--188. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Green, S. 2008. Cuda particles. nVidia Whitepaper 2, 3.2, 1.Google ScholarGoogle Scholar
  9. Hong, W., House, D. H., and Keyser, J. 2008. Adaptive particles for incompressible fluid simulation. The Visual Computer 24, 7-9, 535--543. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Huang, R., Melek, Z., and Keyser, J. 2011. Preview-based sampling for controlling gaseous simulations. In Proceedings of the 2011 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, ACM, 177--186. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Jakob, W., 2010. Mitsuba renderer. http://www.mitsubarenderer.org.Google ScholarGoogle Scholar
  12. Kruger, J., and Westermann, R. 2003. Acceleration techniques for gpu-based volume rendering. In Proceedings of the 14th IEEE Visualization 2003 (VIS'03), IEEE Computer Society, 38. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Kry, P. G., James, D. L., and Pai, D. K. 2002. Eigenskin: real time large deformation character skinning in hardware. In Proceedings of the 2002 ACM SIGGRAPH/Eurographics symposium on Computer animation, ACM, 153--159. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Lewis, J. P., Cordner, M., and Fong, N. 2000. Pose space deformation: a unified approach to shape interpolation and skeleton-driven deformation. In Proceedings of the 27th annual conference on Computer graphics and interactive techniques, ACM Press/Addison-Wesley Publishing Co., 165--172. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Macklin, M., and Müller, M. 2013. Position based fluids. ACM Transactions on Graphics (TOG) 32, 4, 104. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Macklin, M., Müller, M., Chentanez, N., and Kim, T.-Y. 2014. Unified particle physics for real-time applications. ACM Transactions on Graphics (TOG) 33, 4, 153. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. McNamara, A., Treuille, A., Popović, Z., and Stam, J. 2004. Fluid control using the adjoint method. In ACM Transactions On Graphics (TOG), vol. 23, ACM, 449--456. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Monaghan, J. J. 1992. Smoothed particle hydrodynamics. Annual review of astronomy and astrophysics 30, 543--574.Google ScholarGoogle Scholar
  19. Müller, M., Charypar, D., and Gross, M. 2003. Particle-based fluid simulation for interactive applications. In Proceedings of the 2003 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 154--159. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Müller, M., Heidelberger, B., Teschner, M., and Gross, M. 2005. Meshless deformations based on shape matching. In ACM Transactions on Graphics (TOG), vol. 24, ACM, 471--478. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Müller, M., Heidelberger, B., Hennix, M., and Ratcliff, J. 2007. Position based dynamics. Journal of Visual Communication and Image Representation 18, 2, 109--118. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Nielsen, M. B., and Christensen, B. B. 2010. Improved variational guiding of smoke animations. In Computer Graphics Forum, vol. 29, Wiley Online Library, 705--712.Google ScholarGoogle Scholar
  23. Nielsen, M. B., Christensen, B. B., Zafar, N. B., Roble, D., and Museth, K. 2009. Guiding of smoke animations through variational coupling of simulations at different resolutions. In Proceedings of the 2009 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, ACM, 217--226. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Orthmann, J., and Kolb, A. 2012. Temporal blending for adaptive sph. In Computer Graphics Forum, vol. 31, Wiley Online Library, 2436--2449. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Pan, Z., Huang, J., Tong, Y., Zheng, C., and Bao, H. 2013. Interactive localized liquid motion editing. ACM Transactions on Graphics (TOG) 32, 6, 184. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Pighin, F., Cohen, J. M., and Shah, M. 2004. Modeling and editing flows using advected radial basis functions. In Proceedings of the 2004 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 223--232. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Rasmussen, N., Enright, D., Nguyen, D., Marino, S., Sumner, N., Geiger, W., Hoon, S., and Fedkiw, R. 2004. Directable photorealistic liquids. In Proceedings of the 2004 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 193--202. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Raveendran, K., Thuerey, N., Wojtan, C., and Turk, G. 2012. Controlling liquids using meshes. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation, Eurographics Association, 255--264. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Schwarz, M., and Seidel, H.-P. 2010. Fast parallel surface and solid voxelization on gpus. ACM Transactions on Graphics (TOG) 29, 6, 179. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Shi, L., and Yu, Y. 2005. Taming liquids for rapidly changing targets. In Proceedings of the 2005 ACM SIGGRAPH/Eurographics symposium on Computer animation, ACM, 229--236. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Solenthaler, B., and Pajarola, R. 2009. Predictive-corrective incompressible sph. In ACM transactions on graphics (TOG), vol. 28, ACM, 40. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. Thürey, N., Keiser, R., Pauly, M., and Rüde, U. 2009. Detail-preserving fluid control. Graphical Models 71, 6, 221--228. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Treuille, A., McNamara, A., Popović, Z., and Stam, J. 2003. Keyframe control of smoke simulations. In ACM Transactions on Graphics (TOG), vol. 22, ACM, 716--723. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Position-based fluid control

    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
    • Published in

      cover image ACM Conferences
      i3D '15: Proceedings of the 19th Symposium on Interactive 3D Graphics and Games
      February 2015
      133 pages
      ISBN:9781450333924
      DOI:10.1145/2699276

      Copyright © 2015 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: 27 February 2015

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate148of485submissions,31%

      Upcoming Conference

      I3D '24
      Symposium on Interactive 3D Graphics and Games
      May 8 - 10, 2024
      Philadelphia , PA , USA

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader