Page MenuHome

Sculpt Performance Regression in 2.81
Open, Confirmed, HighPublic

Description

System Information
Operating system: Windows 10 64 bit
Graphics card: Nvidia GTX 750 Ti

Blender Version
Broken: blender-2.81 eefd806afc15
Worked: blender-2.81 aff6446e064f

Short description of error

Sculpting Performance is noticeably worse.
Especially switching brushes lags.

Exact steps for others to reproduce the error

  1. Open attached file.
  2. Apply the modifiers on the mesh to get a dense mesh.
  3. Enter sculpt mode.
  4. Start sculpting and switch between brushes with keyboard shortcuts.
  5. Experience lag with the newer version.

Event Timeline

The PBVH rebuilds each time the brush radius changes and while modifying mesh properties. This is probably one of the reasons.

I think the problem is in BKE_sculpt_update_object_before_eval. Why is the mesh data updated when changing the brush radius?

Germano Cavalcante (mano-wii) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Mon, Nov 11, 3:51 PM