What is the correct way to save/export and editor scene and use it in a web page?

I noticed there is a lot of documentation and tutorials on how to use the editor, but I can’t seem to find any recent/relevant examples of how to get a created scene into a webpage. Editor tutorials never show the exporting process, and playground examples use already built scenes. When I try to do the whole thing myself it always ends up not working (scene freezes or shows black screen etc.). Can anyone tell me the exact steps I need to take to go from editor to webpage for a full scene?

I believe I usually go wrong when trying to load the scene into my page. I use the BABYLON.SceneLoader object, but this features quite a few functions (Append, ImportMesh, Load, LoadAssetContainer, etc.). Which one am I supposed to use for a full, multi-object, script-attached scene?

1 Like

Pinging @julien-moreau

Hey @Arnaud_H
The documentation of the editor can be found here: Babylon.js Documentation

The most important documentation to master the editor is this one (which explains the overall workflow to work with the editor): Explaining the Workflow - Babylon.js Documentation

Have you read that documentation?

1 Like