[Paraview] Creating Animation in Paraview by Python scripting

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Mar 13 09:47:34 EDT 2009


Rouzbeh,

I've attached an example script showing how to create a camera
animation. This example simply orbits the camera about the focal
point.

Utkarsh

On Tue, Mar 10, 2009 at 12:30 PM, Rouzbeh Maani <rmaani at win.trlabs.ca> wrote:
> Hello everybody
>
> I want to create an animation by Python scripting. I would like to set the
> position of camera in each frame(e.g. in the animation I want the camera
> to rotate around the object), but I could not find any example in which
> the position of the camera can be set in each frame.
> I would appreciate if anybody could help me.
>
> best regards
>
> Rouzbeh
>
> _______________________________________________
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: camera_animation.py
Type: text/x-python
Size: 1265 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090313/c3eb87d5/attachment.py>


More information about the ParaView mailing list