Markemp / Cryengine-Converter

A c# program to convert Crytek files to Collada (XML) format

Home Page:https://www.heffaypresents.com/GitHub/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bones from skin files have incorrect armature setup

Kjasi opened this issue · comments

commented

When importing character models, such as Objects\Characters\Human\male_v7\armor\ccc\m_ccc_bear_helmet_01.skin, m_ccc_medium_armor_arms_01.skin, m_ccc_medium_armor_core_01.skin, and m_ccc_medium_armor_legs_01.skin, they import with an incorrect armature.

This is especially noticeable with Blender's Auto Connect and Chain Bones options enabled. All the bones, which from the names appear to the be a whole biped, appear in a kind of hemisphere, curving along the model's back.
image

Can you test out the v1.3.1 draft release against this file?

https://github.com/Markemp/Cryengine-Converter/releases

There may be bigger issues importing Armatures into Blender. Sometimes bones aren't importing depending on what options you set. I'm going to have to download the Blender source code and debug to find out why this is happening. :(

Issue opened up with Blender.

https://developer.blender.org/T90146

TL;DR: Auto Connect appears to be bugged. That may not be the issue here, but it's worth being tracked. Leaving this issue open for further testing.

commented

Can you test out the v1.3.1 draft release against this file?

https://github.com/Markemp/Cryengine-Converter/releases

I don't see any draft releases... Last file I see is 1.3.0. Maybe I need a permission higher than "general public" to see it? Not sure.

Also, I get the same hemisphere error without using the Auto Connect or Chain Bones features.

The interface isn't very intuitive. Did you click on the Releases tab?

image

commented

Yes, but I don't see it.
image

commented

Okay, I compiled from source to test it: No meshes are exported anymore, and the skeleton is still in a non-humanoid state:
image

Import Options: image

As you can see, all the files (bulk converted) don't have any mesh data exported, except for the last file, which doesn't have a material file associated with it for some reason, and thus, can't be imported into Blender. But that's a static mesh anyways, so...

commented

SKIN files still hang with 1.3.1 Preview, but CGF files with skin files will convert with bones and weights. However, the skeleton still has incorrect positioning when imported:
image

This should be fixed on v1.5.0. The bear head model isn't parenting right, so will go take a look at that too.

Closing this issue as it's resolved in the current release.