My code base is vtk 8.2.0, can normally render what program should do.
like the following:
But after I upgrade to vtk 9.4rc2, it displays as the following:
I only changed some methods that are obsolete or renamed, like GetPointer(),
QVTKOpenGLNativeWidget => GetInteractor() to interactor(),
SetRenderWindow → setRenderWindow.
I also changed the call to vtkCellArray, which used InitTraversal and GetNextCell(), now I changed them to the thread-safe usage, using Iterator to traverse the cells. I tested both usages, but failed in getting correct render result in either way.
Can anyone help me on this issue? Thanks.