Questions tagged [vispy]

Vispy is a high-performance interactive 2D/3D data visualization library. Vispy uses the OpenGL library to access the power of modern GPUs to display very large datasets.

Vispy is a high-performance interactive 2D/3D data visualization library. Vispy uses the OpenGL library to access the computational power of modern Graphics Processing Units (GPUs) to display very large datasets. Vispy can be used for:

  • High-quality interactive scientific plots with millions of points.
  • Direct visualization of real-time data.
  • Fast interactive visualization of 3D models (meshes, volume rendering).
  • OpenGL visualization demos.
  • Scientific GUIs with fast, scalable visualization widgets (Qt or IPython notebook with WebGL).

References:

132 questions
0
votes
1 answer

PyQt5 on Fullscreen with embedded vispy canvas flickers when any widget is clicked

I'm working on an application where I've embedded a vispy scene.SceneCanvas to pyqt5 to plot volumes. But when I put pyqt5 on full screen, it flickers whenever I click on any widget. Is there a way to fix this or is this? I've added a small script…
SorinT
  • 53
  • 1
  • 6
0
votes
2 answers

How can I get rid of zig zag artifact on sphere surface in vispy?

I'm working on the 3D visualization of planets in the solar system. As I am going to apply texture, I have manually computed the texture coordinates (texcoords), however, I get zig-zag artefacts appeearing in the image. I believe that my computation…
0
votes
1 answer

How to use Vispy to draw different types of line by different times?

I want to draw different types of lines, such as, white lane, yellow lane, white long lane and so on, but when I call visual.Line() eachtime, it can only keep the last draw-event , just only one type of lane in the Canvas. Does Vispy has the same or…
0
votes
1 answer

How to have a Vispy.app.Canvas running directly in Vispy.app AND as a QWidget inside a QMainWindow

I would like to know how I can make the self.show() instruction at the end of my Vispy.app.Canvas init() dependant on the fact the canvas is basically run in a Vispy app or as a QWidget in a QMainWindow. So I have a Python3 Vispy app that run and…
GregVDS
  • 13
  • 4
0
votes
0 answers

Vispy scene embedded into PyQt5 Application becomes black after being removed from layout then add back

The problem occurs after I do this series of operations: Put two vispy.scene.SceneCanvas objects into two distinct QWidgets, call them scenewidget1, scenewidget2 Show a QWidget, add scenewidget1 and scenewidget2 to its layout Remove scenewidget1…
Zongyue Lu
  • 47
  • 6
0
votes
0 answers

2D Image inside 3D mesh in vispy

I am working on rendering a 3D mesh in vispy with custom camera movements. The 3D mesh is generated from a pointcloud. I however have a part of mesh which is just a flat cardboard image. To speed up rendering I want to treat it as a 2D image. From…
Isam Abdullah
  • 50
  • 1
  • 8
0
votes
1 answer

How to correctly embed a Vispy canvas on a PySide2 GUI?

I am trying to create a GUI using Vispy and PySide2. I'm quite new to these libraries. I am facing a problem when I try to set an alignment for Vispy's canvas. I'm getting this error message for whatever alignment flag I try. I suspect that the…
B.Sarah
  • 119
  • 1
  • 3
  • 11
0
votes
1 answer

Text labels in image pixel coordinate system in VisPy

I don't see an example or straightforward answer in VisPy documentation. I would like to display an image with text labels and other markers attached to image pixels. Assume that the pixel size is 1 x 1, the text has real (non-integral) coordinates…
Paul Jurczak
  • 7,008
  • 3
  • 47
  • 72
0
votes
2 answers

The plot appears at wrong position when embedding Vispy SceneCanvas into PyQt5

I am trying to write a subclass of vispy.scene.SceneCanvas and use it as a plot widget in my PyQt5 application. However, the plot always appears at wrong position (top-right corner), and I did not get any hint from vispy docs about this…
Zongyue Lu
  • 47
  • 6
0
votes
1 answer

Vispy plotting data

I followed this Add labels to real-time signal plotting with Vispy thread and tried using the example from https://vispy.org/gallery/scene/line_update.html#sphx-glr-gallery-scene-line-update-py . How can I hold the plotted information, I should be…
aven
  • 11
  • 2
0
votes
0 answers

Combine plotting, text, lines on the same canas in vispy

I have a real-time plotting system that retrieves and preprocess data from a stream and plots it, with each channel (from 1 to e.g. 100) plotted on a different 'row'. The version with pyqtgraph backend is complete and looks like: But it's not very…
Mathieu
  • 5,410
  • 6
  • 28
  • 55
0
votes
0 answers

Add labels to real-time signal plotting with Vispy

I am not familiar enough with Vispy. I did adapt this example for my use case, but I don't know how to modify it further to include the missing features. I am trying to plot in real-time N-channels of data at the same scale. Using pyqtgraph, the…
Mathieu
  • 5,410
  • 6
  • 28
  • 55
0
votes
1 answer

Integrate VISPY into WX

I am struggling to get the bellow code (MWE) working. Expected behavior: python quits after closing all windows Observed behavior: python keeps running Has anybody a clue why python does not quit? #!/usr/bin/env python import wx from vispy import…
gkft
  • 1
0
votes
1 answer

Create a barplot using vispy Rectangle

I'm tryng to create a barchart using Vispy since im tended to use opengl cause of a large set of data. From the vispy docs i found the visuals.Rectangle class which provides me a "bar". Unfortunately the class takes only 1 set of points so i tried…
progS
  • 55
  • 5
0
votes
1 answer

Spyder IDE does not display VispyWidget / Vispy plot

I am quite new to python and spyder IDE. I have a problem with the spyder IDE unable to plot the example from vispy example. The example I used is gpuimages.py, you can check the source code in the link…
Yzal
  • 1
  • 2
1 2 3
8 9