skip to main content
research-article

A scalable galerkin multigrid method for real-time simulation of deformable objects

Published:08 November 2019Publication History
Skip Abstract Section

Abstract

We propose a simple yet efficient multigrid scheme to simulate high-resolution deformable objects in their full spaces at interactive frame rates. The point of departure of our method is the Galerkin projection which is simple to construct. However, a naïve Galerkin multigrid does not scale well for large and irregular grids because it trades-off matrix sparsity for smaller sized linear systems which eventually stops improving the performance. Given that observation, we design our special projection criterion which is based on skinning space coordinates with piecewise constant weights, to make our Galerkin multigrid method scale for high-resolution meshes without suffering from dense linear solves. The usage of skinning space coordinates enables us to reduce the resolution of grids more aggressively, and our piecewise constant weights further ensure us to always deal with reasonably-sparse linear solves. Our projection matrices also help us to manage multi-level linear systems efficiently. Therefore, our method can be applied to different optimization schemes such as Newton's method and Projective Dynamics, pushing the resolution of a real-time simulation to orders of magnitudes higher. Our final GPU implementation outperforms the other state-of-the-art GPU deformable body simulators, enabling us to simulate large deformable objects with hundred thousands of degrees of freedom in real-time.

Skip Supplemental Material Section

Supplemental Material

a162-xian.mov

mov

101.2 MB

References

  1. David Arthur and Sergei Vassilvitskii. 2007. k-means++: The advantages of careful seeding. In Proceedings of the eighteenth annual ACM-SIAM symposium on Discrete algorithms. Society for Industrial and Applied Mathematics, 1027--1035.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. David Baraff and Andrew Witkin. 1998. Large steps in cloth simulation. In Proc. of ACM SIGGRAPH. 43--54.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Jernej Barbič and Doug L James. 2005. Real-time subspace integration for St. Venant-Kirchhoff deformable models. In ACM Trans. Graph., Vol. 24. ACM, 982--990.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Jan Bender, Matthias Müller, and Miles Macklin. 2015. Position-Based Simulation Methods in Computer Graphics. In Eurographics (Tutorials).Google ScholarGoogle Scholar
  5. Jan Bender, Matthias Müller, Miguel A Otaduy, Matthias Teschner, and Miles Macklin. 2014. A survey on position-based simulation methods in computer graphics. In Comput. Graph. Forum, Vol. 33. Wiley Online Library, 228--251.Google ScholarGoogle Scholar
  6. Sofien Bouaziz, Sebastian Martin, Tiantian Liu, Ladislav Kavan, and Mark Pauly. 2014. Projective dynamics: fusing constraint projections for fast simulation. ACM Trans. Graph. 33, 4 (2014), 154.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Christopher Brandt, Elmar Eisemann, and Klaus Hildebrandt. 2018. Hyper-reduced projective dynamics. ACM Trans. Graph. 37, 4 (2018), 80.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Min Gyu Choi and Hyeong-Seok Ko. 2005. Modal warping: Real-time simulation of large rotational deformation and manipulation. IEEE Transactions on Visualization and Computer Graphics 11, 1 (2005), 91--101.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Christian Dick, Joachim Georgii, and Rüdiger Westermann. 2011. A real-time multigrid finite hexahedra method for elasticity simulation using CUDA. Simulation Modelling Practice and Theory 19, 2 (2011), 801--816.Google ScholarGoogle ScholarCross RefCross Ref
  10. Marco Fratarcangeli, Valentina Tibaldo, and Fabio Pellacini. 2016. Vivace: A practical gauss-seidel method for stable soft body dynamics. ACM Trans. Graph. 35, 6 (2016), 214.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Marco Fratarcangeli, Huamin Wang, and Yin Yang. 2018. Parallel iterative solvers for real-time elastic deformations. In SIGGRAPH Asia 2018 Courses. ACM, 14.Google ScholarGoogle Scholar
  12. Lawson Fulton, Vismay Modi, David Duvenaud, David I. W. Levin, and Alec Jacobson. 2019. Latent-space Dynamics for Reduced Deformable Simulation. Comput. Graph. Forum (2019).Google ScholarGoogle Scholar
  13. Theodore F Gast, Craig Schroeder, Alexey Stomakhin, Chenfanfu Jiang, and Joseph M Teran. 2015. Optimization integrator for large time steps. IEEE transactions on visualization and computer graphics 21, 10 (2015), 1103--1115.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Joachim Georgii and Rüdiger Westermann. 2006. A multigrid framework for real-time simulation of deformable bodies. Computers & Graphics 30, 3 (2006), 408--415.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Rony Goldenthal, David Harmon, Raanan Fattal, Michel Bercovier, and Eitan Grinspun. 2007. Efficient simulation of inextensible cloth. ACM Trans. Graph. 26, 3 (2007), 49.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Alec Jacobson. 2015. How does Galerkin multigrid scale for irregular grids? http://www.alecjacobson.com/weblog/?p=4383Google ScholarGoogle Scholar
  17. Alec Jacobson, Ilya Baran, Ladislav Kavan, Jovan Popović, and Olga Sorkine. 2012. Fast automatic skinning transformations. ACM Trans. Graph. 31, 4 (2012), 77.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Alec Jacobson, Ilya Baran, Jovan Popovic, and Olga Sorkine. 2011. Bounded biharmonic weights for real-time deformation. ACM Trans. Graph. 30, 4 (2011), 78--1.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Inyong Jeon, Kwang-Jin Choi, Tae-Yong Kim, Bong-Ouk Choi, and Hyeong-Seok Ko. 2013. Constrainable multigrid for cloth. In Comput. Graph. Forum, Vol. 32. Wiley Online Library, 31--39.Google ScholarGoogle Scholar
  20. Liliya Kharevych, Weiwei Yang, Yiying Tong, Eva Kanso, Jerrold E Marsden, Peter Schröder, and Matthieu Desbrun. 2006. Geometric, variational integrators for computer animation. Proc. EG/ACM Symp. Computer Animation, 43--51.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Minchen Li, Ming Gao, Timothy Langlois, Chenfanfu Jiang, and Danny M Kaufman. 2019. Decomposed optimization time integrator for large-step elastodynamics. ACM Trans. Graph. 38, 4 (2019), 70.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Haixiang Liu, Yuanming Hu, Bo Zhu, Wojciech Matusik, and Eftychios Sifakis. 2018. Narrow-band topology optimization on a sparsely populated grid. In Proc. of ACM SIGGRAPH Asia. ACM, 251.Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Tiantian Liu, Adam W Bargteil, James F O'Brien, and Ladislav Kavan. 2013. Fast simulation of mass-spring systems. ACM Trans. Graph. 32, 6 (2013), 214.Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Tiantian Liu, Sofien Bouaziz, and Ladislav Kavan. 2017. Quasi-newton methods for real-time simulation of hyperelastic materials. ACM Trans. Graph. 36, 4 (2017), 116a.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Miles Macklin and Matthias Müller. 2013. Position based fluids. ACM Trans. Graph. 32, 4 (2013), 104.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Miles Macklin, Matthias Müller, and Nuttapong Chentanez. 2016. XPBD: position-based simulation of compliant constrained dynamics. In Proceedings of the 9th International Conference on Motion in Games. ACM, 49--54.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Miles Macklin, Matthias Müller, Nuttapong Chentanez, and Tae-Yong Kim. 2014. Unified particle physics for real-time applications. ACM Trans. Graph. 33 (2014), 153:1--153:12.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Nadia Magnenat-Thalmann, Richard Laperrire, and Daniel Thalmann. 1988. Joint-dependent local deformations for hand animation and object grasping. In In Proceedings on Graphics interface'88. Citeseer.Google ScholarGoogle Scholar
  29. Sebastian Martin, Bernhard Thomaszewski, Eitan Grinspun, and Markus Gross. 2011. Example-based elastic materials. In ACM Trans. Graph., Vol. 30. ACM, 72.Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Aleka McAdams, Yongning Zhu, Andrew Selle, Mark Empey, Rasmus Tamstorf, Joseph Teran, and Eftychios Sifakis. 2011. Efficient elasticity for character skinning with contact and collisions. ACM Trans. Graph. 30, 4 (2011), 37.Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Matthias Müller. 2008. Hierarchical Position Based Dynamics. In Workshop in Virtual Reality Interactions and Physical Simulation "VRIPHYS" (2008). The Eurographics Association.Google ScholarGoogle Scholar
  32. Matthias Müller, Bruno Heidelberger, Marcus Hennix, and John Ratcliff. 2007. Position based dynamics. Journal of Visual Communication and Image Representation 18, 2 (2007), 109--118.Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Matthias Müller, Bruno Heidelberger, Matthias Teschner, and Markus Gross. 2005. Meshless deformations based on shape matching. In ACM Trans. Graph., Vol. 24. 471--478.Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Matthew Overby, George E Brown, Jie Li, and Rahul Narain. 2017. ADMM ⊇ Projective Dynamics: Fast Simulation of Hyperelastic Models with Dynamic Constraints. IEEE TVCG 23, 10 (2017), 2222--2234.Google ScholarGoogle Scholar
  35. A.R. Rivers and D.L. James. 2007. FastLSM: fast lattice shape matching for robust real-time deformation. ACM Trans. Graph. 26 (2007), 82:1--82:6.Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Eftychios Sifakis and Jernej Barbic. 2012. FEM simulation of 3D deformable solids: a practitioner's guide to theory, discretization and model reduction. In ACM SIGGRAPH 2012 courses. ACM, 20.Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. Breannan Smith, Fernando De Goes, and Theodore Kim. 2019. Analytic Eigensystems for Isotropic Distortion Energies. ACM Trans. Graph. 38, 1 (2019), 3.Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Jos Stam. 2009. Nucleus: towards a Unified Dynamics Solver for Computer Graphics. In IEEE Int. Conf. on CAD and Comput. Graph. 1--11.Google ScholarGoogle ScholarCross RefCross Ref
  39. Ari Stern and Mathieu Desbrun. 2006. Discrete geometric mechanics for variational time integrators. In ACM SIGGRAPH Courses. ACM, 75--80.Google ScholarGoogle Scholar
  40. Gilbert Strang and Kaija Aarikka. 1986. Introduction to applied mathematics. Vol. 16. Wellesley-Cambridge Press Wellesley, MA.Google ScholarGoogle Scholar
  41. Rasmus Tamstorf, Toby Jones, and Stephen F McCormick. 2015. Smoothed aggregation multigrid for cloth simulation. ACM Trans. Graph. 34, 6 (2015), 245.Google ScholarGoogle ScholarDigital LibraryDigital Library
  42. Joseph Teran, Eftychios Sifakis, Geoffrey Irving, and Ronald Fedkiw. 2005. Robust quasistatic finite elements and flesh simulation. In Proc. EG/ACM Symp. Computer Animation. ACM, 181--190.Google ScholarGoogle ScholarDigital LibraryDigital Library
  43. Demetri Terzopoulos, John Platt, Alan Barr, and Kurt Fleischer. 1987. Elastically deformable models. In Computer Graphics (Proceedings of SIGGRAPH), Vol. 21. 205--214.Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. Maxime Tournier, Matthieu Nesme, Benjamin Gilles, and Francois Faure. 2015. Stable constrained dynamics. ACM Trans. Graph. 34, 4 (2015), 132.Google ScholarGoogle ScholarDigital LibraryDigital Library
  45. Christoph Von Tycowicz, Christian Schulz, Hans-Peter Seidel, and Klaus Hildebrandt. 2013. An efficient construction of reduced deformable objects. ACM Trans. Graph. 32, 6 (2013), 213.Google ScholarGoogle Scholar
  46. Huamin Wang. 2015. A chebyshev semi-iterative approach for accelerating projective and position-based dynamics. ACM Trans. Graph. 34 (2015), 246:1--246:9.Google ScholarGoogle ScholarDigital LibraryDigital Library
  47. Yu Wang, Alec Jacobson, Jernej Barbič, and Ladislav Kavan. 2015. Linear subspace design for real-time shape deformation. ACM Trans. Graph. 34, 4 (2015), 57.Google ScholarGoogle ScholarDigital LibraryDigital Library
  48. Zhendong Wang, Longhua Wu, Marco Fratarcangeli, Min Tang, and Huamin Wang. 2018. Parallel Multigrid for Nonlinear Cloth Simulation. In Comput. Graph. Forum, Vol. 37. Wiley Online Library, 131--141.Google ScholarGoogle Scholar
  49. Jun Wu, Christian Dick, and Rudiger Westermann. 2016. A System for High-Resolution Topology Optimization. IEEE TVCG 22, 3 (2016), 1195--1208.Google ScholarGoogle Scholar
  50. Yufeng Zhu, Robert Bridson, and Danny M Kaufman. 2018. Blended cured quasi-newton for distortion optimization. ACM Trans. Graph. 37, 4 (2018), 40.Google ScholarGoogle ScholarDigital LibraryDigital Library
  51. Yongning Zhu, Eftychios Sifakis, Joseph Teran, and Achi Brandt. 2010. An efficient multigrid method for the simulation of high-resolution elastic solids. ACM Trans. Graph. 29, 2 (2010), 16.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A scalable galerkin multigrid method for real-time simulation of deformable objects

    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 38, Issue 6
      December 2019
      1292 pages
      ISSN:0730-0301
      EISSN:1557-7368
      DOI:10.1145/3355089
      Issue’s Table of Contents

      Copyright © 2019 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 the author(s) 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: 8 November 2019
      Published in tog Volume 38, Issue 6

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader