Approximation Algorithm for Estimating Distances in Distributed Virtual Environments

This article deals with the issue of guaranteeing properties in Distributed Virtual Environments (DVEs) without a server. This issue is particularly relevant in the case of online games, that operate in a fully distributed framework and for which network resources such as bandwidth are the critical resources. Players typically need to know the distance between their character and other characters, at least approximately. They all share the same position estimation algorithm but, in general, do not know the current positions of others. We provide a synchronized distributed algorithm \(\mathcal {A}_{lc}\) to guarantee, at any time, that the estimated distance \(d_{est}\) between any pair of characters A and B is always a \(1+\varepsilon \) approximation of the current distance \(d_{act}\), regardless of movement pattern, and then prove that if characters move randomly on a \(d\)-dimensional grid, or follow a random continuous movement on up to three dimensions, the number of messages of \(\mathcal {A}_{lc}\) is optimal up to a constant factor. In a more practical setting, we also show that the number of messages of \(\mathcal {A}_{lc}\) for actual game traces is much less than the standard algorithm sending actual positions at a given frequency.

[1]  Vasily Y. Kharitonov,et al.  Motion-aware adaptive dead reckoning algorithm for collaborative virtual environments , 2012, VRCAI '12.

[2]  Gilbert L. Peterson,et al.  Consistency and fairness in real-time distributed virtual environments: Paradigms and relationships , 2017, J. Simulation.

[3]  Stephen John Turner,et al.  Time-space consistency in large-scale distributed virtual environments , 2004, TOMC.

[4]  Wentong Cai,et al.  Compensatory dead-reckoning-based update scheduling for distributed virtual environments , 2013, Simul..

[5]  Laura Ricci,et al.  Distributed Virtual Environments: From client server to cloud and P2P architectures , 2012, 2012 International Conference on High Performance Computing & Simulation (HPCS).

[6]  Sampath Rangarajan,et al.  Accuracy in dead-reckoning based distributed multi-player games , 2004, NetGames '04.

[7]  Jörg Kienzle,et al.  Comparing interest management algorithms for massively multiplayer games , 2006, NetGames '06.

[8]  Martin Mauve,et al.  Local-lag and timewarp: providing consistency for replicated continuous applications , 2004, IEEE Transactions on Multimedia.

[9]  Tomas E. Ward,et al.  Does Reducing Packet Transmission Rates Help to ImproveConsistency within Distributed Interactive Applications , 2006 .

[10]  Emanuele Carlini,et al.  A Spatial Analysis of Multiplayer Online Battle Arena Mobility Traces , 2017, Euro-Par Workshops.

[11]  Srinivasan Seshan,et al.  Donnybrook: enabling large-scale, high-speed, peer-to-peer games , 2008, SIGCOMM '08.

[12]  D. Fullford Distributed interactive simulation: it's past, present, and future , 1996, Proceedings Winter Simulation Conference.

[13]  Wentong Cai,et al.  An auto-adaptive dead reckoning algorithm for distributed interactive simulation , 1999, Proceedings Thirteenth Workshop on Parallel and Distributed Simulation. PADS 99. (Cat. No.PR00155).

[14]  Elvis S. Liu,et al.  Interest management for distributed virtual environments , 2014, ACM Comput. Surv..