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

Babylon.js preview doesn't display model work but Cesium and Three.js do | Mac OS #116

Closed kintz09 closed 6 years ago

kintz09 commented 6 years ago

I just installed this extension today and while trying to test its functionality I am running into issues. We are developing an application using Babylon.js and I have a variety of gltf models that I'm trying to preview in VS Code with this extension. The models appear as expected when using the Cesium or Three.js engine, but I don't see anything when using the Babylon.js engine.

I followed the guide to debug the extension and reviewed the console for the active-frame but haven't seen any indication of the issue.

babylon cesium three console

I'm running this on a 2016 Macbook Pro 15" with Touchbar. macOS High Sierra version 10.13.5. VS Code 1.24.1 glTF Tools 2.1.13

Any assistance would be appreciated! Please let me know what additional information I can supply to help debug.

najadojo commented 6 years ago

Is there a model you can share? Also does the asset work on http://sandbox.babylonjs.com/ directly?

emackey commented 6 years ago

@kintz09 Does this happen with glTF official sample models, or only your own models?

kintz09 commented 6 years ago

@najadojo @emackey Thank you for the fast response! I hadn't stumbled across the official sample models yet. I was able to confirm that the sample models work perfectly in VS Code as well as in the babylonjs sandbox. It appears the problem is only with our models.

When testing our models in the babylonjs sandbox I received the following error: #/images/0: Failed to load 'layer_top_baseColor.jpg': 0

We probably got something wrong during our export process. Thanks for the help!

emackey commented 6 years ago

@kintz09 No problem. If you can't figure it out, please feel free to post a broken test model here, as a number of us have a lot of experience debugging glTF models lately.