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

Update Bob to handle compression DXT format (DEF-994) #3375

Closed
britzl opened this issue May 23, 2019 · 0 comments · Fixed by #5509
Closed

Update Bob to handle compression DXT format (DEF-994) #3375

britzl opened this issue May 23, 2019 · 0 comments · Fixed by #5509
Labels
bob Issues related to the bob command line build tool engine Issues related to the Defold engine feature request A suggestion for a new feature pipeline Issue related to the asset build pipeline texture compression Issue related to texture compression

Comments

@britzl
Copy link
Contributor

britzl commented May 23, 2019

Add methods to texc.cpp/.h that wraps PVRTexTools texture compression functionality. Expose methods to Java/Bob.
2015-02-04 14:26:51 (sven.andersson)
PVRTexTool does not support DXT compression on Mac or Linux.
Took a while to find, but to quote a rep from their forums:

??This is still the case I'm afraid - for legal reasons we had to disallow this as DXT compression/decompression should only be available on licensed platforms.??

There are alternative libs that do DXT compression, like:

  • (LINK REMOVED)- (LINK REMOVED)
    2015-03-11 13:43:02 (sven.andersson)
    There is support for using DXT in the engine, Bob however does not support DXT compression yet.

Note that there is code to enable DXT usage in Bob that has been temporarily commented out until we have a texc that can compress DXT on all platforms.

Search for "DEF-994" to find all the relevant comments in the code.
2017-08-28 10:06:30 (andreas.tadic)
We will reside to use NVidia's TextureTool (sdk lib) which is free to use and includes the license for compressing DXT.

Not the least because nvtt is of good quality, which otherwise may vary substantially on different compressor libs / techs'.

Note: While implementing this, we should also look at what other features the texture tool has to bring to the table for Defold.

@britzl britzl added bug Something is not working as expected engine Issues related to the Defold engine feature request A suggestion for a new feature and removed bug Something is not working as expected feature request A suggestion for a new feature labels May 23, 2019
@britzl britzl added the bob Issues related to the bob command line build tool label Oct 29, 2019
@britzl britzl added texture compression Issue related to texture compression pipeline Issue related to the asset build pipeline labels Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bob Issues related to the bob command line build tool engine Issues related to the Defold engine feature request A suggestion for a new feature pipeline Issue related to the asset build pipeline texture compression Issue related to texture compression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant