Angle option of new GP brush settings is too restricted in value #49102

Closed
opened 2016-08-16 22:46:36 +02:00 by Bastien Montagne · 12 comments

Currently, this value is limited to range [0°, 90°], which excludes half of possible values.

Either this setting shall be in [0°, 180°] range, or it should apply a 'mirror' effect (but really do not see why it’s limited to 90° max…).

Currently, this value is limited to range [0°, 90°], which excludes half of possible values. Either this setting shall be in [0°, 180°] range, or it should apply a 'mirror' effect (but really do not see why it’s limited to 90° max…).
Antonio Vazquez was assigned by Bastien Montagne 2016-08-16 22:46:36 +02:00
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'
Author
Owner

Added subscriber: @mont29

Added subscriber: @mont29

@mont29 This is done by design and there is a reason to do it.

The angle is the position of the brush and only can be between 0 and 90 degrees because if you change the orientation more than 90 degrees, really you are near of 0 again.

You can find the explanation here: https://wiki.blender.org/index.php/User:Antoniov/Grease_Pencil_Design_Changes#Drawing_Brushes

@mont29 This is done by design and there is a reason to do it. The angle is the position of the brush and only can be between 0 and 90 degrees because if you change the orientation more than 90 degrees, really you are near of 0 again. You can find the explanation here: https://wiki.blender.org/index.php/User:Antoniov/Grease_Pencil_Design_Changes#Drawing_Brushes
Author
Owner

@antoniov No it’s not the only possible/needed values. Above 90 (or below 0) you indeed get “closer” to zero again, but “from the other way around” if I may say so (cos(45) == -cos(135), the [90, 180] range is some kind of mirror of the [0, 90] range). This picture should make it obvious:

Capture d’écran_2016-08-17_10-04-35.png

There is currently no way to get falling slope thick and rising one thin - you’d need either -45 or 135 as Angle value for that.

@antoniov No it’s not the only possible/needed values. Above 90 (or below 0) you indeed get “closer” to zero again, but “from the other way around” if I may say so (`cos(45) == -cos(135)`, the [90, 180] range is some kind of mirror of the [0, 90] range). This picture should make it obvious: ![Capture d’écran_2016-08-17_10-04-35.png](https://archive.blender.org/developer/F338101/Capture_d_écran_2016-08-17_10-04-35.png) There is currently no way to get falling slope thick and rising one thin - you’d need either -45 or 135 as `Angle` value for that.

@mont29 I see the problem now, but I think I need to fix this in the code, not in the UI. Set an angle greater of 90 is not artist friendly. Really, if you turn a marker, you get different thickness in the first 90 degrees, later, you get again the same size but oposed.

@mont29 I see the problem now, but I think I need to fix this in the code, not in the UI. Set an angle greater of 90 is not artist friendly. Really, if you turn a marker, you get different thickness in the first 90 degrees, later, you get again the same size but oposed.
Author
Owner

I do not agree at all here - with a real life marker, you have different results for a full 180° range. The fact that, for the same direction of stroke, you get symmetric results when turning beyond the [0, 90] range is not enough, try to change the direction of your stroke and you won’t get the same symmetric results anymore!

You seem to be thinking in 'local space' (stroke direction one), and not in 'global space' (paper sheet). In above picture, you need to turn you marker from +45 to -45 to switch effect (or from +45 to +135, that’s same thing).

Just try it with a real-life marker and a paper sheet if you don’t believe me. ;)

I do not agree at all here - with a real life marker, you have different results for a full 180° range. The fact that, **for the same direction of stroke**, you get symmetric results when turning beyond the [0, 90] range is not enough, try to change the direction of your stroke and you won’t get the same symmetric results anymore! You seem to be thinking in 'local space' (stroke direction one), and not in 'global space' (paper sheet). In above picture, you need to turn you marker from +45 to -45 to switch effect (or from +45 to +135, that’s same thing). Just try it with a real-life marker and a paper sheet if you don’t believe me. ;)

Maybe we are talking of different things.

Here you have an example of how was defined the algorithm for the marker. The example assumes the brush marker angle was defined as 45 degrees. All the time, the function is working with the local space and checking the difference between a full thickness angle and the drawing direction of the last two points. The function assumes the marker is not rotate, only the drawing direction.

GP_Marker_Angle.png

As you can see in the graph, when you start to draw in an angle > of 135 degrees, the thickness of the marker increase from the minimum size. With this approach, we get the sense of different thickness when draw a curve.

Think how an artist hold a marker, he is not rotating the pen while drawing. He moves his hand only.

The possible bug (not totally sure, I need to ask artists Daniel M. Lara and Matias Mendiola) is if you draw a line to -45, the marker must be full thickness or not.

Maybe we are talking of different things. Here you have an example of how was defined the algorithm for the marker. The example assumes the brush marker angle was defined as 45 degrees. All the time, the function is working with the local space and checking the difference between a full thickness angle and the drawing direction of the last two points. The function assumes the marker is not rotate, only the drawing direction. ![GP_Marker_Angle.png](https://archive.blender.org/developer/F338138/GP_Marker_Angle.png) As you can see in the graph, when you start to draw in an angle > of 135 degrees, the thickness of the marker increase from the minimum size. With this approach, we get the sense of different thickness when draw a curve. Think how an artist hold a marker, he is not rotating the pen while drawing. He moves his hand only. The possible bug (not totally sure, I need to ask artists Daniel M. Lara and Matias Mendiola) is if you draw a line to -45, the marker must be full thickness or not.

Added subscribers: @pepe-school-land, @mendio

Added subscribers: @pepe-school-land, @mendio
Author
Owner

I think your pictures shows it as well as mine: you need [-90, +90] (or [0, 180], same thing) range to represent all possible orientations of your marker… Really do not see what’s complicated here… :/

I think your pictures shows it as well as mine: you need [-90, +90] (or [0, 180], same thing) range to represent all possible orientations of your marker… Really do not see what’s complicated here… :/

Ok, I 'm going to put -90 to 90 in the range.

I have run some test, and really there isn't great difference drawing, maybe only for left handed people, but anyway is an user option, so doing the range wider, we cover more options.

Ok, I 'm going to put -90 to 90 in the range. I have run some test, and really there isn't great difference drawing, maybe only for left handed people, but anyway is an user option, so doing the range wider, we cover more options.

This issue was referenced by ab775b6ae9

This issue was referenced by ab775b6ae9930e1fc6b8536f5ca150557286a119

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
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#49102
No description provided.