SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Finding Degenerate Triangles
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 30-09-2007, 04:22 PM   #1
thespongebob
Subscriber
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
thespongebob is offline   Reply With Quote
Old 30-09-2007, 05:30 PM   #2
Perfecto
Registered User
 
Perfecto's Avatar
 
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,882
Thanks: 8
Thanked 127 Times in 119 Posts
Default

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!
Perfecto is offline   Reply With Quote
Old 30-09-2007, 05:47 PM   #3
thespongebob
Subscriber
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
__________________
Maya 7.1
thespongebob is offline   Reply With Quote
Old 30-09-2007, 10:50 PM   #4
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

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
gster123 is offline   Reply With Quote
Old 01-10-2007, 04:30 AM   #5
thespongebob
Subscriber
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
thespongebob is offline   Reply With Quote
Old 01-10-2007, 05:49 AM   #6
t1ck135
Registered User
 
t1ck135's Avatar
 
Join Date: May 2004
Location: UK
Posts: 1,991
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
__________________
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
t1ck135 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.