cgvirus / Simple-Retarget-Tool-Blender

A simple armature retargeting tool for Blender
GNU General Public License v3.0
116 stars 18 forks source link

After retarget (followed video for simple retarget/mblab) model is warped #9

Closed mbowles201 closed 1 month ago

mbowles201 commented 1 month ago

After remapping root and bone muscles, animations from mixamo were great. Saved, closed Blender. When reopened and opened blend file, model is warped and no longer matching prior work.

cgvirus commented 1 month ago

Hi, can you send a sample?

mbowles201 commented 1 month ago

first_model.zip Here it is, no textures though, file is too large for github if they are included.

cgvirus commented 1 month ago

I think you have not finalized the character yet. Watch this chapter fully. https://youtu.be/uW77m8Yuuz4?t=88&si=A4CV_KGnFdjHULqM

finalized.zip

mbowles201 commented 1 month ago

I made character, finalized (per video at that chapter) then did the animation retargeting. Are you saying finalize again? I tried that and it severely warped the model.
And do we just select our model and export to whatever format to use in tools like godot, unreal, etc?

cgvirus commented 1 month ago

What does my version resulting in your system? You need to bake the animation first then export to other engines.

mbowles201 commented 1 month ago

You r version works in blender and allows me to edit, save, close and reopen. Thanks. I need to check on the baking and then removal of the imported fbx.

mbowles201 commented 1 month ago

as a side question, once baked do you have to keep the fbx skeleton you retargeted from and can you add other animations?

cgvirus commented 1 month ago

I would suggest to start a fresh file. I don't know what has happened with your file. Took me a while to debug. At the end I started fresh. Thought it's a blender bug! Your file has corrupted action editor curves. Start fresh. Here is the tut. NOTE: your preset also has name problem, should be "mixamorig".

https://drive.google.com/file/d/14d5fqkdhNY4UKMHJQPZkR3se9y1UTzZx/view?usp=sharing Let me know when download is completed. Thanks.

mbowles201 commented 1 month ago

Got it, going to fire it up. I think I got the mixamorg1 because I deleted the initial fbx walk skeleton then re-added.

mbowles201 commented 1 month ago

I started from scratch. When you add the dance fbx, then rename it and same, then you delete the dance fbx from the scene. You then change to the left side skeleton and change the action to dance and your models snap to that rig. Mine does nothing there. I have a run action that snow the yellow keyframes in the action editor and neither model changes, nor does the animation work.

cgvirus commented 1 month ago

What is you Blender version? Which OS? Mb-Lab Version?

mbowles201 commented 1 month ago

BLender 4.2.1, windows 10, mb-lab 1.8.1

cgvirus commented 1 month ago

Hmm. Then IDK.

mbowles201 commented 1 month ago

yeah, its strange. I select the armature on the left (the walking fbx), then import the next animation fbx. Rename in the action screen, then delete it. I dont get the same results. Very odd.

cgvirus commented 1 month ago

Do one thing.

Create a brand new project Import both FBX files only. Then test with the action.

mbowles201 commented 1 month ago

ok, new project, imported walk and run fbx. selected walk, named it walk. selected run, named it run.

walk just one walks run, one walks, other runs...

cgvirus commented 1 month ago

HUH! I am out bruh! Best of luck! :')

mbowles201 commented 1 month ago

I noticed the second anim I bring in following your video, all the armatrue bones are names mixamorig1 and not mixamorig

cgvirus commented 1 month ago

I think you need to load factory reset in Blender. Edit>pref>hamburger>load factory reset.

May be some addon is misbehaving. Also try other versions of blender like 4.1. Action editor should work by default.

mbowles201 commented 1 month ago

BINGO! I did a bulk rename of the new bones to mixamorig (removing the 1) like you did for the txt file, and now I have walk and run working!! Thanks!

mbowles201 commented 1 month ago

Going to have to call it quits. Cant follow what you did to set up and do the second animation bake. Appreciate your efforts.