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

Loading the WASM file question #13

Open
stevedekorte opened this issue Jan 20, 2024 · 0 comments
Open

Loading the WASM file question #13

stevedekorte opened this issue Jan 20, 2024 · 0 comments

Comments

@stevedekorte
Copy link

stevedekorte commented Jan 20, 2024

First, thanks Viktor, for creating this extremely useful library! I've found it to work much better on my .obj files than the built-in loaders for three.js and babylonjs.

My question: I'm writing a browser app that needs to load very quickly so I'm caching all my resources in IndexedDB on the client side so only the very first load needs to read the source files and other resources (it only loads a package list and verifies the hashes of the cached files). This works well, but assimpjs's loading of its WASM file doesn't work this way. Is there a way I can just hand assimpjs an Blob or ArrayBuffer for the WASM file instead of assimpjs trying to do a request for it?

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

No branches or pull requests

1 participant