The rendering performance of VTK is lower than that of QOpenGLWidget. How can I improve VTK's display performance?

  1. It is under Release build.

  2. mapper->SetStatic(1) has no effect.

  3. After using vtkPointGaussianMapper, 3d rotation is not work.

  4. With VTK_REPORT_OPENGL_ERRORS_IN_RELEASE_BUILDS=ON, no OpenGL errors were reported.

  5. QSurfaceFormat is consistent, yet VTK’s performance remains lower than QOpenGLWidget.

I tested the data with ParaView 5.13.1 on Windows, and there was no lag during rotation.

Additionally, my own program using VTK 7.1 also performs better than version 9.4.1.

So, is 9.4.1 less performant?

But I ultimately need to run it on ARM-based Linux, and only 9.4.1 can properly load OpenGL ES.