What's the difference between these OffScreen modes in VTK: SetOffScreenRendering; VTK_USE_OFFSCREEN_EGL; GLEW_OSMESA;

What’s the difference between these OffScreen modes in VTK:
SetOffScreenRendering;
VTK_USE_OFFSCREEN_EGL;
GLEW_OSMESA;
What’s the advantage and disadvantage?
What’s their usage scenario?

Render offscreen, still need OpenGL and a graphic env, but the window will not appear. Great for testing.

VTK_USE_OFFSCREEN_EGL

Deprecated unused C++ definition

GLEW_OSMESA

A Glew definition, unrelated to VTK

More info about the actual feature here (from ParaView doc, but concepts are similar):

https://kitware.github.io/paraview-docs/latest/cxx/Offscreen.html

1 Like

thanks