ponahoum / three-usdz-loader

A basic USDZ file (Pixar Universal Scene Description) loader for ThreeJS
Other
115 stars 20 forks source link

SharedArrayBuffer dependency #8

Closed ranbuch closed 1 year ago

ranbuch commented 1 year ago

Can we have a way to not be dependent on SharedArrayBuffer and just have the WebAssembly return an ArrayBuffer by value instead?

Allowing SharedArrayBuffer is very restrictive.

ponahoum commented 1 year ago

@ranbuch I'm afraid that is a requirement of the Autodesk implementation in WebAssembly (https://github.com/autodesk-forks/USD/tree/release). It might be possible to get rid of SharedArrayBuffers, but it's a bit out of scope for this package which is just a wrapper around Autodesk's implementation. Closing for now.