Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 10 years ago

Last modified 9 years ago

#266 new enhancement

Object Priorities

Reported by: scheusso Owned by: scheusso
Priority: major Milestone: Version 0.2 Codename: Bellatrix
Component: Network Version:
Keywords: Cc:
Referenced By: References:

Description (last modified by landauf)

Outline

In order to reduce network traffic we do not synchronise every object on every (network-) tick. We only transfer a part of the objects based on their priority. Now we need an instance that provides per-client information about the importance of objects in the universe.

How to determine the priority

The priorities must be based on the following information:

  • Distance between the player and the object
  • Importance of the object (e.g. Asteroids don't change their rotationrate and velocity and can be precalculated well by the client)

Current status

There has already been a lot done here by chpeter:

  • the TrafficControl class processes a list of objects, sorts it and cuts it down to the desired size
  • this list afterwards gets processed by the gamestate and affects directly what gets sent to the client

further things to do:

  • better integration into the rest of orxonox
  • considering of compression
  • communication of clients bandwidth

Attachments (1)

network.jpg (57.3 KB) - added by landauf 10 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 10 years ago by scheusso

  • Component changed from AI to Network
  • Keywords PPS added
  • Milestone set to Future Engine Features
  • Priority changed from blocker to major

comment:2 Changed 10 years ago by scheusso

comment:3 Changed 10 years ago by scheusso

  • Type changed from defect to enhancement

comment:4 Changed 10 years ago by scheuss

  • Owner changed from nobody to scheuss

comment:5 Changed 10 years ago by scheuss

  • Owner scheuss deleted

comment:6 Changed 10 years ago by bknecht

  • Milestone changed from Future Engine Features to Version 0.3 Codename: Castor

comment:7 Changed 10 years ago by rgrieder

  • Milestone changed from Version 0.3 Codename: Castor to Version 0.2 Codename: Bellatrix

comment:8 Changed 10 years ago by landauf

  • Owner set to chpeter

comment:9 Changed 10 years ago by scheusso

  • Owner changed from chpeter to nobody

comment:10 Changed 10 years ago by scheusso

  • Description modified (diff)

Changed 10 years ago by landauf

comment:11 Changed 10 years ago by landauf

  • Description modified (diff)

comment:12 Changed 10 years ago by landauf

  • Description modified (diff)

comment:13 Changed 10 years ago by landauf

comment:14 Changed 10 years ago by landauf

  • Owner nobody deleted

comment:15 Changed 10 years ago by scheusso

  • Owner set to scheusso

comment:16 Changed 9 years ago by scheusso

  • Keywords PPS removed
Note: See TracTickets for help on using tickets.