Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

3D Can't Validate a mesh [pic attached]

This topic is 410 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

Hello,

When calling on a specific mesh to validate, it can't pass the function. However, other meshes go okay, just that one. I am using D3DXValidMesh function

598a9383c1497_2017-08-0911_55_28-OpenAssetImportLibrary_Viewer.thumb.png.18ba58196aaa9e1f4f41398a7d11f4cb.png

Share this post


Link to post
Share on other sites
Advertisement

When a mesh contains some degenerative faces, how do I get rid of them programatically?

I don't care if they are intentional lines or things like that. I am just testing it.

598ab04969f94_2017-08-0914_09_36-OpenAssetImportLibrary_ViewerE__Projects_C_Mezzaine_TestWalkUpstairs_D.thumb.png.1043cfe881f1b450a60748ade88a7a85.png

Share this post


Link to post
Share on other sites

Sorry, but:

You post alot of questions, more or less one new thread each other day. If everybody did that nobody would be able to keep up with all those new threads.

When I resort to starting a thread on this forum, I've first done all I can to research an answer myself - which can take days sometimes of trial and error, reading (sometimes advanced/cryptic) research papers and forum posts here and elsewhere. That usually stops me from asking here, because I found the answer myself before it got to that.

You just seem to encounter something you don't know how to solve, and start a thread about it. Frequently.

There's so much value in finding your own answers whenever it's possible, and understanding why the answer works - instead of just getting the answer handed to you.

 

I don't know if I'll get flak for this, but just wanted to voice that I'm getting a little annoyed by all the threads you start, measured against how I see other people use this forum. Many times, your threads aren't even very clear as to what the problem is, just a vague/unclear description and a wall of code which nobody wants to read through. Or, a simple 10 minute search would have provided the answer.

 

As to your question, I searched for 1 min and found https://user.xmission.com/~legalize/book/download/19-D3DX Mesh Objects.pdf - page 20 states that you can use D3DXCleanMesh to fix issues reported by D3DXValidMesh. 1 minute is all it took, with search term "D3DXValidMesh degenerated primitives".

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!