• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vispy / vispy / 26163722511
75%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 12:54PM UTC
Jobs 4
Files 346
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2026 12:51PM UTC coverage: 74.937% (+0.03%) from 74.904%
26163722511

push

github

web-flow
Set depth buffer for gridlines (#2748)

Currently the gridlines visual does not set the depth buffer. This is
not important in 2D, buut when using it in 3D the depth is set to a
plane parallel to the screen (cause of the impostor rendering as a
screen-covering quad). This PR sets the depth buffer correctly, so this
is no longer a problem.

Here's an example:

```py
from vispy import scene
import numpy as np

canvas = scene.SceneCanvas(show=True)

view = canvas.central_widget.add_view()
view.camera = 'arcball'
view.camera.scale_factor = 30

grid = scene.GridLines(parent=view.scene)
grid.transform = scene.STTransform(translate=(0, 0, -5))
grid.update_gl_state(preset='translucent')

cube = scene.Cube(size=10, parent=view.scene)
cube.transform = scene.STTransform(translate=(0, 0, 5))
cube.update_gl_state(preset='translucent')
```

On main, you'll see no cube, regardless of rotation, cause the grid wind
the depth test all the time. On this pr, the grid and cube exist in
space as expected.

<img width="802" height="602" alt="image"
src="https://github.com/user-attachments/assets/0141416f-420b-4890-b11e-79ac39663c4e"
/>

5933 of 10750 branches covered (55.19%)

24 of 24 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

24428 of 32598 relevant lines covered (74.94%)

2.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
88.18
-0.91% vispy/util/fetching.py
Jobs
ID Job ID Ran Files Coverage
1 run-3 - 26163722511.1 20 May 2026 01:12PM UTC 346
52.06
2 run-4 - 26163722511.2 20 May 2026 01:12PM UTC 346
72.46
3 run-1 - 26163722511.3 20 May 2026 01:12PM UTC 346
46.84
4 run-2 - 26163722511.4 20 May 2026 01:12PM UTC 346
74.16
Source Files on build 26163722511
  • Tree
  • List 346
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5595d39b on github
  • Prev Build on main (#26100554284)
  • Next Build on main (#26165029113)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc