Dashed geometry nodes field link too hard to see on macOS #102919
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#102919
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
Operating system: macOS-13.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 575 OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.9.51
Blender Version
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2022-11-30 21:55, hash:
4aac5b92c1
Worked: (newest version of Blender that worked as expected)
Short description of error
Break line (I don't know word) see picture
Exact steps for others to reproduce the error
Only for Mac. Do not use Windows.
See my picture on my iMac there.
Browser to show picture.
https://imgur.com/0q6NTJs
Theme on Nodes "Dashed Lines Opacity"
Added subscriber: @Kent-Davis
Added subscriber: @Harley
It would be so nice to be able to fix this. Especially since this is a serious accessibility problem.
This issue is caused because our "dotted line" shader, unlike the rest, does not support custom line widths. Instead it always just uses the GL line width. Unfortunately GL line widths above 1 is optional for the driver. And on many Macs they cannot do greater than 1 pixel wide. Couple that with a Retina display and you end up with dashed lines that are less than a normal pixel wide. Terrible if you also have vision difficulties.
Added subscriber: @mod_moder
Changed status from 'Needs Triage' to: 'Confirmed'
In that case, I'll confirm this issue. Also, from the explanation @Harley it looks like something with a high priority.
I personally consider it a high priority, since it is accessibility-related. However, it is also a very long-standing problem. It used to be that all of our shaders created invisible lines on some Macs with Retina displays, but over time they were all improved with just this one remaining. Of course even one like this is too many for those with difficulty seeing them.
Geometry Nodes Diamond line unable to see. December 2, 2022to Dashed geometry nodes field link to hard to see on macOSDashed geometry nodes field link to hard to see on macOSto Dashed geometry nodes field link too hard to see on macOSAdded subscriber: @HooglyBoogly
Actually I don't think this is the same problem. Node links aren't drawn with the same shader as the other dashed links. They actually change thickness as you zoom in and out, just like regular links. Maybe a solution is to make the line width UI option affect the node link width.
No, I think you are right. My bad. I am just so used to our dashed-line shader affecting Kent that I jumped to the wrong conclusion.
This looks to be made with the GPU_SHADER_2D_NODELINK shader. And it looks like it isn't scaling correctly. Kent's capture had to be shown full-screen (its 3720 x 1081 since it is on a high-DPI monitor) to really see what is going on. He is indicating that the gaps between the sections of that line are only a pixel wide. So when shown on his monitor those gaps are subpixel in size. Actually the gaps seem to be between 1 and 2 pixels in size.
{F13987310,width=100%}
With a High DPI screen and his UI scale set to 2.0 and thick lines turned on he should have a U.pixelsize of 6 I think. So we really shouldn't have any features smaller than than 6 pixels. Instead we have a gaps that are smaller than the eye can discern on a high-dpi monitor.
You can see " Resolution: Retina 5K (5120 x 2880) " on below.
Screenshot is 6400 px X 3200 px
You can see picture is very largest.
Radeon Pro 575:
iMac:
Don't forget about iMac will come soon will be RETINA DISPLAY 10,000 px come soon because of iPad Pro already have 10,000 px too.
Please check my previous ticket many times. I was wait too long to fix on Blender for Mac Accessibility everything menu, 3D Viewer, and etc.
Added subscriber: @Michael-Parkin-White-Apple
I am still wait for you to fix.
Not only EEVEE.
Only focus Geometry on break line.
Hello. I don't think this is a bug that you can do anything about.
@mod_moder
Do you have your own Macintosh iMac?
no
@mod_moder
Then you should not do that without your own Mac. They do fix code for Mac only.
I am wait for them to fix code make sure Dashed Line correct.
@PratikPB2123 Would you like to put Mac notification?
What I'm not seeing (yet) in the shader is control over the length of each dash segment. But we can control the proportion between dash and non-dash. And the line width.
This is what the dashed line looks like by default:
But if we do the following:
And then the user (and/or us) changes the "Dashed Lines Opacity" to 0:
we then get this, which might be enough to help Kent:
Sigh you still don't understand. I saw youtube for Windows Dash.
Mac need fix Blender code. I show you picture.
I understand. I would like you to evaluate the following build I made for you to test:
https://builder.blender.org/download/patch/PR106725/
Sureeeeeeeeee of course I can take test and show video on my own youtube
@Harley
See my youtube to show you.
https://youtu.be/xHWDpk1HtPw
3.6.zip there for " /Users/kentdavis/Library/Application\ Support/Blender/3.6 "
I can't tell from your video if my changes help you at all. I was hoping it would be a little more legible. Is it a little better, worse, or the same?
The same.
I don't know where find code Dash line on Blender.Can you tell me where code this dash?
Whoops, sorry didn't mean to close.
allright
In the code you will see them referred to as
GPU_SHADER_2D_NODELINK
andGPU_SHADER_2D_NODELINK_INST', used in
blender\source\blender\editors\space_graph\graph_draw.c. The actual shaders are a pair of files like
gpu_shader_2D_nodelink_frag.glsland
gpu_shader_2D_nodelink_vert.glsl`.I think the central issue is that we can't pass a "length" parameter to specify the size of a dash unit. We can specify the width, the relative difference between the gap and non-gap, the opacity of the gap, colors, etc.
Fairly certain I see what we need. "gpu_shader_2D_nodelink_frag.glsl" has a define for a DASH_WIDTH as 10.0 which looks to be the length that we need to pass into it.
Oh I see GPU Allright.
There for Mac "Show Package Contents"
Youtube: https://youtu.be/5UlNs70JtIo
That different for windows:
blender\source\blender\editors\space_graph\graph_draw.c
Sorry, these things are not in the Blender packages that are installed on users' computers for any platform. These things are in the blender source code that is edited by developers. If you had an interest in editing and compiling the Blender source code, and the applicable programming knowledge, you would start that journey here: https://wiki.blender.org/wiki/Building_Blender/Mac
Thank you for send me link and I got it understand about xCode.app I know very little and I have fail to use xCode many times and I giveup myself long time ago.
No problem thank you for your discuss with me smile.
Hi, I don't think this is a MAC only issue. I'm able to redo it on Windows also.
Allright @PratikPB2123 I get you.
With my limited shader knowledge I'm having no luck with this.
In a nutshell if we have the Resolution Scale set to 1x we have a nice display of the dashed lines at any 2D zoom. But as we increase Resolution scale we should see a decrease in the dash frequency but instead we get an increase. So effectively the dashes get smaller and the distance between decreases as Resolution scale increases, which is backwards, resulting in this issue for high-resolution displays like on Retina.
Yes me too I knowledge very limit about xCode.app
My iMac have Retina Display.
I did download everything complete on build Blender.xcodeproj
Blender 4.1.0 is resolve see picture on my iMac MacOS
You can inspect there on your iMac or MacBook or MacBook Pro before close a ticket.
Yes, looks better compared to 3.5. Closing then.
Thanks @Kent-Davis