Hi everyone,
I’m new to VTK and I’m trying to get started in python 3.10.2 in a conda environment. On a 2020 M1 Macbook Air
I’m working on just running some minimal examples and I’ve noticed something odd.
The following code example runs as expected https://kitware.github.io/vtk-examples/site/Python/GeometricObjects/CylinderExample/
But this provided tutorial code runs without error but doesn’t open a render window:
https://kitware.github.io/vtk-examples/site/Python/Tutorial/Tutorial_Step1/
The difference is that the “Hello World” example uses the vtkRenderWindowInteractor() object, and the “Tutorial_Step1” example only uses the vtkRenderWindow() object. That code is meant to show the render window and make the a 3D cone rotate once and then exit.
I can make the tutorial code work by adding an vtkRenderWindowInteractor() object, but I am concerned about moving forward when there seems to be a problem with rendering windows without the interactor.
Has anybody dealt with this issue?