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
1
vote
1 answer

Vispy multiple graphs

I'm fairly new to python programming and I'm struggling with the Vispy Library. Basically, I have a Raspberry pi connected to 2 Arduinos accelerometers sensors. The raspberry is sending the X, Y and Z values from both of the sensors through UDP to…
M. Ozn
  • 1,018
  • 1
  • 19
  • 42
1
vote
0 answers

How to pass values to a struct declared inside shader in a program in vispy?

My fragment shader contains the following struct variable. struct Material { vec3 ambient; vec3 diffuse; vec3 specular; float shininess; }; uniform Material material; // another uniform uniform float tmp; In vispy on…
1
vote
1 answer

Vispy Turntable Camera - Roll Option not working

I am having a problem with the roll angle not working in vispy turntable camera. def surface_3D(x, y, z, name): canvas = scene.SceneCanvas(keys='interactive') view = canvas.central_widget.add_view() view.camera = 'turntable' …
1
vote
2 answers

How to generate a paraboloid surface and make it respond to event

I am new to vispy and computer graphics. I have to generate a paraboloid according to a certain equation whose center and parameters vary according to the user input. I have gone through vispy documentation and examples and got some idea regarding…
DVS
  • 43
  • 10
1
vote
1 answer

Normalizing the scale of zoomable time series plots in Vispy

I'm new to Vispy and opengl in general. I've taken to adapt the realtime_signals demo to my datasets. The data I work with is non-stationary and usually exhibits a trend of sorts. As a consequence, zooming into the data usually doesn't work well…
user3641187
  • 405
  • 5
  • 10
1
vote
0 answers

Flipped normals around object edges in OpenGL

I'm using vispy to render 3D parametric surfaces with OpenGL. It seems to be working well for the most part but it looks weird in some parts around the edges of the geometry, almost as if the normals were pointing inwards (example). I suspect…
Kelemen Máté
  • 442
  • 3
  • 12
1
vote
2 answers

Integrating vispy with pyqt5 and uic

Some questions on vispy mention using canvas.native when adding a widget. How can a widget made as a placeholder in qt designer be used for vispy? The idea is going from this canvas = vispy.app.Canvas() w = QMainWindow() widget =…
user-2147482637
  • 2,115
  • 8
  • 35
  • 56
1
vote
0 answers

Want to display two realtime signals by use of Vispy scene canvas

I am trying to acquire and display to signals on real time using Vispy. I acquire signals over serial port by pyserial. I have modified the realtime_signals example…
bilgitay
  • 11
  • 1
1
vote
1 answer

Could not import backend 'Glfw'

Code:from p5 import * Error Traceback (most recent call last): File "C:\Users\Anvit\Desktop\Pygame\py.py", line 1, in from p5 import * File "C:\Users\Anvit\AppData\Local\Programs\Python\Python37\lib\site-packages\p5__init__.py", line…
Anvit
  • 218
  • 2
  • 12
1
vote
1 answer

Vispy No module named 'vispy.visuals.text._sdf_cpu'

I have downloaded vispy and installed all necessary dependencies (numpy pyqt and cython). I am now trying to run some of the examples and when I try to run chloropleth.py for instance I get the following traceback Traceback (most recent call last): …
LBes
  • 3,366
  • 1
  • 32
  • 66
1
vote
0 answers

How to use vispy to generate a rolling image?

Some context: I was looking into the vispy module to plot in realtime (or as close as possible to) data coming from an instrument. My attempt follow. from vispy.plot import Fig from vispy import app,scene from vispy.visuals import TextVisual import…
Oznerol
  • 73
  • 6
1
vote
1 answer

Transparency with voxels in VisPy

I am attempting to use python and VisPy to display 3D data from a numpy array. I looked up the example here and it was extrememly useful. I've gotten the data to display--but it doesn't look the way I want. The way my data is displaying now I really…
R. C.
  • 25
  • 4
1
vote
1 answer

WxPython and Vispy

here a question on embedding Vispy's SceneCanvas in a WxPython application. How to resize SceneCanvas to fit panel? and resize again when resize the window? You can try this code. If you maximize the window, you see the blue background. The size of…
Marco
  • 11
  • 3
1
vote
0 answers

MoviePy + VisPy only saving black screen to .gif

I have a script that animates a simple canvas using VisPy (in the "bad" way) successfully. However, when i export the animation to file, whether it's a .gif, or video formats (.MP4, etc) most of the time it produces a completely black image that…
AstroJason
  • 71
  • 4
1
vote
1 answer

Using a media/gif as a texture in rotating cube with vispy

I am using Vispy to rotate a cube. I can use imageio to use a custom texture in the face of the rotating cube successfully, but I don't understand how to use a movie or gif image. Full source code: import numpy as np from vispy import gloo,…
Anay Bose
  • 880
  • 1
  • 14
  • 24
1 2 3
8 9