Grease Pencil pressure sensitivity issue with Adesso Cyber tablet T12 #60967

Closed
opened 2019-01-29 03:59:06 +01:00 by Jason Memm · 13 comments

System Information
Operating system: Windows 10 x64
Graphics card: none

Blender Version
Broken: 2.80 BETA 1b6da95ccb

Short description of error

I ran into an issue with any brush I select, where after I draw a line and let go, Blender thinks I pushed the pen down all the way and leaves a large pen stroke there, or it will slant up to where my pen left the tablet surface. This doesn’t happen every time usually, just like every other. I tried my tablet on other software (Pencil2D) and this does not happen.

Capture.PNG

Exact steps for others to reproduce the error

I opened the 2D template from the splash screen and began using the tablet to draw, switching from the pencil, to pen, to marker, etc... from time to time.

**System Information** Operating system: Windows 10 x64 Graphics card: none **Blender Version** Broken: 2.80 BETA 1b6da95ccb11 **Short description of error** I ran into an issue with any brush I select, where after I draw a line and let go, Blender thinks I pushed the pen down all the way and leaves a large pen stroke there, or it will slant up to where my pen left the tablet surface. This doesn’t happen every time usually, just like every other. I tried my tablet on other software (Pencil2D) and this does not happen. ![Capture.PNG](https://archive.blender.org/developer/F6438522/Capture.PNG) **Exact steps for others to reproduce the error** I opened the 2D template from the splash screen and began using the tablet to draw, switching from the pencil, to pen, to marker, etc... from time to time.
Author

Added subscriber: @JasonMemm

Added subscriber: @JasonMemm

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Does this happen with the latest blender beta?

Does this happen with the latest blender beta?
Author

Yes, I just downloaded the recent one: January 29, 02:29:54 - 957b4547ae Blender 2.8 x64, and the above error still occurs.

Yes, I just downloaded the recent one: January 29, 02:29:54 - 957b4547aeeb Blender 2.8 x64, and the above error still occurs.

Added subscriber: @ChristopherPeerman

Added subscriber: @ChristopherPeerman

@ChristopherPeerman any ideas?

@ChristopherPeerman any ideas?

Currently Blender uses WM_MOUSExxx and WM_xBUTTON events, as well as WM_POINTERUPDATE events where the pressure is processed. If the last WM_POINTERUPDATE event percieved the pen was off the screen before a WM_xBUTTONUP it may have set the pressure to full (the logic is so that users can remove the pen and draw with the mouse). I'm currently in the process of adding support for more of the WM_POINTERxxx events which should hopefully fix this.

Currently Blender uses WM_MOUSExxx and WM_xBUTTON events, as well as WM_POINTERUPDATE events where the pressure is processed. If the last WM_POINTERUPDATE event percieved the pen was off the screen before a WM_xBUTTONUP it may have set the pressure to full (the logic is so that users can remove the pen and draw with the mouse). I'm currently in the process of adding support for more of the WM_POINTERxxx events which should hopefully fix this.
Christopher Peerman was assigned by Sebastian Parborg 2019-01-30 11:06:22 +01:00

I'll assign this to you them. I hope it's ok.

I'll assign this to you them. I hope it's ok.

Thanks :)

Thanks :)

Just to give an update to this. I've been working on this and I hope to have something put up for code review later this week. The new version uses the WM_POINTERxxx messages for Touch and Stylus and the GetPointerInfo, GetPointerPenInfo and GetPointerTouch info. So far it seems to be working well, I've just got a little more work to do with it and spend some time testing it. I also hope that this implementation will also fix issues some users have seen on Windows 8.

Just to give an update to this. I've been working on this and I hope to have something put up for code review later this week. The new version uses the WM_POINTERxxx messages for Touch and Stylus and the GetPointerInfo, GetPointerPenInfo and GetPointerTouch info. So far it seems to be working well, I've just got a little more work to do with it and spend some time testing it. I also hope that this implementation will also fix issues some users have seen on Windows 8.

Pull request in review https://developer.blender.org/D4314

Pull request in review https://developer.blender.org/D4314

This issue was referenced by 2933fd6c7c

This issue was referenced by 2933fd6c7c16d95c8d8e7a5b171edd35632cdb50

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
5 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#60967
No description provided.