question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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):

Screenshot from 2020-04-11 09-36-36

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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:28 (27 by maintainers)

github_iconTop GitHub Comments

2reactions
larsonercommented, Apr 23, 2020

VTK9 rc3 wheels are up so you can try @GuillaumeFavelier :

https://vtk.org/download/

For me the stc.py example 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?

2reactions
larsonercommented, Apr 11, 2020

FWIW, PyVista worked “out of the box” this way, while Mayavi fails to compile (which I’ll look into) 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found