SODA: A Scalability-Oriented Distributed & Anticipative Model for Collision Detection in Physically-based Simulations

Steve Dodier-Lazaro, Quentin Avril, Valérie Gouranton

Abstract

In this paper, we propose a distributed and anticipative model for collision detection and propose a lead for distributed collision handling, two key components of physically-based simulations of virtual environments. This model is designed to improve the scalability of interactive deterministic simulations on distributed systems such as PC clusters. Our main contribution consists of loosening synchronism constraints in the collision detection and response pipeline to allow the simulation to run in a decentralized, distributed fashion. To do so, we setup a spatial subdivision grid, and assign a subset of the simulation space to each processor, made of contiguous cells from this grid. These processors synchronize only with their direct neighbors in the grid, and only when an object moves from one’s area to another. We rely on the rarity of such synchronizations to allow anticipative computing that will also work towards improving scalability. When synchronizations occur, we propose an arrangement of collision checks and rollback algorithms that help reduce the processing cost of synchronized areas’ bodies. We show potential for distributed load balancing strategies based on the exchange of grid cells, and explain how anticipative computing may, in cases of short computational peaks, improve user experience by avoiding frame-rate drop-downs.

References

  1. Asanovic, K., Bodik, R., Catanzaro, B. C., Gebis, J. J., Husbands, P., Keutzer, K., Patterson, D. A., Plishker, W. L., Shalf, J., Williams, S. W., and Yelick, K. A. (2006). The landscape of parallel computing research: A view from berkeley. Technical Report UCB/EECS2006-183, EECS University of California, Berkeley.
  2. Chen, T. C. L. and Verbrugge, C. (2010). A protocol for distributed collision detection. In Proceedings of the 9th Annual Workshop on Network and Systems Support for Games, NetGames 7810, pages 6:1-6:6. IEEE Press.
  3. Cosenza, B. (2010). Efficient distributed load balancing for parallel algorithms. PhD thesis, Universita degli studi di Salerno.
  4. Ericson, C. (2005). Real-time Collision Detection. Morgan Kaufmann.
  5. Fujimoto, R. (1999). Parallel and distributed simulation. In Simulation Conference Proceedings, 1999 Winter, volume 1, pages 122 -131 vol.1.
  6. Hermann, E., Raffin, B., and Faure, F. (2009). Interactive physical simulation on multicore architectures. In EGPGV, pages 1-8. Eurographics Association.
  7. Hermann, E., Raffin, B., Faure, F., Gautier, T., and Allard, J. (2010). Multi-GPU and multi-CPU parallelization for interactive physics simulations. Europar.
  8. Kim, D., Heo, J.-P., and eui Yoon, S. (2008). Pccd: Parallel continuous collision detection. Technical report, Dept. of CS, KAIST.
  9. Kim, D., Heo, J.-P., Huh, J., Kim, J., and Yoon, S.-E. (2009). HPCCD: Hybrid parallel continuous collision detection using CPUs and GPUs. Comput. Graph. Forum, 28(7):1791-1800.
  10. Le Grand, S. (2007). Broad-phase collision detection with cuda. GPU Gems 3 - Nvidia Corporation.
  11. Li, R., Jiang, H., Su, H.-C., Zhang, B., and Jenness, J. (2007). Speculative and distributed simulation of many-particle collision systems. In 13th International Conference on Parallel and Distributed Systems, ICPADS 7807, pages 1-8.
  12. Lin, M. C. and Gottschalk, S. (1998). Collision detection between geometric models: a survey. In 8th IMA Conference on the Mathematics of Surfaces (IMA-98), volume VIII of Mathematics of Surfaces, pages 37-56.
  13. Miller, S. and Luding, S. (2004). Event-driven molecular dynamics in parallel. J. Comput. Phys., 193(1):306- 316.
  14. Morgan, G. and Storey, K. (2005). Scalable collision detection for massively multiplayer online games. In Proceedings of the 19th International Conference on Advanced Information Networking and Applications - Volume 1, AINA 7805, pages 873-878. IEEE Computer Society.
  15. Pabst, S., Koch, A., and Straber, W. (2010). Fast and scalable cpu/gpu collision detection for rigid and deformable surfaces. In Comput. Graph. Forum, volume 29, pages 1605-1612.
  16. Raffin, B. and Soares, L. (2006). Pc clusters for virtual reality. In Proceedings of the IEEE conference on Virtual Reality, VR 7806, pages 215-222.
  17. Tang, M., Manocha, D., and Tong, R. (2009). Multi-core collision detection between deformable models. In Symposium on Solid and Physical Modeling, pages 355-360.
  18. Thomaszewski, B., Pabst, S., and Blochinger, W. (2008). Parallel techniques for physically based simulation on multi-core processor architectures. Computers & Graphics, 32(1):25-40.
  19. Tonge, R., Benevolenski, F., and Voroshilov, A. (2012). Mass splitting for jitter-free parallel rigid body simulation. ACM Trans. Graph., 31(4):105:1-105:8.
Download


Paper Citation


in Harvard Style

Dodier-Lazaro S., Avril Q. and Gouranton V. (2013). SODA: A Scalability-Oriented Distributed & Anticipative Model for Collision Detection in Physically-based Simulations . In Proceedings of the International Conference on Computer Graphics Theory and Applications and International Conference on Information Visualization Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2013) ISBN 978-989-8565-46-4, pages 337-346. DOI: 10.5220/0004293803370346


in Bibtex Style

@conference{grapp13,
author={Steve Dodier-Lazaro and Quentin Avril and Valérie Gouranton},
title={SODA: A Scalability-Oriented Distributed & Anticipative Model for Collision Detection in Physically-based Simulations},
booktitle={Proceedings of the International Conference on Computer Graphics Theory and Applications and International Conference on Information Visualization Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2013)},
year={2013},
pages={337-346},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004293803370346},
isbn={978-989-8565-46-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the International Conference on Computer Graphics Theory and Applications and International Conference on Information Visualization Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2013)
TI - SODA: A Scalability-Oriented Distributed & Anticipative Model for Collision Detection in Physically-based Simulations
SN - 978-989-8565-46-4
AU - Dodier-Lazaro S.
AU - Avril Q.
AU - Gouranton V.
PY - 2013
SP - 337
EP - 346
DO - 10.5220/0004293803370346