certain files encoded with 1.3.6 cannot be decoded with 1.4.1
- Dominant language
- C++
- Stars
- 7.5k
- Forks
- 1.1k
- Avg merge
- 47m
- Merged PRs (30d)
- 1
Description
I encountered this issue in draco files produced by a third party application (R3DS Wrap), however I've reproduced it exclusively using version 1.3.6 and 1.4.1 of the draco releases.
Basically, if I encode a OBJ file with 1.3.6 and use quantization parameters higher than 25, the resulting draco fails to be able to be decoded and fails with "Failed to decode the input file Failed to decode point attributes."
I have not observed any obj file dependent behaviour.
```
C:\Users\willem\Downloads\draco>draco_encoder1.3.6.exe -i test.obj -qp 30 -qn 30 -qt 30 -qg 30 -cl 7 -o test.drc
Encoder options:
Compression level = 7
Positions: Quantization = 30 bits
Texture coordinates: Quantization = 30 bits
Generic: Quantization = 30 bits
Encoded mesh saved to test.drc (14995 ms to encode).
Encoded size = 55393010 bytes
For better compression, increase the compression level up to '-cl 10' .
C:\Users\willem\Downloads\draco>draco_decoder1.3.6.exe -i test.drc
Decoded geometry saved to test.drc.ply (3592 ms to decode)
C:\Users\willem\Downloads\draco>draco_decoder1.4.1.exe -i test.drc
**Failed to decode the input file Failed to decode point attributes.**
C:\Users\willem\Downloads\draco>draco_encoder1.3.6.exe -i test.obj -qp 24 -qn 24 -qt 24 -qg 24 -cl 7 -o test.drc
Encoder options:
Compression level = 7
Positions: Quantization = 24 bits
Texture coordinates: Quantization = 24 bits
Generic: Quantization = 24 bits
Encoded mesh saved to test.drc (10717 ms to encode).
Encoded size = 28301225 bytes
For better compression, increase the compression level up to '-cl 10' .
C:\Users\willem\Downloads\draco>draco_decoder1.3.6.exe -i test.drc
Decoded geometry saved to test.drc.ply (3166 ms to decode)
C:\Users\willem\Downloads\draco>draco_decoder1.4.1.exe -i test.drc
Decoded geometry saved to test.drc.ply (3225 ms to decode)
```
Contributor guide
Assessment
This issue has not been assessed yet.