Three USDZ Loader

Musadiq_Khan
Sat, 29 Jul 2023 09:41:34 +0000
Questions

I have tried the Threejs USDZLoader for loading usdz files but the official loader implementation is off the mark. It does not load most of the files I have tried. I did some digging and came across three-usdz-loader - npm (npmjs.com). The demo for this plugin loads all the files I have tested. However, I tried implementing it but got some weird errors.

I am continuously getting an error. Any idea why I am getting loading USDZ model TypeError: THREE.TextureLoader is not a constructor? I have moved external dependencies (.wasm / worker files) in a subfolder of the public folder.

If someone has tried this loader then please help me fix this issue.

2 posts - 2 participants