motion prediction for online gaming
Skip this Video
Download Presentation
Motion Prediction for Online Gaming

Loading in 2 Seconds...

play fullscreen
1 / 28

Motion Prediction for Online Gaming - PowerPoint PPT Presentation

  • Uploaded on

Motion Prediction for Online Gaming. Rynson W.H. Lau May 14, 2011. 1. Network Latency. According to our earlier experiments, the one-way network latency values for different network connections are shown as follows:. May need to consider other overheads, such as I/O and CPU.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Motion Prediction for Online Gaming' - brandy

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
motion prediction for online gaming

Motion Prediction for Online Gaming

Rynson W.H. Lau

May 14, 2011

1 network latency
1. Network Latency
  • According to our earlier experiments, the one-way network latency values for different network connections are shown as follows:

May need to consider other overheads, such as I/O and CPU.

problems of network latency in online gaming
Problems of Network Latency in Online Gaming
  • Motion Synchronization Problems
    • Motion discrepancy of shared objects among clients.
    • In a collaborative game, it will be difficult to synchronize interactions among remote players.
  • Object Distribution Problem
    • In a streaming environment, geometry of visible objects may not be readily available locally at the time when they are needed.
solution to the network latency problems
Solution to the Network Latency Problems
  • We accept that prediction is a prediction. We can never have a 100% accuracy.
  • However, we do want a reliable motion prediction method:
    • Given a specific time in the future, the prediction method should return the most likely position of the target object.
2 related work
2. Related Work

Roughly two types of motion prediction methods:

  • Short-term prediction
    • short prediction length (typically < 1s).
  • Long-term prediction
    • Long prediction length (typically >> 1s).
short term prediction
Short-term Prediction
  • General predictors:
    • Dead reckoning + polynormial predictor (Singhal & Zyda, 1999)
    • Modified EWMA scheme (Chim et al., 1998)
  • Specialized predictors:
    • Kalman filter for head motion prediction (Azuma & Bishop, 1995)
    • Gauss-Markov process model for head prediction (Liang et al., 1991) and for human motion prediction (Capin et al., 1997)
    • Sequential Monte Carlo for motion tracking (Isard & Balke, 1998)

In general, specialized prediction methods are more accurate but are only suitable for predicting motion of specific objects.

long term prediction
Long-term Prediction
  • Mobility modelling:

For mobile handovers -

    • Random process (Thomas et al., 1988; Xie & Goodman, 1993; Broch et al., 1998)
    • Discrete state conditional probability (Bar-Noy et al., 1995; Choi & Shin, 2002)

For bandwidth optimization -

    • Zone-based sampling statistics (Tabbane, 1995; Bhattacharya & Das, 2002)
    • Zone-based path retrieval (Liu & Maguire, 1996; Liu et al., 1998; Akyildiz & Wang, 2004)
Path planning:

To find an optimal path to move from one place to another while satisfying some predefined constraints.

  • Collision avoidance using prior knowledge (Tado et al., 1995)or statistics from samples (Tana, 1992)
  • Moving obstacle avoidance by considering obstacle motion trajectories (Kruse et al., 1997)
our streaming based dve
Our Streaming-Based DVE
  • We have developed a DVE, which is based on geometry streaming (Chim et al., 1998; Chim et al., 2003). <demo video>
    • Objects formatted for progressive transmission.
    • Send initial packet as a user joins the game.
    • Send additional geometry packets as the user moves around in the game.
  • This DVE was later extended into a game engine prototype (Li et al., 2004) .
  • Too late if we request objects from the server only when the objects become visible.
  • Need to ask the server for objects before they become visible.
    • Need a reliable motion prediction method.
    • Predict future visible objects based on the predicted future position from the predictor.
    • Request server for the predicted visible objects.
3 short term motion prediction
3. Short-term Motion Prediction
  • We needed a reliable motion prediction method for 3D navigation – to address the network latency problem.
  • As most desktop DVE systems still use the 2D mouse for navigation input, we studied the mouse behavior during such navigation.
  • We noted that a typical navigation step (from mouse button down to release) contains a number of pulses.
mouse based hybrid motion prediction
















Mouse-based Hybrid Motion Prediction
  • When plotting the mouse acceleration against velocity, we noted that each pulse can be approximated by an ellipse:
  • Hence, we model it as:

v = K1(cos(K2t)-1)

where K1 and K2 are constants determined by the shape of the pulse.

We proposed an elliptic model to model the mouse motion behavior (Chan et al., 2005).
  • Two predictors are needed, one for the motion in x axis and the other for motion in y axis.
  • The predicted mouse velocity is then mapped to the 3D game scene to obtain the player’s future position.
  • <Video Demo>
hand motion prediction
Hand Motion Prediction
  • We observed similar motion behavior in finger motion.
  • We extended the elliptic model for hand motion prediction, by considering constraints within and between fingers (Chan et al., 2008).
  • Preformance comparison:<Video Demo>
  • Rock-Paper-Scissor game: sop - <Video Demo>, ehm - <Video Demo>
4 long term motion prediction
4. Long-term Motion Prediction
  • We need a reliable motion prediction method for object prefetching and resource allocation (such as multi-server load-balancing).
  • We are developing a statistical-based method.
  • The environment is divided into square zones.
  • We collect statistics as users go in and out of each zone.

Given the boundary position that a user enters the zone, we compute the conditional probability that the user will leave the zone at a particular boundary position.


We model such a distribution function f(y|x) as a Gaussian mixture:

where n is the number of mixture,

fi(y; Ci, mi) is the ith Gaussian distribution function, with covariance Ci and mean mi,

0 <ai< 1, and

performance of the predictor1
Performance of the Predictor

[Choi02] computes the probability of the user moving to different neighboring zones based on the user’s previous and current zones.


An interesting feature of this method is that we may consider a zone as a basic block.

  • We may aggregate this probability values from zone to zone to construct a path tree.
current work on long term prediction
Current Work on Long-term Prediction
  • How should we measure prediction accuracy with multiple predicted paths, each with a different probability?
  • Does prediction at lower spatial resolution help reduce computational cost, given that the prediction accuracy is high enough?
5 combined motion prediction
5. Combined Motion Prediction

When applied to our streaming-based DVE, the two types of prediction methods have different behaviors:

  • Short-term prediction
    • Precise predicted location
    • Very short prediction length
    • Prefetching performance can be significantly affected by other factors, such as amount of geometry to be streamed, available network bandwidth, CPU processing delay, network latency fluctuation, etc.

Long-term prediction

    • Imprecise predicted location
    • Generally lower prediction accuracy
    • Much longer prediction length
    • May start prefetching much earlier in time, but most of the objects prefetched may not be needed at all, due to the imprecise predicted location and the lower prediction accuracy.

One approach that we are considering is to combine the two types of predictors to optimize the prefetching performance:

  • Long-term predictor helps prefetch objects in low resolution, e.g., base meshes.
  • Short-term predictor helps prefetch refinement information, e.g., progressive records, to bring the visible objects to their optimal resolution.
6 problems and future works
6. Problems and Future Works
  • Can we improve the prediction accuracy by incorporating user interests?
  • Can we improve the prediction accuracy of the long-term predictor with results from the short-term predictor (or vise versa)?
  • Investigation on prediction errors and bounding of prediction errors. (Lau & Lee, 2010)