PredatorCZ / RevilMax

Revil plugin for 3ds Max
GNU General Public License v3.0
49 stars 15 forks source link

L_WeaponHand、R_WeaponHand positions turn to "nan" #14

Closed kenshin20080-lab closed 3 years ago

kenshin20080-lab commented 3 years ago

I imported "pl0300_yamato.motlist.85" into 3DS Max with "load all" checked, then I export all the animations to a fbx.

But when I import this fbx into Blender 2.90, I found L_WeaponHand's position values turned to "nan" since frame 228.

And I noticed that if I import "pl0300_yamato.motlist.85" into 3DS Max with "select Animation", this problem wont happen.

Can you help me? Thank you for your great job

PredatorCZ commented 3 years ago

Does the same happen, when you reimport fbx?

kenshin20080-lab commented 3 years ago

Yes, it happened even if I reimport the fbx.

kenshin20080-lab commented 3 years ago

This problem also happened when I import Provoke_10 in "pl0200_special.motlist.85" (which is V's umbrella dance motion). R_WeaponHand's position turned to "nan" since frame 882.

kenshin20080-lab commented 3 years ago

I noticed that it was OK in 3ds max, but, if I export animations to a fbx, then import that fbx into other 3d softwares( Blender, Motionbuilder), some of bones' transitions may lost for some reason...

kenshin20080-lab commented 3 years ago

Problem solved (manually, not perfect). I found this problem is caused by some broken keyframes (maybe devide by zero or something). So all we have to do is removing those broken keyframes manually after motlist import. I think it's better to fix this in revilmax plugin instead of manual proccess.

PredatorCZ commented 3 years ago

From the first glance, it looks like a controller issue. When I change rotation controller to Euler XYZ and back to Linear Rotation, the defect disappears.

PredatorCZ commented 3 years ago

It looks like controllers don't like unnormalized quaternions.

kenshin20080-lab commented 3 years ago

Yes,that worked! Thank you so much

PredatorCZ commented 3 years ago

Issue should be fixed in v1.7

kenshin20080-lab commented 3 years ago

Thank you