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

How to dynamically add an object to a scene in vispy canvas embedded in wxpython

I want to add an arrow (some object) upon the press of a button. The code is a modified version of the example given in the vispy repository. import wx from vispy import scene from vispy.scene.visuals import Arrow import numpy as np class…
DVS
  • 43
  • 10
0
votes
1 answer

How to create an animation of images with vispy

I find it very fast to run vispy for different programs but unfortunatly there is no tutorials. How to create an animation of images using vispy?
CatCoder
  • 248
  • 2
  • 10
0
votes
1 answer

How to draw multi size using vispy?

I use following code to draw a point cloud in vispy # init view = vispy.sence.widgets.ViewBox() vis = visuals.Markers() view.add(vis) # updata data vis.set_data(data, face_color = color, edge_color=color, size = 1 ) vispy.app.run As…
hao li
  • 367
  • 2
  • 13
0
votes
1 answer

Change dimension of cube using MatrixTransform in vispy

import numpy as np from vispy import app, scene from vispy.visuals import transforms canvas = scene.SceneCanvas(keys='interactive', show=True) vb = canvas.central_widget.add_view() vb.camera = 'turntable' vb.camera.rect = (-10, -10, 20, 20) box =…
0
votes
2 answers

VisPy in Spyder IDE

I'm new to VisPy and was able to run the vispy.test() and spectrogram.py example via Anaconda3 prompt. The problem is when I try to use it inside Spyder IDE. Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] Type "copyright",…
Pedro
  • 330
  • 2
  • 12
0
votes
1 answer

How to set GraphicsWindow position in PyQtGraph?

With VisPy library, one can set canvas position by doing: from vispy import app canvas = app.Canvas(position=(0,0)) #Left top position Is there a way to do the same with PyQtGraph library? import pyqtgraph as pg win = pg.GraphicsWindow()…
Skryge
  • 81
  • 1
  • 9
0
votes
1 answer

Is it possible control Line_Width of individual lines in gloo (webgl in Python)?

In VisPy with gloo backend, The with of lines drawn via 3D coordinates can modified through GL.glLineWidth(max(width1, 1.)) at once, altogether. Is there any way to give the widths/thickness of line using array like colors? Should I modify gloo or…
iPsych
  • 171
  • 10
0
votes
1 answer

Vispy Display on Second Screen

I am using Vispy to display some real-time signals, based on the example on the webpage. In particular I'm using app.Canvas to create and update the display. Is there a way to specify geometry information when then canvas is created? Ideally I'd…
jdbrody
  • 533
  • 7
  • 16
0
votes
1 answer

Create matplotlib-style 3d scattergraph z-axis in Vispy

I am conducting PhD research into extremely high density lidar point clouds(1M points +), and am having real difficulty plotting these files on a 3D scattergraph. Matplotlib isn't optimised for datasets that large, so I am attempting to use Vispy to…
jon
  • 3
  • 1
  • 4
0
votes
0 answers

Warning in Spyder iPython window whenever I create a canvas in Vispy

Every time I create a vispy Canvas instance in Spyder: from vispy import app class Canvas(app.Canvas): def __init__(self): app.Canvas.__init__(self) canvas = Canvas() I start to get warnings like the following in the iPython…
eric
  • 7,142
  • 12
  • 72
  • 138
0
votes
1 answer

Multiple images in same view

Is there a way to show multiple images on the same view with different offsets? The _build_vertex_data in vispy/visuals/image.py doesn't seem to take any offsets. For example, I would like to have 3 images side by side, allowing me to zoom in and…
hmaarrfk
  • 417
  • 5
  • 10
0
votes
1 answer

Plot a plane in vispy

I am plotting a 3D point cloud on an XYZAxis with the Markers visual. In addition, I would like to plot a plane that shows how these points are separated; in this case, I have the coefficients c_0, c_1, c_2, c_3 of the plane c_0x_ + c_1y + c_2z +…
goodcow
  • 4,495
  • 6
  • 33
  • 52
0
votes
1 answer

rpi3, directly connected monitor, cant connect to $DISPLAY in code

Trying to display UI, mainy realtime data graphics and statistics on a screen directly connected to rpi3. Using some example code from Getting started with Vispy been trying to display anything, but when running the example code i only get a…
kitaps
  • 243
  • 4
  • 10
0
votes
1 answer

After drawing something by using Vispy, getting only white image

As the title, only white image is printed. below is my codes import numpy as np from vispy import io, scene c = scene.SceneCanvas(keys='interactive', bgcolor='w', dpi=96) view = c.central_widget.add_view() xx, yy =…
Hong
  • 15
  • 5
0
votes
1 answer

python3.6 vispy plot error white screen and data not appear

I have started with vispy but I cannot plot a line of data. I see a lot of examples which have used package but that doesn't work either. I have a white window and my line does not appear, why? This is my code: import numpy as np from vispy import…
user7454761
  • 53
  • 1
  • 7
1 2 3
8
9