SODA CD: A Model for Scalability-Oriented, Distributed and Anticipative Collision Detection

Steve Dodier-Lazaro 1, 2
2 VR4I - Virtual Reality for Improved Innovative Immersive Interaction
IRISA - Institut de Recherche en Informatique et Systèmes Aléatoires, ENS Cachan - École normale supérieure - Cachan, Inria Rennes – Bretagne Atlantique
Abstract : In this master's thesis, we first analyze existing parallel algorithms for the problem of collision detection in virtual reality applications, as well as larger scale parallel algorithms taken from the particle simulation research field. Based on the properties we noticed to favour high scalability in these algorithms, we propose a novel approach to parallel collision detection. In order to allow the execution of interactive applications on systems made of tens of processors with an efficient solution, our parallel collision detection framework is designed to be decentralized and to exploit all available computing resources. More precisely, we improve the potential for scalability of virtual simulations primarily by loosening the synchronism constraints between processing units, moving from the current synchronize after each detection and constraint solving round scheme to several autonomous worlds that process a part of the application's simulation space at their own rhythm and synchronize with each other when an object moves from one to another. Our second contribution is a new rollback algorithm for speculative computing, that allows partial saving of the anticipated computations that get invalidated because of synchronization mechanisms. Both of these proposals are making use of a spatial subdivision uniform grid. Each processing unit is assigned a territory made of contiguous cells from this grid, and simulates the objects within this territory. The rollback algorithm makes use of the grid by integrating rollbacks cell by cell, thus saving some independant computations whenever not all cells are interconnected as a result of objects coexisting in adjacent cells. Processing units can work autonomously, using their own local clock and communicating exclusively with their direct neighbors in the grid, and making the results of their computations available via a circular buffer. This buffer is read by a rendering thread that allows users to visualize with the simulation. User input is also taken into account in the model, permitting the execution of interactive applications. We also introduce theoretical leads for load balancing in our new framework, for continuous and discrete algorithms. The proposed load balancing mechanism is distributed and does not involve global communication, in order not to hinder the scalability of the framework. It is based on the exchange of spatial subdivision grid cells that compose the area managed by each processing unit. Finally, we discuss preliminary experimentations performed with our implementation of the frame-work, despite the implementation not being complete enough to allow deterministic simulations yet. We also discuss limitations of our framework and directions for future work.
Complete list of metadatas

Cited literature [55 references]  Display  Hide  Download

https://dumas.ccsd.cnrs.fr/dumas-00725214
Contributor : Co-Responsables Du Mri V. Gouranton Et S. Blazy <>
Submitted on : Friday, September 21, 2012 - 11:11:24 PM
Last modification on : Friday, November 16, 2018 - 1:25:58 AM
Long-term archiving on : Saturday, December 22, 2012 - 2:40:11 AM

Identifiers

  • HAL Id : dumas-00725214, version 1

Citation

Steve Dodier-Lazaro. SODA CD: A Model for Scalability-Oriented, Distributed and Anticipative Collision Detection. Distributed, Parallel, and Cluster Computing [cs.DC]. 2012. ⟨dumas-00725214⟩

Share

Metrics

Record views

491

Files downloads

370