AnalyticalGraphicsInc / gltf-vscode

This is an extension for Visual Studio Code to add support for editing glTF files.
Apache License 2.0
460 stars 63 forks source link

Draco compressed model fails in Three.js preview #118

Closed tkazik closed 5 years ago

tkazik commented 6 years ago

Hi folks

I recently started to look at draco compressed models and encountered the following issue in the preview:

gltf_preview

Babylon.js and Cesium don't seem to have problems with the model. Any ideas? The model is the standard milk truck model, shipped by Cesium and attached here for convenience:

DracoCompressed.zip

Have a nice weekend

emackey commented 6 years ago

I'm still seeing this error in the ThreeJS previewer. The console says:

on the web, we need the wasm binary to be preloaded and set on Module['wasmBinary']. emcc.py will do that for you when generating HTML (but not JS)

/cc @najadojo Any ideas on this?

emackey commented 5 years ago

I believe this was fixed in version 2.2.2.

@tkazik let me know if you still see this one after upgrading to the latest version, thanks!

tkazik commented 5 years ago

Yes, fixed...thank you very much!