[Paraview] Animating the camera

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Apr 15 10:48:33 EDT 2009


Ok. This is a nasty one. Before I tell you the fix, be aware that this
will change soon. We are working on cleaning up the animation time
issues that this is exposing. So here's the problem, you are loading a
dataset with single timestep. So ParaView switches to SnapToTimeSteps
mode and also enters a mode where the animation start and end times
are automatically determined based on the dataset. Inspite of changing
the play mode to sequence, it still remains in the mode where the
start and end times are determined by the dataset. Since that's just 1
time, the animation does not play. To fix this, go back the "Animation
Inspector" (remember this is going to be automated and cleaned up
soon), and then check the "Use custom end times" check box and specify
some animation end time which is not same as the animation start time.
Now try playing in the Sequence mode.

Utkarsh

On Tue, Apr 14, 2009 at 4:21 PM, David Doria <daviddoria at gmail.com> wrote:
> I had tried all of the modes, and nothing changed. I tried again after your
> response, stopping after step 2 and making sure it was on sequence mode and
> still nothing was animated. Are you able to get the correct behavior? I've
> tried it with a few different models with the same result, and I've done all
> of those steps in every order I could imagine and tried setting the
> start/end times in the animation view and in the "editing camera mode" to no
> avail.
>
> Thanks,
>
> David
>
>
> On Tue, Apr 14, 2009 at 7:13 PM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>>
>> Check your play mode. Is it set to "Snap to Timesteps" and is ParaView
>> reporting that your dataset has only 1 timstep? Change the animation
>> play mode to Sequence and try.
>>
>> Also if you are simply orbiting about the active object, you don't
>> have to do anything after step (2). It should by default create an
>> orbit about the object that's currently selected in the pipeline
>> browser.
>>
>> Utkarsh
>>
>> On Tue, Apr 14, 2009 at 4:00 PM, David Doria <daviddoria at gmail.com> wrote:
>> > It works with a basic example:
>> > 1) Add a sphere source.
>> > 2) In "animate view", choose "Camera" and click the blue "Plus"
>> > 3) double click in the timeline near "Camera"
>> > 4) double click "path..." next to time "0"
>> > 5) click ok
>> > 6) click ok
>> > 7) click "play"
>> >
>> > the sphere rotates as I expect.
>> >
>> > However, when I do exactly the same thing, but with step 1 replaced by
>> > opening a vtp file instead of adding a sphere source, nothing get
>> > animated
>> > at all.  Sometimes when I click on the camera timeline the Time's are
>> > both
>> > nan. It doesn't seem like the camera should be attached to either of
>> > these
>> > objects, making it weird that it works in one case and not the other?
>> > Any
>> > thoughts?
>> >
>> > Thanks,
>> >
>> > David
>> >
>> >
>> > On Tue, Apr 14, 2009 at 6:43 PM, Utkarsh Ayachit
>> > <utkarsh.ayachit at kitware.com> wrote:
>> >>
>> >> David,
>> >>
>> >> Don't use the "Animation Inspector". It is  going to be deprecated in
>> >> the next release. Use the "Animation View" to create animations for
>> >> the camera. Another caveat, the camera animation functionality is
>> >> still a bit "raw", so expect some usability issues.
>> >>
>> >> Utkarsh
>> >>
>> >> On Tue, Apr 14, 2009 at 3:37 PM, David Doria <daviddoria at gmail.com>
>> >> wrote:
>> >> > I want to do a "fly around" of a model. I opened the animation
>> >> > inspector,
>> >> > and chose "selected object: Camera", and click "add keyframe". Then
>> >> > under
>> >> > "camera position" I clicked "Create path" (Because I want to leave
>> >> > the
>> >> > focal
>> >> > point at (0,0,0) ).  The main paraview window disappears and a
>> >> > "Create
>> >> > Control Points" window pops up. When I click "OK", it seg faults. Has
>> >> > anyone
>> >> > else experienced this? / Am I doing something wrong?
>> >> >
>> >> > Thanks!
>> >> >
>> >> > David
>> >> >
>> >> > _______________________________________________
>> >> > 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
>
>


More information about the ParaView mailing list