PDA

View Full Version : MAYA API: how to get closest polyID on a subD at level 1


nsimagine
10-05-2009, 04:10 PM
Just realized I posted this in the wrong category by mistake,
(hope that was the reason that nobody knew the answer :-))

I am going in circles here,

I am trying to find the closest Point on a subD model using MFnSubd::evaluatePosiitonAndNormal
But this requires a polyID at level 1.

My model is converted from a polyMesh, so I have the closest polyID of the polyMesh
and therefor the closest PolyID of the subD at the baseLevel (0) which is the
[polyMesh faceID * 256][0], but I can`t figure out how to get the closest PolyID of my subD at level 1 to use that to eval the Pos and Normal on the subd.

Any ideas how I could do that?

Nico.

CGTalk Moderation
10-05-2009, 04:10 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.