veeti512 / wadblender

13 stars 4 forks source link

Double animation when extracting to fbx #4

Closed TokyoSU closed 3 years ago

TokyoSU commented 3 years ago

When extracting to .fbx, the animation is doubled, i have the LARA_RIGXXX and also LARA_RIG|LARA_RIGXXX animation. because of this my fbx file go to 50mb O.O but in blender i only have LARA_RIGXXX Action Anim. The more lara have animation, the more the mb will increase, but it's caused by blender for keyframe etc.. so it's not fixable.

veeti512 commented 3 years ago

Are you using the batch exporter in the tool or the blender export fbx?

TokyoSU commented 3 years ago

the blender export

TokyoSU commented 3 years ago

i can comfirm that the batch exporter or blender do the same but i can see the action anim in blender with the batch from the import: doubleanimation also the batch exporter create a second rig without mesh that are unused :x

veeti512 commented 3 years ago

mmmh, I cannot replicate. Maybe you imported everything and unchecked the option discard placeholders? The placeholders include LARA animations with the thigh meshes, so that may be the reason of having them doubled

TokyoSU commented 3 years ago

It's checked, maybe it's my blender that cause that, i have the latest version.

TokyoSU commented 3 years ago

It's wreid, the step i do:

TokyoSU commented 3 years ago

i dont know if it's your tool or blender and it's irritating since the release 0.3b worked perfectly except the rotation problem.

TokyoSU commented 3 years ago

Confirmed, your release 0.3b work fine, it's not blender.

veeti512 commented 3 years ago

Did you also delete the NLA tracks in the non linear animations panel?

TokyoSU commented 3 years ago

... no :x EDIT: without the NLA track and Action then the animation is not saved in the fbx.

veeti512 commented 3 years ago

Maybe when you export you can leave checked all actions and uncheck the nla strip option in the export fbx menu. NLA strips may cause troubles when importing into unity. If it doesn't solve your problem I can add an option to avoid generating nla strips (I removed it to keep the interface simple but I can put it back)

TokyoSU commented 3 years ago

Fixed with the nla strip off. why does turning this off fix the problem of the double or triple animation list ?

veeti512 commented 3 years ago

Oh I don't know. I suppose that the FBX exporter does not care that the NLA strip and actions are the same and export both as animations. Looking better at the first screenshot you posted I see LARA_RIG.001, this happens when you import two times LARA. In the second there is CAMERA.001, I don't know what it is. Maybe something is misplaced in the wad? or you imported something before and got name conflicts. It is always better to create a new blend file when importing, otherwise shit happens :/

TokyoSU commented 3 years ago

maybe importing LARA and LARA_RIG cause that ? but i dont know why the CAMERA and LIGHT was there in the animation xD

TokyoSU commented 3 years ago

Since a warning are in the readme, you can close this issue.