<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. &nbsp;In retrospect, that is probably not a good idea. &nbsp;I just assigned a bug to myself to look into it.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 4/15/09 8:48 AM, &quot;Utkarsh Ayachit&quot; &lt;<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; 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 &quot;Animation<BR>
Inspector&quot; (remember this is going to be automated and cleaned up<BR>
soon), and then check the &quot;Use custom end times&quot; 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 &lt;<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>&gt; wrote:<BR>
&gt; I had tried all of the modes, and nothing changed. I tried again after your<BR>
&gt; response, stopping after step 2 and making sure it was on sequence mode and<BR>
&gt; still nothing was animated. Are you able to get the correct behavior? I've<BR>
&gt; tried it with a few different models with the same result, and I've done all<BR>
&gt; of those steps in every order I could imagine and tried setting the<BR>
&gt; start/end times in the animation view and in the &quot;editing camera mode&quot; to no<BR>
&gt; avail.<BR>
&gt;<BR>
&gt; Thanks,<BR>
&gt;<BR>
&gt; David<BR>
&gt;<BR>
&gt;<BR>
&gt; On Tue, Apr 14, 2009 at 7:13 PM, Utkarsh Ayachit<BR>
&gt; &lt;<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<BR>
&gt;&gt;<BR>
&gt;&gt; Check your play mode. Is it set to &quot;Snap to Timesteps&quot; and is ParaView<BR>
&gt;&gt; reporting that your dataset has only 1 timstep? Change the animation<BR>
&gt;&gt; play mode to Sequence and try.<BR>
&gt;&gt;<BR>
&gt;&gt; Also if you are simply orbiting about the active object, you don't<BR>
&gt;&gt; have to do anything after step (2). It should by default create an<BR>
&gt;&gt; orbit about the object that's currently selected in the pipeline<BR>
&gt;&gt; browser.<BR>
&gt;&gt;<BR>
&gt;&gt; Utkarsh<BR>
&gt;&gt;<BR>
&gt;&gt; On Tue, Apr 14, 2009 at 4:00 PM, David Doria &lt;<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>&gt; wrote:<BR>
&gt;&gt; &gt; It works with a basic example:<BR>
&gt;&gt; &gt; 1) Add a sphere source.<BR>
&gt;&gt; &gt; 2) In &quot;animate view&quot;, choose &quot;Camera&quot; and click the blue &quot;Plus&quot;<BR>
&gt;&gt; &gt; 3) double click in the timeline near &quot;Camera&quot;<BR>
&gt;&gt; &gt; 4) double click &quot;path...&quot; next to time &quot;0&quot;<BR>
&gt;&gt; &gt; 5) click ok<BR>
&gt;&gt; &gt; 6) click ok<BR>
&gt;&gt; &gt; 7) click &quot;play&quot;<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; the sphere rotates as I expect.<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; However, when I do exactly the same thing, but with step 1 replaced by<BR>
&gt;&gt; &gt; opening a vtp file instead of adding a sphere source, nothing get<BR>
&gt;&gt; &gt; animated<BR>
&gt;&gt; &gt; at all.  Sometimes when I click on the camera timeline the Time's are<BR>
&gt;&gt; &gt; both<BR>
&gt;&gt; &gt; nan. It doesn't seem like the camera should be attached to either of<BR>
&gt;&gt; &gt; these<BR>
&gt;&gt; &gt; objects, making it weird that it works in one case and not the other?<BR>
&gt;&gt; &gt; Any<BR>
&gt;&gt; &gt; thoughts?<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; Thanks,<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; David<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; On Tue, Apr 14, 2009 at 6:43 PM, Utkarsh Ayachit<BR>
&gt;&gt; &gt; &lt;<a href="utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<BR>
&gt;&gt; &gt;&gt;<BR>
&gt;&gt; &gt;&gt; David,<BR>
&gt;&gt; &gt;&gt;<BR>
&gt;&gt; &gt;&gt; Don't use the &quot;Animation Inspector&quot;. It is  going to be deprecated in<BR>
&gt;&gt; &gt;&gt; the next release. Use the &quot;Animation View&quot; to create animations for<BR>
&gt;&gt; &gt;&gt; the camera. Another caveat, the camera animation functionality is<BR>
&gt;&gt; &gt;&gt; still a bit &quot;raw&quot;, so expect some usability issues.<BR>
&gt;&gt; &gt;&gt;<BR>
&gt;&gt; &gt;&gt; Utkarsh<BR>
&gt;&gt; &gt;&gt;<BR>
&gt;&gt; &gt;&gt; On Tue, Apr 14, 2009 at 3:37 PM, David Doria &lt;<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;<BR>
&gt;&gt; &gt;&gt; wrote:<BR>
&gt;&gt; &gt;&gt; &gt; I want to do a &quot;fly around&quot; of a model. I opened the animation<BR>
&gt;&gt; &gt;&gt; &gt; inspector,<BR>
&gt;&gt; &gt;&gt; &gt; and chose &quot;selected object: Camera&quot;, and click &quot;add keyframe&quot;. Then<BR>
&gt;&gt; &gt;&gt; &gt; under<BR>
&gt;&gt; &gt;&gt; &gt; &quot;camera position&quot; I clicked &quot;Create path&quot; (Because I want to leave<BR>
&gt;&gt; &gt;&gt; &gt; the<BR>
&gt;&gt; &gt;&gt; &gt; focal<BR>
&gt;&gt; &gt;&gt; &gt; point at (0,0,0) ).  The main paraview window disappears and a<BR>
&gt;&gt; &gt;&gt; &gt; &quot;Create<BR>
&gt;&gt; &gt;&gt; &gt; Control Points&quot; window pops up. When I click &quot;OK&quot;, it seg faults. Has<BR>
&gt;&gt; &gt;&gt; &gt; anyone<BR>
&gt;&gt; &gt;&gt; &gt; else experienced this? / Am I doing something wrong?<BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt; Thanks!<BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt; David<BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<BR>
&gt;&gt; &gt;&gt; &gt; Powered by www.kitware.com<BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt; Visit other Kitware open-source projects at<BR>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<BR>
&gt;&gt; &gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<BR>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;&gt; &gt;<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; _______________________________________________<BR>
&gt;&gt; &gt; Powered by www.kitware.com<BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; Visit other Kitware open-source projects at<BR>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<BR>
&gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<BR>
&gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt;&gt; &gt;<BR>
&gt;&gt; &gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Powered by www.kitware.com<BR>
&gt;<BR>
&gt; Visit other Kitware open-source projects at<BR>
&gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt;<BR>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<BR>
&gt; <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
&gt;<BR>
&gt; Follow this link to subscribe/unsubscribe:<BR>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt;<BR>
&gt;<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>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<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>