GPencil: Cached grease pencil objects renders up to 5 times faster when LineArt Modifiers are deleted after baking #99492

Open
opened 2022-07-06 17:07:49 +02:00 by Christoph Werner · 12 comments

System Information
Version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691, type: release
Build date: 2022-06-08, 11:13:18
Platform: 'Windows-10-10.0.22000-SP0'

Short description of error
You can reduce the render time of grease pencil objects by deleting all Lineart modifiers after the caching process of grease pencil objects.
Are the Linart modifiers not deleted the render times are much slower. This seem to be a bug.

The issue happens also in blender version 3.0.1, version 3.1.2 and 3.2.1RC.

Exact steps for others to reproduce the error
This problem is happening in our production scenes. I tried to reproduce the issue inside a neutral file to publish it for you. But for any reason the problem wasn't able to be reproduced. Seem to be a special situation again...

**System Information** Version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e369187, type: release Build date: 2022-06-08, 11:13:18 Platform: 'Windows-10-10.0.22000-SP0' **Short description of error** You can reduce the render time of grease pencil objects by deleting all Lineart modifiers after the caching process of grease pencil objects. Are the Linart modifiers not deleted the render times are much slower. This seem to be a bug. The issue happens also in blender version 3.0.1, version 3.1.2 and 3.2.1RC. **Exact steps for others to reproduce the error** This problem is happening in our production scenes. I tried to reproduce the issue inside a neutral file to publish it for you. But for any reason the problem wasn't able to be reproduced. Seem to be a special situation again...

Added subscriber: @ChristophWerner

Added subscriber: @ChristophWerner

Added subscriber: @ChengduLittleA

Added subscriber: @ChengduLittleA

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

Thanks for the report, but in order to forward the bug to the developers, we have to be able to redo them.

If you find any information that helps others to reproduce the problem, be sure to include it.

Thanks for the report, but in order to forward the bug to the developers, we have to be able to redo them. If you find any information that helps others to reproduce the problem, be sure to include it.

In #99492#1386474, @mano-wii wrote:
Thanks for the report, but in order to forward the bug to the developers, we have to be able to redo them.

If you find any information that helps others to reproduce the problem, be sure to include it.

Thank you for the reminder, but I'm in direct contact with Yiming and he asked me to place it here, to not to forget the issue... :)

> In #99492#1386474, @mano-wii wrote: > Thanks for the report, but in order to forward the bug to the developers, we have to be able to redo them. > > If you find any information that helps others to reproduce the problem, be sure to include it. Thank you for the reminder, but I'm in direct contact with Yiming and he asked me to place it here, to not to forget the issue... :)
YimingWu was assigned by Germano Cavalcante 2022-07-06 21:14:06 +02:00
Antonio Vazquez changed title from Grease Pencil: Cached grease pencil objects renders up to 5 times faster when LineArt Modifiers are deleted after baking to GPencil: Cached grease pencil objects renders up to 5 times faster when LineArt Modifiers are deleted after baking 2022-07-07 16:26:56 +02:00
Member

I'll take a look :)

I'll take a look :)
Member

@ChristophWerner Hi! I couldn't reproduce this either. By any chance you added another modifier after baking existing ones? Because current logic does seem to fail if other ones are added after baking and that would trigger another calculation.

@ChristophWerner Hi! I couldn't reproduce this either. By any chance you added another modifier after baking existing ones? Because current logic does seem to fail if other ones are added after baking and that would trigger another calculation.

In #99492#1388495, @ChengduLittleA wrote:
@ChristophWerner Hi! I couldn't reproduce this either. By any chance you added another modifier after baking existing ones? Because current logic does seem to fail if other ones are added after baking and that would trigger another calculation.

No, I haven't added another modifier after the baking.

We bake the frames and start to render. If we delete the Line Art modifiers after baking, then the rendering is processed much faster.

If it's ok for you I'll try to create a reproducable scene and send it to you.

Best wishes
Chris

> In #99492#1388495, @ChengduLittleA wrote: > @ChristophWerner Hi! I couldn't reproduce this either. By any chance you added another modifier after baking existing ones? Because current logic does seem to fail if other ones are added after baking and that would trigger another calculation. No, I haven't added another modifier after the baking. We bake the frames and start to render. If we delete the Line Art modifiers after baking, then the rendering is processed much faster. If it's ok for you I'll try to create a reproducable scene and send it to you. Best wishes Chris

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @frogstomp-4

Added subscriber: @frogstomp-4
Member

@frogstomp-4 prompted me, maybe this is related: https://developer.blender.org/T99492 If the behaviour is fixed then I suppose this is the problem

@frogstomp-4 prompted me, maybe this is related: https://developer.blender.org/T99492 If the behaviour is fixed then I suppose this is the problem
Sergey Sharybin added
Module
Grease Pencil
and removed
Module
VFX & Video
labels 2023-02-13 18:06:41 +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#99492
No description provided.