Blender cloth simulator air pressure enhancement #30941

Closed
opened 2012-04-13 17:52:05 +02:00 by jz p · 26 comments

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.%%%

**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.%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%Hello,

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

Will check after 2.64. Thanks!%%%

%%%Hello, great patch. Stil wondering when Cloth will subsistute Softbodies ;) Will check after 2.64. Thanks!%%%
Author

%%%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)%%%

%%%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)%%%

Added subscriber: @bireos

Added subscriber: @bireos

Added subscriber: @SteffenD

Added subscriber: @SteffenD
Member

Added subscriber: @Mets

Added subscriber: @Mets

Added subscriber: @ZedDB

Added subscriber: @ZedDB

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.
vol.patch

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

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. [vol.patch](https://archive.blender.org/developer/F7654766/vol.patch) 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!
vol_new.patch

recording.mp4

Fixed the symmetrical problems. Now it seems to work with the non uniform suzanne mesh! [vol_new.patch](https://archive.blender.org/developer/F7654989/vol_new.patch) [recording.mp4](https://archive.blender.org/developer/F7654992/recording.mp4)
Author

In #30941#748885, @ZedDB wrote:
Fixed the symmetrical problems. Now it seems to work with the non uniform suzanne mesh!
vol_new.patch

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.

> In #30941#748885, @ZedDB wrote: > Fixed the symmetrical problems. Now it seems to work with the non uniform suzanne mesh! > [vol_new.patch](https://archive.blender.org/developer/F7654989/vol_new.patch) 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.

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.
Member

Added subscriber: @ishbosamiya

Added subscriber: @ishbosamiya
Member

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.

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

I've uploaded my current take on this here: [D5473](https://archive.blender.org/developer/D5473)

Added subscriber: @EvertonSchneider

Added subscriber: @EvertonSchneider

Added subscriber: @lemenicier_julien

Added subscriber: @lemenicier_julien

Added subscriber: @ralf_mr

Added subscriber: @ralf_mr

I find the pressure simulation very useful. I would highly appreciate an integration in version 2.81 of blender. Thank you all for the wonderful work.

I find the pressure simulation very useful. I would highly appreciate an integration in version 2.81 of blender. Thank you all for the wonderful work.

Added subscriber: @FinbarrORiordan

Added subscriber: @FinbarrORiordan

Will this very useful enhancement be part of the 2.81 release?

Will this very useful enhancement be part of the 2.81 release?

Sadly not. I just missed the merge window for 2.81. I'll try to get it into 2.82

Sadly not. I just missed the merge window for 2.81. I'll try to get it into 2.82

This would be really great. Thank you very much.

This would be really great. Thank you very much.

This issue was referenced by f6cefbef22

This issue was referenced by f6cefbef22c8c6583b4927c179dabac3eb57aa22

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

? This is now merged!

? This is now merged!

Thank you for the merge! This is great.

Thank you for the merge! This is great.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
12 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#30941
No description provided.