John,

This doesn't actually answer your question, but can you set the size to 
something smaller that fits easily on your desktop and then use the 
magnification parameter of SaveScreenshot to create the larger screenshot that 
you actually want? The magnification will actually show the data at full 
resolution by rendering the image in pieces and stitching the results together.

-Ken

From: John Moore <[email protected]<mailto:[email protected]>>
Date: Monday, May 11, 2015 at 2:48 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] [Paraview] Full screen screenshots

I've been having an issue with generating full screen screenshots, from which I 
would like to generate a movie.

I am running python on my local machine with a full desktop environment and 
connecting to a remote server which does the rendering and processing. I load a 
state file and generate the view as follows:

pv.LoadState('dgsolution.pvsm');

view = pv.GetRenderView();

view.ViewSize = [1920,1080];

pv.SetActiveView(view)

view.StillRender()

I need to change the size to 1920x1080 since the state file used a different 
aspect ratio and size. The issue is that I have side menus on my desktop, and 
setting the view size to 1920x1080 pushes the render view outside of my display 
range.

Is there a way around this? Rendering in full screen mode should solve the 
problem, but I don't know how to activate full screen from pvpython. Is there a 
way to do this?

Thank you,
John
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to