Lines too thin on macOS #57993

Closed
opened 2018-11-22 08:47:04 +01:00 by Kent Davis · 34 comments

MacOS 10.14.1
5K 27" 2017

Annotate Pencil too thin for Mac
Also please thickness unlimit not only up to 10.
Screen Shot 2018-11-21 at 11.38.56 PM.png

MacOS 10.14.1 5K 27" 2017 Annotate Pencil too thin for Mac Also please thickness unlimit not only up to 10. ![Screen Shot 2018-11-21 at 11.38.56 PM.png](https://archive.blender.org/developer/F5677551/Screen_Shot_2018-11-21_at_11.38.56_PM.png)
Author

Added subscriber: @Kent-Davis

Added subscriber: @Kent-Davis

#68757 was marked as duplicate of this issue

#68757 was marked as duplicate of this issue

#65438 was marked as duplicate of this issue

#65438 was marked as duplicate of this issue

#58115 was marked as duplicate of this issue

#58115 was marked as duplicate of this issue
Member

Added subscribers: @antoniov, @lichtwerk

Added subscribers: @antoniov, @lichtwerk
Antonio Vazquez was assigned by Philipp Oeser 2018-11-22 09:37:59 +01:00
Member

Cant get the Annotate layer thickness to be harmfully affected by UserPreferences > Display > Scale (so that seems fine).
Dont have a HiDPI display, but assume U.dpi has to be taken into account (havent looked into code though...)?

@antoniov : mind having a look?

Cant get the Annotate layer thickness to be harmfully affected by UserPreferences > Display > Scale (so that seems fine). Dont have a HiDPI display, but assume `U.dpi` has to be taken into account (havent looked into code though...)? @antoniov : mind having a look?

Added subscriber: @fclem

Added subscriber: @fclem

Actually, the annotation is done using GPU_SHADER_3D_UNIFORM_COLOR and not using the advanced shader (geometry shaders) used by Grease Pencil. We did this because annotation must not be as powerful as GP and we don't need the complications of the advanced shaders.

Using this GPU_SHADER_3D_UNIFORM_COLOR shader, limits the size to 10px because this is a technical limitation of the OpenGL (really, the specs only must support 1px, but usually works to 10px).I don't see any use of the HiDPI in the code, and this drawing method is used in several areas of Blender, so in many other places of the interface the thickness must be the same.

Maybe @fclem can help us here.

Actually, the annotation is done using GPU_SHADER_3D_UNIFORM_COLOR and not using the advanced shader (geometry shaders) used by Grease Pencil. We did this because annotation must not be as powerful as GP and we don't need the complications of the advanced shaders. Using this GPU_SHADER_3D_UNIFORM_COLOR shader, limits the size to 10px because this is a technical limitation of the OpenGL (really, the specs only must support 1px, but usually works to 10px).I don't see any use of the HiDPI in the code, and this drawing method is used in several areas of Blender, so in many other places of the interface the thickness must be the same. Maybe @fclem can help us here.
Author

Sigh. I am Usher Syndrome.

Sigh. I am Usher Syndrome.
Author

UserPreferences > Display >
I not see Display tab.

UserPreferences > Display > I not see Display tab.

image.png

