Wall Worm Forums

Show Off => Models => Animated Models => Topic started by: keru1264 on April 29, 2017, 01:31:08 AM

Title: Unknown issue with SMD
Post by: keru1264 on April 29, 2017, 01:31:08 AM
Hello everyone. Yesterday I started rigging character from KF to port it into NMRiH using standard ValveBiped with Skin modifier.
Model was almost ready. The problem is that after exporting, all the polygons (triangles) in SMD file are using one single bone (zero bone, also mesh), because of that now it's like a single prop  :-\. Any ideas?

This is how it looks..
Title: Re: Unknown issue with SMD
Post by: wallworm on April 29, 2017, 04:58:34 PM
Here are possible culprits:

Title: Re: Unknown issue with SMD
Post by: wallworm on April 29, 2017, 05:05:38 PM
After looking at the actual SMD, your SMD is exporting with multiple bones. Note the Skin weights per vertex are showing multiple bone weights. So it should be fine.
Title: Re: Unknown issue with SMD
Post by: keru1264 on April 30, 2017, 06:36:11 AM
Thanks for your reply. You were right. In the end, there is no T-pose in a game and animations work fine, but anyway, I don't get it. Feels like I'm doing something in a wrong way. I've seen a lot of SMDs that used Pelvis bone as root bone, they had no "mesh bone" that my model has and like I said earlier, polygons on these models were tied to different bones, not just to root bone (like mine). So, I'm relying on your advice, because I really don't know how to fix it..
Title: Re: Unknown issue with SMD
Post by: wallworm on April 30, 2017, 08:56:10 AM
Quote from: keru1264 on April 30, 2017, 06:36:11 AM
...animations work fine... So, I'm relying on your advice, because I really don't know how to fix it..

I really don't understand the issue. If the animations are working, then your model is perfectly fine.

The bone a mesh vertex is tied to is directly related to what MESH OBJECT it belongs to. Remember that objects are also bones when exported. If you make a model up of multiple meshes, then you will see each part assigned to a separate bone. In either event, it's irrelevant as your skin weights override the weighting.

Hopefully this helps you understand how it works. There is nothing going wrong when you only have the root mesh bone assigned to all the vertices. It's not something that is "right" or "wrong".
Title: Re: Unknown issue with SMD
Post by: keru1264 on April 30, 2017, 09:42:28 AM
Ah, okay, thanks for explanation. I understand now. I always thought that having these multiple parts on model is requirement of Source. Because I only had experience in making models for Unreal Engine, it's like a dark matter to me how is Source's SMD format works, so.. yeah. Thanks for your help  :)
Title: Re: Unknown issue with SMD
Post by: wallworm on April 30, 2017, 05:25:05 PM
You are welcome.