Page MenuHome

Visually broken long vertical near reroute point. Longer route → larger gap.
Confirmed, LowPublicBUG

Description

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 375.70

Blender Version
Broken: since 2.83.9 and later, including 3.0
Worked: 2.79b

Short description of error
How it looks:

How it should:

Event Timeline

Vyacheslav (hitrpr) updated the task description. (Show Details)

Can confirm in that file, but cannot reproduce from scratch.
Also: as soon as I move it, the gap disappears.

@Philipp Oeser (lichtwerk) I started with factory defaults and still can reproduce it.
try to duplicate reroute and move it straight down with Ctrl

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Jun 23 2021, 11:23 AM

Yep, can get it now, too

@Vyacheslav (hitrpr) , still can not reproduce the problem (version: 2.93LTS)

.

@Pratik Borhade (PratikPB2123) you need to drag it vertically right after duplication, so reroutes should be aligned from start.

In your case they are not

Dalai Felinto (dfelinto) triaged this task as Low priority.May 9 2022, 3:45 PM
Dalai Felinto (dfelinto) changed the subtype of this task from "Report" to "Bug".

Still able to reproduce this under 3.5.0 alpha (hash 81f425a36ff6). If two points have the same x- or y-coordinate, and are linked with a (curved) bezier curve, this issue appears. I can't reproduce the issue with noodle curving set to 0.

Interestingly, the issue appears to be in the final segment line of the bezier curve. You can see this in the video below, where the y-coordinate of the 2nd to last bezier point is the same as the point where the gap starts.

The issue appears to be located in blender-git/blender/source/blender/gpu/shaders/gpu_shader_2D_nodelink_vert.glsl.

When the endpoints of the links are horizontally or vertically aligned, the 'handle_offset' becomes 0 and two points of the bezier's control polygon overlap. I think this breaks the calculation of the bezier tangents in the shader.

While the issue is old I think I made it worse with rB67308d73a4f9 since it's now is also visible on very long horizontal node links.

I can take a look over the weekend, unless you wanna try your hand at it @Sibo Van Gool (SiboVG). :)

i am new here ,like absoultely fresh and new , cani i get started on this as my first issue ? with you guys

Sure @Leon Schittek (lone_noel), you or @ravi (Kill_Engine) can take this issue, I've been staring at it for too long now :).

This is a good issue to start with, so give it a shot @ravi (Kill_Engine) :)

If you haven't already, maybe check out the Developer Intro and the page about contributing code on the wiki.
If you get stuck on something feel free to ask over on blender.chat - you can also DM me there. Good luck!