Grease Pencil: In the line-drawing mode a tablet pen produces non-deterministic line with. #44932
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#44932
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
Linux Ubuntu LTS 14.04 / Wacom Intuos 4
(doesn't have issues in other programs (gimp, mypaint, inkscape, ...)
Blender Version
<= 2.74.5
Short description of error
The "free-stroke" (d) modus works as expected - the stroke thickness follows the pen<->tablet pressure,
but the line-thickness in the line mode (ctrl+d) is mostly 1px or sometimes a random (i.e. useless) value.
If capturing of the start/end pen pressure value or drawing such a line in blender isn't technically reliable/possible,
the line should just use the Thickness of strokes parameter.
Changed status to: 'Open'
Added subscriber: @capnm
Added subscriber: @JoshuaLeung
I'll put this on my list of things to investigate.
A similar problem has the
GP_PAINTMODE_DRAW_POLY
mode.If you rise the pen, the pressure value is at that point (depends on timing) almost zero.
Theoretically the right approach would be to record+use a pressure value a few ms from the past.
The code in
gpencil_paint.c
doesn't seem to do it or is somewhere else something "tunable"?A workaround in the line-mode is a cancel (esc) the drawing while the pen applies the pressure,
but that is hardly an ergonomic way to draw lines.
Thanks.
Added subscriber: @mont29
Xinput events coming from the tablet pen (a quick rise from full pressure):
(blender probably pick-ups the last a- [x]=0 events for the line thickness)
BTW this
is kind of funny ;-)
tablet-pressure.patch from tip
896f08bde8
This makes the line and poly modus usable, but for sure not perfect.
There is e.g. the same issue with the line starting point in the tessellated mode
and another similar issues, that would probably need a redesign of GP.
At least it works better for me with both tested Wacom tablets on Linux and Windows7.
Even with my previous 'imrovement' the artist keeps calling
the GP pen pressure support a crap :(
This patch just adds a toolbar toggle to switch it on/off.
I've got no better idea, if you have one, let me know :)
gp-pen-pressure-off-on.patch
Turns out, there is also a regression in the 'freehand' drawed strokes with the tablet pen. The first screenshot is from v2.74,
the second one from current tip at
94e7ac5b97
It was introduced in
a7cae2987d
(reverting the commit fixes the current tip)
Thanks
Changed status from 'Open' to: 'Resolved'
I've just committed two fixes -
e660079e47
and376e729de0
After testing out the pressure handling here, it was indeed quite crappy for line and poly modes. Since it doesn't seem too trivial to find a good way around the pressure issues for now (though maybe we could considering averaging pressure values?), I've just disabled it for these drawing modes for now.
The impact of this shouldn't be too bad, as the pressure wasn't really usable before, and we now have tools to change the pressure values afterwards (i.e. Alt-S - shrink/fatten in Stroke Edit Mode)
BTW, regarding the regression, I can't reproduce this here.