Semi-transparent Strokes and Fills overlapping with themselves #61478

Closed
opened 2019-02-12 19:48:18 +01:00 by jens · 11 comments

System Information
Operating system:OSX
Graphics card: RADEON PRO 460

Blender Version
2.80

Short description of error
semi-transparent strokes and fills overlapping themselves create ugly artifacts

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

Draw a freehand zigzag stroke with the Draw Block Pencil. Set alpha to 0.5.
At sharper parts of the line the individual "dots" of the stroke overlap this create some darker triangles perpendicular to the stroke direction.
draw a closed shape with curvy lines. set fill alpha to 0.5. The fill overlaps concave parts of the outline sometimes.
Add a Noise Grease Pencil Modifier. factor ~13 to see the line points position move a bit , Full Stroke off
The fill overlaps somehow with itself, "folds" and creates darker lines inside the shape.
Now set the material Fill to fully opaque and the Opacity of the Layer to 0.5, trying to make it look better.- No, the dark areas are back.
Perhaps set the Blend Mode to something like "Darker Color" so only the darker color gets rendered- Since there is only one color in this fill, this could make it even (?) No. No Blend Mode like that, and it would possibly only affect the appearance of underlying Layers...

The new Grease Pencil would be a very beautiful tool without this weird alpha behavior.

Bildschirmfoto 2019-02-12 um 19.42.58.png
Bildschirmfoto 2019-02-12 um 19.42.11.png

**System Information** Operating system:OSX Graphics card: RADEON PRO 460 **Blender Version** 2.80 **Short description of error** semi-transparent strokes and fills overlapping themselves create ugly artifacts **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). Draw a freehand zigzag stroke with the Draw Block Pencil. Set alpha to 0.5. At sharper parts of the line the individual "dots" of the stroke overlap this create some darker triangles perpendicular to the stroke direction. draw a closed shape with curvy lines. set fill alpha to 0.5. The fill overlaps concave parts of the outline sometimes. Add a Noise Grease Pencil Modifier. factor ~13 to see the line points position move a bit , Full Stroke off The fill overlaps somehow with itself, "folds" and creates darker lines inside the shape. Now set the material Fill to fully opaque and the Opacity of the Layer to 0.5, trying to make it look better.- No, the dark areas are back. Perhaps set the Blend Mode to something like "Darker Color" so only the darker color gets rendered- Since there is only one color in this fill, this could make it even (?) No. No Blend Mode like that, and it would possibly only affect the appearance of underlying Layers... The new Grease Pencil would be a very beautiful tool without this weird alpha behavior. ![Bildschirmfoto 2019-02-12 um 19.42.58.png](https://archive.blender.org/developer/F6592610/Bildschirmfoto_2019-02-12_um_19.42.58.png) ![Bildschirmfoto 2019-02-12 um 19.42.11.png](https://archive.blender.org/developer/F6592632/Bildschirmfoto_2019-02-12_um_19.42.11.png)
Author

Added subscriber: @jaadee

Added subscriber: @jaadee

Added subscribers: @antoniov, @ZedDB

Added subscribers: @antoniov, @ZedDB
Antonio Vazquez was assigned by Sebastian Parborg 2019-02-12 20:28:44 +01:00

I think that this is a limitation because GP actually draws its geometry in 3D space.
Perhaps we could do some smart tricks to remedy this.

@antoniov how is the situation in this regard?

I think that this is a limitation because GP actually draws its geometry in 3D space. Perhaps we could do some smart tricks to remedy this. @antoniov how is the situation in this regard?
Author

I just checked on another computer. At least it is not a problem of AMD graphic cards.
LinuxMint / Nvidia looks similar:
grease_linux_nvidia.png

Perhaps it could help to find a workaround for the time being if the Opacity Modifier also had the possibility to override the Opacity values of a whole object. It seems it multiplies a factor right now. Don't know if this helps at all, but this could be useful anyway for strokes drawn with a tablet if you want to override the Opacity with a constant value afterwards.

I just checked on another computer. At least it is not a problem of AMD graphic cards. LinuxMint / Nvidia looks similar: ![grease_linux_nvidia.png](https://archive.blender.org/developer/F6593668/grease_linux_nvidia.png) Perhaps it could help to find a workaround for the time being if the Opacity Modifier also had the possibility to override the Opacity values of a whole object. It seems it multiplies a factor right now. Don't know if this helps at all, but this could be useful anyway for strokes drawn with a tablet if you want to override the Opacity with a constant value afterwards.

Yes, this is a limitation of the current drawing method. We are looking for a solution, but it's not easy to fix without adding a lot of drawing overhead.

Yes, this is a limitation of the current drawing method. We are looking for a solution, but it's not easy to fix without adding a lot of drawing overhead.

@antoniov perhaps we could add a rendered mode for GP too? That way we can keep the fast drawing that we have now but also have a much more costly mode with higher quality results.

@antoniov perhaps we could add a `rendered mode` for GP too? That way we can keep the fast drawing that we have now but also have a much more costly mode with higher quality results.
Author

A slower solution could also be part of the smoothing option, available as a post-processing setting.

A slower solution could also be part of the smoothing option, available as a post-processing setting.
Author

Bildschirmfoto 2019-02-13 um 11.32.07.png
Regarding this problem with semi-transparent fills there is a popular feature request on right-click select, that could solve the issue also:
https://blender.community/c/rightclickselect/0Xbbbc
https://blender.community/c/rightclickselect/VDcbbc/a-brush-to-create-filled-shapes-for-grease-pencil

![Bildschirmfoto 2019-02-13 um 11.32.07.png](https://archive.blender.org/developer/F6598538/Bildschirmfoto_2019-02-13_um_11.32.07.png) Regarding this problem with semi-transparent fills there is a popular feature request on right-click select, that could solve the issue also: https://blender.community/c/rightclickselect/0Xbbbc https://blender.community/c/rightclickselect/VDcbbc/a-brush-to-create-filled-shapes-for-grease-pencil

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

So this is a known limitation that would be good to solve, but not considered a bug at this moment.

So this is a known limitation that would be good to solve, but not considered a bug at this moment.
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
4 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#61478
No description provided.