bake hair simulation
Posted: 08 August 2017 04:49 AM   [ Ignore ]  
Total Posts:  9
Joined  2013-10-16

Hello, I have scene with a hair object using the generate flat geometry to make dynamic ribbons.
I am wanting to bake the simulation of the “flat geometry” that is generated by the hair system, is that possible?

screenshot attached

link to scene file below
https://www.dropbox.com/s/8bp1rudqz4hyvqe/hair_ribbons_test_02.zip?dl=0

Image Attachments
hair_generate_flat_02.jpg
Profile
 
 
Posted: 08 August 2017 09:06 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
Total Posts:  4428
Joined  2011-03-03

Hi picturedrift,

The file doesn’t contain the “sc09_cham_s03_v03.abc” or “f:f_geo”

I do not have an option to see what your plug-in Red Shift does.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 08 August 2017 03:51 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  9
Joined  2013-10-16

Hi, apologies with my previous post file.

I have attached a simpler version of the file and deleted the redshift shaders.
- wanting to know if it is possible to bake the hair geometry simulation.

also, on another note, i have noticed that the hair geometry intersects with the torus, I have a hair collider tag on the torus and collisions turned on in my hair, is there a way to get the geometry to avoid intersecting (more like the cloth system works) or is this a limitation of hair generated geometry?

thanks

Image Attachments
hair_generate_flat_torus_intersect.jpg
File Attachments
hair_ribbons_torus.zip  (File Size: 117KB - Downloads: 4)
Profile
 
 
Posted: 08 August 2017 04:43 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
Total Posts:  4428
Joined  2011-03-03

Thanks for the file, picturedrift.

Please no worries, I get often files without the assets, that happens often.

My suggestion, Cache the Object, use a Connection Object above the Hair, [as parent]. Then export as Alembic [abc]. For the Connect Object, perhaps uncheck the Weld option.

For a better collision performance, Hair> Attribute Manager> Dynamics> Advanced. Perhaps start with Steps 20 and Iteration 20. Not to forget the Hair> Dynamics> Properties, Radius;
Have an eye as well on the Collider Radius, perhaps add an extra Torus [to hide the effect of the radius, slightly different in size, to really catch all, just an idea. The problem is certain given that the Spline/guid is calculated, but the shape is different.

Since this is an example file, the values for your scene might vary.

Please note that your setting with the Hair>Guides Segments amount should work fine. It is all about the vertices that the segments create, not so much the spline that evaluated. If you had a long guide with only a few segments, chances are that it will collide are pretty large.

Here are some files:
https://www.amazon.com/clouddrive/share/X3QVBFHHHAB8d6GCR4QFjGLmdqtdchHQYFS1yDdyRoE

The two EXha_01/_02 are examples with and without the Connector. The HAex_ files are the files that hopefully come closer to your needs.

My best wishes

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.

Photography For C4D Artists: 200 Free Tutorials: Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile