ZBrushCentral

Manually define body parts (Polygon groups with 3DSMAX)?

When modelling with Zspheres, different body parts would be automatically defined (shown in different colors while showframe option is on) and thus making it quite easy to hide or unhide an entire body part. But when I import a basic model from other 3D software to have it retouched in Zbrush, it is regarded as a integrated one with no group definition. Is it possible for me to define the body parts manually in either Zbrush or the 3D software?

Maybe this question has been asked before, but I’m sorry that I can’t find the topic. So would you please reply if you know the answer? :smiley: Thank you!

yes mask the polygons then in selection box hit hide pt to hide polygons that are mot masked then go to polygroups pulldown menu and click group visible. this process willl make groups of visible polygons that you hide or unhide

In LightWave, you can define named groups of polys, and when you import the model, Z2 assigns those to seperate groups…
I assumed most 3D apps do this. What other app are you using?

Thank you so much. It works!

BTW, Stonecutter, your member number is COOL! :slight_smile:

SC, the number of the beast… :wink:

cameyo

Hi there :slight_smile:
Actually ,when import an obj poly mesh ,I just ctrl+shift and click on to the desired object to hide the other parts… or unhide …
Very useful

OOOPS! The 2nd solution suggested by Stonecutter doesn’t work with my 3DS MAX. :confused: :confused: :confused:

Any Max user who know a way out? Thank you!

I tried the following ways in 3DSMAX, but none of them seemed to work after exporting and importing as obj format:

  1. assigning different Material IDs
  2. assigning different Smooth Group IDs
  3. naming a bunch of selected polygons
  4. detaching selected polygons as elements

(The last one was peculiar. When body parts are separate, the imported object could be divided into correct groups with the “Auto Groups” function. But the problem was that there’re seams causing problems on subdivision. When MRG was checked in the import panel, however, “Auto Groups” would fail to work again. :frowning: :frowning: :frowning:

Headache. Anyway out?

Hi,

I don’t know of any solution to this, I’m not sure if it’s the obj format itself or the implementation, but it doesn’t support material IDs or named selection sets.

If you export and import straight back into Max, you will see that they got lost.

Since other implementations seem to take the named polys as groups it would seem to be the exporter itself.

Cheers

You can assign your own grouping in ZBrush by hiding everything else and then pressing Tool>Polygroups>Group Visible.

This process is detailed in the ZBrush Quick Start by Martin Krol, found in the Practical Guide.

As you know, sometimes it’s more convenient to assign groups in 3D package, 3dsmax for instance, if possible. I’m sorry to know that there might be no way out. :frowning: :frowning: :frowning:

Still, thank you all the same for your suggestions.

I’ve been working on and off on the same problem. Unfortunately there simply doesn’t seem to be a solution. Either the Max2Obj isn’t saving the file right, or Zbrush isn’t reading the OBJ file right. I completely agree that there are times when you simply don’t want to assign your groups in Zbrush, like when a mesh is too complex.

Hi Zeddicus,

ZBrush will export and import whatever groups are currently assigned to the model. When you export to or import and OBJ from another application, make sure that you have used the proper settings so that group assignments are not discarded. Unfortunately, I cannot help you with what those settings might be for your other software; I can only say that ZBrush is not discarding the groups.

<BLOCKQUOTE>quote:</font><HR>I’m not sure if it’s the obj format itself or the implementation, but it doesn’t support material IDs or named selection sets.<HR></BLOCKQUOTE>
For what it’s worth, I’m using 3DS Max 6 with the Habware plug-ins. The material ID’s are still saved in the OBJ file. I know because I just tested it out right now to confirm (exported, closed Max, opened Max, imported). The names of the ID’s vanish though. But if you highlight a poly and use the material editor to “pick from object” it will pull the material off of what ever ID is selected and put it into the material editor with it’s original material name and settings. So there you go, it shows that the material ID’s and the name of each material plus it’s settings (one blue and one pink Standard Max materials in this case) are being saved with the OBJ file, just not the material ID names. Hope that all made sense.

Hi,

I was being a little impatient with it - I’d assigned multiple IDs in the mesh, but not a multi-sub material in Max. If you do that it loses all the IDs at face level.

Face selection sets definitely don’t seem to work though, compared to Maya’s obj export.

No word from Habware about this, so I’m going to get a coder at work to have a look at the SDK (Someone said the source for the exporter ships with Max) to see if its fairly easy to implement.

Cheers

Well, I installed the SDK and can’t find it - it’s possible that the source to the Habware importer only ships with Max 6 (I’m still on R5), and I’m waiting to see how the restructuring has affected discreet with the next version…

Zeddicus do you have the SDK installed? Might be worth having a look…

Cheers

Hi :slight_smile:
If an external application does not export/import poly-groups, you may want to try the following procedure…

  1. In the external application, apply UV mapping to the mesh and assign different UV tile to each group. example: In a character mesh, the Head will be assigned the uv range of 0,0 to 1,1, upper body 1,0 to 2,1 and so on.
  2. Export the mesh from the external program (OBJ format) and import into ZBrush.
  3. Press the Tool :small_orange_diamond:Polygroups :small_orange_diamond:Uv Groups. This function will automatically assign grouping based on the UV-tiles assignment.

Hope this help,
-Pixolator

Hi Pixolator,

yep, I’m doing that at the moment with the multi-displacement plugin, which works well with Vray in Max.

It’s a shame that Max’s obj exporter doesn’t support the selection groups as it’s more convenient to do that than break up the UVs into groups, but that’s not Zbrush’s fault but a limitation of the HabWare exporter.

Cheers

<BLOCKQUOTE>quote:</font><HR>it’s more convenient to do that than break up the UVs into groups<HR></BLOCKQUOTE>
In Max 6 the Unwrap UVW modifier allows you to choose UV’s by material ID so it’s not too bad of a solution (yes, UV Groups work with this method that Pixolator posted). Still, named sets would be more conveniant as you say. Don’t have the SDK installed, but I could take a look I guess.

Edit: By the way I get some odd things going on with testing my 6 face cube. If I use the Unwrap UVW modifier in Max to put each face in it’s own UV range like this: 0,0/1,1/2,2/3,3/4,4/5,5/6,6 then each face will become it’s own separate polygroup in ZB. But if I set it up like this: 0,0/1,0/2,0/3,0/4,0/5,0/6,0 I end up with two polygroups, three consecutive faces in each. Not sure why this happens, but I’m guessing I’m just misuderstanding something about UV’s here.

<BLOCKQUOTE>quote:</font><HR>Someone said the source for the exporter ships with Max<HR></BLOCKQUOTE>
Just finished taking a look. If it is there I certainly don’t see it. :frowning:

Edit: Found this written in the Max2Obj help file…

<BLOCKQUOTE>quote:</font><HR>Source Code
Some of the source code to build my free plugins is given away free from the author to anyone who wants to use it. There’s no Copyright, no Copyleft or something like that, take it as it is. If the source code uses material copyrighted by others, their rules must be applied. If I’m not allowed or I don’t want to give it away, you won’t get it.<HR></BLOCKQUOTE>