Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 06-08-2008 , 09:55 PM
Registered User
Join Date: Aug 2008
Posts: 3

finding/highlighting intersections?

hi @ all, i'm new to the forum/maya.

question: is there a function to highlight pieces of geometry that pass through each other?

like a function that tells maya something among the lines of "highlight the faces on this geometry that are currently intersecting someone else's faces".

also, what is the term for this "intersection of geometry" issue? (so i can come up with better google/forum search queries)

thank you

/lex


Bartók Béla
# 2 06-08-2008 , 10:01 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
There are many types of these irregularities... I've encountered mostly 'Non-Manifold Geometry'.

Try the cleanup option under mash.
If the result isn't satisfactory(It usually isn't, at least for me) google MEL cleanup scripts. there should be quite a lot.

Welcome to SM :attn:

Hope this helps,
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 3 06-08-2008 , 11:08 PM
Xander-0's Avatar
Registered User
Join Date: Feb 2005
Location: This Place
Posts: 220
Benny, I believe that Lex is referring to seing where two seperate meshes intersect, not one mesh with non-manifold geometry.

Lex - I don't know of any functions right off that do what you're looking for. In theory, you could use 'Mesh->Booleans->Intersection' to give you some idea of which parts of two meshes are intersecting, but that's a little more cumbersome than what it sounds like you want - and there's a couple of downsides to using that method, as well (like having to worry about non-manifold geometry).
As for the term you're looking for, I think I'd be looking for something with 'intersecting geometry'. So you weren't too far off.


Book Wise

https://X4nd5r.deviantart.com
# 4 07-08-2008 , 02:15 AM
Registered User
Join Date: Aug 2008
Posts: 3
thanks guys. from what i've gotten so far, most of the scripts are in the vein of removing/cleaning up weird stuff in meshes as opposed to selecting components.

but maybe i can do something with booleans now that you mention it. boolean->intersection will result in a warning "cannot perform operation" if both arguments to the function are not intersecting. i might somehow manage to write some code to evaluate the result each time during a sequence of boolean operations between each pair of objects in the scene, storing the mesh's name in case the boolean succeeds.

however, the most i'd get out of that would be the knowledge of which meshes are intersecting. i'd still have to manually select each face from each mesh in order to scale it or move it.

plus that's a bunch of boolean/undo operations. sounds like a pretty inefficient hack and even dangerous if maya happens to crash while a boolean->intersection is in progress, haha.

anyway, some serious "intersecting geometry" googling is in order for me.

cheers

/lex


Bartók Béla

Last edited by Lex Noriega; 07-08-2008 at 02:27 AM.
# 5 07-08-2008 , 04:23 AM
mirek03's Avatar
Subscriber
Join Date: Feb 2006
Location: Australia
Posts: 2,752
if you go to your preferences check.., highlight edges.

it might help some

mirek user added image

Attached Thumbnails

take it easy and life will be easy
# 6 07-08-2008 , 08:45 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
Try this:
https://www.henrykorol.com/Scripts/SubdToggle/index.html
That's a good script I ones used for converting polygons to subdivs:

When your geometry includes these problematic sections you cannot convert to subdivs.
This script selects these sections and allows you to either fix them automatically (which works really well) or manually.

Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 7 07-08-2008 , 12:16 PM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
hes need a way to find intersecting geo...

check the maya sdk docs. they might have a script example to find points where 2 geometries intersect.

# 8 08-08-2008 , 01:15 AM
Registered User
Join Date: Aug 2008
Posts: 3
thank you all for the suggestions.

bennyk: i'll give it a try. that should come in handy when dealing with the non-manifold thingamajig.

vladimirjp: i'm checking the docs right now. the documentation seems pretty clear/friendly so far. cool.

/lex


Bartók Béla
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