Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Hair Designer - Dynamic hair & fur tool

Discussion in 'Assets and Asset Store' started by kalagaan, Sep 16, 2016.

  1. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    The procedural shader is pixelated, but I keep it for the compatibility with older versions.
    And the advantage of the procedural shader is that it doesn't pixelate when you zoom on it, it could be usefull for some projects.
    I always recommand to use the atlas shader, and this is the default shader when a new layer is created.
    But you're right, it could be confusing, I'll probably create some new demos using only the latest versions of the shaders.
     
    OfficialHermie likes this.
  2. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    267
    Wow, nice hair!
    Thanks you.
     
    kalagaan likes this.
  3. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    267
    I decided to buy Hair Designer but turned out it is not working as expected.
    Exactly what I worried about. The same with the "Hair Tool" : (

    hair designer wrong lighting.png

    Look, there is one point light in the scene with soft shadows. No other light sources. Ambient light is 100% black.
    Character is fully blocked by the cube and shadows everywhere on the character and hair.

    But as you can see, specular reflections still visible despite the shadows. If I will disable point light - reflections will gone, so they are definitely from this point light. They just ignores the shadows.

    I need a character in quite a dark environments with zero ambient light and dark rooms which are fully in shadows from the point lights which can be located in another room.
    So hair of character should not be detectable while he is in the shadow.

    Can you do something with that?


    Update

    Well, I figured out that I can disable this reflection if I will disable Translucency parameter. But I am still not sure how much it may impact on overall quality of hair.
    Theoretically I can check direct line of sight to the point lights using a raycast and disable translucency if needed. Not too clean solution but at least it may solve this issue.

    Anyway, I should say that male hair is amazing!

    But I noticed there is not too much example scenes. Can you add example scene with the female long hair like in web demo above?
    Also I saw very nice web demo with the horse. It is also would be nice to see in the package.
     
    Last edited: Dec 16, 2017
  4. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    The problem here is that transparency doesn't receive shadows in unity, I did a trick for that, you can enable it by setting the 'Transparency shadows' to 1 when you have an extreme lighting like that :D

    [​IMG]
    I know that I should create a demo with some female haircuts :p
    I've just too much work for doing all I want to do... :confused:
     
    OfficialHermie and Artaani like this.
  5. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    267
    Nice. Thanks.

    About long hair. I can't figure out how to correctly design a hair.
    Seems like I need to bend each spline manually? There is no useful brush tools as for short hair?

    For example, how much splines in this demo?
    http://www.kalagaan.com/HairDesigner/Demos/DemoLongHair/
    And approximately how much time it took you to setup all of these splines?

    Video tutorial about long hair would be really useful.
     
  6. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    you can set up one spline then duplicate it (alt+shift) and move it (alt).
    All the shortcuts are displayed in the tool.
    I'll improve the tool with some layers, for hiding some part of the hair cut.
    The mirror tool will have an option for selecting the layers to duplicate.

    I've done this for the demo in 15/20 min, but the result could be better with more time.
    There's 25 splines for this character.
     
    Last edited: Dec 16, 2017
  7. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    267
    Glad you are going to improve it. But currently I should say that tool is extremely hard to use if I need to create a long hair.
    However it is still very nice for short hire, but I expected to create some long hair with that.

    Main problems:
    1. It is very hard to move nodes of splines in desired position.
    2. In edit mode, Unity editor have low FPS. 30 FPS if one spline is displayed and 15 FPS if several splines displayed.

    2017-12-16 18_48_56-.png

    3. Need mirror tool. It is very hard to place splines even on the one side of the head. Necessary to repeat everything on the other side is not good.
    4. Need a brush tools like for short hair in order to quickly edit several splines at once.
    5. If I want to add a new spline I can click on the head and it will be added right on the head. But once I moved it, it will be located off the head surface. It would be nice to have a possibility to move the base node but snap it to the head surface.
    6. Need a possibility to quickly select the new spline and deselect the current one.

    Overall, workflow with the spline is quite confusing. It would be much better it nodes of splines will be represented by standard Unity game objects (small cube or sphere), So we can move it using standard Unity gizmos and selection.
    Look like some spline editors made on the Asset Store.
     
    OfficialHermie likes this.
  8. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    Thank you for the feedback,
    you're right, the long hair editor require an update.
    I'll try to include all of these features asap. ;)
     
    Artaani likes this.
  9. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    267
    Hello.
    Is there a way to create a hair spline using a code? Some kind of API?
    I got an idea to try to use it in order to create hair using algorithms + implement own mirror tool.
     
  10. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    You can access to the layer (there's a sample in the doc),
    and cast it into the HairDesignerGeneratorLongHairBase class.
    Then you can access to the Hairgroups data (HairDesignerGeneratorLongHairBase.m_groups)
    the HairGroup class contains all the settings of the splines.

    For the next version, I've created a layer system, so you can hide some part of the haircut, and the edition is much easier.
    It works with short hair & long hair.
    I've also added a 'snap to surface' checkbox ;)
    I'm working on the mirror tool now, it will work with the layer system, so you'll be able to apply the mirror only on the haircut parts that you need.
     
    Artaani likes this.
  11. Deschanna

    Deschanna

    Joined:
    Jul 4, 2016
    Posts:
    6
    Hi! What is status for Unity Wind Zone usage? I am a potential buyer, and I read in the reviews you responded to, and searched this thread that there is a react-to-Wind Zone component in the works, but last I found mention of it is like near half a year ago... Is that something upcoming? Thanks!
     
  12. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    the windzone integration is still work in progress, the wind algorithm is not documented in unity, and I want to have the same kind of reaction than the particle system (frequency, turbulence...). I've delayed the feature, but this is important for HairDesigner. Maybe i could add a temporary algorithm and update it later with a more accurate version. I'll think about it.
     
    Last edited: Dec 30, 2017
  13. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    I'll include the windzone (directionnal) in the next version.
    Here some samples :

    [​IMG]

    [​IMG]

    [​IMG]
     
  14. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    It works with fur :D

    [​IMG]
     
  15. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    I've improved the long hair motion, now the bone motion is compatible with wind zones. :D

    [​IMG]
     
  16. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    2,587
    wait the fur is shell base? are you close to emulate neofur solution?
     
  17. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    Yes, the fur is shell based :)
    I do my best for creating a nice fur solution, I don't know if neo Fur is better or not :p.
    With HairDesigner you can create the fur within unity without external tools, the workflow is very clean.

    I'm finalizing the version 1.5.4 with the wind, it's really fun to play with it ;)
     
    Last edited: Jan 4, 2018
    OfficialHermie likes this.
  18. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    I've finished the wind integration, now with turbulence. :p

    [​IMG]
     
  19. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    The version 1.5.4 with the wind zone integration has been submitted to the asset store,
    it should be available next week ;)
    Here a demo
     
    twda and trilobyteme like this.
  20. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    2,587
    I have made some conceptual breakthrough with complex curly hair shape, I need to make a prototype for it, I hope I can share it once it's done, but it's beyond other unrelated 30 todo tasks :( lol
     
    twda likes this.
  21. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    2,587
    Neofur is a discontinued asset store that got popular really quick, speculation is that they has been brought by a bigger company. It was a shell base system with reactive fur and in unity (and unreal) edition.

    Maybe it can be of some inspiration to look at what they did!





    https://www.youtube.com/user/neoglyphic/videos
     
    kalagaan likes this.
  22. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    6,533
    wow, that is super impressive :)
     
    kalagaan likes this.
  23. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    The version 1.5.4 includes :

    - an edition layer system, now you can work on different part of the haircut without modifing the other edition layers. The layer can be hidden, so the editor is faster and the sceneview more clear. Hidden layers are not exported to the final mesh.
    [​IMG]

    - a mirror modifier for the long hair curves. That works with the edition layers.
    The modifier can be applied for generating editable curves.
    [​IMG]

    - a handle for rotating the start and the end of the curve (instead of doing it in the UI)
    [​IMG]

    - now the shape modifier work with multiple curve selected.
    - I've updated the curve selection, now it's easier to pick the good strand. :)
    [​IMG]
     
    r3ndesigner likes this.
  24. OfficialHermie

    OfficialHermie

    Joined:
    Oct 12, 2012
    Posts:
    339
    Sorry if this is a bit off-topic, but I just wanted to say again how great Kalagaan is. There are not many asset developers who work so hard to give us wonderful tools. Thank you!
     
  25. OfficialHermie

    OfficialHermie

    Joined:
    Oct 12, 2012
    Posts:
    339
    @kalagaan May I ask for a suggestion?
    Sheep.jpg cow.jpg
    How would you personally do the fur? Would you try to get away with faking the fur with the Standard Shader and some transparency, or would you engage the Hair and Fur Tool?
     
  26. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    Thank you so much :)

    You can use the standard shader, and use a HairDesigner fur with LOD.
    So the fur will appear only when the camera is near the animal.

    I'm updating the fur layer for version 1.5 :
    - new tool : per vertex height ( improve the shell distribution )
    - Better wind reaction (better mix between gravity/wind/motion)
     
    OfficialHermie likes this.
  27. OfficialHermie

    OfficialHermie

    Joined:
    Oct 12, 2012
    Posts:
    339
    Thank you for the suggestion! There aren't any fur examples in Hair & Fur Designer yet, are there?
    If not, do you think you could add sheep wool, fox or dog hair and cow hair? That would be great to learn from, I think.
     
  28. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    Have a look to the FurDemo2 :p
    Here the tutorial

    There's some texture samples in the package, if you have a realistic animal, it will be easy to create the fur based on the main texture color. You'll only have to find the good density texture and paint the mask on the model :)
     
    OfficialHermie likes this.
  29. ORKA43

    ORKA43

    Joined:
    Jul 7, 2015
    Posts:
    15
    it took me many reads of the newfur mesage but ones which bought got special email, you to i think, but its somwhere says the new plan includes sourcecode, but expected 3 months like site sugest, but its looks dinscontinued now. but stil have hopes. just wish they whould tel us more, but i like kalgaan more, the asset is pricey compares with other assets, but think kalagaan should incude when buy you dont actualy but the version now , but long long updates. i just bought becuase what i saw on store page, but turns out kalagaan is one of the les then 1% publisers who dedicated to his asset, the asset it is when you buy is the shadow of what it is a year later, but gues its hard to sel promise of log updates becuase i lost fait in publisers who do, kalagaan is my faforite. and he should get ours hearts:) kind regards
    Daniel
     
    punk and kalagaan like this.
  30. pauldrummond

    pauldrummond

    Joined:
    Oct 30, 2014
    Posts:
    29
    There's a problem with the hair brushes if you have a high DPI (retina) display. As you move from the top left origin of the display there's an increasing discrepancy between the hair brush position and the actual cursor:

    [​IMG]

    A workaround is to launch Unity in low-res mode while working on hair, but it is a bit awkward. A fix would be much appreciated.
     
  31. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    530
    I'll try to fix it in the next update.
    I don't have a retina display, could you send me an email (contact@kalagaan.com) with your invoice number, and I'll send you a fix for testing.
     
  32. pauldrummond

    pauldrummond

    Joined:
    Oct 30, 2014
    Posts:
    29
    Thank you. I've sent an email with my order number.
     
  33. pauldrummond

    pauldrummond

    Joined:
    Oct 30, 2014
    Posts:
    29
    Thanks for the bug fix. All seems good so far.