Open dgoodlad opened 1 year ago
To me, this looks like something's wrong with blending as the copper's not visible through the transparent soldermask. Does changing the layer opacity or antialiasing settings do anything?
You might try commenting out this line and see what happens: https://github.com/horizon-eda/horizon/blob/5cb13af8fe171c50da64476abeb9de01bd9fea3a/src/canvas/canvas_gl.cpp#L260
Does changing the layer opacity or antialiasing settings do anything?
Disabling antialiasing fixed it! 1x, 2x, 4x sampling all make those layers disappear, while Off works fine.
I just tested a build with blending disabled by commenting out that line as you suggested, but it didn't have any effect. Enabling antialiasing still causes the same problem.
I'm not ruling out an issue with the VMware graphics driver here, or some odd interaction with my mac's graphics hardware. But any other ideas to troubleshoot?
But any other ideas to troubleshoot?
Another guess is that it's got to do something with geometry shaders since they're used for almost everything but the grid and cursor.
Can you post a screenshot of the edge of the board in the 3D view? The edges of the layers are the only thing the 3D view that uses geometry shaders.
On the (2d) board view I've got MSAA disabled, so we can see the copper & silkscreen layers now. On the 3d view, MSAA is enabled at 4x, and oddly looks fine...
Sorry, my bad, this perspective makes it quite hard to tell if the layer walls are there. Switch to the "Front" view by clicking on the first box in the title bar. I'd expect the board to be hollow as on the right side of this screenshot:
On my recent install of Horizon EDA, I can't get any of the board/schematic views to render anything but the background colour and the grid. The part and package viewers have the same behaviour. Nothing shows: no text, no wires (even when actively being drawn), no symbols, no footprints. 3d previews do work.
I've got a Debian 12 virtual machine, using VMware Fusion's accelerated 3d graphics. From what I can tell this should be more than enough to support Horizon's needs:
I don't see any other graphical bugs or glitches. I've tested in both Xorg and in Wayland, same issue.