[vtk-developers] vtkWindowToImageFilter and Remote Desktop

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Jun 19 11:47:48 EDT 2014


Hi,

Remote desktop swap the video card driver hence the issue you are seeing.
But if you use VNC instead, you should be good.

Seb


On Wed, Jun 18, 2014 at 3:14 PM, Smith, Jacob <J.Smith at questintegrity.com>
wrote:

>  Hello,
>
>  I've been trying to use the vtkWindowToImageFilter to output images of
> our 2D views.  I have been, for the most part, pretty successful.  But when
> I continued my development today from home, using Remote Desktop to access
> my workstation, the image being output with the vtkPNGWriter or jpeg writer
> (either one) does not work as expected.  To specify the image size, I
> change the size of the RenderWindow to the dimensions I want.  When not
> using Remote Desktop, this correctly changes the size of the image and only
> consists of what is in the vtk window.  But using Remote Desktop causes the
> output image to come out with the new size, but consist of all the forms
> around the vtk window as well.  The vtk window was not scaled along with
> the new RenderWindow size.  It is basically just taking a screenshot and
> including UI elements I don't expect to see.
>
>  Is there anything that can be done to improve the performance of this
> procedure when running through Remote Desktop?  What are the issues that
> I'm running into?  Does it have something to do with the fact that the
> graphics and display settings I'm used to on my workstation are not
> available to me when using Remote Desktop?
>
>  Thanks in advance!
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140619/6ce9e37e/attachment-0002.html>


More information about the vtk-developers mailing list