Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

bowtie???

This topic is 6023 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What is it a bowtie? There is written "D3DXValidMesh: bowtie found" in debug output, when I call D3DXValidMesh with certain meshes. I''m not able to convert the mesh to a PMesh then. Thanks for replies

Share this post


Link to post
Share on other sites
Advertisement
I`ve not used D3DX before so I may be waaaay off the mark here, but since no-one else has replied, here goes....

If D3DX meshes support quads, you could have a mesh where one of the quads isnt planar. These non planar quads look fine until you look at them side on at which point they look like a bowtie. This is bad because you are seeing the front and back of the quad at the same time, so most 3D APIs will only accept planar quads. Hence the complaints from d3dx.

What you need to do is either make the quads planar somehow (tricky) or split them into two triangles (easy). Splitting into triangles puts a fold across the diagonal of the quad, but since triangles are guaranteed planar that should fix the problem.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!