Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to read vertex normal in FBXShape?

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
347 Views, 0 Replies

How to read vertex normal in FBXShape?

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?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report