Vertex Mass on cloth simulations no longer animatable. #88932

Closed
opened 2021-06-07 20:52:48 +02:00 by Daniel Martynów · 15 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.27

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Worked: (2.92 back to 2.80 or longer)

Short description of error
Starting from 2.93 Vertex Mass value on cloth simulations is no longer possible to keyframe nor is it possible to add drivers to. This possibly breaks simulation addons and other simulation workflows that control that setting outside of the physics panel.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.27 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Worked: (2.92 back to 2.80 or longer) **Short description of error** Starting from 2.93 Vertex Mass value on cloth simulations is no longer possible to keyframe nor is it possible to add drivers to. This possibly breaks simulation addons and other simulation workflows that control that setting outside of the physics panel.

Added subscriber: @DanteBoi

Added subscriber: @DanteBoi
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

This function appears to have been removed with this commit: 4707c86179
Do you have an example blend showing how this worked in 2.92 and earlier?

This function appears to have been removed with this commit: 4707c86179 Do you have an example blend showing how this worked in 2.92 and earlier?

Vertex Mass Driver 2.92.blend This should show it well. I use this type of drivers to control simulation settings on my rigged characters, it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

[Vertex Mass Driver 2.92.blend](https://archive.blender.org/developer/F10162371/Vertex_Mass_Driver_2.92.blend) This should show it well. I use this type of drivers to control simulation settings on my rigged characters, it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Added subscribers: @ZedDB, @lichtwerk

Added subscribers: @ZedDB, @lichtwerk
Member

it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

While the setting won't always update in real time, it will refresh to the driver's
value once the timeline is reset back to the start with shift+left arrow

Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want.
@ZedDB @lichtwerk can you chime in with your thoughts on this?

> it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway. > While the setting won't always update in real time, it will refresh to the driver's > value once the timeline is reset back to the start with shift+left arrow Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want. @ZedDB @lichtwerk can you chime in with your thoughts on this?

In #88932#1173429, @EAW wrote:

it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

While the setting won't always update in real time, it will refresh to the driver's
value once the timeline is reset back to the start with shift+left arrow

Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want.
@ZedDB @lichtwerk can you chime in with your thoughts on this?

The ideal thing is to have them update real time for better feedback but right now it works just fine with me having to restart the timeline to see the effects. I'm pretty sure Vertex Mass does refresh in real time, but there are other settings that don't quite work in real time, few months ago i did submit another report where drivers don't refresh the simulation instantly. #80828

> In #88932#1173429, @EAW wrote: >> it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway. > >> While the setting won't always update in real time, it will refresh to the driver's >> value once the timeline is reset back to the start with shift+left arrow > > Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want. > @ZedDB @lichtwerk can you chime in with your thoughts on this? The ideal thing is to have them update real time for better feedback but right now it works just fine with me having to restart the timeline to see the effects. I'm pretty sure Vertex Mass does refresh in real time, but there are other settings that don't quite work in real time, few months ago i did submit another report where drivers don't refresh the simulation instantly. [#80828](https://developer.blender.org/T80828)
Member

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Member

In #88932#1173429, @EAW wrote:

it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

While the setting won't always update in real time, it will refresh to the driver's
value once the timeline is reset back to the start with shift+left arrow

Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want.
@ZedDB @lichtwerk can you chime in with your thoughts on this?

Hm, this might seem like a valid usecase.
However the downside of having something appear as animatable (where in reality it is not) outweights the pros in my opinion.
If this is just meant to update a collection of objects to the same value, I think there are other ways to achieve this [while possible not as convenient, true]

I would be interested to hear another opinion on this: @dr.sybren: what do you think?

Oh, and btw. : we might dare supporting the real thing (having masses be really animatable while the simulation is running), see D11640: Fix #88188: Allow keyframing vertex mass in cloth sim

> In #88932#1173429, @EAW wrote: >> it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway. > >> While the setting won't always update in real time, it will refresh to the driver's >> value once the timeline is reset back to the start with shift+left arrow > > Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want. > @ZedDB @lichtwerk can you chime in with your thoughts on this? Hm, this might seem like a valid usecase. However the downside of having something appear as animatable (where in reality it is not) outweights the pros in my opinion. If this is just meant to update a collection of objects to the same value, I think there are other ways to achieve this [while possible not as convenient, true] I would be interested to hear another opinion on this: @dr.sybren: what do you think? Oh, and btw. : we might dare supporting the real thing (having masses be really animatable while the simulation is running), see [D11640: Fix #88188: Allow keyframing vertex mass in cloth sim](https://archive.blender.org/developer/D11640)

I feel that the title "Vertex Mass on cloth simulations no longer animatable" is misleading, as it was never really animatable to begin with. The fact that the animation system could be used to work around some other issue is nice, but not something we (IMO) should be actively supporting/promoting.

D11640: Fix #88188: Allow keyframing vertex mass in cloth sim seems like a simple enough solution. I don't know that much about the code in that area to give concrete feedback on the approach used. If that patch is acceptable, I'd much prefer that over other workarounds.

I feel that the title "Vertex Mass on cloth simulations no longer animatable" is misleading, as it was never really animatable to begin with. The fact that the animation system could be used to work around some other issue is nice, but not something we (IMO) should be actively supporting/promoting. [D11640: Fix #88188: Allow keyframing vertex mass in cloth sim](https://archive.blender.org/developer/D11640) seems like a simple enough solution. I don't know that much about the code in that area to give concrete feedback on the approach used. If that patch is acceptable, I'd much prefer that over other workarounds.
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

If this usecase is not meant do be tackled with the animation/driver system, I think we should close this (even independently from D11640 being landed).

@DanteBoi : feel free to drop by https://blender.chat/ to discuss a suitable workaround for this usecase (outside the driver/animation system).

If this usecase is not meant do be tackled with the animation/driver system, I think we should close this (even independently from [D11640](https://archive.blender.org/developer/D11640) being landed). @DanteBoi : feel free to drop by https://blender.chat/ to discuss a suitable workaround for this usecase (outside the driver/animation system).

This issue was referenced by 59f9a5e6ac

This issue was referenced by 59f9a5e6ac6f5bff914204ef299cba27bb5016eb
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
5 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#88932
No description provided.