OK I feel a bit silly. Is the mailing list indexed in google? I spent 2 hours 
this morning looking for this and I guess I didn't search directly in the 
mailing list archive... Thanks for the tips... Rebuilding pv with OSmesa is out 
of my control right now so I will give the X server solution a shot.

-----Original Message-----
From: Karl König [mailto:[email protected]] 
Sent: Thursday, January 31, 2013 3:37 PM
To: Masquelet, Matthieu (GE Global Research)
Cc: [email protected]
Subject: Re: [Paraview] Is it possible to prevent the render window to appear 
when using a python script?

Matthieu,

This question comes up quite frequently on the list, in fact just yesterday. 
There is Andy's suggestion of reverting to OSMesa for rendering to get rid of 
the window (at the expense of not using graphics hardware any more):
http://markmail.org/message/jzwfszl2yqkjkbq3

You might try the solution Pat suggested in case you are using Gnome
desktop: http://markmail.org/message/g4wcbwukeqnzuztn

I haven't tried it in quite a while, but I reckon using a separate X server as 
Kevin suggested a few years back should still work, too:
http://markmail.org/message/mtcu4t7xnjih5svq

Karl


Masquelet, Matthieu (GE Global Research) wrote, On 31.01.2013 20:38:
> I have a python script that loads a series of pvsm file to generate a 
> sequence of animation. Here are a few pv-related statements in my script:
>
> from paraview.simple import *
> .
> paraview.simple._DisableFirstRenderCameraReset()
> .
> for loop:
>     servermanager.LoadState(tmp2)
>     view = servermanager.GetRenderView()
>     view.StillRender()
>     .
>     view.WriteImage(.)
>     Delete(view)
> 
>  
> 
> During the loop the render window appears on the foreground, does not 
> matter whether I run through pvpython or pvbatch. Is there a way 
> around that? Not only would it be more convenient but also I assume it 
> could be quite a bit faster.


_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to