FBX exporter uses FullWeights for the wrong purpose #90382
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#90382
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the process of writing tests for my FBX importer I found that the Blender FBX importer writes per-vertex
FullWeights
values. By inspecting FBX files from other exporters I have discovered that theFullWeights
is used to control in between blend shapes that Blender does not support. For example you could specify a two-stage blend shape0 -> A(0.5) -> B(1.0)
which would be represented in FBX as two attachedShape
objects andFullWeights: 0.5, 1.0
. Blender uses the same field to store vertex group information and it is read on the import side as well, so fixing this is a bit tricky.Ramifications: The FBX SDK importer seems to tolerate per-vertex
FullWeights
but I'd guess it'd break in other programs if the first value would be zero. I didn't test if other 3rd party importers fail but for mine I'll add a special-case for Blender's current behavior. Blender currently fails to import FBX files with in-between blend targets (failing due to bad amount ofFullWeights
, eg. [1]).Fixes: I'd propose at least fixing importing files with in-between blend shapes by dropping the intermediate blend shapes and ignoring
FullWeights
in that case as that shouldn't break anything. Storing the vgroup data under a different key might make the exported files more robust in the future, but would lose the vgroup data in older Blender versions. On the other hand I'm not sure how well FBX importers handle unknown keys either.I would be up for making a patch for this if any of these things are deemed worth fixing.
a1f3bf4263/data/maya_blend_inbetween_7500_binary.fbx
Added subscriber: @bqqbarbhg