[Mantaflow] low domain transformation performance #76687

Closed
opened 2020-05-12 16:46:12 +02:00 by Pavel Blend · 12 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: AMD Radeon HD 7560D ATI Technologies Inc. 4.5.13399 Core Profile Context 15.201.1151.1008

Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-11 19:18, hash: 8956e9e5f6
Worked: (newest version of Blender that worked as expected)

Short description of error
If you move, rotate or scale the domain, then the performance of the blender decreases.

Exact steps for others to reproduce the error
Playable in any scene:
mantaflow_domain_transforms.mp4

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: AMD Radeon HD 7560D ATI Technologies Inc. 4.5.13399 Core Profile Context 15.201.1151.1008 **Blender Version** Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-11 19:18, hash: `8956e9e5f6` Worked: (newest version of Blender that worked as expected) **Short description of error** If you move, rotate or scale the domain, then the performance of the blender decreases. **Exact steps for others to reproduce the error** Playable in any scene: [mantaflow_domain_transforms.mp4](https://archive.blender.org/developer/F8530889/mantaflow_domain_transforms.mp4)
Author

Added subscriber: @Pavel_Blend

Added subscriber: @Pavel_Blend

#77566 was marked as duplicate of this issue

#77566 was marked as duplicate of this issue
Member

Added subscriber: @sebbas

Added subscriber: @sebbas

Added subscriber: @mano-wii

Added subscriber: @mano-wii

This must be happening because by default the cache type is now Replay. And this cache tries to recalculate the simulation with each change.
@Pavel_Blend, can you test changing the cache to Modular or skipping a few frames ahead (frame 10 for example)?

@sebbas, we could update the simulation only if G.moving == 0.
I'm not sure if this is really a bug.

This must be happening because by default the cache type is now Replay. And this cache tries to recalculate the simulation with each change. @Pavel_Blend, can you test changing the cache to Modular or skipping a few frames ahead (frame 10 for example)? @sebbas, we could update the simulation only if `G.moving == 0`. I'm not sure if this is really a bug.
Author

@mano-wii yes, switching cache mode to modular helped me.

@mano-wii yes, switching cache mode to modular helped me.

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I will confirm it as a bug for now as heavy operations like these should not be performed while we are editing the objects in a scene.

I will confirm it as a bug for now as heavy operations like these should not be performed while we are editing the objects in a scene.

Added subscribers: @Wyk, @ankitm

Added subscribers: @Wyk, @ankitm

This issue was referenced by 952279a366

This issue was referenced by 952279a366783bf471c900e368ee2fc3055cb64b

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sebastián Barschkis self-assigned this 2020-07-13 16:16:13 +02:00

@mano-wii Yes, the check for that flag seemed like a good idea to me too!

@mano-wii Yes, the check for that flag seemed like a good idea to me too!
Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#76687
No description provided.