Jump to content

Blender exported 3d character missing skeleton after ImportMesh


macavalon
 Share

Recommended Posts

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

 

post-15430-0-29165500-1436911425.jpg

 

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);

 

post-15430-0-30840400-1436911424.jpg

 

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

 

post-15430-0-35726500-1436912945.jpg

 

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/2015

I 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> )

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...