Texture coordinate value is severely distorted after compression
- Dominant language
- C++
- Stars
- 7.5k
- Forks
- 1.1k
- Avg merge
- 47m
- Merged PRs (30d)
- 1
Description
Hello,
I am trying to compress a GLTF file using my program with draco lib v1.5.3.
After compression, the texture coordinate value becomes the same coordinate value.

That's different with my source data. And it causes that the rendering result was completely black.

And before compression, the texture can be loaded properly like this:

The conversion parameters I used:
position quantization: 16
tex_coord quantization: 10
normal quantization: 8
SpeedOption 3, 3
MESH_SEQUENTIAL_ENCODING
I use TriangleSoupMeshBuilder to build mesh, and SetAttributeValuesForFace interface to add texCoord to the mesh.
I've tested a lot of models this way and they're all fine except for this one.
Here is glTF model before compression I just mentioned.
[beforeCompression.zip](https://github.com/google/draco/files/9265240/beforeCompression.zip)
Here is glTF model after compression by my program.
[AfterCompression.zip](https://github.com/google/draco/files/9265243/AfterCompression.zip)
Contributor guide
Assessment
This issue has not been assessed yet.