Sorry for a C++ question :)
So:
MItMeshPolygon::getUVAtPoint(MPoint&, float (&) [2], MSpace::Space, MString const*)
This methos crashes maya2015 if iterator is set to a face with near-zero area.
pseudo code:
polyIter.setIndex( findSomeSmallFace() );
MPoint samplePoint = somewhereNearThatSmallFace();
float2 uvPoint;
polyIter.getUVAtPoint(samplePoint, uvPoint, MSpace::kWorld); // CRASH !!
So, do you guys maybe have a ready routine to evaluate face UVs from a nearby point ?
thanks
-michal