STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
267
游戏中
1,690
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
bazooka 2015 年 4 月 29 日 下午 1:58
Importing animation breaks apart mesh, poses it strangely
I'm trying to import a c model and one of its animations. When I either import the model then the animation, or the animation then the model, the model breaks apart in an unexpected way. See screenshots below.

This certainly has something to do with the armature. When I import with Bone Append Mode set to Make New Armature, the model is fine. However, after importing, I'd like for the model to be posed where it is supposed to be in the animation. Is this possible? Creating a new armature won't accomplish it.

The SMDs I'm using were created by decompiling TF2's c_double_barrel.mdl (the Scattergun) and c_scout_animations.smd with Crowbar 0.24. I'm importing with BleST 2.5.2. Using different import settings produced different, but still unexpected, results. I'm unsure if this is a bug in the decompiler, the importer, or simply an issue that cannot be worked around.


First importing c_double_barrel_reference.smd
http://i.imgur.com/er6fOpu.png

Then importing sg_reload_loop.smd
http://i.imgur.com/UfPYkAi.png


First importing sg_reload_loop.smd
http://i.imgur.com/3kEVl4C.png

Then importing c_double_barrel_reference.smd
http://i.imgur.com/vweq1TG.png


Any ideas? Thanks for taking a look.
最后由 bazooka 编辑于; 2015 年 4 月 29 日 下午 2:01
< >
正在显示第 1 - 8 条,共 8 条留言
Freddie 2015 年 4 月 29 日 下午 11:55 
I checked that model in the model viewer and it looks to be broken there as well.

I was also able to recreate your problem on my machine.

Have you tried looking at other models and doing the same?
bazooka 2015 年 4 月 30 日 上午 1:33 
Thanks Freddie, just tried some other weapons. It looks like importing an animation followed by the model works if the model only contains one bone (weapon_bone). Then it is right where I'd expect it to be during the animation. No such luck for models with multiple bones, unfortunately. The weapon_bone seems to be in the correct spot, but the other bones are not.
最后由 bazooka 编辑于; 2015 年 4 月 30 日 上午 1:42
Artfunkel 2015 年 4 月 30 日 上午 10:47 
Can you upload the files, please?
Artfunkel 2015 年 5 月 1 日 下午 2:38 
Yes, there's work to be done here. Good job it's a bank holiday weekend!
Hurricane 2015 年 6 月 5 日 下午 4:00 
I am having a similar problem with animation imports. I believe it is caused by the animation having a Y up axis and Blender having a Z up axis. the dmx import Up Axis drop down menu does not appear to be working properly. Importing a model and animation results in the model being correctly upright in edit mode, but pointing up towards the y axis with the animation in object mode.

I tried some older versions of the SMD tools and the same thing happens. Does anyone have a temporary workaround for rotating the animation to the correct up axis without the model facing the wrong way in edit mode?
最后由 Hurricane 编辑于; 2015 年 6 月 6 日 上午 1:27
Hurricane 2015 年 6 月 6 日 上午 1:26 
Okay, I figured out a workaround. My trick is to rotate everything to Y-up in blender before importing the animation, then Ctrl+A and apply rotation to set the new orientation to 0, then import the animation. After that everything can be rotated back to Z up. Hopefully that helps the OP too.
最后由 Hurricane 编辑于; 2015 年 6 月 6 日 上午 1:28
bazooka 2015 年 7 月 13 日 下午 11:34 
Thanks CDR Hurricane, though your workaround didn't work for me, I appreciate it. I tried several variations of that approach, but nothing seemed to work.
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2015 年 4 月 29 日 下午 1:58
回复数: 8