140 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
91
views
keyPressEvent on a vispy scene embedded in pyqt
I have a vispy scene embedded in a pyqt frame on a pyqt app to display some plots. Now, i need a keypressevent on the whole app for some unrelated thing (a home-made implementation of vim command mode)...
Ghost's user avatar
- 1,594
0
votes
0
answers
34
views
Problems with using VisPy to visualize the orientation of an IMU sensor, with RaspberryPi 4B
I have a project where I need to visualize the orientation of an IMU sensor as a 3D cube using VisPy, however, I keep getting the OSError: [Errno 5] Input/output error. I had another code using ...
0
votes
0
answers
35
views
Installing napari and matplotlib in the same anaconda environment
I created an environment with anaconda
conda create --name napari_env python=3.10
conda activate napari_env
I then installed napari and matplotlib
conda install napari matplotlib
By launching my ...
0
votes
0
answers
31
views
In Vispy, how to handle an event only in a specific ViewBox?
I'm trying to tweak this example : https://vispy.org/gallery/scene/shape_draw.html
There are multiple ViewBox objects in a grid and I want to draw and edit shapes in only one of them. It works fine ...
0
votes
1
answer
393
views
How to solve 'cannot install both pin-1-1 and pin-1-1'?
While installing VisPy in a miniconda environment:
> conda install vispy
Channels:
- conda-forge
- defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment:...
0
votes
1
answer
91
views
Vispy Application Throws FT_Exception After Packaging with PyInstaller, but Works on Other Machines
I’m working on a Python project that uses Vispy for rendering. When I run the Python script (.py), everything works perfectly. I packaged the application into an executable (.exe) using PyInstaller, ...
0
votes
0
answers
74
views
How to generate an earth through vispy or load an earth texture image in jpg format on a sphere?
I hope to create a 3D earth scene. I currently have a jpg format image of the earth's surface. This image is valid under html+js and can be loaded directly onto the sphere.
But I just used vispy and ...
0
votes
1
answer
149
views
Why does my PyQt5 and Vispy application only update the GUI when adding sleep in QThread's loop?
Basically I am trying to implement a PyQt5 application for real-time data visualization using the Vispy library. In the code below, I am trying to plot a sinewave with 10000 samples per second for 100 ...
0
votes
0
answers
127
views
Auto Python to EXE having issues with vispy glfw backend
I'm trying to convert a little game I used making p5.py but when I convert to .exe and try to open it always gives me this error:
Traceback (most recent call last):
File "minesweeper.py", ...
0
votes
1
answer
412
views
How to show an image in the background of a surface plot in vispy?
I want to have a surface plot in vispy, but also display a 2D image in place of the white background.
I used vispy's Draw a SurfacePlot example as a base. The first thing I tried is just adding a ...
0
votes
2
answers
189
views
How to animate the translation of a sphere in vispy
I'm trying to visualize the translation of a sphere in Vispy without sucess.
I have used the code from Vispy Documentation examples - Draw a Sphere to generate the sphere and then tried to update its ...
0
votes
1
answer
234
views
Adding a PyQT5 gui over a vispy simulation
I currently have two files, one using PyQt5 to create a simple GUI layout of data pulled from a JSON file, and another file using vispy to open a simulation. How can I get the GUI to overlay the ...
0
votes
1
answer
295
views
How can I apply a transformation several times on a vispy mesh object?
I am trying to rotate a cube by pressing 'z' on my keyboard using vispy.
However, I would like that cube to rotate everytime I press 'z', which is not the case right now : it only rotates the first ...
0
votes
0
answers
82
views
How to set different point sizes in VisPy?
This is an example that I referred to : https://github.com/vispy/vispy/blob/d7763448dd398e5dab91cc21db7378c1aa707c63/vispy/visuals/line/line.py#L273
class _GlPoint(Visual):
VERTEX_SHADER = "&...
1
vote
1
answer
355
views
How can I modify the face colors of a mesh object with vispy when they're already set?
I've got a problem trying to modify the colors of the faces of my Mesh cube with vispy. I an using the set_face_colors() method but it's not working. I think I just don't know how to use it properly......