Simulating Hair on animated alembic geometry

   9541   9   5
User Avatar
Member
31 posts
Joined: 2月 2017
Offline
I'm having trouble simulating hair on animated alembic geometry.

I import the alembic file and add hair which works fine. However when trying to simulate it, the hair jumps all over the entire body.

I believe this is because I have the hair guides set to Scatter on Surface which means they are slightly changing positions every frame which breaks the sim.

If I set the guides to Guide Per Point everything works well, except I can't control the distribution of the hair with skin attributes.

Does anyone have an idea on how to use a hair sim with animated alembic geometry?

Thanks
User Avatar
Member
459 posts
Joined: 10月 2011
Offline
Hi
Hard to tell without a scene file example.
Hair on animated geo needs both a static version of your geo as well as the animated one.
Is this how you have set up your hairdo?
Sidefx just released this master class on hair by the way, where this technique is discussed:


-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
31 posts
Joined: 2月 2017
Offline
Yeah, I've got hair appearing on the geo. It's just the sim that seems to be failing.

But I hadn't seen that masterclass yet, so thanks for the link. I'll reply again to this thread if I'm still having problems after the video.
User Avatar
Member
31 posts
Joined: 2月 2017
Offline
I've figured my problem out here, so I'll just leave this for future reference.

Importing an animated alembic file and applying hair to it seems to fail at simulation.

I've had to import an exported obj of the first frame of animation as my static mesh.

Then I imported the alembic as the animated geometry.

Applying the hair to the static mesh works, and the simulation will use the animated mesh.
User Avatar
Member
31 posts
Joined: 2月 2017
Offline
After some more experimentation with this, I've realized that the simulation as well as the the guide deform or not working properly. Hair is either not sticking accurately to the mesh, or at each frame the hair is getting redistributed around the mesh in slightly different places.

This leads me to think that I've missed something fundamental about either importing an alembic cache or applying hair to an imported alembic cache.

Does anyone have any pointers or know of any tutorials about adding hair to an alembic cache?

Thanks
User Avatar
Member
73 posts
Joined: 12月 2013
Offline
Did you were able to figure it out? I having kind of the same problem.

I'm importing the abc file, creating the hair, but when I groom it, the hair gets floating in the first frame of the timeline .-.

Until a few days ago I got into hair in H, and I'm struggling with this

Any idea would be helpfull!
CG Generalist / FX Artist
http://www.jleandrovfx.com [www.jleandrovfx.com]
Jason Leandro.
User Avatar
Member
1 posts
Joined: 9月 2020
Offline
JasonLeandro
Did you were able to figure it out? I having kind of the same problem.

I'm importing the abc file, creating the hair, but when I groom it, the hair gets floating in the first frame of the timeline .-.

Until a few days ago I got into hair in H, and I'm struggling with this :/

Any idea would be helpfull!

Hello,
Quite late to quote but I was stuck at the similar point i.e. Driving hair by alembic. I transferred the attributes from the guide deform curves to the alembic curves and it worked well.
User Avatar
Member
2 posts
Joined: 6月 2021
Offline
pratikpaithankar
JasonLeandro
Did you were able to figure it out? I having kind of the same problem.

I'm importing the abc file, creating the hair, but when I groom it, the hair gets floating in the first frame of the timeline .-.

Until a few days ago I got into hair in H, and I'm struggling with this :/

Any idea would be helpfull!

Hello,
Quite late to quote but I was stuck at the similar point i.e. Driving hair by alembic. I transferred the attributes from the guide deform curves to the alembic curves and it worked well.


Hey, thanks for the suggestion. Could you please point me to the right direction here? Not sure how to transfer attributes from the guide deform node to the alembic one
User Avatar
Member
1 posts
Joined: 6月 2021
Offline
how you have set up your hairdo? forpc [forpc.onl] jfi.cam/jiofilocalhtml/ [jfi.cam]
Edited by saltbayfour - 2021年6月23日 01:57:51
User Avatar
Member
469 posts
Joined: 3月 2014
Offline
Did anyone solve this ? I'm trying to run a hair simulation on an animated Alembic file from Blender.

When I use an FBX the hair sim works fine, but as soon as I replace the animated SOP with the Alembic, the hair sim looks weird. As if the hairs are jittered.
  • Quick Links