Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Detect and remove duplicate textures in level assets #261

Open
Zemanzo opened this issue Nov 19, 2019 · 0 comments
Open

Detect and remove duplicate textures in level assets #261

Zemanzo opened this issue Nov 19, 2019 · 0 comments
Labels
client affects the client editor affects the editor improvement refactors and the such

Comments

@Zemanzo
Copy link
Owner

Zemanzo commented Nov 19, 2019

Description
Currently when uploading models, each model gets stored separately. If a two models have an identical texture, it is not shared, but instead saved twice. This creates unnecessary bloat in the level files, and causes the client to load the level slower due to a higher file size.
To solve this, it would be good to detect duplicate textures in models. The texture will be saved once, and inside the models there will only be a reference to this texture.

Minimum Acceptance Criteria

  • During export in the editor, detect duplicate textures and reduce it to a single texture in the exported file.
  • Support loading levels that have models with textures as a reference (in both client and editor).

Related issues
#262 should be taken into consideration when working on this issue

@Zemanzo Zemanzo added editor affects the editor client affects the client improvement refactors and the such labels Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
client affects the client editor affects the editor improvement refactors and the such
Projects
None yet
Development

No branches or pull requests

1 participant