I have the project open and could repro already
minimal setup is just the merlinFrame object
Please test after with the full file as the animation didn’t play back when those errors happened, at least if you fix it please test that proj with the animated file
by user 103054507105067008
I think i know the reason for the error the mime type is not being updated
Without any compression mode settings the compression cache is not storing the mime type the file was processed with and not setting that again - so the texture ends up with toktx data but a jpg mimetype
thats why setting override without any setting fixes it - it then exports info in the extension that will be used to set the correct mimetype
so the fix is (will be) to teach the cache to also save the mimetype
Nice! Howcome the animation doesn’t play back in the production build also or is that related?
by user 103054507105067008
The boat should rock with the animation, works in local server
by user 103054507105067008
its likely related but I’ll try to test once i have the fix. If an error like that happens during the loading I think the GltfLoader just breaks
even easier: I think we can just set it to ktx2 since all textures without any settings will be processed by toktx right now.
Yeah, three.js is a bit overeager to abort any loading once something fails. I tried to convince them in the past that this ain’t great (I want my full model even if one texture fails) but they don’t agree, so maybe one more place where we’ll need to deviate from three
Fixed. If you’re eager you can try updating the transform extensions package to 0.10.9-pre in node_modules/@needle-tools/engine
package.jso
will publish a new version with that change later today
@Marcel_Wiessler1 mind taking a look at this one as well?
Would be: special path when the Skybox/Cubemap shader is used with no exposure change and no tint change and an .exr file that’s an equirectangular cubemap → pass through that .exr file instead of re-exporting it
Should also speed up the default export case for most people
Thanks so much for fixing this quick, will see if it solves the load
by user 103054507105067008
sure
I hope these are the defaults, I will check if not when that work is done though for sure
by user 103054507105067008
by user 103054507105067008
Rotation would be different here