PDA

View Full Version : How to access Maya's triangulation of faces in MEL?


wdavidlewis
04-12-2006, 09:03 PM
I've got a polygon mesh that's not all triangles (mainly quads). I'd like to get access to how Maya has triangulated the faces (like you can see via the Display->Custom Polygon Display and click the 'Face Triangles' checkbox).

Ultimately, what I want are the verts that comprise each triangle in the polygon in MEL. The 'polyInfo' command comes close, but doesn't seem to give triangle information.

It looks like if I triangulate the mesh, the triangles given match Maya's triangulation of the faces, but I'd like to avoid creating new geometry if I can.

Thanks all.

--- David

CGTalk Moderation
04-12-2006, 09:03 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.