macavalon Posted July 14, 2015 Share Posted July 14, 2015 Hi I've exported from blender(2.74) a 3d model that includes animation. The model & animation is a simple character In blender the models works fine, and animates as expected I then export the model from blender to babylon (using io_export_babylon.py) I load into a babylon scene by following "Loading bones" from https://github.com/BabylonJS/Babylon.js/wiki/How-to-use-bones-and-skeletons BABYLON.SceneLoader.ImportMesh(meshToLoad, loadDir, sceneFileName, scene, MeshLoaded); MeshLoaded() has debug so I can review what's loaded function MeshLoaded(newMeshes, particleSystems, skeletons){console.log("meshes loaded : " + newMeshes.length); console.log("skeletons loaded : " + skeletons.length);} but there seems to be no skeleton loaded by import mesh in simplefigure_weighted.zip is the .blend file and the .babylon file please any suggestions on how to get access to the skeleton so I can then invoke beginAnimation ! thanks @macavalon p.s. additional info The version of the babylon export script (io_export_babylon.py) I downloaded from github on 04/07/2015I export to babylon successfully, the export log file see simplefigure_weighted.log.txt I'm using the latest babylon i.e.<script src="http://www.babylonjs.com/babylon.js"></script> ) Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted July 15, 2015 Share Posted July 15, 2015 Your version of exporter is too old. (About to get older soon, as I am preparing version 3.0 ). Up until very recently, you had to parent your mesh to the armature, but Jack Caron (no forum ID) PRed a way for the exporter to handle this without parenting. Quote Link to comment Share on other sites More sharing options...
macavalon Posted July 15, 2015 Author Share Posted July 15, 2015 Very good. I look forward to the latest exporter. 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.