Jump to content

Blender to Leadwerks Animations issue


chicolitto
 Share

Recommended Posts

Hello everybody,

 

I'm new here and I bought LeadWerks today.

 

I've made a pretty simple 3D character with a 400 frames animation track containing the idle and the run animation.

 

So I read all the topic and tutorials on how to get blender models to LeadWerks. But my model armature still messed up on LeadWerks.

 

When I export a .fbx file my animation track are here but my armature is not correctly rig to my character like in blender.

 

If I export with the addon for Blender my animation track isn't available in LeadWerks and my armature is messed up the same way as the .fbx file.

 

 

Please help me

 

Thanks in advance.

 

 

Lionel

 

 

post-12947-0-32184800-1413485741.png

 

 

post-12947-0-07302000-1413485769.png

Link to comment
Share on other sites

Your armature is scaled in object mode - select it ( while still in object mode ) hit ctrl+a and select 'scale', now re-export again.

 

screenshots of what to watch for here;

 

http://www.leadwerks.com/werkspace/topic/10181-error-failed-to-load-model/#entry75349

 

 

 

Honestly scaling in object mode is the cause of almost all problems new blender users encounter, it should be disabled by default.

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

Hum,

 

I tried your solution Guppy. the bones still messed up.

 

I do what you said, so I select my bones in object mode and hit ctrl+a and select scale. I exported again the model but nothing change.

 

I tried with the object selected in the case where I understood wrong but same problem again.

 

 

Thanks

 

 

Lionel

Link to comment
Share on other sites

I also have the same problem with your model. I'm using Leadwerks exporter, setting scale, rotation and position via Ctrl+a didn't help. Bit I don't see what can be wrong with your model.

I didn't have this problem when exporting my own model. I was using default blender skeleton, try using it.

Link to comment
Share on other sites

 

I already tried and it's still the same. I'll try again to be sure.

 

I also have the same problem with your model. I'm using Leadwerks exporter, setting scale, rotation and position via Ctrl+a didn't help. Bit I don't see what can be wrong with your model.

I didn't have this problem when exporting my own model. I was using default blender skeleton, try using it.

 

I already use default blender skeleton no ? if no tell me more about that please :)

 

 

 

Thanks

 

 

Lionel

Link to comment
Share on other sites

News from the Blender exporter.

 

So now my model appear correctly in the model editor. But I can't see the bones and the shadows move on animation play but not the mesh.

 

What could be wrong in that case ?

 

 

Hope that's a good starting point.

 

 

Thanks for your help

 

 

Lionel

Link to comment
Share on other sites

Hum,

 

I tried your solution Guppy. the bones still messed up.

 

I do what you said, so I select my bones in object mode and hit ctrl+a and select scale.

 

You need to apply rotation,scale and location for both armature and model - that said when I export your model I just get a flickering ghost with a skeleton that seems to be upside down and missing a bone - not sure what that is about but the animation viewer is kinda wierd on linux atm.

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

Also when ever I try to edit the armature blender crashes on me - that me be down to me using a bleeding edge version, but I never hard that happen before.

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

I guess there is nothing wrong with your model. You simply need to apply material with animated shader to it to see the animation. Simply drag for example a crawler material to your model in model editor in leadwerks and you will see the animation.

This third bone that looks like it's turned in the wrong direction probably just connects armature with the center of the model. I have this extra bone in my arm model even though I don't see it in blender. And I don't know where is actual third bone that should be in ghosts body, it's missing for me too, but I think the animation works properly anyway.

Link to comment
Share on other sites

Hum, Genebris I tried with the crawler material and it moves !!!! BUT the animation is wrong so the bones are probably not in the good direction. or the animation is messed up for other reason.

 

Also when ever I try to edit the armature blender crashes on me - that me be down to me using a bleeding edge version, but I never hard that happen before.

 

That's so wierd, I have a new model for my ghost I send it.(edit after try : file is too big even compressed)

 

 

 

 

I have a question, could someone send me a little mesh with armature and animation that export perfectly in leadwerks ?

 

 

thanks a lot

 

 

 

Lionel

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.

 Share

×
×
  • Create New...