<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Ken,<div><br></div><div>Thanks a lot for looking into this -- I'm sure it was a pleasure to see it pop up again! :)</div><div><br></div><div>Your workaround using the temporal cache filter seems to work as long as I do the grouping in the "correct" order. If I first click on the shift(0) filter, and then command-click to also select the shift(1) filter and then group the data sets, stepping forward in time only shows one point, but then backwards in time shows the correct thing: two points trailing each other. If I select the shift(1) first and then the shift(0), stepping forwards in time works, but not backwards. (Although, I still get a "stutter" sometimes where on the second click forwards after applying the group filter the points collapse for one step...)</div><div><br></div><div>If I select in the "wrong" order, but increase the size of the caches (up from the original 2), I can get the points to look right for one or two steps forwards sometimes. They always look right going forward if I've just stepped backwards through that time range so the data is in the caches.</div><div><br></div><div>So, temporal&nbsp;caching&nbsp;fixes it if the filters are selected in the "right" order for the order in which the time is going to be stepped...</div><div><br></div><div>Thanks,</div><div>-Eric</div><div><br></div><div>&nbsp;<br><div><div>On Nov 24, 2008, at 6:58 PM, Moreland, Kenneth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Nuts. &nbsp;I guess it wasn’t fixed after all. &nbsp;I submitted a new bug report with your new description.<br> <br> &nbsp;&nbsp;<a href="http://www.paraview.org/Bug/view.php?id=8156">http://www.paraview.org/Bug/view.php?id=8156</a><br> <br> Note that I think I found a workaround using the temporal cache filter. &nbsp;(Details in the bug report.)<br> <br> -Ken<br> <br> <br> On 11/21/08 8:15 AM, "Eric E. Monson" &lt;<a href="emonson@cs.duke.edu">emonson@cs.duke.edu</a>> wrote:<br> <br> </span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hey,<br> <br> Sorry for the long email, but I find this problem difficult to<br> describe succinctly...<br> <br> In February I was trying to use multiple Temporal Shift Scale filters<br> as input to a Python Programmable Filter to do on-the-fly point<br> velocity calculations (for diffusing particles in my simulation<br> output). There were troubles with the pipeline updating properly, and<br> Ken Moreland came up with a nice self-contained test case and filed<br> the bug 6307:<br> <br> <a href="http://www.paraview.org/Bug/view.php?id=6307">http://www.paraview.org/Bug/view.php?id=6307</a><br> <br> which was listed in August as "fixed" because the test case seemed to<br> work now. But, I don't think this is really resolved yet.<br> <br> If you load in the TimeShiftTest2.pvsm state file, the animation seems<br> to play correctly, but I think that's a red herring. If you turn off<br> the visibility of the TemporalShiftScale filters, you can see that no<br> boxes move until after t=1.0, whereas if the temporal filters are<br> turned on, and the group filter is turned off, one box moves and then<br> the other.<br> <br> I don't know if this helps, but if you look at the Output printed by<br> the Python filter in TimeShiftTest1.pvsm, you can see that the<br> temporal data sets have the correct time, but the ImageData within<br> them doesn't match.<br> ......<br> <br> All of this is much more clear to me when I load in a simple data set<br> with one point moving in time (attached Xdmf data set -- I'll also<br> attach a link to a state file which sets this pipeline up, but you'll<br> have to change the path for the data file in the state file manually<br> if you want to use it).<br> <br> The pipeline is: Load data. Add a Temporal Shift Scale with (post)<br> shift=0. Add another TSS off the original data set with (post) shift =<br> 1. Highlight both TSSs and route into a Python Programmable Filter<br> with Unstructured Grid output and this script:<br> <br> in0 = self.GetInputDataObject(0,0)<br> ds0 = in0.GetTimeStep(0)<br> in1 = self.GetInputDataObject(0,1)<br> ds1 = in1.GetTimeStep(0)<br> print 'in1 t = %.1f' % in1.GetInformation().Get(in1.DATA_TIME_STEPS(),0)<br> print 'ds1 t = %.1f' % ds1.GetInformation().Get(ds1.DATA_TIME_STEPS(),0)<br> print 'in0 t = %.1f' % in0.GetInformation().Get(in0.DATA_TIME_STEPS(),0)<br> print 'ds0 t = %.1f' % ds0.GetInformation().Get(ds0.DATA_TIME_STEPS(),0)<br> out1 = self.GetOutputDataObject(0)<br> out1.ShallowCopy(ds0)<br> print 'out1 t = %.1f' %<br> out1.GetInformation().Get(out1.DATA_TIME_STEPS(),0)<br> <br> When I animate this (PV CVS or 3.4, OS X 10.5.5), with the TSSs on and<br> the PPF off, I see the expected: two points, one following the other.<br> When the TSSs are off and the PPF is on, only one point shows up.<br> Also, the behavior is different if the animation is stepped backwards<br> rather than forwards. And, the printed Output times from the PPF show<br> one of the ImageData sets time doesn't match its temporal host.<br> <br> As in Ken's example, this works very similarly with a Group filter in<br> place of the PPF.<br> <br> This still seems very confusing, and I hope someone will have some clue!<br> <br> Thanks,<br> -Eric<br> <br> ------------------------------------------------------<br> Eric E Monson<br> Duke Visualization Technology Group<br> <br> Test data set:<br> <br> <br> </span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br> </span></font><font size="1"><font face="Monaco, Courier New"><span style="font-size:7.5pt"><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> </div>  </blockquote></div><br></div></body></html>