Surface Deform modifier always updates when selecting objects #90985

Open
opened 2021-08-27 10:40:59 +02:00 by Łukasz · 11 comments

System Information
Operating system: Windows 10
Graphics card: NVidia GTX1080

Blender Version
2.93.1, 2.93.3

Short description of error
Surface Deform modifier causes click lag even if object or/and the modifier is disabled in viewport. It doesn't affect camera panning or rotation.
While I'm at it, it also seems to keep unnecessary data in saved file. I wanted to provide an example file, but it turned out to be over 1 GB. I don't see why it keeps the deformed mesh in the file rather than recalculating it when we enable it or open the file.
It seemed to me to be the best way of making a chainmail, but I can't work with the lag.

Exact steps for others to reproduce the error

  1. Subdivide the default cube with 7-10 cuts (7 enough for my PC, if in the end it doesn't lag, try more divisions).
  2. Duplicate the cube.
  3. Add subdivision modifier (level=6) to 2nd Cube, then add Surface Deform, set the source to 1st Cube, bind.
  4. Disable both objects in viewport, you can even disable the modifiers.
  5. Add a new Cube to the scene. Try selecting and deselecting in in the viewport. There's a lag. Camera panning and rotation works fine. The only way to fix the lag is to apply or remove the Surface Deform modifier.
  6. Save the file. Our file is just 396 faces with modifiers applied. It's over 1GB in size.

Video: https://youtu.be/hEQnVVvPEGU

or

  • Open .blend file
  • Bind mesh to the target
  • Try to select the Cube.001 in viewport
    #90985.blend
**System Information** Operating system: Windows 10 Graphics card: NVidia GTX1080 **Blender Version** 2.93.1, 2.93.3 **Short description of error** Surface Deform modifier causes click lag even if object or/and the modifier is disabled in viewport. It doesn't affect camera panning or rotation. While I'm at it, it also seems to keep unnecessary data in saved file. I wanted to provide an example file, but it turned out to be over 1 GB. I don't see why it keeps the deformed mesh in the file rather than recalculating it when we enable it or open the file. It seemed to me to be the best way of making a chainmail, but I can't work with the lag. **Exact steps for others to reproduce the error** 1. Subdivide the default cube with 7-10 cuts (7 enough for my PC, if in the end it doesn't lag, try more divisions). 2. Duplicate the cube. 3. Add subdivision modifier (level=6) to 2nd Cube, then add Surface Deform, set the source to 1st Cube, bind. 4. Disable both objects in viewport, you can even disable the modifiers. 5. Add a new Cube to the scene. Try selecting and deselecting in in the viewport. There's a lag. Camera panning and rotation works fine. The only way to fix the lag is to apply or remove the Surface Deform modifier. 6. Save the file. Our file is just 396 faces with modifiers applied. It's over 1GB in size. Video: https://youtu.be/hEQnVVvPEGU or - Open .blend file - Bind mesh to the target - Try to select the Cube.001 in viewport [#90985.blend](https://archive.blender.org/developer/F10335566/T90985.blend)
Author

Added subscriber: @Shaggy90

Added subscriber: @Shaggy90
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Hi, thanks reporting the issue. I am not able to reproduce from scratch on master: fe7377809596c5a65e185afeefd500f7474c274b & 2.93.4 (63559a779c04

Our file is just 396 faces with modifiers applied. It's over 1GB in size.

Can you please try again with factory settings?: File -> Defaults -> Load Factory Settings

Hi, thanks reporting the issue. I am not able to reproduce from scratch on master: `fe7377809596c5a65e185afeefd500f7474c274b` & 2.93.4 (`63559a779c04` >Our file is just 396 faces with modifiers applied. It's over 1GB in size. Can you please try again with factory settings?: `File -> Defaults -> Load Factory Settings`
Author

Maybe I'm not describing the issue clearly enough. Here's a video. https://youtu.be/hEQnVVvPEGU I'm loading factory settings at the beginning. Then I'm adding one more cube just to show how clicking works before and after. The rest is what I described.

Maybe I'm not describing the issue clearly enough. Here's a video. https://youtu.be/hEQnVVvPEGU I'm loading factory settings at the beginning. Then I'm adding one more cube just to show how clicking works before and after. The rest is what I described.
Member

Can reproduce actually. Steps are not clear in description so I will edit that part :)

Can reproduce actually. Steps are not clear in description so I will edit that part :)

Added subscriber: @lastrodamo

Added subscriber: @lastrodamo

I'm on blender 2.83.8
I have 3 surface deform on a model (212 570 vertices) and my file is really heavy 820Mo.

Yesterday, I play animation and my computer was in memory limit (I have 16Go of memory)

My file has memory leaks !
I suspect surface deform modifier...

Is there a way to have a solution with this huge blend file ?
At this time my better solution was to kick this 3 surface deform modifiers.
I have export my model to obj and import in a new file
And my file take 5.5 Mo not 820 Mo !

Would you the huge blend file ?

I'm on blender 2.83.8 I have 3 surface deform on a model (212 570 vertices) and my file is really heavy 820Mo. Yesterday, I play animation and my computer was in memory limit (I have 16Go of memory) My file has memory leaks ! I suspect surface deform modifier... Is there a way to have a solution with this huge blend file ? At this time my better solution was to kick this 3 surface deform modifiers. I have export my model to obj and import in a new file And my file take 5.5 Mo not 820 Mo ! Would you the huge blend file ?

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

The fact that the disabled modifier still affects performance is a known issue and has been reported in #73199 (Editing an object that is referenced in a disabled modifier (of another object) forces the other modifiers on the same stack to update).
But the unnecessary updates do indeed look like a bug.

The fact that the disabled modifier still affects performance is a known issue and has been reported in #73199 (Editing an object that is referenced in a disabled modifier (of another object) forces the other modifiers on the same stack to update). But the unnecessary updates do indeed look like a bug.
Germano Cavalcante changed title from Surface Deform lags even when disabled in viewport to Surface Deform modifier always updates when selecting objects 2022-02-10 17:04:42 +01:00
Author

The fact that the disabled modifier still affects performance is a known issue

This is more than forcing other modifiers. It lags even if the whole object is disabled.

> The fact that the disabled modifier still affects performance is a known issue This is more than forcing other modifiers. It lags even if the whole object is disabled.
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:28:19 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:25 +01:00
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
4 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#90985
No description provided.