Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Finding Degenerate Triangles (https://simplymaya.com/forum/showthread.php?t=27657)

thespongebob 30-09-2007 04:22 PM

Finding Degenerate Triangles
 
I have a model that I suspect isn't right. How do I find any triangles that have two vertices in exactly the same place?

Perfecto 30-09-2007 05:30 PM

I hope someone posts a better solution but here's what I do.
I turn on my poly count display. Just click on the display menu and select Heads Up Display and then select poly count. This will turn on the poly count, probably in the upper left corner of your view.

Then I select dragging around verts to see if the vert count (third column) is 1 or if it's more. This can be time consuming unless you know the general area where there might be unmerged verts.

This is the best help I can offer so I hope someone else has a better idea. Perhaps with "clean up" but I don't know. I've still got tons to learn.

thespongebob 30-09-2007 05:47 PM

Thanx Perfecto.
That IS rather lengthy, but now I have a method whereas before I didn't ! :) I poked around with cleanup tool to no avail. I'll keep looking.

gster123 30-09-2007 10:50 PM

I thought the clean up would help out here, but if youve messed about with it and cant find it....


What you can do is merge the vertexes, select all the verts in the model and then in the polygons menu find the merge tool and look in the option box, reduce the distance to a really low value like 0.0001 (might have to have a fiddle with it to get the settings right so it either works, which you can check by using the heads up display to see if the vertex count goes down, or it dosent mrege close but not overlapping verts) and then hit merge, this lowers the distance the merge tool works.

I use this method when merging 2 parts of a model thats been mirrored.

thespongebob 01-10-2007 04:30 AM

Thanx @gster. That's a cool approach. I'll try that tonight. I never did find the vertices I was looking for.

If I knew more, I bet I could loop through all the vertexes with MEL and compare their offsets from each other.

I tried cleanup with a cube, in which I snapped a couple vertexes together. I couldn't get it to identify the pair using different combinations of Cleanup options. The pair did show up in the hud as 2.

t1ck135 01-10-2007 05:49 AM

If you know roughly the area then you can sometimes use the 'Edit Mesh -> Append to Polygon Tool' to click on an edge. It then highlights all the other edges around with wireframe paper aeroplanes. You can sometimes see that edges are broken from that and can see the nasty vertices
Not a brilliant way I admit ;)

Si


All times are GMT. The time now is 01:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018