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