Dynamically add or import 3d objects into secene from a html list

in a living room scene, i would like to add a table, chairs 3d objects ( outside of scene) from list to scene. playground will be helpful.


Hello and welcome to the forum,

This is exactly what any of the append, importMesh functions from the sceneLoader would do.

You can find all the examples in the doc:

You can use a for statement or Array.forEach to iterate through a list of provided models and load them using the functions mentioned above.

Here’s a quick example with some playground models: https://playground.babylonjs.com/#WGZLGJ#3718