GPencil: Massive slowdown when stroke number scales #97240

Open
opened 2022-04-11 09:41:59 +02:00 by David Elahee · 11 comments

System Information
Operating system: Win10
Graphics card: NV GTX960 / NV RTX 2080

Blender Version
Broken: e03d78417a77
Worked: never

Short description of error

Our artist want to make "gris" quality characters with a lot of inner shades, and created a huge character with lot of strokes and did not break it down in sub objects.
Alas when using "Edit mode" to animate the keys blender gets extremely choppy.
If we remove strokes situation gets better which leads us to believe that stroke/key storage is too linear or computed during motion

Exact steps for others to reproduce the error
download : https://drive.google.com/file/d/1Wfj7fs2JmG5sZnR_S9SfxJ0iBXOvj_fX/view
go to "strokes"
go to edit mode
select hairs
move hairs around
observe any movement or undo is very choppy and slow

note :
As a dodge, we will try to split the character strokes in sub objects but we thought it would be important for this use case to be fixed because going back and forth in sub objects can be a time consuming and be counter intuitive for less technical artists.
Thank you so much for reading and creating GPencil.

**System Information** Operating system: Win10 Graphics card: NV GTX960 / NV RTX 2080 **Blender Version** Broken: e03d78417a77 Worked: never **Short description of error** Our artist want to make "gris" quality characters with a lot of inner shades, and created a huge character with lot of strokes and did not break it down in sub objects. Alas when using "Edit mode" to animate the keys blender gets extremely choppy. If we remove strokes situation gets better which leads us to believe that stroke/key storage is too linear or computed during motion **Exact steps for others to reproduce the error** download : https://drive.google.com/file/d/1Wfj7fs2JmG5sZnR_S9SfxJ0iBXOvj_fX/view go to "strokes" go to edit mode select hairs move hairs around observe any movement or undo is very choppy and slow note : As a dodge, we will try to split the character strokes in sub objects but we thought it would be important for this use case to be fixed because going back and forth in sub objects can be a time consuming and be counter intuitive for less technical artists. Thank you so much for reading and creating GPencil.
Author

Added subscriber: @delahee

Added subscriber: @delahee

Added subscribers: @filedescriptor, @antoniov

Added subscribers: @filedescriptor, @antoniov

What Blender version are you using it? There was a change in this area.

@filedescriptor could you test with your code if this is faster now?

What Blender version are you using it? There was a change in this area. @filedescriptor could you test with your code if this is faster now?
Antonio Vazquez changed title from GPencil // Massive slowdown when storke number scales to GPencil: Massive slowdown when stroke number scales 2022-04-11 10:10:08 +02:00
Author

As mentionned we tested with a few "branch" builds and notably e03d78417a77
thx

As mentionned we tested with a few "branch" builds and notably e03d78417a77 thx
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Hi @delahee , please upload simple test file.
Larges files are not that handy for developers for further investigation.

Hi @delahee , please upload simple test file. Larges files are not that handy for developers for further investigation.

@PratikPB2123 IMHO we would move this as Know Issuebecause we already know where are the bottlenecks and we are thinking in a redesign of the data structure, but with the actual design is almost impossible to solve.

@PratikPB2123 IMHO we would move this as `Know Issue`because we already know where are the bottlenecks and we are thinking in a redesign of the data structure, but with the actual design is almost impossible to solve.
Member

@antoniov , feel free to move this report to "known issues" category :)

@antoniov , feel free to move this report to "known issues" category :)

As we know that the problem is the legacy data structure design, we move it as Know Issue.

As we know that the problem is the legacy data structure design, we move it as Know Issue.

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:11 +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
3 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#97240
No description provided.