rB0666ece2e2f9 (Cloth: collision improvements) breaks particle collisions with moving meshes #71620
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#71620
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-4.15.0-70-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.26
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash:
0666ece2e2
Worked: 2.79
Short description of error
Particles created inside a moving collision object can "leak out" until the object comes to rest.
This may be related to #68128, but I wasn't able to get the .blend files there to work properly with the Blender versions near the guilty commit (see below).
The guilty commit is
0666ece2
. The particles stay inside the sphere before this commit and leak out after.Exact steps for others to reproduce the error
Open:
T71620_test.blend
In blender 2.79 none of the particles fail.
Added subscriber: @buhr
T71620_test.blend
The specific part of the commit that seems to cause the problem is this bit:
If this change is backed out (or altered to preserve the original semantics), particle collisions stop leaking. The trouble is, I can't tell what the motivation was for making this change in the first place.
Added subscriber: @lichtwerk
note there was also a problem regarding hair collisions that was caused by culprit commit
0666ece2
[this was hopefully fixed ine52ad1835a
, might give a hint on this issue as well...]Seems like this will do [but atm. I am on the same page as @buhr -- in that it is unclear why that change was made for cloth]
P1165: T71620_snippet
(basically it looks like [for cloth?], the points are not considered moving anymore -- thus their KDTree node is not expanded anymore... needs some further investigation...)
(personally I would consider this a High priority, but the particle system is EOL... so will leave up to others...)
Added subscribers: @LucaRood-3, @brecht
Been reading code a bit, I think this might boil down to this statement from D3712: Cloth: improved collisions:
This might be true for cloth, it seems it is not for particles (havent checked hair here, but this might be the reason for some reports on hair...)
CC @LucaRood-3
CC @brecht`
D3712 (Cloth: collision improvements) breaks particle collisions with moving meshesto rB0666ece2e2f9 (Cloth: collision improvements) breaks particle collisions with moving meshesAdded subscriber: @mano-wii
@LucaRood-3 : @mano-wii suggested to isolate the change of P1165 to only affect particles, doublecheck and maybe commit. Opinions?
Sorry for the late reaction. I somehow completely missed this task before.
Indeed I seem to have overlooked particle collisions when implementing that optimisation.
I now submitted D6560 which is basically what @lichtwerk and @mano-wii proposed, but with the added update of
current_xnew
andcurrent_x
.Btw, for future reference, this issue was caused specifically by fe9debc47b, which is one of the commits that eventually got squashed into
0666ece2
.This issue was referenced by
0ef881cc57
Changed status from 'Confirmed' to: 'Resolved'