-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BackgroundPlotter not workin on Mac with vtk9 #15
Comments
I know that we have a job on Travis configured with |
To move forward with this one, @banesullivan could you maybe try a very simple example like the default QVTKRenderWidgetConeExample and confirm that everything works fine for you? I think the priority here is to understand where is the issue. |
Possibly related to initialize/start/show ordering? https://discourse.vtk.org/t/vtk-9-pyqt-macos-no-rendering/3358/22 |
(This thread also explains why macOS rendering worked for me at one point when building the wheels myself, but stopped working once I switched to using the official VTK wheels) |
FWIW, toggling the "Eye Dome Lighting" setting made a figure change from completely black to actually show the figure correctly. |
Thanks for the tip, @cbrnr - I will have to look into why that is... FYI: VTK 9.0.1 fixed this issue for me (see #16 (comment)) but @larsoner is still having trouble? |
I'm still having trouble with MNE examples, but it might be something we're doing at our end |
Okay I figured out the problem,
|
... and also the VTK widget controls we have are only controllable by mouse clicks at 1/2 the correct location, meaning the VTK has some HiDPI problem with its widget controls and clicks... |
And if you then toggle eyedome lighting, it works! |
The widgets work? Or antialiasing works? Or you need AA off / commented out plus eyedome toggle to see the simple example above? |
Your example initially looks like this: After clicking on View - Toggle Eye Dome Lighting, it looks like this: |
I think this was fixed by VTK in https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7420 / 9.1, so we might as well close I think |
I still cannot get the
BackgrounPlotter
to work with VTK9.0 on Mac. See pyvista/pyvista#562 (comment)cc @Leguark, since you all are using the
BackgroundPlotter
in GemPy, you may want to limitvtk
in your setup.py until we get this fixed:vtk<9.0.0
cc @GuillaumeFavelier, are you all seeing this with MNE-Python?
The text was updated successfully, but these errors were encountered: