Smooth brush is very slow while using MultiRes compared to other brushes #70689
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#70689
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: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.48
Blender Version
Broken: version: 2.81 (sub 14), branch: master, commit date: 2019-10-08 20:10, hash:
6d3c34fe9d
Worked: Used to be faster earlier in the Alpha if I recall, but now it is barely usable even on lower subdivs.
Short description of error
Smoothing your sculpt with MultiRes on is not a very pleasant experience at the moment. Incredibly laggy when compared to all other brushes, especially with the latest patches that vastly improved brush speed and undo while using MultiRes. Since smoothing is such a common action to take while doing any sculpt work, it would be much appreciated if this was taken a look at.
Exact steps for others to reproduce the error
Desktop 2019.10.10 - 03.34.41.01.mp4
Added subscriber: @Frozen_Death_Knight
Added subscribers: @brecht, @PabloDobarro
I implemented the smooth brush using the sculpt mesh API in P1136 and it is still unusable slow. @brecht Could this be related to the latest multires changes?
My recent multires changes at least should not have affected smoothing performance, only new tools that did not support multires before. Please compare with 2.80 to check if this is actually a regression.
@PabloDobarro, the multires sculpt API is not particularly fast, there is room for optimization. So I wouldn't necessarily expect it to be faster, it could be slower too. There may be an unknown bottleneck here, use a profiler to figure out which part is actually slow.
multires_stitch_grids()
may be part of the problem, it averages coordinates between grids. Since the neighbor iterator does look across grid boundaries averaging of coordinates should ideally not be needed. However smoothing does not make a proper distinction between new and old coordinates, so cracks will still appear.Doing it once for all iterations may work. I guess ideally this should use old/new coordinates.
In the video strength is 3.0, which means it will do 12 iterations for every brush step, which is also just fundamentally a lot of work.
@brecht I can assure you, having the setting at 1.000 does not make a difference on my machine (I get a buttery smooth smoothing at 3.000 on non-MultiRes meshes at far higher polygon numbers than this). It is only around 0.600-0.700 when the brush behaves at acceptable levels of lag.
Desktop 2019.10.10 - 13.09.04.01.mp4
Added subscriber: @VertexPainter
This is a regression from 2.79, but it is also slower than in 2.80.
2.79 -> 2.80 -> 2.81 (with TBB)
2019-10-11 00-00-32.mp4
Added subscriber: @PetterLundh
Added subscriber: @AlbertoVelazquez
Any update about this problem?
Added subscriber: @lichtwerk
So since
b6d436ae28
has landed: are we all happy again and this could be closed?@lichtwerk Tried it just now and it is a lot better. I think this can be marked as solved. :)
Changed status from 'Open' to: 'Resolved'
Oki, closing then