JglTF: jgltf-model tests do not pass
Cloning a fresh copy of this repo produces errors when running mvn compile package due to test failures in jgltf-model. The buffers of the generated models do not match the expected values, it seems. Replicated on two machines with completely different configurations.
I don’t know enough about this code, yet, to know what is actually causing this.
Using Java 10 on one machine and Java 9 on another.
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 25 (11 by maintainers)
Note that this is not about the JSON part. (This case is already handled). This is about the GLSL files. These files are read and converted into a base64 string for the embedded glTF. The point is that the base64 string representations of the GLSL shader code differ, because the shader code is once read from a file with
\r\nand once from a file with\nline endings.(However, the GLSL code could also be written in a single line - that’s another option that I considered. I’ll basically have to figure out the “least ugly” option here…)