-
Hi! Im running multiple plotters in a program by calling the function below multiple times: ( import vedo as v
v.settings.immediateRendering = False
v.settings.allowInteraction = True
def show(mesh):
#Disregard these 3 rows
app = init_app()
plot_window = VedoPlotWindow.instance().plot_window
fig = plot_window.fig
opts = dict(axes=4, interactive=False, new=True, bg='k', title=f'Figure {fig+1} - CALFEM vedo visualization tool')
plt = v.show(mesh, **opts) Then I'm finally rendering the scenes using: v.interactive() On macOS, everything works as it should, I can interact with all plotters in separate windows, on Linux however, I can only interact with the last created one. I tried running The following is the printouts from macOS:
Linux:
Is this a known issue, or am I potentially doing something wrong? I've tried all combinations of the Also, the important thing is for it to work on Windows in the end. I can't try it on that platform right now, but is it likely to work on Windows if it's working on macOS? For instance, is the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Andreas, unfortunately this is a new "feature" of the upstream VTK and doesn't happen with versions <=8.1 (if I remember correctly). |
Beta Was this translation helpful? Give feedback.
-
Now I remember I submitted this same issue to the vtk forum and they say the fixed it... but it looks like the bug is still there... on the other hand on windows it should work ok :) |
Beta Was this translation helpful? Give feedback.
Now I remember I submitted this same issue to the vtk forum and they say the fixed it... but it looks like the bug is still there...
https://discourse.vtk.org/t/vtk9-behavior-of-vtkrenderwindowinteractor/5587/10
on the other hand on windows it should work ok :)