Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add a meta field that lists all the created atlas #18

Closed
miltoncandelero opened this issue Mar 25, 2020 · 1 comment
Closed

Comments

@miltoncandelero
Copy link

miltoncandelero commented Mar 25, 2020

When multiple output files get generated due to having too many images in your atlas there is no way of knowing how many of them were created.

Maybe a file that tells you how many atlas were created could be useful?

(I would make this an option to always do it (even if only one atlas was created) so from code I can just tell my loader to check one file and load all the things that said file knows: be it one or many atlas.)

anyway, awesome work!

Edit: Maybe a metadata field for that would be simpler and break less stuff?

Edit2: the metafield related_multi_packs could host an array of strings naming all the other files created by the packer. We could inject it into the options object here: https://github.com/odrick/free-tex-packer-core/blob/master/FilesProcessor.js#L27 however I am not sure how this would affect the templating system :S
(It seems that the metafield related_multi_packs is what is used for that in other packers)

@miltoncandelero miltoncandelero changed the title [Feature Request] Add a file that lists all atlas created [Feature Request] Add a meta field that lists all the created atlas Mar 25, 2020
@odrick
Copy link
Owner

odrick commented Apr 28, 2021

Merged

@odrick odrick closed this as completed Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants