Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 30-09-2007 , 04:22 PM
Subscriber
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 19

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?


Maya 7.1
# 2 30-09-2007 , 05:30 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889
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.


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
# 3 30-09-2007 , 05:47 PM
Subscriber
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 19
Thanx Perfecto.
That IS rather lengthy, but now I have a method whereas before I didn't ! user added image I poked around with cleanup tool to no avail. I'll keep looking.


Maya 7.1
# 4 30-09-2007 , 10:50 PM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
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.


"No pressure, no diamonds" Thomas Carlyle
# 5 01-10-2007 , 04:30 AM
Subscriber
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 19
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.


Maya 7.1
# 6 01-10-2007 , 05:49 AM
t1ck135's Avatar
Registered User
Join Date: May 2004
Location: UK
Posts: 1,991
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 user added image

Si


Examples of bTraffic - a traffic animation tool for Maya
bFlocking - a tool for Maya 8.5+ to generate flocking and swarming behaviours
Jan/Feb Challenge 2007 Entry and W.I.P
May/Jun Challenge 2006 Entry and W.I.P
Mar/Apr Challenge 2006 Entry and W.I.P
Jan/Feb Challenge 2006 Entry and W.I.P
Nov/Dec Challenge 2005 Entry and W.I.P
Sep/Oct Challenge 2005 Entry and W.I.P
Jul/Aug Challenge 2005 Entry
www.flash-fx.net
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads