How WebIO registers dependencies #811
-
Hi, Don, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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