FBX does not export selected color attribute #104214

Closed
opened 2023-01-29 13:01:06 +01:00 by Jani Kahrama · 4 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.24

Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: blender/blender@55485cb379
Worked: (newest version of Blender that worked as expected)

Short description of error
When exporting vertex colors in an FBX file, the FBX export module seems to pick only the first color attribute on the list. If the object has multiple color attributes, exporting any of the others seems very difficult since the order of color attributes is not trivial to change.

Please consider exporting the color attribute set as default for render using bpy.ops.geometry.color_attribute_render_set(name='attribute_name') or simply the active color attribute.

Exact steps for others to reproduce the error
Open attached blend file with a cube that has two color attributes, blue 'Color' and red 'Color.001'. Notice that despite selecting or setting Color.001 as render default, only the blue color is exported.

multi_color_cube.blend

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.24 **Blender Version** Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash: `blender/blender@55485cb379` Worked: (newest version of Blender that worked as expected) **Short description of error** When exporting vertex colors in an FBX file, the FBX export module seems to pick only the first color attribute on the list. If the object has multiple color attributes, exporting any of the others seems very difficult since the order of color attributes is not trivial to change. Please consider exporting the color attribute set as default for render using bpy.ops.geometry.color_attribute_render_set(name='attribute_name') or simply the active color attribute. **Exact steps for others to reproduce the error** Open attached blend file with a cube that has two color attributes, blue 'Color' and red 'Color.001'. Notice that despite selecting or setting Color.001 as render default, only the blue color is exported. [multi_color_cube.blend](https://archive.blender.org/developer/F14208961/multi_color_cube.blend)
Author

Added subscriber: @Frand

Added subscriber: @Frand

Added subscriber: @scurest

Added subscriber: @scurest
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Hi, Prioritize Active Color boolean property is now added in FBX export panel. This will allow you to export selected attribute as default.
see: #104827 / 4c397ede41
Closing this ticket.

Hi, `Prioritize Active Color` boolean property is now added in FBX export panel. This will allow you to export selected attribute as default. see: #104827 / https://projects.blender.org/blender/blender-addons/commit/4c397ede41d027d9f0ad69e65053d353f08c3ddb Closing this ticket.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-03-15 12:00:17 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#104214
No description provided.