FBX export of armature using Spline IK looks very wrong #54118

Closed
opened 2018-02-21 20:46:30 +01:00 by KiJeon · 12 comments

Blender Version
Broken: 2.79

Short description of error
I'm working on a lasso rig using Spline IK. Things seemed to be going okay until I did a test .fbx export. It seems Blender's having trouble correctly baking the animation due to the Spline IK constraint.

SpineIK_fbxProblem.gif

Here's a screen grab of what should be the same action being played back together. On the left is what it should be, on the right is the .fbx export.
As you can see, the export goes crazy.

Attaching the .blend file: LassoRigPrototype_04_ExportTest.blend

To reproduce the error

  1. Export an .fbx of the original animation.

OR

  1. Bake the action.

Either will show a craziness unlike the original animation.

**Blender Version** Broken: 2.79 **Short description of error** I'm working on a lasso rig using Spline IK. Things seemed to be going okay until I did a test .fbx export. It seems Blender's having trouble correctly baking the animation due to the Spline IK constraint. ![SpineIK_fbxProblem.gif](https://archive.blender.org/developer/F2335624/SpineIK_fbxProblem.gif) Here's a screen grab of what should be the same action being played back together. On the left is what it should be, on the right is the .fbx export. As you can see, the export goes crazy. Attaching the .blend file: [LassoRigPrototype_04_ExportTest.blend](https://archive.blender.org/developer/F2335683/LassoRigPrototype_04_ExportTest.blend) **To reproduce the error** 1. Export an .fbx of the original animation. OR 2. Bake the action. Either will show a craziness unlike the original animation.
Author

Added subscriber: @0o00o0oo

Added subscriber: @0o00o0oo

Added subscriber: @LucasVeber

Added subscriber: @LucasVeber

Seems like a scale/stretch related issue? If so, it's not a bug, Fbx does not support it: the scale value of each bone inherit the scale of the parent bone.

Seems like a scale/stretch related issue? If so, it's not a bug, Fbx does not support it: the scale value of each bone inherit the scale of the parent bone.
Author

Hi, @LucasVeber, thanks for the response.

I'm not sure it's solely an Fbx issue. If you just bake out the original animation within Blender, you'll find the bake is all wrong, too. I have a suspicion the sporadic nature of the Fbx export has ties with the fact that Blender itself is having trouble with the rig's logic.

Hi, @LucasVeber, thanks for the response. I'm not sure it's solely an Fbx issue. If you just bake out the original animation within Blender, you'll find the bake is all wrong, too. I have a suspicion the sporadic nature of the Fbx export has ties with the fact that Blender itself is having trouble with the rig's logic.

The main problem in this scene is the cyclic dependency, that is likely introducing issues when it comes to animation baking.
It's a common problem with Spline IK constraints. You can open the Blender console to see the error log, and when moving the rig bones, there's also a one frame lag which is due to the cyclic dependency issue.
The dependency graph is being re-written for Blender 2.8 to avoid this (as far as I know), for now only this kind of rig setup should be used with IK Spline constraints:
https://blender.stackexchange.com/questions/35398/rigging-question-about-spline-ik-and-having-all-controls-on-one-armature

The main problem in this scene is the cyclic dependency, that is likely introducing issues when it comes to animation baking. It's a common problem with Spline IK constraints. You can open the Blender console to see the error log, and when moving the rig bones, there's also a one frame lag which is due to the cyclic dependency issue. The dependency graph is being re-written for Blender 2.8 to avoid this (as far as I know), for now only this kind of rig setup should be used with IK Spline constraints: https://blender.stackexchange.com/questions/35398/rigging-question-about-spline-ik-and-having-all-controls-on-one-armature
Member

Added subscriber: @BClark

Added subscriber: @BClark
Member

The FBX format supports both scale - translate child or scale of parent also scales the child, it is a setting, Maya and MotionBuilder can change this and FBX supports it.

The FBX format supports both scale - translate child or scale of parent also scales the child, it is a setting, Maya and MotionBuilder can change this and FBX supports it.
Member

Added subscriber: @DanielGrauer

Added subscriber: @DanielGrauer

Added subscriber: @MaciejJutrzenka

Added subscriber: @MaciejJutrzenka

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Maciej Jutrzenka self-assigned this 2019-11-26 17:05:11 +01:00

2.79 is no longer developed

2.79 is no longer developed
Member

So is it fixed in 2.8+ with the new scale settings on the bones?

So is it fixed in 2.8+ with the new scale settings on the bones?
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#54118
No description provided.