Message 1 of 5
Vertex normal regression in version 2020.1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I believe FBX 2020.1 has a regression relating to vertex normals.
I have a FBX mesh (attached) that is now reporting vertex normals as 0,0,0. This works fine in FBX 2020.0 and my normal are not 0 in that build.
My code is as follows:
bool hasNormals = fbxMesh.GetElementNormalCount() > 0;
hasNormals is set to true, but then after doing:
FbxVector4 nrm;
bool gotNormal = fbxMesh->GetPolygonVertexNormal(i, j, nrm);
gotNormal is set to false and my nrm vector contains 0,0,0.
What is going on here? Has something changed in the SDK that means my FBX file is no longer valid or is it a bug?
Regards,
Tom