Can you generate Face Map which keep imported daz mat surface gorup name?

Issue #1073 resolved
engetudouiti created an issue

I remember , I requested same-thing before to keep material assginment for daz surface group as face-map but at that time, face map seems ignored (beta test) then I remove the request. but after all blender remain face map function still.

At same time, if you hope to keep many material set for one figure, (with graft merged etc, anc change material name often, or sometimes you may generate UDIM type material name,, (gather same part ) . or sometimes I only export head mesh and make material in another applications,, then re-import it,,, etc,,, then you may save your work as blend file, or save only the mesh.

Then try to use blender offer function, “copy material to selected”, then try to change current scene figure mat, it can transfer all materials from Active to selected,

but without the target mesh keep same material slot order, and same material slot count, it simply mess up.

Because Copy material can not re- material for new target mesh as same as source mesh (so if your target mesh have no material assigned, or just one material,, it just transfer all material as mesh-data/object, but not re-assign which face use the mat 😩 Then you need to re-assigne all copied materials as same as before.. (so default daz surface group at least 10 etc…)It is really tedious work…. Of course you can save every time when you set new materials (wet version or AO bake version,, sculpt with only one mat e..) save it as new obj, and can use it, but you may hope just transfer all materials (like daz mat preset) fo current scene mesh…. The Blender bad thing is, blender not have function to set assigned material face group name,,, (so if you change material name,, you may easy forget,, the material is for which surface part…)

I do not care, manually re-assgin those transfer mat,,, but if you can keep face map (which daz generated as material surface group)I I can easy re-use it to assign, copy and transfered materials with transfered material name,, (eg eyelash- wet) or (eye blue) etc..

What I request is,,,, when I import json,,, with materials,,, you generate Face map as same as daz surface group…(you already do it with material slot = it will be changed or merged by user often)

then even though I change material name = material slot, , keep surface group name as Face mat,. then when I need to re-assgin material, I can re-use it.

I know there will be merge 2 mesh case..(graft merge) but at start point, , I hope if you can generate Blender Face map as daz surface group name,for each imported mesh, if you can….

Comments (4)

  1. Thomas Larsson repo owner

    Face maps are implemented in the last commit. Depending on the global setting, face maps are either generated for materials or polygon groups, or not at all (the default).

  2. engetudouiti reporter

    Thanks it is neat ^^; But for me I need option, which can keep def figure material gorups.. I tried to generate face map with current materials by python code, I suppose it should be easy,, but I can not find good function etc, to set face map from material slot assignment… Then I failed so I asked you ^^;

    if blender will decide how to use Face map (as default idea seems, blender dev hope to use generate bones with face maps or to deform as shape key area,,

    but there have been some user input (who not hope to limit for rig and shape keys ),

    Then if blender dev decide, they use face map for rig,, I can not use Face map anymore to keep surface group, I suppose ^^;)

  3. Log in to comment