[vtkusers] Rendering to images without X (Linux)?

Андрей Траченко goodrone at gmail.com
Thu Aug 26 09:50:13 EDT 2010


Hello,

is it possible to use VTK rendering capabilities to render something
into PNG images without the need to install X on Linux?

Currently I'm getting PNG images using vtkRenderWindow,
vtkWindowToImageFilter and vtkPNGWriter. But the program doesn't work
on Ubuntu Server:

ERROR: In /build/buildd/vtk-5.2.1/Rendering/vtkXOpenGLRenderWindow.cxx, line 536
vtkXOpenGLRenderWindow (0x1c049c0): bad X server connection.
DISPLAY=ERROR: In
/build/buildd/vtk-5.2.1/Rendering/vtkXOpenGLRenderWindow.cxx, line 338
vtkXOpenGLRenderWindow (0x1c049c0): bad X server connection.
DISPLAY=Segmentation fault

Is it possible to render images without OpenGL and X system?

Thank you!
Andrew



More information about the vtkusers mailing list