Page MenuHome

Blender cloth simulator air pressure enhancement
Open, NormalPublic

Tokens
"Love" token, awarded by marcog."Love" token, awarded by eversimo."Love" token, awarded by TheAngerSpecialist."Love" token, awarded by Alrob."Love" token, awarded by ish_bosamiya.
Authored By
jz p (acme_pjz), Apr 13 2012

Description

Group: Unstable (example)

A simple air pressure feature to Blender cloth simulator, and spring length scaling factor, hope it will be useful for somebody.

The blenderartist post: http://blenderartists.org/forum/showthread.php?251816-Blender-cloth-simulator-air-pressure-enhancement you can find screenshots and videos here. (the patch in this link is a bit outdated)

The attachment is a patch against svn r45571.

Details

Type
Patch

Event Timeline

Hello,

great patch. Stil wondering when Cloth will subsistute Softbodies ;)

Will check after 2.64. Thanks!

Hi, I updated this patch to make it work with latest Blender. I also merged cloth sewing seams patch (#31269) to my patch, so I removed the spring length scaling factor (use negative value for cloth shrinking in #31269 instead)

I've updated the patch to 2.80. But it only seems to work well on symmetrical, uniform meshes. Otherwise it will start sliding and floating around.

I'm guessing we will have to be smarter in how we apply the pressure on the mesh.

Fixed the symmetrical problems. Now it seems to work with the non uniform suzanne mesh!

Fixed the symmetrical problems. Now it seems to work with the non uniform suzanne mesh!

Thanks for updating this patch to 2.80! I haven't touched the Blender code for years. Your demo video looks impressive.

I heard that in GSoC 2019 someone is implementing dynamic subdivision for Blender cloth simulation. I think later we should make this patch compatible with that.

This patch is very straightforward and doesn't add that much complexity. So I will try to get this merged into 2.81.

Thank you for writing this code in the first place. I'm just sad that I didn't know about it until now.

Adding air pressure will definitely be useful.

Based on the changes in the patch and some initial testing with the adaptive remeshing branch, it doesn't seem like anything extra will need to be done for it to work with adaptive remeshing.

I've uploaded my current take on this here: D5473