Home Technical Talk

[Max 8] Retaining selection between modifiers?

Hello everyone, n00b here.

I have an editable poly, and an Unwrap UVW modifier. In the editable poly, I have several polygons that have named selection sets.

What I want to do is select a named selection set in the editable poly level, then go to the Unwrap UVW modifier but still have the polys remain selected.

However, everytime I do this, the polygons get unselected. Does anyone know if what I want to do is possible?

Thanks in advance.

Replies

  • Mark Dygert
    It won't work like you want it to. Each time you go back down to edit poly and make a selection then go back up to unwrap it will only apply the unwrap to the selected polys screwing up any work you have done to the other selections.

    I suggest converting your selection sets to smoothing groups or breaking them into individual elements.
  • Nash
    Hi Vig, when you say "breaking them into individual elements", do you mean separating the model into several objects?

    I'm not sure I want to do that because I want the various pieces of the model to be unwrapped to a single "space"... I don't know how to word this properly but, say for a human model; if the head and the body is separated, that would mean each of the two objects will have their own Unwrap UVW modifier correct? But I don't want that, I want to unwrap both the head and the body on a single modifier. But at the same time, I'd like some control over the groups of polygons (which was why I resorted to selection sets).

    My thinking was if I did this, I can for example hide the polygons that make up the head while unwrapping the other body parts so that I don't accidently mess up the wrong polygons...

    I'm probably making this sound a lot harder than it should be. As I said, I'm very new to all this and I'd definitely appreciate any help... thanks...
  • Eric Chadwick
    This script might help.
    http://www.scriptspot.com/3ds-max/unwrap-selector

    Material IDs are the way to go if the head is getting a different bitmap than the body. After the two sets of polygons are assiged to separate IDs, you can use a dropdown in the Edit UVW window to isolate the UV view by material ID (or you can see all IDs).
  • Slipstream
    Offline / Send Message
    Slipstream polycounter lvl 19
    [ QUOTE ]
    Hi Vig, when you say "breaking them into individual elements", do you mean separating the model into several objects?

    I'm not sure I want to do that because I want the various pieces of the model to be unwrapped to a single "space"... I don't know how to word this properly but, say for a human model; if the head and the body is separated, that would mean each of the two objects will have their own Unwrap UVW modifier correct? But I don't want that, I want to unwrap both the head and the body on a single modifier. But at the same time, I'd like some control over the groups of polygons (which was why I resorted to selection sets).

    My thinking was if I did this, I can for example hide the polygons that make up the head while unwrapping the other body parts so that I don't accidently mess up the wrong polygons...

    I'm probably making this sound a lot harder than it should be. As I said, I'm very new to all this and I'd definitely appreciate any help... thanks...

    [/ QUOTE ]

    You can still cut your model into several different groups, and then when you're done reattach them to each other. The pieces will retain their uvmaps from when they were separate objects, and all you'd have to do then is readjust their spacing on the uvw grid.
  • MoP
    Offline / Send Message
    MoP polycounter lvl 18
    I'd go with EricChadwick's method, just apply different materials to each "selection set", then you will be able to hide/show/freeze them at will from the Unwrap UVW window.
  • Nash
    That script was indeed very helpful, but yes, I think EricChadwick's method is the best. Thank you very much to all of you who tried to help!
  • Mark Dygert
    ahh yes Material ID that would be another good way to handle it. I've been away from Max for a full week and already the lingo is leaking out of my brain hahaha.

    If you can't use mat id's or smoothing groups then the element option might work. Here's the nuts and bolts of how it goes.
    In Edit poly you can select the faces for each group and "detach" them. Then "attach" them, if you do not weld the pieces back together they stay as sub-objects of your main object, max calls them elements. Then in the UVW unwrap roll out you can check on "select by element" so you can access the different sub-objects.

    The smoothing group method works pretty good since it lets polys belong to more then one selection set and you don't need to hack up your mesh. For example you can assign the entire arm, hand and fingers to Smoothing Group 1. Then set each of those other pieces to their own Smoothing Group. If you want to select the entire arm, select Group 1, if you want each piece pick its group.

    After you assign your selection sets to smoothing groups, in the UVW unwrap window under selection parameters change the Smoothing Group number and click "select SG". Same goes for the material ID method. The advantage of using material ID's is like MoP said you can hide/unhide the pieces from the UVW editor window and you can name your selection sets/mat ID's by creating a multi-sub object material and assigning it to your object. Then when you name corresponding material it will show up with that name in the UVW Editor window.
  • Nash
    Thank you for your informative post, Vig. I will definitely keep those in mind. Thanks again to you, and everyone in this thread. smile.gif

    I umm... have one little question though and I don't want to start a new topic because it's so small.

    How do I "un-run" or unload a Max Script? What if I don't want to use that script that Eric mentioned anymore? I can't seem to find a way to do this...
  • Eric Chadwick
    Did you read the Help section about installing MAXScripts? Some useful info there about loading/running scripts, where to save/load them, how scripts are stored in memory, etc.

    How did you run the script you downloaded?
  • Nash
    Yes, I did. First I searched in the 3ds Max Reference. It unveiled nothing but how to run a MAXScript, which I already know how to.

    I placed the file in the \Scripts\ directory under 3ds Max 8. Then went to MAXScript -> Run Script.

    I tried searching in the MAXScript 8.0 reference, but it was so huge and I got lost very, VERY quickly. I've tried all kinds of search strings in the help system but I couldn't find what I needed to do to unload a MAXScript.

    Sorry...
  • Eric Chadwick
    Delete the file from the Scripts directory and restart Max.

    Sorry to be circumspect, but there's some good info in the help, that's where I learned all the basics like this. IIRC there's a specific help file for MAXScript.

    edit... oops, my bad, you said you looked in there. Max9's MXS help file has a section "MAXScript for New and Casual Users" in the Introduction section. Worth a look, if it's in the Max8 version that is. Talks the different ways scripts can be loaded, etc.

    I was wrong about deleting it from \scripts. All you have to do is restart Max to unload it. Scripts in the \scripts\startup\ folder are auto-loaded on re-start, scripts in \scripts\ are not.
  • Nash
    That section you mentioned was indeed useful. Thanks Eric.
  • Toomas
    Offline / Send Message
    Toomas polycounter lvl 18
    [ QUOTE ]
    It won't work like you want it to. Each time you go back down to edit poly and make a selection then go back up to unwrap it will only apply the unwrap to the selected polys screwing up any work you have done to the other selections.

    [/ QUOTE ]

    What you do is, select your polys in edit poly. Convert to uv map do your thing, convert to edit poly, select and repeat... When you have all the part uv mapped and moved aside then do unwarp for the whole mesh and tweak..
    Everything will stay intact, least it has always worked for me like this.
  • Mark Dygert
    Aren't the selection sets included in just the original Edit Poly modifier? I was under the impression if you collapsed the history stack or applied a new E-Poly modifier on top it would wipe out the selection sets? I'll have to play with it...

    Seems like a lot of middle man mouse clicking to me, but thats the great thing about being able to skin cats in 3d apps, there are so many ways to do the same thing. =)
  • Sage
    Offline / Send Message
    Sage polycounter lvl 19
    Selection set suck in Max you do anything and they go away. I use material ids if I need to do quick selecting in the unwrap modifier it's faster than detaching and you can use this for other things like when are normal mapping. It lets you select things easily in the projection modifier so it might be worth your while to use them. Setting up smoothing groups doesn't always work since max is inconsistent with how different modifiers select things and setting up smoothing groups is just as annoying as setting the material ids. Most use material ids though to select things.

    Alex
Sign In or Register to comment.