Closed user27182 closed 1 year ago
trame_vtk/modules/vtk/serializers/actors.py:3:1: F401 'vtkmodules.vtkCommonMath.vtkMatrix4x4' imported but unused
FYI, the new version of PyVista is changing its initial camera point of view? That led me to update a baseline. But both local and remote are consistent so I feel confident.
But, the local rendering of volume rendering is now broken with PyVista. (FYI @banesullivan, @alesgenova)
new version of PyVista is changing its initial camera point of view
I'm not aware of this... and I hope not the case. Not sure what you are referring to.
New PyVista
vs old PyVista
New PyVista vs old PyVista
@jourdain Can you please clarify which versions of old and new you are referring to?
A bug with the orientation/direction of pyvista.Sphere
was recently patched and released in PyVista 0.42, I believe, with PR pyvista#4674. This resulted in scalar values being plotted differently for pyvista.Sphere
objects, and similar regression test images had to be updated accordingly. The changes are shared below (see direct link here).
Perhaps this is the same cause of the differences you're seeing with the trame PyVista tests? Though in your image the spheres appear to be mirrored, whereas the image below looks more like a 90 degree rotation.
When running python ./examples/validation/PyVistaInt64.py
with
vtk 9.2.6
pyvista 0.40.1
I get
Then with pyvista==0.42.3
, I get
Just had to update our test baseline
Resolves #50