Get vertices/indices in the original order using JS decoder (achieved in C++)
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!
I think this one is related: https://github.com/google/draco/issues/703 Am also interested in keeping vertex order for similar reasons.