ImportMesh directly

Hi, Im trying to load my gltf on quasar using electron, but the path is not resolving.

My idea is load the mesh from json directly.

But give me error

image

image

image

Hey!

you cannot load directly from json but instead you can use Url.CreateObjectUrl to simulate an url for your json file.

How can I do that ?

nothing

Do you mind reproducing the issue in the playground? It will be far easier to help with the code

https://www.babylonjs-playground.com/#ZAKY8Z

Here we are:
https://www.babylonjs-playground.com/#ZAKY8Z#2

You needed to use Append so you can define the plugin to use as there is no more file extension

1 Like

Oh that’s really cool! Thanks for this @Deltakosh