how to create memory foam effect with vellum solver?

   2359   4   0
User Avatar
Member
10 posts
Joined: May 2018
Offline
hey guys I'm trying to do a person stepping on a sponge and I believe vellum is the best way to do this but im not 100% sure if im correct or even how to do it. any help is much appreciated

thanks
User Avatar
Member
2534 posts
Joined: June 2008
Offline
Basically you would create geometry in two states. One is deformed and the other is not. Once you have that, you can use a BlendShapes node to cross-fade between them. Add a little bounce using keyframes or CHOPs on the cross-fade control.

To make the deformed state, you could try the the technique in this video. (not vellum).
https://vimeo.com/40157341 [vimeo.com]
Edited by Enivob - Feb. 5, 2020 09:27:41
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
10 posts
Joined: May 2018
Offline
Hey thanks for the response Enivob. that method does work but it wont really make the object dynamic. Im thinking of when you step on one side of the sponge the other side would kind of expand outwards.
User Avatar
Member
1737 posts
Joined: May 2006
Online
Here's a simple vellum setup. The cloth constraints make the mattress surface act like cloth, obvriously, the struts give it internal strength and a bit of fake pressure, so pushing down on one end will make it bulge elsewhere.

To get the memory foam effect I used ‘damping ratio’ on the bend and stretch sections of the cloth constraints. Higher numbers will make it restore to the original state even more slowly.

Attachments:
memoryfoam.gif (903.2 KB)
vellum_memory_foam.hipnc (669.0 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
2534 posts
Joined: June 2008
Offline
Nice one. You can even copy lines to the resulting surface points for a quick grass-like interaction, without further simulation.

Attachments:
vellum_memory_foam.gif (1.2 MB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
  • Quick Links