model-viewer
model-viewer copied to clipboard
Cannot export scene with KTX2 compressed model
Steps to reproduce:
- Visit https://modelviewer.dev/editor/
- Upload a model with ktx2-compressed textures
- Click "Download Scene"
- See error in console:
Uncaught (in promise) glTF export failed
Example model file compressed using gltfpack:
ash_tree_ktx2.zip
Compressed using this command:
gltfpack -i ash_tree.glb -o ash_tree_ktx2.glb -tc
Original uncompressed model: ash_tree.zip