Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove BOWTIES from ID3DXMesh

Status
Not open for further replies.

poison777

Programmer
Jan 20, 2006
1
PL
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top