Regression: Sculpt: Hovering with pose brush on dense mesh freezes Blender #127259
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#127259
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.70
Blender Version
Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-07-09 23:04, hash:
3b23dc4b4d47
Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-09-06 09:15, hash:
73f2bdd1ed1b
Worked: version: 4.3.0 Alpha, branch: main, commit date: 2024-06-21 23:31, hash:
8f95c2ce9fcf
Short description of error
While checking performance in 4.2 vs 4.3 I noticed that on subdivided mesh (6.2mil faces) choosing pose brush and trying to hover over the mesh freezes Blender for a while, and performance doesn't improve. After its unfrozen, trying to hover again freezes again.
Exact steps for others to reproduce the error
Regression: Hovering with pose brush on dense mesh freezes Blenderto Regression: Sculpt: Hovering with pose brush on dense mesh freezes BlenderCan confirm
Updated original post, regression happened between
8f95c2ce9fcf
~3b23dc4b4d47
Doing some profiling on this, the vast majority of processing time (86%) is spent on
vert_neighbors_get_mesh
Somehow the bad commit here is
7b0ea0f1b4
The cause of the slowdown is the "Pose Origin Offset" field changing from a default of 0.0 to 0.35, requiring more preprocessing of data both when using the brush and updating the preview
@JulienKaspar - Do you have more context here on the decision to update this value as part of the Brush Asset project? Is this something we should revert, or is this something we'll need to find a way to optimize?
I never realized that this setting is what caused the brush to perform so terribly ...
For now I'm totally in favor of setting the Pose Origin setting to 0.0 for the brush asset.
I'm even if favor of removing it until it is optimized and working like intended. It always offsets the pose origin in a straight line between itself and the cursor center, which is often very unintuitive and leads to the offset being off-target, or even completely outside of the object.