Open jeff-tenovos opened 1 year ago
USDZ is a zip file, and the content can be either ascii or binary. Unfortunately the three.js USDZ import supports only the ascii format, but that's not very often used. I'd like to add USDZ as a supported format, but I didn't find any good USDZ library that can run in a browser.
Thanks for the reply. That's interesting. I saw another npm.js package, three-usdz-loader, that also uses Three.js and is able to load USDZ files that include USDC. Have you taken a look at that package to see how it is utilizing Three.js to load these files?
Hi, just following up to see if that package provided you with any insight on how it may be possible to render a USDZ file. Thanks!
Hi, I was just curious to see if you had a chance to check out that library to see if it could be useful to you for the USDZ file support?
I've checked the library, and it seems it's using a webassembly version of Pixar's USDZ library, so it probably works. On the other hand I can't find the source code for webassembly generation, so I can't be sure what's in that file. I'll think a bit about this and check if I can integrate it in the library.
That sounds like it has potential. Please update if you are willing and able to integrate the file into the library.
Also to have usdz to dotBIm support would be great
The USDZ file format was open sourced a few years ago and is becoming a more popular file format. three.js provides a USDZLoader, and it would be great if the website viewer can include support for USDZ as well.