I tried using a VTK based application on a Windows server machine that does not have OpenGL support. The program crashes immediately for lack of OpenGL support.
Is it possible to run a VTK based application on such a platform?
I am using VTK 7.1.1.
I use the following lines of code/modules in a C++ program to use OpenGL.
You can do data manipulations (such as filters) and IO, but if you want to render it, you’ll need OpenGL. The app you’re using will need to not use any of the Rendering libraries (certainly vtkRenderingOpenGL2). Alternatively, you could compile Mesa and use software rendering, though this is more complicated on Windows and I don’t have any reliable instructions for that handy.