Mekaboo Posted June 21, 2018 Share Posted June 21, 2018 Sorry for the trivial questions but about to begin my game and was wondering how do I save a scene? I've noticed it's a .babylonjs file how do I save it as such to use in various areas of the game? Right now I'm starting of with a basic all white scene that I can add my character in? Gracias, Mekaboo Quote Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2018 Share Posted June 21, 2018 Hello and welcome! you can use SceneSerializer: https://www.babylonjs-playground.com/#0ESEBT#3 Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2018 Share Posted June 21, 2018 Doc: http://doc.babylonjs.com/api/classes/babylon.sceneserializer Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 21, 2018 Author Share Posted June 21, 2018 Gracias Senor?❤ Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 22, 2018 Author Share Posted June 22, 2018 Another question ? As far as my character I notice I can use the Scene loader to bring it in..taking a que from this PG... https://www.babylonjs-playground.com/#1BZJVJ#119 I notice the mesh is a .babylon file..I used Fuse then Mixamo then Blender for my character and ended up with a .log file and the textures(png files)..how do I load it up so that my character comes to life? Thank you, Mekaboo Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 22, 2018 Share Posted June 22, 2018 @Mekaboo For me, I always have to load both the mesh and then it's bones separately. There's plenty of examples here on this fantastic forum. Oh, and you'll need to start the animations once the scene is loaded again. DB Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2018 Share Posted June 22, 2018 @Mekaboo are you using our great Blender exporter? https://github.com/BabylonJS/Exporters/tree/master/Blender Doc: http://doc.babylonjs.com/resources/blender / http://doc.babylonjs.com/resources/blender_tips Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 22, 2018 Author Share Posted June 22, 2018 @Deltakosh I kept getting an error in the log involving over limit of vertices and for the life of me couldn't understand what to do even after doing mounds of research so I took a que from Sir @dbawel and saved the mesh and bone/textures separately. From Fuse I exported as an .obj file then loaded into Blender and it worked?! I have the .babylon and .png files. Im going to save the animations to .babylon as well. Thank you both for your help? ??, Mekaboo dbawel 1 Quote Link to comment Share on other sites More sharing options...
Mekaboo Posted June 22, 2018 Author Share Posted June 22, 2018 Also Sir @Deltakosh I noticed I didn't add the Blender Exporter plugin correctly so I fixed that as well? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 25, 2018 Share Posted June 25, 2018 ok that's good news Mekaboo 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.