Not a member yet? Why not Sign up today
Create an account  

Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2019-12-16 Targoss. Login Chat Lag, World Building Lag

#1
Where's Targoss?
Targoss stopped showing up.

Fixed an error in the story engine when testing lineage of avatar to insure Targoss story doesn't start for highborns or demiavatars.

Trespass
New cities do not report trespassers. Old cities did.

Buildings with radar will now report trespassers in their radar range. Trespassers are buildings or stations that belong to a neutral empire.

Login Chat Lag
When I first log in, I cannot chat for a minute or two.

This happens when the Construction window requests the current public building design exchange information for the first time.

You can prevent it by leaving the Construction window closed when you log out. It will remain closed at login. When the window is opened, it will request the data.

Building exchange data is now compressed prior to sending. This didn't help much since the data was already pretty tight. My tests got about 10% reduction in data size due to compression.

Building and spacecraft exchanges are now preceded by a thought message warning when the data is large, exceeding 5MB. It informs the player that they cannot receive chat messages until the exchange data is received. A follow up thought message informs when the data transfer is complete.

World Approach Building Lag
I get a huge lag spike when approaching a world with buildings.

Found/fixed a scene sync bug that caused a little stutter when receiving new atoms into the scene. That stutter caused buildings to create and delete their rendering objects several times. Many buildings quickly added up to a huge lag spike, especially bad if any were under construction or destroyed.

Moved creation and management of building models into the model maker thread pool. This allows the grunt work of building the OpenGL model to be done in a thread that is not the foreground rendering thread, relieving some scene lag. This didn't actually save much on completed buildings because their final models take almost no processing before feeding them to OpenGL. However, this saved a lot of foreground processing time on buildings under construction or destroyed, because the board framework model takes a lot of work to construct.

The model maker offers an additional huge benefit. Multiple buildings using the same design now share the same OpenGL model, instead of each of them building/managing their own model. The creation of only one common model reduces the scene construction lag time and memory usage, when multiples of the same building designs are present. All buildings benefit, including buildings under construction and destroyed.

World Departure Building Lag
I got a moderate lag spike when departing a world with buildings.

Fixed a problem that eliminated the lag spike almost entirely. There was still a bit of grinding as building models were removed from the scene.

Implementation of the model maker thread pool completely eliminated those last grinding bits of lag.

World Map Buildings
World map sometimes does not show all the buildings on the map until you move close to the planet.

Fixed. Due to this change, you may now see airport beacons from much farther away.
Reply



Messages In This Thread
2019-12-16 Targoss. Login Chat Lag, World Building Lag - by Haxus - 12-17-2019, 03:48 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)