glTF loading fails when compressed data is stored in external buffer
lilleyse opened this issue · comments
I'm getting an error when loading a glTF that has compressed data in an external buffer.
The EXT_meshopt_compression extension has a bufferView that extends beyond its buffer
This is because the external buffer hasn't been loaded yet when it tries to do the meshopt decode.
TilesetContentManager::loadTileContent
GltfReader::readGltf
decodeMeshOpt
--> buffer data is empty: ERROR
postProcessContentInWorkerThread
--> loads external buffers
Is it possible to rearrange the loading process so that external buffers are loaded before decoding?
Duplicate of #629