I am generating EXR images with Houdini, to be used as vertex animation textures. A problem I encountered is that while the files seem valid (I can read them back in Houdini), the EXR loader sometimes fails to read them.
The error I get is “Uncaught invalid zlib data”, with three 125.1.
The error was similar (just with a different error message) with three 124 when the EXR loader was using inflate.js.
Here are 2 live examples:
- https://jsfiddle.net/polygonjs/1L27xvde/12/ which loads an exr and works
- https://jsfiddle.net/polygonjs/pfhcjmgb/2/ which is the same as the previous example, where the exr url has been changed to the one that generates the error. The exr itself is about 60Mo, so it takes a while to error, but you should eventually see in the console the error message “Uncaught invalid zlib data”.
Looking forward to hearing if anyone has any idea if I should load this exr differently or if the solution is somewhere else.