Skip to content
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

[TODO] TinyUSDZLoader for Three.js #185

Open
2 of 4 tasks
syoyo opened this issue Aug 14, 2024 · 2 comments
Open
2 of 4 tasks

[TODO] TinyUSDZLoader for Three.js #185

syoyo opened this issue Aug 14, 2024 · 2 comments

Comments

@syoyo
Copy link
Collaborator

syoyo commented Aug 14, 2024

https://github.com/lighttransport/tinyusdz/tree/dev/sandbox/threejs

Background

Three.js has a USDZLoader, but it is written in pure JavaScript and cannot load full-spec of USDA and USDC(Binary).
TinyUSDZLoader, based on WASM-compiled TinyUSDZ, will provide more better USD loading functionality.

NOTE

TinyUSDZ can be built with no-threading, so no need of SharedArrayBuffer & Atomics support in the browser.

Status

Work-in-progress

  • wasm compilation of TinyUSDZ
  • nodejs test loader
  • Convert scene to Three.js
  • MaterialX support
@syoyo
Copy link
Collaborator Author

syoyo commented Aug 19, 2024

Texturing is now possible

mrdoob/three.js#29169

@syoyo
Copy link
Collaborator Author

syoyo commented Aug 21, 2024

Wasm demo hosted on github pages!

https://lighttransport.github.io/tinyusdz/index.html

(Requires 8MB USDZ model download, so take a time to render)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant