[vtkusers] Screenshot with VTK option offscreenrender on

Darshan Pai darshanpai at gmail.com
Mon Nov 26 19:57:05 EST 2012


I have a QT application and using a QVTkWidget for rendering VTK objects.
I recently compiled VTK with offscreen rendering on.

I was trying to take a screenshot of the QVTkWidget , using the
vtkWindowToImageFilter.
The problem is that it works on my machine, but the screenshot is empty
when trying it in another machine.

I found out that that if I use VTK without offscreen rendering it works.

Is there any way to solve this problem?

Regards
Darshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121126/00c7a3d8/attachment.htm>


More information about the vtkusers mailing list