<HTML>
<HEAD>
<TITLE>Re: [Paraview] Animating the camera</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Part of the problem is that the file series reader is reporting time even when you are loading a single file with no time in it. In retrospect, that is probably not a good idea. I just assigned a bug to myself to look into it.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 4/15/09 8:48 AM, "Utkarsh Ayachit" <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ok. This is a nasty one. Before I tell you the fix, be aware that this<BR>
will change soon. We are working on cleaning up the animation time<BR>
issues that this is exposing. So here's the problem, you are loading a<BR>
dataset with single timestep. So ParaView switches to SnapToTimeSteps<BR>
mode and also enters a mode where the animation start and end times<BR>
are automatically determined based on the dataset. Inspite of changing<BR>
the play mode to sequence, it still remains in the mode where the<BR>
start and end times are determined by the dataset. Since that's just 1<BR>
time, the animation does not play. To fix this, go back the "Animation<BR>
Inspector" (remember this is going to be automated and cleaned up<BR>
soon), and then check the "Use custom end times" check box and specify<BR>
some animation end time which is not same as the animation start time.<BR>
Now try playing in the Sequence mode.<BR>
<BR>
Utkarsh<BR>
<BR>
On Tue, Apr 14, 2009 at 4:21 PM, David Doria <<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<BR>
> I had tried all of the modes, and nothing changed. I tried again after your<BR>
> response, stopping after step 2 and making sure it was on sequence mode and<BR>
> still nothing was animated. Are you able to get the correct behavior? I've<BR>
> tried it with a few different models with the same result, and I've done all<BR>
> of those steps in every order I could imagine and tried setting the<BR>
> start/end times in the animation view and in the "editing camera mode" to no<BR>
> avail.<BR>
><BR>
> Thanks,<BR>
><BR>
> David<BR>
><BR>
><BR>
> On Tue, Apr 14, 2009 at 7:13 PM, Utkarsh Ayachit<BR>
> <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<BR>
>><BR>
>> Check your play mode. Is it set to "Snap to Timesteps" and is ParaView<BR>
>> reporting that your dataset has only 1 timstep? Change the animation<BR>
>> play mode to Sequence and try.<BR>
>><BR>
>> Also if you are simply orbiting about the active object, you don't<BR>
>> have to do anything after step (2). It should by default create an<BR>
>> orbit about the object that's currently selected in the pipeline<BR>
>> browser.<BR>
>><BR>
>> Utkarsh<BR>
>><BR>
>> On Tue, Apr 14, 2009 at 4:00 PM, David Doria <<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<BR>
>> > It works with a basic example:<BR>
>> > 1) Add a sphere source.<BR>
>> > 2) In "animate view", choose "Camera" and click the blue "Plus"<BR>
>> > 3) double click in the timeline near "Camera"<BR>
>> > 4) double click "path..." next to time "0"<BR>
>> > 5) click ok<BR>
>> > 6) click ok<BR>
>> > 7) click "play"<BR>
>> ><BR>
>> > the sphere rotates as I expect.<BR>
>> ><BR>
>> > However, when I do exactly the same thing, but with step 1 replaced by<BR>
>> > opening a vtp file instead of adding a sphere source, nothing get<BR>
>> > animated<BR>
>> > at all. Sometimes when I click on the camera timeline the Time's are<BR>
>> > both<BR>
>> > nan. It doesn't seem like the camera should be attached to either of<BR>
>> > these<BR>
>> > objects, making it weird that it works in one case and not the other?<BR>
>> > Any<BR>
>> > thoughts?<BR>
>> ><BR>
>> > Thanks,<BR>
>> ><BR>
>> > David<BR>
>> ><BR>
>> ><BR>
>> > On Tue, Apr 14, 2009 at 6:43 PM, Utkarsh Ayachit<BR>
>> > <<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<BR>
>> >><BR>
>> >> David,<BR>
>> >><BR>
>> >> Don't use the "Animation Inspector". It is going to be deprecated in<BR>
>> >> the next release. Use the "Animation View" to create animations for<BR>
>> >> the camera. Another caveat, the camera animation functionality is<BR>
>> >> still a bit "raw", so expect some usability issues.<BR>
>> >><BR>
>> >> Utkarsh<BR>
>> >><BR>
>> >> On Tue, Apr 14, 2009 at 3:37 PM, David Doria <<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>><BR>
>> >> wrote:<BR>
>> >> > I want to do a "fly around" of a model. I opened the animation<BR>
>> >> > inspector,<BR>
>> >> > and chose "selected object: Camera", and click "add keyframe". Then<BR>
>> >> > under<BR>
>> >> > "camera position" I clicked "Create path" (Because I want to leave<BR>
>> >> > the<BR>
>> >> > focal<BR>
>> >> > point at (0,0,0) ). The main paraview window disappears and a<BR>
>> >> > "Create<BR>
>> >> > Control Points" window pops up. When I click "OK", it seg faults. Has<BR>
>> >> > anyone<BR>
>> >> > else experienced this? / Am I doing something wrong?<BR>
>> >> ><BR>
>> >> > Thanks!<BR>
>> >> ><BR>
>> >> > David<BR>
>> >> ><BR>
>> >> > _______________________________________________<BR>
>> >> > Powered by www.kitware.com<BR>
>> >> ><BR>
>> >> > Visit other Kitware open-source projects at<BR>
>> >> > <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>> >> ><BR>
>> >> > Please keep messages on-topic and check the ParaView Wiki at:<BR>
>> >> > <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
>> >> ><BR>
>> >> > Follow this link to subscribe/unsubscribe:<BR>
>> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
>> >> ><BR>
>> >> ><BR>
>> ><BR>
>> ><BR>
>> > _______________________________________________<BR>
>> > Powered by www.kitware.com<BR>
>> ><BR>
>> > Visit other Kitware open-source projects at<BR>
>> > <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>> ><BR>
>> > Please keep messages on-topic and check the ParaView Wiki at:<BR>
>> > <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
>> ><BR>
>> > Follow this link to subscribe/unsubscribe:<BR>
>> > <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
>> ><BR>
>> ><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>