Author Topic: Hair&Fur can't get color of hair from the base object  (Read 573 times)

2019-12-07, 10:07:12

Bormax

  • Active Users
  • **
  • Posts: 381
    • View Profile
Hi
I'm trying to render a cat. I have textured base geometry and I'd like to use Hair&Fur modifier to cover it with hair. But if I apply H&F modifier hair take colors from the Material Parameters rollout of the H&M mod. I'd like to use Corona Hair material, but I can't make it to work. I use Max 2014 and there is slot called Apply mr Shader in mr Parameters rollout, tried to copy material there, but it didn't get UVWs from the base object and renders hair with some plane color.
It's possible to map Tip and Root color in H&F's material rollout, but parsing time for the amount of hair which looks good is terribly long - 19 minutes, if I convert hair to geometry parsing takes only 11 seconds, but I still have problem with mapping - all hair has plane color.
Unfortunately I didn't find any tutorial for tis case in internet. In all of the ones I found guys just apply some textured material to the base mesh and get hair rendered with the colors taken from that mesh. I don't know why it doesn't work in my case, but it didn't work with any objects and H&M mod. applied to them

2019-12-07, 10:21:06
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 6167
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You're not doing anything wrong. UV coordinates are not transfered from base object to hairs, when Corona hair material is used through mr shader. This is Autodesk's bug and Corona can't solve it. Your options is to disable mr shader and add texture to the tip and root colour slots or use third party hair solution, like Ornatrix.
I'm not Corona Team member. Everything i say, is my personal opinion only.

2019-12-07, 10:35:25
Reply #2

Bormax

  • Active Users
  • **
  • Posts: 381
    • View Profile
You're not doing anything wrong. UV coordinates are not transfered from base object to hairs, when Corona hair material is used through mr shader. This is Autodesk's bug and Corona can't solve it. Your options is to disable mr shader and add texture to the tip and root colour slots or use third party hair solution, like Ornatrix.

Thanks romullus. But what about converted to mesh hair geometry? 19 mins of parsing is really much... Is there any solution for that?

2019-12-07, 10:55:49
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 6167
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Never tried that. My guess that it should transfer UV coordinates, but if it doesn't, then it's purely Autodesk's fault.

Strange thing, i never noticed that adding texture to the tips and roots colour, would add to the scenes parsing time. Need to test it.
I'm not Corona Team member. Everything i say, is my personal opinion only.

2019-12-07, 17:02:48
Reply #4

Bormax

  • Active Users
  • **
  • Posts: 381
    • View Profile
These are some of tutorials I found.
In both of them guys just assigned material to the base plane and got hair colored by the material's defuse texture.
If I do the same I always get attached result.

2019-12-07, 17:30:31
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 6167
  • Let's move this topic, shall we?
    • View Profile
    • My Models
This is old Corona, back then there were no such thing as Corona hair, and H&F was rendered as geometry. Now we have hair material, which looks much better, but unfortunately it can't get UVs from H&F :[
I'm not Corona Team member. Everything i say, is my personal opinion only.

2019-12-08, 12:32:36
Reply #6

Bormax

  • Active Users
  • **
  • Posts: 381
    • View Profile