[Paraview] Full screen screenshots

Moreland, Kenneth kmorel at sandia.gov
Mon May 11 17:01:06 EDT 2015


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 <johnpmooreiv at gmail.com<mailto:johnpmooreiv at gmail.com>>
Date: Monday, May 11, 2015 at 2:48 PM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150511/2a7e9f3f/attachment.html>


More information about the ParaView mailing list