Skip to content

How WebIO registers dependencies #811

Answered by donmccurdy
neciszhang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @neciszhang — the DracoMeshCompression and MeshoptCompression documentation should explain how to register the dependencies, you can replace NodeIO with WebIO. The other obstacle is that the Draco npm package does not work on the web. I think you'll have to copy the decoders into your web application, as described in this response:

https://stackoverflow.com/questions/66975407/convert-glb-to-draco-glb-front-end/66978236#66978236

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by neciszhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants