BUG: Bugs with VTK 9
See original GitHub issue@GuillaumeFavelier you can now pretty easily build and install VTK 9 (which is good because they are on RC3, and it should fix some bugs and bring 3.8 support):
git clone --recursive https://gitlab.kitware.com/vtk/vtk.git
mkdir vtk-build
cd vtk-build
cmake -GNinja -DVTK_BUILD_TESTING=OFF -DVTK_WHEEL_BUILD=ON -DVTK_PYTHON_VERSION=3 -DVTK_WRAP_PYTHON=ON ../vtk
ninja -j 4
python setup.py bdist_wheel
pip install dist/vtk-*.whl
However, there is at least one rendering bug (depth peeling again maybe?) where the surface overlay gets cut off at some distance based on rotation (note the rightward “v” cut of the overlay):

We might need to figure out how to properly resolve the coincident topology here – relying on VTK to do it automagically might not work anymore. Or maybe it’s something else…?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:28 (27 by maintainers)
Top Results From Across the Web
BUG: OSX volume rendering broken with VTK9 + MultiSamples
Scrolling around occasionally shows some stuff gets rendered / flickering, but it's definitely rendering incorrectly (and usually just all black ...
Read more >793221 – sci-libs/vtk-9.0.1: NOT merged due to file collisions ...
Bug 793221 - sci-libs/vtk-9.0.1: NOT merged due to file collisions (collision with sci-visualization/paraview-5.9.0 which seems to install bundled files?)
Read more >1840974 – pcl fails to build with VTK 9.0 - Red Hat Bugzilla
Description of problem: I'm working on updating VTK to 9.0 and doing builds ... This bug appears to have been reported against 'rawhide'...
Read more >264917 – devel/gdcm: Use latest VTK-9 instead of ancient VTK-6 ...
Bug 264917 - devel/gdcm: Use latest VTK-9 instead of ancient VTK-6; Add USES=python ... Component: Individual Port(s) (show other bugs).
Read more >[vtkusers] Bug list?
[vtkusers] Bug list? David Cole david.cole at kitware.com. Fri May 9 15:35:26 EDT 2008. Previous message: [vtkusers] Bug list? Next message: [vtkusers] Bug...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

VTK9 rc3 wheels are up so you can try @GuillaumeFavelier :
https://vtk.org/download/
For me the
stc.pyexample we always runs just freezes, I think due in part to this:https://github.com/pyvista/pyvista/pull/686
It occurred to me that we actually need to fix this soon because once VTK9 wheels land on PyPi and are incorporated by Anaconda, anyone who installs or upgrades MNE will be stuck with unusable plotting 😦
Can you look into it?
FWIW, PyVista worked “out of the box” this way, while Mayavi fails to compile (which I’ll look into) 😃