Romulion / LMD_Animation_Loader

Animation loader script for Blender
8 stars 5 forks source link

Key Frames #4

Closed voltzlader closed 2 years ago

voltzlader commented 3 years ago

I downloaded this, and I got the animations working.. somewhat. They're really janky and seems to be only importing the keyframes. I understand that there needs to be a keyframe on each frame for importing, but even doing that isn't working and I've been trying at this for a few days. Do you have any pointers / can you explain how to get this working better in more detail? Thanks

Sent an example of the error:

https://user-images.githubusercontent.com/83433948/116630521-4d403300-a921-11eb-8a85-b3ccad32b531.mov

Romulion commented 3 years ago

For animation game uses keyframes with timestamps. Since blender uses keyframes with fixed interval, I use linear interpolation on 60fps. this might result to small animation bugs. For me it just looks OK. I see you run sync_move_player animation. This type of animation usually have data for camera movement (move_player_cam). For cooler look developers can distort animation or dont use some bones for better look on centrain perspective.

voltzlader commented 3 years ago

Some of the animations look okay with only a few bugs, like this walk cycle:

https://user-images.githubusercontent.com/83433948/116747064-5f76ab80-a9cb-11eb-9547-cb7a6545ff4c.mov

But with other animations like this sync move, you can see the janky movements. Is this just how the coding works with the interpolation, or am I inputting something wrong so it ends up this way? I understand that they use cameras so they don't animate the body, but you can tell theres's a difference between this and the final animation wise.

https://user-images.githubusercontent.com/83433948/116747224-9056e080-a9cb-11eb-8231-9ce36f578ba0.mov

https://www.youtube.com/watch?v=SkfzLIurn7I

Is there some way to possibly remove the interpolation, or is this just how the add on is programmed?

Thanks

ZoruaLoL commented 2 years ago

Certain bones seem to be off-centered, including the root bone but particularly when it's for accessory items like Ghetsis' cane or Archie's anchor and many others.

ghetsis archie bugsy

Facial animations seem to be have a lot of clipping on the mouths or poseable brows. hau agatha

And since update 2.10.0 or prior character movement appears to be pretty jerky and incorrectly timed.

https://user-images.githubusercontent.com/49895285/147030134-f97c8e87-26da-4eaa-8149-1035096ee110.mp4

There's this Maxscript for 3DS Max which present none of the above issues by killercracker. It would be worth checking out for its implementation: https://drive.google.com/drive/folders/1wB_AeF7tR47aeHdH3HCGNovklMgxVv8J

(Exported as .fbx) https://user-images.githubusercontent.com/49895285/147031213-2b461502-a75f-488c-a34c-35ac56b56f4d.mp4

Also, aside of the needed overhaul the script needs to be updated to Blender 3.0-

Romulion commented 2 years ago

Fixed issues with face, and other animations that involve translation (didnt propertly convert bone to local coordanates space) Although remove interpolation. animation now smoother. Test with Blender 3.1, works well