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

GLTFLoader: Remove support for MSFT_texture_dds. #21271

Merged
merged 1 commit into from
Feb 13, 2021

Conversation

donmccurdy
Copy link
Collaborator

As mentioned in #13820 (comment) when we added this extension, we do not want to generally provide support for vendor extensions, like a MSFT_* extension in this case. Multi-vendor extensions (EXT_*) may be considered on a case-by-case basis. We made an exception here because it couldn't be implemented otherwise, and there was no alternative for compressed textures at the time. I'm not sure either of those is true anymore — GLTFLoader has a better plugin system to support customization outside of three.js, and an official KHR_texture_basisu extension is available now. So, I would suggest that we remove support for MSFT_texture_dds.

/cc @Bergmam @takahirox

@mrdoob
Copy link
Owner

mrdoob commented Feb 13, 2021

Sounds good to me 👍

@mrdoob mrdoob added this to the r126 milestone Feb 13, 2021
@takahirox
Copy link
Collaborator

takahirox commented Feb 13, 2021

I think it's good because as Don mentioned basisu texture would be main stream as compressed texture for glTF. And I started this project https://github.com/takahirox/three-gltf-plugins which provides Three.js glTF loader/exporter plugins for the extensions that official Three.js doesn't support. (Anyone, PR for dds texture is welcome there.)

@mrdoob mrdoob merged commit d5bb724 into mrdoob:dev Feb 13, 2021
@mrdoob
Copy link
Owner

mrdoob commented Feb 13, 2021

Thanks!

@donmccurdy donmccurdy deleted the remove-gltfloader-dds branch February 13, 2021 04:33
@takahirox
Copy link
Collaborator

Added GLTFLoader MSFT_texture_dds plugin to my repository.

https://github.com/takahirox/three-gltf-plugins/tree/main/loaders/MSFT_texture_dds

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

Successfully merging this pull request may close these issues.

3 participants