Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Problems with vertex colors from custom export

Problems with vertex colors from custom export

Anonymous
Not applicable
903 Views
1 Reply
Message 1 of 2

Problems with vertex colors from custom export

Anonymous
Not applicable

Hey there. We use Assimp library for import/export of our data. The library was missing vertex colors for FBX, so I'm trying to add it.

 

Blender can successfully open the exported file and display the vertex colors. Blender uses a custom implementation for import/export of FBX.

 

Trying to open the same file with UnrealEngine (which uses the official FBX SDK), fails to read the vertex colors. The SDK returns a nullptr for FbxLayer::GetVertexColors.

 

I attached the file in question (FBX binary) and a screenshot of how the result should look like.

 

Can you please tell me whats the matter? Thank you.

 

 

0 Likes
Accepted solutions (1)
904 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

never mind...

Was missing the layer specification (telling the layer what LayerElements to use). Works now.

0 Likes