PDA

View Full Version : Selected vertices in Skin Modifier


kogen
02-22-2009, 10:42 AM
Good morning everybody,

I've got a small problem, with Max-Skin-Modifier.
I want to check which skin points are selected and save them in a bit array. Unfortunately there does not seem to exist a method that let's me easily do it. For example with Editable Polys you have this getvertexselection method.
The only way I've found to manage such a selection check with skin is the skinOps.isVertexSelected - method. But that's extremly expensive cause I have to iterate through the whole geometry just to check if a vertex is selected or not.

Is there a simpler way to do it?

Cheers "ko'gen".

PEN
02-22-2009, 03:03 PM
You can only check if a vert is selected so you need to loop through all of them each time and find the selected verts. So they way that you have found is the only way at this point.

kogen
02-22-2009, 04:52 PM
Thanks Paul,

I was hoping there might be a better solution, but if that's the only way, I may have to think about a different approach to achieve the things I want.

CGTalk Moderation
02-22-2009, 04:52 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.