I'm working on 2 projects that I might be able to migrate to vispy.
First one is plotting points. Each point is a trade. Intensity is volume.
A few thousand dots per frame.
I get 20-30fps rendering into an XxYxRGB numpy array and blitting it to screen thru opencv. And I can catch mouseclicks.
But it gets sluggish as I increase the dots.
And I have to do numpy voodoo for multiple trades occupying the same pixel, that I'd love to gut out from my code.
And the other, same deal just plotting an array of coloured rectangles.
It's for visualizing a stock graph, the rectangles represent trades or orderbook info.
And I click on a trade to zoom into it & observe market activity in close temporal proximity to that trade. I want to do this as an overlay.
I figured I can pass a numpy vertex array into a shader.
RuntimeError: OpenGL got errors (Check before draw): GL_INVALID_VALUE
is there a way to use Qt QML backend? Qt QML uses QML Item , Its also possible to get the QML to create framebuffer, I am very new to OpenGL , used Pyvista , Pyqtgraphs with Qt widgets, I am looking for options to move to QML (preferably with Qt6). Looks like pyvista with QML is complicated as the way VTK works, Vispy seems much promising with both 2d charts (line charts) and 3d charts (surface mesh).
Some more details are https://stackoverflow.com/questions/68517058/can-not-get-pyvista-render-to-work-with-qt-qml-qquickframebufferobject , I am willing to contribute but could not get where to start.