H16 FEM wrinkles workflow help
15908 9 6- sabudimir
- Member
- 12 posts
- Joined: Nov. 2012
- Offline
Hi all,
did anyone figure out or have any tips on getting those nice wrinkles with FEM? Sadly there is no example file and the documentation doesn't say much about it. I suspect new “hybrid object” and “hybrid configure object” has something to do with it, but I'm not sure how to set it up. I guess simulation is supposed to generate some kind of attribute similar to tension map that can be used to add wrinkles post sim.
Any tips or pointers in the right direction would be much appreciated, thanks.
Cheers,
Sasa
P.S. Congrats to SESI on yet another amazing release!
did anyone figure out or have any tips on getting those nice wrinkles with FEM? Sadly there is no example file and the documentation doesn't say much about it. I suspect new “hybrid object” and “hybrid configure object” has something to do with it, but I'm not sure how to set it up. I guess simulation is supposed to generate some kind of attribute similar to tension map that can be used to add wrinkles post sim.
Any tips or pointers in the right direction would be much appreciated, thanks.
Cheers,
Sasa
P.S. Congrats to SESI on yet another amazing release!
Freelance 3D artist, animator, coffee & sandwich enthusiast.
- Octop
- Member
- 13 posts
- Joined: Oct. 2013
- Offline
- sabudimir
- Member
- 12 posts
- Joined: Nov. 2012
- Offline
Yes, got that so far, regular tets and surface triangles for the outer shell layer, but beyond that there is no info and it isn't that straightforward (to me at least). I guess we'll have to wait for the updated docs or maybe some of the developers can chime in with some pointers or simple example. Wink-wink, nudge-nudge…
Freelance 3D artist, animator, coffee & sandwich enthusiast.
- michiel
- Staff
- 433 posts
- Joined: June 2007
- Offline
Here's a two-stage workflow for wrinkling.
This should be a fairly re-useable setup.
I put yellow notes inside the file to explain the details.
The first stage is a quick sim that creates the overall animation without wrinkles.
This stage doesn't necessarily have to be a sim; it can also be an animation created in Houdini.
The important thing is that the animation that results from the first stage consists both tets and surface triangles.
The wrinkling is added in separately in the second stage. For wrinkling, a fairly detailed surface mesh is needed, and the tet mesh underneath must coarsen gradually as the tets approach the inside.
This version is quite hi-res: 1.1 million tets and 350 thousand surface polygons.
On loading the file, it will take a bit before everything is tetrahedralized and covered with triangles.
The embedded sim in the first stage should solve in at most a few seconds a frame.
The direct sim of skin and tissue in the second stage should take several tens of seconds per frame.
This should be a fairly re-useable setup.
I put yellow notes inside the file to explain the details.
The first stage is a quick sim that creates the overall animation without wrinkles.
This stage doesn't necessarily have to be a sim; it can also be an animation created in Houdini.
The important thing is that the animation that results from the first stage consists both tets and surface triangles.
The wrinkling is added in separately in the second stage. For wrinkling, a fairly detailed surface mesh is needed, and the tet mesh underneath must coarsen gradually as the tets approach the inside.
This version is quite hi-res: 1.1 million tets and 350 thousand surface polygons.
On loading the file, it will take a bit before everything is tetrahedralized and covered with triangles.
The embedded sim in the first stage should solve in at most a few seconds a frame.
The direct sim of skin and tissue in the second stage should take several tens of seconds per frame.
- sabudimir
- Member
- 12 posts
- Joined: Nov. 2012
- Offline
- david_maas
- Member
- 59 posts
- Joined: Feb. 2008
- Offline
- michiel
- Staff
- 433 posts
- Joined: June 2007
- Offline
david_maas
Would it be possible to drive a height map (for render-time displacement) instead of having to have such dense geometry in sim? Could you show how this might work? Or is that more of a tension map thing?
The wrinkling sim needs to work directly with a mesh that consists of both tets and polygons. However, it should be possible to create texture-based representations of the wrinkle displacements afterwards, against a low-res animation of the mesh. The Bake Texture render node may be useful for this purpose.
- goldleaf
- Staff
- 4199 posts
- Joined: Sept. 2007
- Offline
Here's a really simple setup I made based on Michiel's example, of an animated tube getting wrinkled via FEM. I didn't need 64-bit precision, and I didn't need a crazy dense mesh for these thicker wrinkles, so that helped with iteration speed. Fun stuff, thanks michiel!
Thanks for starting this thread sabudimir!
Thanks for starting this thread sabudimir!
I'm o.d.d.
- sabudimir
- Member
- 12 posts
- Joined: Nov. 2012
- Offline
- Michael Stark
- Member
- 1 posts
- Joined: March 2014
- Offline
-
- Quick Links