skip to main content
research-article

Fast Position-based Multi-Agent Group Dynamics

Published:16 May 2023Publication History
Skip Abstract Section

Abstract

We present a novel method for simulating groups moving in formation. Recent approaches for simulating group motion operate via forces or velocity-connections. While such approaches are effective for several cases, they do not easily scale to large crowds, irregular formation shapes, and they provide limited fine-grain control over agent and group behaviors. In this paper we propose a novel approach that addresses these difficulties via positional constraints, with a position-based dynamics solver. Our approach allows real-time, interactive simulation of a variety of group numbers, formation shapes, and scenarios of up to thousands of agents.

Skip Supplemental Material Section

Supplemental Material

References

  1. Beatriz Cabrero-Daniel, Ricardo Marques, Ludovic Hoyet, Julien Pettré, and Josep Blat. 2022. Dynamic Combination of Crowd Steering Policies Based on Context. In Computer Graphics Forum, Vol. 41. Wiley Online Library, 209--219.Google ScholarGoogle Scholar
  2. David F Crouse. 2016. On implementing 2D rectangular assignment algorithms. IEEE Trans. Aerospace and Electronic Systems 52, 4 (2016), 1679--1696.Google ScholarGoogle ScholarCross RefCross Ref
  3. Paolo Fiorini and Zvi Shiller. 1998. Motion planning in dynamic environments using velocity obstacles. International J. of Robotics Research 17, 7 (1998), 760--772.Google ScholarGoogle ScholarCross RefCross Ref
  4. Stephen J Guy, Jatin Chhugani, Changkyu Kim, Nadathur Satish, Ming Lin, Dinesh Manocha, and Pradeep Dubey. 2009. Clearpath: highly parallel collision avoidance for multi-agent simulation. In ACM SIGGRAPH/Eurographics Symposium on Computer Animation (SCA). ACM, 177--187.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Dirk Helbing, Illés Farkas, and Tamas Vicsek. 2000. Simulating dynamical features of escape panic. Nature 407, 6803 (2000), 487--490.Google ScholarGoogle ScholarCross RefCross Ref
  6. Leroy F Henderson. 1974. On the fluid mechanics of human crowd motion. Transportation Research 8, 6 (1974), 509--515.Google ScholarGoogle ScholarCross RefCross Ref
  7. Joseph Henry, Hubert PH Shum, and Taku Komura. 2013. Interactive formation control in complex environments. IEEE Trans. Visualization and Computer Graphics 20, 2 (2013), 211--222.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Yuanming Hu. 2021. The Taichi High-Performance and Differentiable Programming Language for Sparse and Quantized Visual Computing. Ph.D. Dissertation. Massachusetts Institute of Technology.Google ScholarGoogle Scholar
  9. Roger L Hughes. 2002. A continuum theory for the flow of pedestrians. Transportation Research Part B: Methodological 36, 6 (2002), 507--535.Google ScholarGoogle ScholarCross RefCross Ref
  10. Ben Jones, Nils Thuerey, Tamar Shinar, and Adam W Bargteil. 2016. Example-based plastic deformation of rigid bodies. ACM Trans. Graphics (TOG) 35, 4 (2016), 1--11.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Alain Juarez-Perez and Marcelo Kallmann. 2018. Fast behavioral locomotion with layered navigation meshes. In Symposium on Interactive 3D Graphics and Games (I3D). 1--6.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Ioannis Karamouzas and Stephen J Guy. 2015. Prioritized group navigation with formation velocity obstacles. In International Conference on Robotics and Automation (ICRA). IEEE, 5983--5989.Google ScholarGoogle ScholarCross RefCross Ref
  13. Ioannis Karamouzas and Mark Overmars. 2011. Simulating and evaluating the local behavior of small pedestrian groups. IEEE Trans. Visualization and Computer Graphics 18, 3 (2011), 394--406.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Ioannis Karamouzas, Brian Skinner, and Stephen J Guy. 2014. Universal power law governing pedestrian interactions. Physical review letters 113, 23 (2014), 238701.Google ScholarGoogle Scholar
  15. Yihao Li, Tianyu Huang, Yifan Liu, Xiaojun Chang, and Gangyi Ding. 2022. Anchor-based crowd formation transformation. Computer Animation and Virtual Worlds 33, 5 (2022), e2111.Google ScholarGoogle ScholarCross RefCross Ref
  16. Miles Macklin, Matthias Müller, Nuttapong Chentanez, and Tae-Yong Kim. 2014. Unified particle physics for real-time applications. ACM Trans. Graphics (TOG) 33, 4 (2014), 1--12.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Mehdi Moussaid, Niriaska Perozo, Simon Garnier, Dirk Helbing, and Guy Theraulaz. 2010. The walking behaviour of pedestrian social groups and its impact on crowd dynamics. PloS one 5, 4 (2010), e10047.Google ScholarGoogle ScholarCross RefCross Ref
  18. Matthias Müller, Bruno Heidelberger, Matthias Teschner, and Markus Gross. 2005. Meshless deformations based on shapeGoogle ScholarGoogle Scholar
  19. matching. ACM Trans. Graphics (TOG) 24, 3 (2005), 471--478.Google ScholarGoogle Scholar
  20. M. Müller, B. Heidelberger, M. Hennix, and J. Ratcliff. 2007. Position based dynamics. In J. Vis. Comun. Image Represent. 109--118.Google ScholarGoogle Scholar
  21. Andreas Panayiotou, Theodoros Kyriakou, Marilena Lemonari, Yiorgos Chrysanthou, and Panayiotis Charalambous. 2022. CCP: Configurable Crowd Profiles. ACM Trans. Graphics (TOG) (2022).Google ScholarGoogle Scholar
  22. N. Pelechano, J.M. Allbeck, M. Kapadia, and N.I. Badler. 2016. Simulating Heterogeneous Crowds with Interactive Behaviors. CRC Press.Google ScholarGoogle Scholar
  23. Zhiguo Ren, Panayiotis Charalambous, Julien Bruneau, Qunsheng Peng, and Julien Pettré. 2017. Group Modeling: A Unified Velocity-Based Approach. In Computer Graphics Forum, Vol. 36. Wiley Online Library, Wiley, 45--56.Google ScholarGoogle Scholar
  24. Craig W Reynolds. 1987. Flocks, herds and schools: A distributed behavioral model. In Proceedings of the 14th annual conference on Computer graphics and Interactive techniques. 25--34.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Craig W Reynolds et al. 1999. Steering behaviors for autonomous characters. In Game Developers Conference, Vol. 1999. Citeseer, 763--782.Google ScholarGoogle Scholar
  26. Alec R Rivers and Doug L James. 2007. FastLSM: fast lattice shape matching for robust real-time deformation. ACM Trans. Graphics (TOG) 26, 3 (2007), 82--es.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Otger Rogla, Gustavo A Patow, and Nuria Pelechano. 2021. Procedural crowd generation for semantically augmented virtual cities. Computers & Graphics 99 (2021), 83--99.Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Wei Shao and Demetri Terzopoulos. 2007. Autonomous pedestrians. Graphical models 69, 5-6 (2007), 246--274.Google ScholarGoogle Scholar
  29. Ritesh Sharma, Tomer Weiss, and Marcelo Kallmann. 2020. Plane-Based Local Behaviors for Multi-Agent 3D Simulations with Position-Based Dynamics. In IEEE International Conference on Artificial Intelligence and Virtual Reality (AIVR). IEEE, 214--217.Google ScholarGoogle ScholarCross RefCross Ref
  30. Adrien Treuille, Seth Cooper, and Zoran Popović. 2006. Continuum crowds. ACM Trans. Graphics (TOG) 25, 3 (2006), 1160--1168.Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Unity. 2022. Unity - Game Engine. https://unity3d.com/.Google ScholarGoogle Scholar
  32. Wouter van Toll, Fabien Grzeskowiak, Axel López Gandía, Javad Amirian, Florian Berton, Julien Bruneau, Beatriz Cabrero Daniel, Alberto Jovane, and Julien Pettré. 2020. Generalized microscropic crowd simulation using costs in velocity space. In Symposium on Interactive 3D Graphics and Games (I3D). 1--9.Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Pauli Virtanen, Ralf Gommers, Travis E Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, et al. 2020. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature methods 17, 3 (2020), 261--272.Google ScholarGoogle Scholar
  34. Tomer Weiss. 2019. Implementing Position-Based Real-Time Simulation of Large Crowds. In IEEE International Conference on Artificial Intelligence and Virtual Reality (AIVR). IEEE, 306--3061.Google ScholarGoogle Scholar
  35. Tomer Weiss, Chenfanfu Jiang, Alan Litteneker, and Demetri Terzopoulos. 2017. Position-based multi-agent dynamics for real-time crowd simulation. In Proceedings of the 10th International Conference on Motion in Games. 1--8.Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Tomer Weiss, Alan Litteneker, Chenfanfu Jiang, and Demetri Terzopoulos. 2019. Position-based real-time simulation of large crowds. Computers & Graphics 78 (2019), 12--22.Google ScholarGoogle ScholarCross RefCross Ref
  37. Mingliang Xu, Yunpeng Wu, Yangdong Ye, Illes Farkas, Hao Jiang, and Zhigang Deng. 2015. Collective Crowd Formation Transform with Mutual Information-Based Runtime Feedback. Computer Graphics Forum 34, 1 (2015), 60--73.Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Xinyu Zheng, Chen Zong, Jingliang Cheng, Jian Xu, Shiqing Xin, Changhe Tu, Shuangmin Chen, and Wenping Wang. 2021. Visually smooth multi-UAV formation transformation. Graphical Models 116 (2021), 101111.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Fast Position-based Multi-Agent Group Dynamics

      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 Proceedings of the ACM on Computer Graphics and Interactive Techniques
        Proceedings of the ACM on Computer Graphics and Interactive Techniques  Volume 6, Issue 1
        May 2023
        287 pages
        EISSN:2577-6193
        DOI:10.1145/3597486
        Issue’s Table of Contents

        Copyright © 2023 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: 16 May 2023
        Published in pacmcgit Volume 6, Issue 1

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed
      • Article Metrics

        • Downloads (Last 12 months)103
        • Downloads (Last 6 weeks)9

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader