Get vertices/indices in the original order using JS decoder (achieved in C++)
Open
enhancement
Feature Request
- Dominant language
- C++
- Stars
- 7.5k
- Forks
- 1.1k
- Avg merge
- 47m
- Merged PRs (30d)
- 1
Description
Hi, we are using Draco to compress our meshes in C++ and decompress in JS (using the WebAssembly version https://www.gstatic.com/draco/versioned/decoders/1.4.1/ ). We need to get the vertices/indices in the original order since we rely on it for identifying several pieces of our mesh.
We managed to do so by decompressing in C++, using the `GetMappedValue` method for each attribute. Unfortunately, we didn't found any solution like this one in the JS version.
Is there any way to do this in JS? (We don't want to use a non-reordering compression option since it does not reduce the final size enough)
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.