urgrund
07-10-2007, 11:54 PM
hey,
I have a problem where I'm trying to get what faces relate to other faces in other map channels.
For example, I colored the same vertex Blue [0,0,1] in map channel 0 and 2 (the same geometry vertex) and ran a quick test script over it... apparently the face numbers of Ch0 & Ch2 are completely different to the face number that the geometry vertex is on (and each other). Even though in Channel Info they all share the same number of verts and faces.
I've tried all the meshOp.getMapFace and similar commands, but they only give you an isolated result... what I need is a "getMapFace" where you pass a relative face in as well.
ie) Geometry Face 1 = MapFace 5 in channel 2
Is there something in MaxScript that can provide this info?
If not, how would you approach this? What should I be reading up on in MaxScript?
Cheers!
I have a problem where I'm trying to get what faces relate to other faces in other map channels.
For example, I colored the same vertex Blue [0,0,1] in map channel 0 and 2 (the same geometry vertex) and ran a quick test script over it... apparently the face numbers of Ch0 & Ch2 are completely different to the face number that the geometry vertex is on (and each other). Even though in Channel Info they all share the same number of verts and faces.
I've tried all the meshOp.getMapFace and similar commands, but they only give you an isolated result... what I need is a "getMapFace" where you pass a relative face in as well.
ie) Geometry Face 1 = MapFace 5 in channel 2
Is there something in MaxScript that can provide this info?
If not, how would you approach this? What should I be reading up on in MaxScript?
Cheers!
