Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Best solution for realistic hair in Unity?

Discussion in 'Animation' started by Devconone, Sep 30, 2018.

  1. Devconone

    Devconone

    Joined:
    Oct 2, 2017
    Posts:
    4
    Hey all,
    I just wanted to get any shouts in about what people are using for Hair dynamics simulations in Unity?

    I'm trying to get as realistic hair as possible, real-time optimisation and interaction not essential.

    Looking at the options available, it seems to be:
    • use Unity cloth on some limited hair cards
    • use the Hair Designer plugin (which look reasonable for short hair or fur, but I can't see any convincing shots of long hair dynamics)
    • Import a pre-baked Alembic animation of hair dynamics from an external package.

    Any of the really promising hair plugins for Unity such as Neofur, nVidia HairWorks, and Shpakivinia's Hair Tool all seem to be discontinued.

    What does anyone looking for decent hair do these days? And if an Alembic is the best way to go, does anyone have any good suggestions for hassle-free software to generate this?

    Any insights greatly appreciated! Many thanks
     
  2. matheosx

    matheosx

    Joined:
    Jan 10, 2018
    Posts:
    2
    So sorry that nobody say anything, because this is a huge...((
    I don't even know what to do with the abc file in Unity, not to mention SDK nvidia hair stuff
    with GitHub parts and all super complicated explained in some thread I found today, and then...when I open Iclone 7 and press play on default hair example, looks like 23th century comparing Unity attempts so fare
     
  3. Devconone

    Devconone

    Joined:
    Oct 2, 2017
    Posts:
    4
    Hi matheosx, thanks for getting back.

    Yeah, it doesn't seem to get a lot of attention. I suspect that most Unity projects are happy to stick a little cloth sim on the end of a short hairstyle, and that will work for even a quality title. Anything more and you're looking at AAA studio efforts, as it's generally an add-on to make character's slightly more realistic, and not needed in most cases.

    You can bring an .abc Alembic file into Unity with this importer:
    https://github.com/unity3d-jp/AlembicForUnity
    It's been working pretty reliably for me so far, but it only supports a single material, so if the simulation needs more than one texture/material, it needs to be exported as separate Alembic files for each mat used.

    Using iClone or something similar to simulate cloth dynamics on hair cards, and then exporting as an Alembic may be the best option I've seen.