![image.png](https://archive.blender.org/developer/F5679079/image.png)

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

I have this same bug. Annotation strokes are always 1 pixel wide - it completely ignores the display scale and the stroke thickness.

Screenshot 2018-11-22 at 11.19.48.png

I am on an iMac 5K with AMD Radeon R9 M395X 4096 MB.

I have this same bug. Annotation strokes are always 1 pixel wide - it completely ignores the display scale and the stroke thickness. ![Screenshot 2018-11-22 at 11.19.48.png](https://archive.blender.org/developer/F5679130/Screenshot_2018-11-22_at_11.19.48.png) I am on an iMac 5K with AMD Radeon R9 M395X 4096 MB.
Author

Oh well I am use iMac 5K
Also scale 2.0 I already set long time ago.
Screen Shot 2018-11-22 at 2.18.10 AM.png

Oh well I am use iMac 5K Also scale 2.0 I already set long time ago. ![Screen Shot 2018-11-22 at 2.18.10 AM.png](https://archive.blender.org/developer/F5679125/Screen_Shot_2018-11-22_at_2.18.10_AM.png)
Author

William yes correct.

William yes correct.

Then it looks your driver is supporting only 1 pixel width in the line primitive. I will ask Clément about this.

Then it looks your driver is supporting only 1 pixel width in the line primitive. I will ask Clément about this.
Author

Good good goooooooood.

Good good goooooooood.

@antoniov: GP objects display correct - could we just use the same method for both?

@antoniov: GP objects display correct - could we just use the same method for both?

Yes, I can, but not sure if this is the solution. Grease Pencil uses a vertex->geometry->fragment shader with more complexity and params and not sure if we "want" this complexity in annotations.

Yes, I can, but not sure if this is the solution. Grease Pencil uses a vertex->geometry->fragment shader with more complexity and params and not sure if we "want" this complexity in annotations.
Author

I let you know. I can't speak voice. I am full deaf and I know sign language so I can use screen record to explain object then write pencil thickness stroke so they can look up youtube how to work on Blender 2.80.

I let you know. I can't speak voice. I am full deaf and I know sign language so I can use screen record to explain object then write pencil thickness stroke so they can look up youtube how to work on Blender 2.80.

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian

I had this problem when I was testing for #56199 (Crash on Annotation in (VSE) Image Preview). I can't remember if it is exactly the same issue or not, because of studio/blender-studio#55535 and the and the fix for #56199 makes it damn near impossible to test Annotations in the sequencer preview. Not sure about writing in 2.80a but opening 2.79b file in 2.80 the line thickness does not change with DPI scaling.

I had this problem when I was testing for #56199 (Crash on Annotation in (VSE) Image Preview). I can't remember if it is exactly the same issue or not, because of studio/blender-studio#55535 and the and the fix for #56199 makes it damn near impossible to test Annotations in the sequencer preview. Not sure about writing in 2.80a but opening 2.79b file in 2.80 the line thickness does not change with DPI scaling.
Author

iMac already set 5120 x 2880 Retina because of 5K

iMac already set 5120 x 2880 Retina because of 5K

This is related to most mac not supporting GL_LINE_WIDTH > 1.0.

This is related to #57570.

Ideally I would like to have something that does not rely on geometry shader for that so that it's supported on metal in the future. But maybe I'm asking too much.

The idea would be to have a special shader variation for each builtin shader if the current line width is greater to the max supported size. The tricky thing is to add the geometry shader pass to any builtin shader without having the need to rewrite them.

This is related to most mac not supporting GL_LINE_WIDTH > 1.0. This is related to #57570. Ideally I would like to have something that does not rely on geometry shader for that so that it's supported on metal in the future. But maybe I'm asking too much. The idea would be to have a special shader variation for each builtin shader if the current line width is greater to the max supported size. The tricky thing is to add the geometry shader pass to any builtin shader without having the need to rewrite them.
Author

Sigh

Sigh

Added subscriber: @Morganil

Added subscriber: @Morganil

Just saw this, this is most likely the same issue as ##64822 (https://developer.blender.org/T64822 not sure how to link other tasks directly yet)

Is this something that will be looked on for 2.8 or beyond? This is most likely an issue on other platforms with high resolution displays with OS DPI scaling as well.

Just saw this, this is most likely the same issue as ##64822 (https://developer.blender.org/T64822 not sure how to link other tasks directly yet) Is this something that will be looked on for 2.8 or beyond? This is most likely an issue on other platforms with high resolution displays with OS DPI scaling as well.
Author

Oh well I show you other picture and you can see.
Mac.png

Screen Shot 2019-05-19 at 8.22.57 AM.png

Oh well I show you other picture and you can see. ![Mac.png](https://archive.blender.org/developer/F7049072/Mac.png) ![Screen Shot 2019-05-19 at 8.22.57 AM.png](https://archive.blender.org/developer/F7049083/Screen_Shot_2019-05-19_at_8.22.57_AM.png)
Brecht Van Lommel changed title from Annotate Pencil too thin for Mac to Lines too thin on macOS 2019-06-03 10:16:10 +02:00
Antonio Vazquez was unassigned by Brecht Van Lommel 2019-06-03 10:16:10 +02:00

Closed as duplicate of #57570

Closed as duplicate of #57570
Member

Added subscriber: @MariusGiurgi

Added subscriber: @MariusGiurgi
Member

I have the same problem with Blender 2.80 on a mac (MacBook Pro / OSX 10.14.6). also the highlight of selected nodes (in composer, material nodes etc) is too thin and hard to distinguish what the selected nodes are. As a matter of fact many lines displayed throughout the Blender 2.80’s UI are too thin, compared to 2.79

Screen Shot 2019-10-07 at 4.52.30 PM.png

Screen Shot 2019-10-07 at 5.00.20 PM.png

I have the same problem with Blender 2.80 on a mac (MacBook Pro / OSX 10.14.6). also the highlight of selected nodes (in composer, material nodes etc) is too thin and hard to distinguish what the selected nodes are. As a matter of fact many lines displayed throughout the Blender 2.80’s UI are too thin, compared to 2.79 ![Screen Shot 2019-10-07 at 4.52.30 PM.png](https://archive.blender.org/developer/F7795390/Screen_Shot_2019-10-07_at_4.52.30_PM.png) ![Screen Shot 2019-10-07 at 5.00.20 PM.png](https://archive.blender.org/developer/F7795393/Screen_Shot_2019-10-07_at_5.00.20_PM.png)
Member

I checked the experimental version as well (blender-2.81-54a9649e2636-macOS) and it seems to still have this issue, so either a fix for this was not yet integrated into 2.81.. or if it was integrated, the fix was not really fixing this issue. :)

I checked the experimental version as well (blender-2.81-54a9649e2636-macOS) and it seems to still have this issue, so either a fix for this was not yet integrated into 2.81.. or if it was integrated, the fix was not really fixing this issue. :)

Added subscriber: @brecht

Added subscriber: @brecht

This report was closed as a duplicate of #57570, it is not fixed.

This report was closed as a duplicate of #57570, it is not fixed.
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
10 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#57993
No description provided.