Cleaning up hair meshes

Issue #2079 invalid
Corentin Sakwinski created an issue

Hello,

I’ve been trying to work with different hair meshes from Daz but I struggle with hair clumps. I have this mesh with lines for example:

It has groups of multiple lines per clump, which is giving some very obvious groups when turned into particles or curves.

Is there a way to keep a single line per clump instead, to make it easier to work with when adding children? This would avoid this situation with too many hairs for each strand.

Comments (11)

  1. Thomas Larsson repo owner

    I’m not sure what you are trying to display. If you’re saying that the strands are clumped already when the hair mesh is imported from DS, then the generated hair curves will be clumped too. Some hairs work better if the Hair Method is set to Tube instead of Sheet. You may also want to confirm that Also make sure that the Strand Orientation matches the orientation of the strands in UV space. Then again, some hairs are not converted well whatever tricks I use, but they are not so common.

  2. Corentin Sakwinski reporter

    Well in this case the strands have too many lines when imported. Basically each strand of hair in Daz Studio is turned into a clump of multiple lines in Blender.

    As you can see, the hair in Daz Studio is made of single lines, each strand is a single line. Where in Blender, there are far more lines per strand, creating those clumps of hair and giving me way more than expected (making it impossible to deal with children later on because each unnecessary line will have children). Is it intended behavior? Is there a way to keep the single strands without having more? Unless I’m missing something obvious…

  3. Corentin Sakwinski reporter

    Here is another example, the mesh on the left is a simple obj export from Daz, and the other one imported using Diffeo is creating far more geometry than necessary for each strand.

    I notice that the original mesh is composed of that kind of strands but it still gives far too much with Diffeo.

  4. Alessandro Padovani

    The strands are baked from the daz viewport so you get in blender the same as the daz viewport. If you don’t want children then you have to set children to zero in “make hair”.

  5. Corentin Sakwinski reporter

    The thing is that I didn’t use the “make hair” feature yet, I only imported the character. But the mesh ends up with more hair than in Daz without doing anything to it yet.

  6. Alessandro Padovani

    Again hair is baked from the daz viewport so that should not be possible. The only “extra hair“ that may be imported is the sbh hair guides, which are not defined in the viewport but in the duf file. If you don’t want the sbh guides you can uncheck “import all hair versions“ in the global settings.

    Or provide a link to the product page with exact steps for issues with a specific hair.

  7. Corentin Sakwinski reporter

    “Import all hair versions” is unchecked. My process is very basic:

    • I import “MRL dForce Mid Length Hair” in the scene with or without a character
    • I export it to Blender, and import it using either the “Manual” or “Easy Import” options without changing anything, as raw as possible.
    • The hair is imported with more geometry than in Daz Studio

    However, it does seem like there is an issue with the product itself. Someone else have reported some hair strands not showing up as they should, the same way I have, something to do with the dForce plugin acting in a weird way. But there seems to be data for the other strands in the file which are exported. So it looks like it’s unrelated.

    I still wonder if there is a way to have less hair lines per strand though. Like the one I selected in Blender, reducing it to one or two curves somehow but for the whole mesh.

  8. Alessandro Padovani

    importer 4.1.0.2147

    I turned off the PS PR hairs in daz studio to reduce as possible and exported to blender. Here I get the same in blender and daz.

  9. Corentin Sakwinski reporter

    I guess it’s the same problem as the one on the forums. I don’t have that many hair with the product in Daz, they only show in Blender, with or without those settings. So it seems to be unrelated to Diffeo and just something to do with Daz on my side (possibly with dForce).

  10. Alessandro Padovani

    It doesn’t seem “that many hair“ to me, I can’t see how they could be less, considering the single strands on the right. Perhaps it is your impression that they are less in the daz viewport. You have to enable “wire shaded“ to see them all.

    Anyway with the settings above you get single polylines in blender.

  11. Log in to comment