-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USDZExporter does not work with MeshoptDecoder #22609
Comments
The issue here is that USDZExporter accesses three.js/examples/jsm/exporters/USDZExporter.js Lines 287 to 293 in 0a5fa7b
Using ^One model is interleaved, the other is not. Neither uses compression, and only the interleaved copy will have errors. Normalization and compression will be lost when converting to USDZ, so file size will probably increase. |
That fixed it - thanks ! |
There's an error when USDZExporter encodes a USDZ file based on a GLTF compressed with MeshOpt compression.
For example,
if I compress cube.glb with MeshOpt (gltfpack -I cube.glb -o cube.zeux.glb), then will preview correctly inside three.js.
When I click the AR button, it causes the following error.
and the error refers to
line 291:
To Reproduce
Steps to reproduce the behavior:
cube.glb
ordamaged-helmet.glb
withgltfpack -I cube.glb -o cube.zeux.glb
Live example
Expected behavior
Expect the compressed .glb to appear in Quicklook
Screenshots
Platform:
The text was updated successfully, but these errors were encountered: