[Paraview] Add logo to animation

Michael Müller Michael.Mueller at ifk.uni-stuttgart.de
Mon Sep 13 09:47:49 EDT 2010


Thanks for your reply, Utkarsh. Works perfectly!

Michael


-----Ursprüngliche Nachricht-----
Von: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Gesendet: Montag, 13. September 2010 15:38
An: Michael Müller
Cc: Carolyn Stancoff; paraview at paraview.org
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
<Michael.Mueller at ifk.uni-stuttgart.de> 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: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] Im Auftrag von Utkarsh Ayachit
> Gesendet: Freitag, 2. Juli 2010 20:03
> An: Carolyn Stancoff
> Cc: paraview at paraview.org
> 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 <cstancoff at gmail.com> 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
>


More information about the ParaView mailing list