Hi all, I have problem with computing binormals and tangents for my mesh using D3DXComputeTangentFrame function.
It gives me this output:
A bowtie was found. Bowties can be fixed by call D3DXCleanMesh.
A bowtie is the usage of a single vertex by two separate fans of triangles.
The fix is to duplicate the vertex so that each fan has its own vertex.
D3DXComputeTangentFrame: Mesh is not valid.
D3DXComputeTangentFrame: Unable to create consistent tangent frames in this mesh without splitting vertices.
I called D3DXCleanMesh, but this do nothing - problem still exists...
Please help.
It gives me this output:
A bowtie was found. Bowties can be fixed by call D3DXCleanMesh.
A bowtie is the usage of a single vertex by two separate fans of triangles.
The fix is to duplicate the vertex so that each fan has its own vertex.
D3DXComputeTangentFrame: Mesh is not valid.
D3DXComputeTangentFrame: Unable to create consistent tangent frames in this mesh without splitting vertices.
I called D3DXCleanMesh, but this do nothing - problem still exists...
Please help.