I am working to develope a loader that deal with FBXShape. However, I am not sure, how to correctly read the vertex and normal of a FBXShape iterating each traiangle.
I know I can retreive the list of vertex and normal directly as a list usning following code,
FbxVector4* pControlPoints = pShape->GetControlPoints();
and
FbxLayerElementArrayTemplate<FbxVector4>* pNormals = wwNULL;
wwBool status = pShape->GetNormals(&pNormals);
But these doesn;t give me the map with each geomtry triangle as I get in FBXMesh using,
int controlPointIndex= pMesh->GetPolygonVertex(triIter, vertexIter);
and
FbxVector4 fbxNormal;
pMesh->GetPolygonVertexNormal(triIter, vertexIter, fbxNormal);
How can I do that? Any help?