GPencil: Brush and stroke size related issues #85204

Open
opened 2021-01-29 17:16:15 +01:00 by Falk David · 5 comments
Member

Description

When drawing in grease pencil, control over the brush size and the thickness of the stroke is of course extremely important. Currently, there are some inconsistencies and confusing behavior that need to be addressed. Here is a list of current issues and some new proposals.

  • Brush Radius: Currently, the brush size can be changed via this slider in draw mode. image.png The name displays "Radius" and the tooltip reads "Radius of the brush in pixels.", but this is not consistent with the thickness of the strokes. If the user sets the radius to 100px and the Stroke Thickness option in the object data properties is set to Screen Space the stroke has a diameter of 100 pixels. If the Stroke Thickness is set to World Space the stroke has a diameter of 0.1 meters. A simple solution is to change the UI name from "Radius" to "Size" and clarify in the tooltip that the thickness or diameter of the stroke is meant.
  • Radial Control: When the user changes the brush size via the radial control (shortcut {key F}) the control has a radius of the given pixel value, not (like mentioned before) a diameter of the pixel value set. brush_size_overlay.png
  • Brush size in World Space When the Stroke Thickness in the object data properties is set to World Space the displayed thickness of the strokes in that grease pencil object are calculated via the following formula: ((line_change + stroke_thickness) * pressure * pixel_factor) / 1000.0f E.g. when all adjustment values are set to their default value then 1px (stroke thickness) = 1mm (world space). Currently, there is no way for the user to know this. The UI gives no indication of this and the manual also does not mention it. A possible solution is to change the units of the brush from pixels to meters and also do the right conversion so that the size is correctly displayed in the UI.
  • Drawing in screen space/world space: The user can change the stroke thickness (screen space/world space) in the object data properties. That means that all strokes in the grease pencil object will be either drawn using the screen space thickness in pixels or the world space thickness in meters. But there is currently not a way to choose the brush size to be in screen or world space. In sculpt mode, the user can choose the brush size "reference" (Radius Unit). brush_size_units.png This would also be useful for grease pencil.

Brush size indicator: At the moment there is no visual feedback on how big the current brush is. A solution could be a "ring" around the cursor and deactivate it during drawing so it only shows up before starting the stroke.


Related reports:
#83675,

**Description** When drawing in grease pencil, control over the brush size and the thickness of the stroke is of course extremely important. Currently, there are some inconsistencies and confusing behavior that need to be addressed. Here is a list of current issues and some new proposals. - **Brush Radius:** Currently, the brush size can be changed via this slider in draw mode. ![image.png](https://archive.blender.org/developer/F9603762/image.png) The name displays "Radius" and the tooltip reads "Radius of the brush in pixels.", but this is not consistent with the thickness of the strokes. If the user sets the **radius** to 100px and the *Stroke Thickness* option in the object data properties is set to *Screen Space* the stroke has a **diameter** of 100 pixels. If the *Stroke Thickness* is set to *World Space* the stroke has a **diameter** of 0.1 meters. A simple solution is to change the UI name from "Radius" to "Size" and clarify in the tooltip that the thickness or diameter of the stroke is meant. - **Radial Control:** When the user changes the brush size via the radial control (shortcut {key F}) the control has a **radius** of the given pixel value, not (like mentioned before) a **diameter** of the pixel value set. ![brush_size_overlay.png](https://archive.blender.org/developer/F9603765/brush_size_overlay.png) - **Brush size in World Space** When the *Stroke Thickness* in the object data properties is set to *World Space* the displayed thickness of the strokes in that grease pencil object are calculated via the following formula: `((line_change + stroke_thickness) * pressure * pixel_factor) / 1000.0f` E.g. when all adjustment values are set to their default value then **1px (stroke thickness) = 1mm (world space)**. Currently, there is no way for the user to know this. The UI gives no indication of this and the manual also does not mention it. A possible solution is to change the units of the brush from pixels to meters and also do the right conversion so that the size is correctly displayed in the UI. - **Drawing in screen space/world space:** The user can change the stroke thickness (screen space/world space) in the object data properties. That means that *all* strokes in the grease pencil object will be either drawn using the screen space thickness in pixels or the world space thickness in meters. But there is currently not a way to choose the brush size to be in screen or world space. In sculpt mode, the user can choose the brush size "reference" (Radius Unit). ![brush_size_units.png](https://archive.blender.org/developer/F9604067/brush_size_units.png) This would also be useful for grease pencil. # **Brush size indicator:** At the moment there is no visual feedback on how big the current brush is. A solution could be a "ring" around the cursor and deactivate it during drawing so it only shows up before starting the stroke. --- **Related reports:** #83675,
Falk David self-assigned this 2021-01-29 17:16:15 +01:00
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member
Added subscribers: @filedescriptor, @mendio, @pepe-school-land, @antoniov
Dalai Felinto changed title from GPencil: Brush and stroke size relateted issues to GPencil: Brush and stroke size related issues 2021-02-02 17:48:44 +01:00

Added subscriber: @TinyNick

Added subscriber: @TinyNick

Added subscriber: @paddygaunt

Added subscriber: @paddygaunt

I think the lack of any meaningful correspondence between the brush diameter set using F and the actual stroke diameter is a real impediment to sketching and painting with grease pencil (c.f. sculpting and texture painting). I can see that there are issues with converting the brush diameter into a diameter for each vertex and its apparent size changing with Z distance...

However, when you draw with grease pencil, the stroke produced until the mouse button is release appears to be fixed radius based on the Z distance of the origin, 3D cursor etc. When the mouse button is release the stroke is displayed correctly. Could the brush diameter when pressing F use the same approximation?

I think the lack of any meaningful correspondence between the brush diameter set using F and the actual stroke diameter is a real impediment to sketching and painting with grease pencil (c.f. sculpting and texture painting). I can see that there are issues with converting the brush diameter into a diameter for each vertex and its apparent size changing with Z distance... However, when you draw with grease pencil, the stroke produced until the mouse button is release appears to be fixed radius based on the Z distance of the origin, 3D cursor etc. When the mouse button is release the stroke is displayed correctly. Could the brush diameter when pressing F use the same approximation?
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:42 +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#85204
No description provided.