FBX and Collada: Exporting Mesh Scaling Animation, Some Meshes Don't Scale #64117

Open
opened 2019-05-03 22:10:45 +02:00 by Rook Vanguard · 10 comments

System Information
Operating system: Windows 10
Graphics Card: GTX 1070
Blender Version: 2.8

Description*

2019-05-03_04-37-02.gif

This is all one rig, however on the right side of the .gif, the cylinder does not shrink accordingly. Any ideas as to why this is happening?

This problem happens when exporting from Blender as a .FBX and importing it into Lumberyard.

Exact steps for others to reproduce the error

SillyCylinder.blend
Open attached .blend
Export as .fbx
Import .fbx into Lumberyard and try to run the animation, the cylinder refuses to shrink.

Notes
The rig contains a Bone acting as a Driver which controls all of the rig's Shape Keys.

**System Information** Operating system: Windows 10 Graphics Card: GTX 1070 Blender Version: 2.8 **Description*** ![2019-05-03_04-37-02.gif](https://archive.blender.org/developer/F7003944/2019-05-03_04-37-02.gif) This is all one rig, however on the right side of the .gif, the cylinder does not shrink accordingly. Any ideas as to why this is happening? This problem happens when exporting from Blender as a .FBX and importing it into Lumberyard. **Exact steps for others to reproduce the error** [SillyCylinder.blend](https://archive.blender.org/developer/F7003951/SillyCylinder.blend) Open attached .blend Export as .fbx Import .fbx into Lumberyard and try to run the animation, the cylinder refuses to shrink. **Notes** The rig contains a Bone acting as a Driver which controls all of the rig's Shape Keys.
Author

Added subscriber: @RookVanguard

Added subscriber: @RookVanguard
Rook Vanguard changed title from .FBX & .Dae Exporting Mesh Scaling Animation, Some Meshes Don't Scale to .FBX Exporting Mesh Scaling Animation, Some Meshes Don't Scale 2019-05-03 22:28:24 +02:00
Gaia Clary self-assigned this 2019-05-03 22:28:39 +02:00
Member

As far as i know the concept of drivers is not directly supported by Collada and FBX.

In principle it would be possible to add Driver information into the Blender collada profile. But i am not sure if this is feasible. In order to make use of this data, a Tool importer would need to know about the blender profile.

Also, using FBX and collada for importing back to Blender does not make too much sense either unless for testing or in very special situations.

As far as i know the concept of drivers is not directly supported by Collada and FBX. In principle it would be possible to add Driver information into the Blender collada profile. But i am not sure if this is feasible. In order to make use of this data, a Tool importer would need to know about the blender profile. Also, using FBX and collada for importing back to Blender does not make too much sense either unless for testing or in very special situations.
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

What Gaia Clary said is exactly right regarding Collada not supporting drivers. However, after swapping the unmoving mesh with a new mesh, everything worked with .FBX; am not sure why it worked, but it did. ?

And yes, Gaia, my reimporting was indeed strictly only for testing purposes; a sanity check if you will.

Thanks again Gaia!

What Gaia Clary said is exactly right regarding Collada not supporting drivers. However, after swapping the unmoving mesh with a new mesh, everything worked with .FBX; am not sure why it worked, but it did. ? And yes, Gaia, my reimporting was indeed strictly only for testing purposes; a sanity check if you will. Thanks again Gaia!
Member

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
Member

Added subscriber: @mont29

Added subscriber: @mont29
Member

I believe that i know what actually happens.

It seems to be related to the scaling of the objects and the armature. I could fix your file by applying scale and visual transforms such that the object sizes keep as they are but all scales are at 1.0. This fixing of the various scales in your scene made the export and back import work perfectly with Collada. And apparently it worked for you also with fbx after you replaced the meshes.

Lets keep this report open. I need to figure out how to fix the parent inverse of child objects. And maybe @mont29 can also take a look at the fbx side :)

I believe that i know what actually happens. It seems to be related to the scaling of the objects and the armature. I could fix your file by applying scale and visual transforms such that the object sizes keep as they are but all scales are at 1.0. This fixing of the various scales in your scene made the export and back import work perfectly with Collada. And apparently it worked for you also with fbx after you replaced the meshes. Lets keep this report open. I need to figure out how to fix the parent inverse of child objects. And maybe @mont29 can also take a look at the fbx side :)
Gaia Clary changed title from .FBX Exporting Mesh Scaling Animation, Some Meshes Don't Scale to FBX and Collada: Exporting Mesh Scaling Animation, Some Meshes Don't Scale 2019-05-04 10:28:09 +02:00

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I'll mark this as confirmed then

I'll mark this as confirmed then
Gaia Clary was unassigned by Dalai Felinto 2019-12-23 16:34:32 +01:00

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#64117
No description provided.