InsightSoftwareConsortium / itkwidgets

An elegant Python interface for visualization on the web platform to interactively generate insights into multidimensional images, point sets, and geometry.
https://itkwidgets.readthedocs.io/
Apache License 2.0
582 stars 83 forks source link

Geometries pink band #192

Open banesullivan opened 5 years ago

banesullivan commented 5 years ago

I just updated to the latest version (master branch) and I'm seeing strange artifacts on most meshes I plot where a pink band is shown:

from pyvista import examples
from itkwidgets import view

mesh = examples.download_st_helens().warp_by_scalar()
view(geometries=mesh)

Screen Shot 2019-08-12 at 12 58 56 PM

from pyvista import examples
from itkwidgets import view

mesh = examples.download_topo_land()
view(geometries=mesh)

2019-08-12 13 02 01

banesullivan commented 5 years ago

And here's another with a lot:

from pyvista import examples
from itkwidgets import view

mesh = examples.download_topo_global()
view(geometries=mesh)

2019-08-12 13 06 19

thewtex commented 5 years ago

Discussed further in

https://github.com/Kitware/vtk-js/issues/1201

gattia commented 4 years ago

I also have this in my visualizations of surface meshes.

It seems to me that this is occurring at a certain colour/value in the viridis (default?) look up table. I say this because it seems to almost act as a contour value that separates higher/lower values on the surface mesh.

Not a huge deal, but something of note.