Thanks for your reply, Utkarsh. Works perfectly! Michael
-----Ursprüngliche Nachricht----- Von: Utkarsh Ayachit [mailto:[email protected]] Gesendet: Montag, 13. September 2010 15:38 An: Michael Müller Cc: Carolyn Stancoff; [email protected] Betreff: Re: [Paraview] Add logo to animation Michael, Use something like follows: txt = servermanager.rendering.ImageTexture() txt.SourceProcess="Client" txt.FileName = "/tmp/foo.png" view.BackgroundTexture = txt view.UseTexturedBackground = 1 Render() Utkarsh On Thu, Sep 9, 2010 at 5:39 AM, Michael Müller <[email protected]> wrote: > Another question concerning the background image... > What is the procedure within python scripting to load an image as background? > I also tried to get it via the tracing option but its output was not usefu, > since there is no reference to the file I was loading: > ... > try: paraview.simple > except: from paraview.simple import * > > RenderView1 = GetRenderView() > RenderView1.UseTexturedBackground = 1 > RenderView1.BackgroundTexture = [] > RenderView1.Background2 = [0.0, 0.0, 0.17254901960784313] > RenderView1.Background = [0.32941176470588235, 0.34901960784313724, > 0.42745098039215684] > > Render() > ... > > Thanks for your help! > > Michael > > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] Im > Auftrag von Utkarsh Ayachit > Gesendet: Freitag, 2. Juli 2010 20:03 > An: Carolyn Stancoff > Cc: [email protected] > Betreff: Re: [Paraview] Add logo to animation > > It is possible to set a background image in paraview. Create a large > image with a log at one corner and then set that as the background > image. Go to Edit | View Settings to change the background image. > > Utkarsh > > On Fri, Jul 2, 2010 at 11:44 AM, Carolyn Stancoff <[email protected]> wrote: >> I would like to add a logo to my animation. Is there a way in ParaView to >> do that? >> >> Thanks, >> >> Carolyn >> _______________________________________________ >> 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 >> >> > _______________________________________________ > 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 > _______________________________________________ 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
