Questions tagged [glumpy]

Glumpy is a Python library for producing scientific visualizations. It offers a high-level interface between OpenGL and numpy.

External links:

21 questions
8
votes
2 answers

Display NumPy array as continuously updating image with Glumpy

I've got a simulation model running in Python using NumPy and SciPy and it produces a 2D NumPy array as the output each iteration. I've been displaying this output as an image using matplotlib and the imshow function. However, I've found out about…
robintw
  • 27,571
  • 51
  • 138
  • 205
3
votes
0 answers

Install glumpy (or other non-conda packages) in conda environment

I have an Anaconda (newest version) environment with Python 3.7.5 installed, it is my only environment so far. Now I want to install glumpy, which is not listed in the anaconda cloud and channels, but it is cloneable via GitHub und installable via…
JustAGuy
  • 129
  • 1
  • 11
2
votes
1 answer

Add glumpy widget to PyQt5 GUI

I have a simple GUI onto which I am plotting images. I create Widgets for text outputs and arrays plots, and I would like to add one for 3D visualtion using glumpy, say to show this example from the glumpy documentation. What I would like is an…
SuperCiocia
  • 1,823
  • 6
  • 23
  • 40
2
votes
2 answers

Cannot run Glumpy example app using GLFW as backend

I've cloned glumpy from Github and am trying to run glumpy\examples\app-simple.py I can run the example fine if I install pyglet using pip install pyglet, (or, I think I can? The window causes some weird warnings if I click on certain parts of it,…
Max Kessler
  • 169
  • 4
  • 12
2
votes
1 answer

animating image stack with vispy

I'm trying to migrate from MATLAB to Python and one of the things I frequently rely on during development in Matlab is the ability to rapidly visualize slices of a datacube by looping through layers and calling drawnow, e.g. tst =…
T.Wong
  • 21
  • 1
2
votes
1 answer

How can one use glumpy or vispy from kivy?

I am a fan of glumpy (or the related vispy), a python framework for scientific visualization. Unfortunately it does not have much in the way of user-interface (buttons etc.) I am also a fan of kivy and how it handles user interface elements. Both…
weemattisnot
  • 889
  • 5
  • 16
1
vote
0 answers

Plotting 2D array on slice of 3D cube in OpenGL

I have a simple OpenGL code, using glumpy in python, to plot an interpolated 2D array: I would like to plot a 3D interpolated array, in the following way: slice it into 10 (say) planes perpendicular to the viewer and adding transparency so as to…
SuperCiocia
  • 1,823
  • 6
  • 23
  • 40
1
vote
1 answer

Stack two widgets in a GUI

From this answer I have code that adds a number of Widgets to a PyQt5 GUI: I would like to add another widget just in this configuration: I was trying to play around with QGridLayout(), for a simplified version of the problem (MWE below). What I…
SuperCiocia
  • 1,823
  • 6
  • 23
  • 40
1
vote
1 answer

Getting the value of buffers in Python wrapper of OpenGL

Is it possible to get the buffer to readable array? i.e. When I call them or print them, only are shown. How can I get the value of buffer object to python array?
iPsych
  • 171
  • 10
1
vote
1 answer

Is it possible to get the index of 'invisible' vertices in python-opengl like gloo, glumpy?

Is it possible to get the index of 'invisible' vertices in python-opengl like gloo, glumpy? For example, when I draw a 3D sphere in scenegraph and rotate the object using turn-table camera, the half of vertices are invisible, but the index will be…
iPsych
  • 171
  • 10
1
vote
1 answer

A way to stop color interplation on GL_EDGES?

i am currently writing a glumpy based renderer in Python. I am using glumpys OpenGl features for rendering a bunch of points and lines. My points are actually a graph so the lines are edges, multiple edges can have one shared point. I implemented…
zeronyk
  • 11
  • 2
1
vote
1 answer

How to zoom in/out a 3D image using glumpy?

I'm trying to show a 3D image (a sphere) with a texture that contains some information. I need to rotate and zoom in/out the image. I just came up using glumply and I saw some examples that are very helpful (especially the Earth rendering example at…
ivansiiito
  • 133
  • 2
  • 10
1
vote
2 answers

Runtime error: Freetype library not found

I am running Glumpy on python 3.7.2 and windows 10. I keep getting this error EVEN AFTER installing through pip. Traceback (most recent call last): File "C:\Users\algeb\Downloads\Animoji-Animate-master\animate.py", line 3, in from…
Kainoa Kanter
  • 31
  • 2
  • 4
0
votes
1 answer

OSError: [WinError 193] %1 is not a valid Win32 application (glumpy app)

Im getting this error while trying to run a code that uses glumpy library in python. Seems like the problem is when trying to run a command using "app". I'm using anaconda and python 3.6. I had hard time installing dlib and glumpy and I want to…
0
votes
1 answer

Reset glContext of a pyqt5 widget

i am using glumpy to visualize graphs. Glumpy takes care of uploading data to the GPU using openGl. I am using the "pyqt5" backend. I encounterd some problems using glumpy. If i bind buffers on the gpu frequently, the program starts to run very…
zeronyk
  • 11
  • 2
1
2