ntashev
Hi there,
I'm doing a node, which creates component list data, based on a texture mask. So far I've made it work with faces, vertices and edges, but hit a wall when I tried to do it with UVs.
I tried using the MItMeshFaceVertex and for every vertex I need to store in the resulting component list I use the MItMeshFaceVertex::getUVIndex but this doesn's seem to work and some UVs get left behind.
My current workflow is process all component indexes and if they meet certain condition, then store them in an MIntArray, and feed that to a MFnSingleIndexedComponent, and than pass that to a MFnComponentListData. As said this works for everything but UVs.
Any ideas what is the right approach to do that.
<< aut inveniam viam aut faciam >>
Reply 0 0
pshipkov
Hard to say what may cause it without looking at some code snippet(s).
I have some nodes that deal with MAP components and so far so good.
Reply 0 0
Reply