Widget ThreeJsViewer stuck on loading scene

Hi @florent.boissadier

I am experimenting with your widget (WDTC widget | Introducing the ThreejsViewer Widget for mappView - #7) and I can’t seem to get my scene to load. The widget finds my file and reads it, but it gets stuck on loading.

could you provide me an example scene to try?

Thanks!

Kyle

Hi @kmontreal

I’ve send you a private message :slight_smile:

Regards,
Florent

Hi @florent.boissadier, please share with us your findings :slight_smile:

Hi @kovarj

At the moment I didn’t find something, I just share to Kyle a test scene I have used.
Also tell him to check the logger because they could be some infos in it.

I also make a little update recently on the repo to add some error if the filepath is wrong.

Waiting for more info :slight_smile:

Regards,
Florent

1 Like

It was user error!

I was exporting the scene by clicking on the scene and going to the box in the bottom right and clicking export. You need to go File→Save and then the proper json file is exported.

Thanks!

2 Likes

I have update the readme of the repo, to clearly indicate that the import file must be done using “File” then “Save” from the ThreeJs editor :slight_smile:

2 Likes