Hi everyone,
It should be great to add some items to the babylonjs exporter. For instance :
- area lights
- GUI
- Sprites
- Crowd navigation system
And may be some more which are implemented and cannot still be saved in the .babylon JSON.
Thanks
Hi everyone,
It should be great to add some items to the babylonjs exporter. For instance :
And may be some more which are implemented and cannot still be saved in the .babylon JSON.
Thanks
sprites and GUI should be there
Adding @alexchuber
cc @srzerbetto for area lights
Yeah, the .babylon serializer should already support Sprites. Iām at least able to serialize this PG: https://playground.babylonjs.com/#YCY2IL#2516.
@bvaisman , could you share a repro where Sprites or GUI donāt export correctly? Thanks in advance!
GUIs, however, donāt look like theyāre included in the .babylon serializer. But they definitely have a serialization mechanism that is used by the GUI editor.
Hi @alexchuber
Youāre right about the sprites (but not written in the docs Babylon.js docs) but I think it is not possible for the GUI. Hereās a PG :
Thanks for your help
Thanks for the PG. We should update the docs to include Sprites ![]()
Youāre correct that GUIs are not exported in the .babylon format.
If anyone would like to contribute a PR for this, there are already serialize and parse methods for GUI. They just need to be included somewhere in the SceneSerializer.
Iāve made a PR to add the sprites to the docs :