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

Add support for Draco/Meshopt compression #1214

Open
bghgary opened this issue Mar 20, 2023 · 1 comment
Open

Add support for Draco/Meshopt compression #1214

bghgary opened this issue Mar 20, 2023 · 1 comment
Milestone

Comments

@bghgary
Copy link
Contributor

bghgary commented Mar 20, 2023

Some notes:

  • WebAssembly is directly supported on some JavaScript VMs like V8.
  • There are some issues on the JS side that prevent things like Draco to work.

As of this writing, the following error is stopping Draco from working in Babylon Native:

Unable to load from https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Buggy/glTF-Draco/Buggy.gltf: document.createElement is not a function RuntimeError: Unable to load from https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Buggy/glTF-Draco/Buggy.gltf: document.createElement is not a function

@bghgary
Copy link
Contributor Author

bghgary commented Sep 5, 2024

Either with WebAssembly or with Draco compile in native and rerouted from JS.

@bghgary bghgary changed the title Add support for Draco compression Add support for Draco/Meshopt compression Sep 9, 2024
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

2 participants