demonixis 3 Report post Posted April 30, 2014 Hi, For one of my project, I need to export a scene from the browser to a file. My goal is to write a custom babylon importer for another engine (a mobile engine). My importer is already done and now I need to export scenes from Babylon. Can I do this easily ? (maybe there are a super functions I missed ?) Thanks for your answers Yann. Edit: Ok I just seen SceneSerializer, it's awesome \o/ var serializedScene = BABYLON.SceneSerializer.Serialize(scene);var strScene = JSON.stringify(serializedScene); 1 Deltakosh reacted to this Quote Share this post Link to post Share on other sites
Deltakosh 4313 Report post Posted April 30, 2014 Quote Share this post Link to post Share on other sites
Deltakosh 4313 Report post Posted April 30, 2014 It is a beta version of serializer. Expect some bugs perhaps Quote Share this post Link to post Share on other sites
demonixis 3 Report post Posted May 2, 2014 My exports seems to be correct for now. I need to finish my custom importer and see if it works or not For now I just need informations about meshes (vertices, uvs, normals) and materials, no needs for animations, cameras, collisions, etc.. I like the .babylon format, it's JSON so it's easy to deal with it in many languages, and the structure of the file is clean. Quote Share this post Link to post Share on other sites
Deltakosh 4313 Report post Posted May 2, 2014 Happy you liked it:) Quote Share this post Link to post Share on other sites