Jump to content

Please tell me how to export mdl model with animation from Blender in.


NoIE
 Share

Recommended Posts

It's my blender file:

https://drive.google.com/file/d/0B08O9NDn_X6WZGcwYXlweWVRWmM/view?usp=sharing

 

It's my mdl file:

stevie.mdl

https://drive.google.com/file/d/0B08O9NDn_X6WNkVnYzNhS1MxZVE/view?usp=sharing

 

I use Blender 2.72b

 

post-12936-0-13759300-1415910642.gif

 

But it without animation in leadwerks model editor.

 

Where is the problem?

 

**********************************************************************Solved************************************************************************

 

Specify the model textures before I export to mdl file, the problem is solved.

 

But model is flash in model editor with Linux(Ubuntu 14.04). In Windows 7, the model don't flash.

Please forgive my poor English.

 

post-12936-0-43515100-1418403285.gif

Link to comment
Share on other sites

I'm not experienced at all with animation but I think I've found your problem. You have forgotten to actually apply your mirror and armature modifiers. As long as a modifier isn't applied, whatever that modifier does doesn't really exist yet.

For example, your mirror modifier: As long as it isn't applied the mirrored half of your model doesn't really exist as vertex data yet but rather is calculated on the fly, as soon as you hit that Apply button, the vertices and faces are actually created.

 

The Blender exporter knows that and does it for you but there is one problem:

 

When you apply the armature modifier the bones seem to lose the connection to their vertex group. That's why nothing moves in the final model.

 

I think the best solution here is to apply the Armature modifier and re-attach the bones to their respective vertex groups and reexport the model.

 

You should still keep a version of your blender file around from before you applied the modifiers because once they are applied it's a permanent change to the model.

Link to comment
Share on other sites

I'm not experienced at all with animation but I think I've found your problem. You have forgotten to actually apply your mirror and armature modifiers. As long as a modifier isn't applied, whatever that modifier does doesn't really exist yet.

For example, your mirror modifier: As long as it isn't applied the mirrored half of your model doesn't really exist as vertex data yet but rather is calculated on the fly, as soon as you hit that Apply button, the vertices and faces are actually created.

 

The Blender exporter knows that and does it for you but there is one problem:

 

When you apply the armature modifier the bones seem to lose the connection to their vertex group. That's why nothing moves in the final model.

 

I think the best solution here is to apply the Armature modifier and re-attach the bones to their respective vertex groups and reexport the model.

 

You should still keep a version of your blender file around from before you applied the modifiers because once they are applied it's a permanent change to the model.

 

Thanks, but I click apply button, and then re-attach the bones to their respective vertex groups, this mdl file still no animation.

 

In the model editor, I can't see animation, but shadows moving.

 

post-12936-0-72568000-1416089180_thumb.gif

 

http://youtu.be/EaaOyK7S6Gk

 

I use Ubuntu 14.04.

Please forgive my poor English.

 

post-12936-0-43515100-1418403285.gif

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...