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 can I use vispy with a newer OpenGL version?

I am trying to use an application based on vispy. It says WARNING: OpenGL version 2.1 or higher recommended, got 1.1.0. and then in fact fails with RuntimeError: Function glBindFramebuffer not present in context (OpenGL version is 1.1.0). To be…
Maik
  • 304
  • 2
  • 3
0
votes
2 answers

How to use colormap in VisPy surfaceplot

I'm using VisPy to plot a surface, but the function scene.visuals.SurfacePlot only has the parameter color,without the parameter colormap. Does anyone know how to use colormap in surface plotting?
Richard.L
  • 139
  • 3
  • 14
0
votes
1 answer

py2exe "No module named 'site'" from Anaconda

I'm trying to use py2exe to build an executable on 64-bit Windows 7 with Anaconda (Python 3.4) for a project of mine that depends on a lot of libraries. Some of the more complex ones include vispy (pyopengl), PyQt4, numba, and scipy. I've been…
djhoese
  • 3,567
  • 1
  • 27
  • 45
0
votes
1 answer

OpenGL Luminance internal data type

I'm creating a 2D texture and am getting confused on what data type my texture is actually being stored at. My input is a 2D 32-bit float array that is normalized to 0-1 for now. I'm creating a texture with a call resembling…
djhoese
  • 3,567
  • 1
  • 27
  • 45
0
votes
0 answers

Render points / lines in VisPy when they are very close to each other from OpenStreetMaps in OpenGL

I am trying to render simple lines from OpenStreetMaps data. I converted the latitude longitude we get into the pixel coordinates using the Mercator projection yet Opengl isn't able to render points this close by. These are the set of points I have.…
ssarangi
  • 602
  • 1
  • 10
  • 28
0
votes
1 answer

Plane through centre of unit sphere appears offset in OpenGL ES 2.0

I'm plotting some coastline data on a sphere using the vispy interface for OpenGL ES 2.0. I'm using latitude and longitude values to work out 3d coordinates for the data on a sphere and just plotting these. I'm able to successfully draw the data but…
0
votes
0 answers

How to use cx_freeze with vispy?

I'm running into problems trying to freeze a vispy app. This is the error: cx_Freeze: Python error in main script --------------------------- Traceback (most recent call last): File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py",…
0
votes
1 answer

network animation with static nodes in python or even webgl

So I have a particular task I need help with, but I was not sure how to do it. I have a model for the formation of ties between a fixed set of network nodes. So I want to set up a window or visualization that shows the set of all nodes on some sort…
krishnab
  • 9,270
  • 12
  • 66
  • 123
0
votes
2 answers

Draw circles with center out of view in OpenGL

I am using vispy to draw many circles, here is the reference program: http://vispy.org/examples/basics/gloo/display_points.html When the center of the circle is out of the range (-1, -1) - (1, 1), the whole cirlce disappeared. Here is a simple…
HYRY
  • 94,853
  • 25
  • 187
  • 187
-1
votes
2 answers

No example available for `vispy.visuals.GraphVisual`. My code just shows blank screen

I tried googling and piecing together an example from many sources. Here is what I've got: import numpy as np from vispy import app from vispy import visuals from vispy.visuals.transforms import STTransform import networkx as nx class…
MathCrackExchange
  • 595
  • 1
  • 6
  • 25
-2
votes
1 answer

How to draw on an image in openGL?

I load an image (biological image scans) and want to a) display it and b) draw markers on it. How would I program the shaders? I guess the vertex shaders are simple enough, since it is an 2D image. On idea I had was to overwrite the image data in…
Kai
  • 376
  • 1
  • 4
  • 17
-3
votes
1 answer

Fullscreen mode not working in galrywidget

Buttons 'G','H' working when one of widgets in focus, but 'F' not. My code: # -*- coding: UTF-8 -*- import numpy from galry import * class MyPaintManager(PlotPaintManager): def initialize(self): self.add_visual(PlotVisual,…
n1k
  • 5
  • 1
1 2 3
8
9