MiguelCastillo / scenic

Scene graph
MIT License
4 stars 0 forks source link

Add ability to select different scene configurations from the editor #8

Open MiguelCastillo opened 2 years ago

MiguelCastillo commented 2 years ago

Right now we load one scene configuration and don't provide an easy way to switch them. It would be really nice to be able to select a different config file from the scene tree. This has two parts:

  1. Add support for loading scene files [@MiguelCastillo will do this part] done!
  2. Add support in the UI to select a new configuration file [@jandrade will do this part]
MiguelCastillo commented 2 years ago

Provide a loadScene function that can be called from the editor. We should be able add that in the react context and call it similarly to how we load models.

https://github.com/MiguelCastillo/scenic/commit/24b6532049a1b97ae28fb058cfc8f2c5471fe141