Grease Pencil Overlap problem #59543

Closed
opened 2018-12-18 09:23:56 +01:00 by Tom Nelson · 18 comments

Operating system: Windows 10 b17763.134
Graphics card: AMD Vega 64 (Strix)

Broken: 2.80, 9149e89421, 2018-12-16

When applying a grease pencil visual effect, the grease pencil object loses the effect when overlapping another grease pencil opject.

In this example I have a GP rain layer with a blur, when the rain overlaps another GP object in the background the place where it overlaps loses the blur effect in the final render.

I've opened the file in multiple builds with the same effect.

Pic attached.

GP_overlap_problem.png

Operating system: Windows 10 b17763.134 Graphics card: AMD Vega 64 (Strix) Broken: 2.80, 9149e894210, 2018-12-16 When applying a grease pencil visual effect, the grease pencil object loses the effect when overlapping another grease pencil opject. In this example I have a GP rain layer with a blur, when the rain overlaps another GP object in the background the place where it overlaps loses the blur effect in the final render. I've opened the file in multiple builds with the same effect. Pic attached. ![GP_overlap_problem.png](https://archive.blender.org/developer/F5990757/GP_overlap_problem.png)
Author

Added subscriber: @tomnel

Added subscriber: @tomnel

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Can you make a simple blend file that demonstrates this issue?

Can you make a simple blend file that demonstrates this issue?
Author

I made a simple blend file but the behavior is a little different, the white foreground GPlines dissappear when over a dark BG GP object and a blur visual effect applied.

GP_overlay_problem.blend

I made a simple blend file but the behavior is a little different, the white foreground GPlines dissappear when over a dark BG GP object and a blur visual effect applied. [GP_overlay_problem.blend](https://archive.blender.org/developer/F5991248/GP_overlay_problem.blend)
Author

If you look at it from the side you can see the white lines that are not affected by the blur effect a little bit.

Also I opened my main problem blend file on an nvidia 1080 windows 10 machine and the problem exists there too.

If you look at it from the side you can see the white lines that are not affected by the blur effect a little bit. Also I opened my main problem blend file on an nvidia 1080 windows 10 machine and the problem exists there too.

Added subscriber: @antoniov

Added subscriber: @antoniov

This comment was removed by @antoniov

*This comment was removed by @antoniov*

I have tested and the blur works with overlap objects. We need a simple file to reproduce the problem or to verify if this is a technical limitation.

Anyway, I think this is related to #59425.

I have tested and the blur works with overlap objects. We need a simple file to reproduce the problem or to verify if this is a technical limitation. Anyway, I think this is related to #59425.

@tomnel Anyway, while we fix the z-depth problem (#59425), you can fix it separating the rain in a new GP object and verifying the rain origin is in front of other objects origin (it's the same where are the strokes, the important is where is the origin).

@tomnel Anyway, while we fix the z-depth problem (#59425), you can fix it separating the rain in a new GP object and verifying the rain origin is in front of other objects origin (it's the same where are the strokes, the important is where is the origin).
Author

Thanks Antonio,
There is a simple blend file attached above. In it there are two GP objects, a black circle and in front of the circle a bunch of white lines with a blur effect.
For me the white lines disappear or lose the blur effect when in front of the dark circle GP object.
That doesn’t show up for you?

I will check again but I believe the origin of the lines is in front of the dark circle.

Thanks Antonio, There is a simple blend file attached above. In it there are two GP objects, a black circle and in front of the circle a bunch of white lines with a blur effect. For me the white lines disappear or lose the blur effect when in front of the dark circle GP object. That doesn’t show up for you? I will check again but I believe the origin of the lines is in front of the dark circle.

@tomnel I see now the problem, it looks the z-depth is not working as expected when apply blur.

@tomnel I see now the problem, it looks the z-depth is not working as expected when apply blur.

@tomnel Try to change the depth ordering of the rain to Front.

image.png

I need investigate about this, it looks a precision problem when use blur because the blured areas are too "low" values and the code is clipping it.

@tomnel Try to change the depth ordering of the rain to Front. ![image.png](https://archive.blender.org/developer/F5995521/image.png) I need investigate about this, it looks a precision problem when use blur because the blured areas are too "low" values and the code is clipping it.
Author

This comment was removed by @tomnel

*This comment was removed by @tomnel*
Author

Setting the depth ordering worked for the viewport (thanks!), but not the render output.
Taking a close look at the render it looks like the blur is ok but the opacity is not so where the rain overlays another GP object the opacity jumps to 100%OV.png

I am using a GP modifier to lower the opacity

Setting the depth ordering worked for the viewport (thanks!), but not the render output. Taking a close look at the render it looks like the blur is ok but the opacity is not so where the rain overlays another GP object the opacity jumps to 100%![OV.png](https://archive.blender.org/developer/F5996705/OV.png) I am using a GP modifier to lower the opacity

I have done some changes in 0d7fe55d0e commit. You don't need put in Front.

Still need to improve render.

I have done some changes in 0d7fe55d0e76 commit. You don't need put in Front. Still need to improve render.
Antonio Vazquez self-assigned this 2018-12-18 23:01:39 +01:00
Author

Can confirm, working in viewport, not in render. thanks!

Can confirm, working in viewport, not in render. thanks!
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

Appears to be working in render now. thanks!

Appears to be working in render now. thanks!
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#59543
No description provided.