Closed elalish closed 7 months ago
Also, it's interesting to note that HDRJPGLoader
successfully loads not just SDR JPEG images, but also PNGs (which is great!). However, it makes the name slightly misleading...
I'm getting a proper error thrown when trying to load an invalid url in the three.js example:
with both the sync method
and the async one
I need to investigate this further
ahhh, right, nevermind my previous comment, I misread your report, this seems to happens only with an empty string, I can reproduce the problem now, I'm investigating
this should be fixed in v3.0.0
We have a test that's now failing upon incorporating
HDRJPGLoader
in https://github.com/google/model-viewer/pull/4578:It appears to time out reliably, so I think it's just hanging instead of throwing? Our similar test for a not found URL is throwing properly:
await textureUtils.loadEquirect('./nope.png');