Blueprint file size reduction
2 posters
Page 1 of 1
Blueprint file size reduction
So I did a first round of optimization regarding blueprint file size, here are the gains on a few ships :
Le Saint Just : 106 kb -> 27 kb -> 4x factor
Alouette : 52 kb -> 8 kb -> 6.5x factor
Freighter : 121 kb -> 24 kb -> 5x factor
Tsunami : 35 kb -> 7 kb -> 5x factor
As it was an optimization on the block data structure, the less brick a ship have the bigger the impact is.
Now the good thing is I can do the same optimization for the brick, and also pack my 96 bits vector3i into 16 bits, so there will more gains in the future !
This is cool for very big ship, as being 3d object a ship of twice the dimension have 8 time bigger size (on paper, in reality it should be less because of compression as people tend to reuse the same brick).
This is also a good news for networking as we send this info over the network when a new player joins.
Now there will be no impact on your current construction : when I give you the new build simply load your ship, then save and they will be adapted to the new format.
Le Saint Just : 106 kb -> 27 kb -> 4x factor
Alouette : 52 kb -> 8 kb -> 6.5x factor
Freighter : 121 kb -> 24 kb -> 5x factor
Tsunami : 35 kb -> 7 kb -> 5x factor
As it was an optimization on the block data structure, the less brick a ship have the bigger the impact is.
Now the good thing is I can do the same optimization for the brick, and also pack my 96 bits vector3i into 16 bits, so there will more gains in the future !
This is cool for very big ship, as being 3d object a ship of twice the dimension have 8 time bigger size (on paper, in reality it should be less because of compression as people tend to reuse the same brick).
This is also a good news for networking as we send this info over the network when a new player joins.
Now there will be no impact on your current construction : when I give you the new build simply load your ship, then save and they will be adapted to the new format.
Re: Blueprint file size reduction
time to grab the new version again be nice if there was some sort of auto updater or something
Remitorm Darkwind- Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom
Re: Blueprint file size reduction
nvm looks like its not released yet really need to learn to read the posts and not skim them
Remitorm Darkwind- Posts : 86
Join date : 2016-12-17
Location : Cambridge, United Kingdom
Re: Blueprint file size reduction
Yeah it is not released, actually I am in middle of big refactoring of the block id logic for the paint system. I will do a post on it, new system will be more logical, and you will be able to paint all the blocks as you want (so no crappy color different for all the hull block)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum