Thanks for tracking this down Nick. Can you submit a bug in the tracker for this issue including the example code to reproduce it? I don't want to lose track of this bug you found.<div><br></div><div>Thanks,</div><div>
Jeff</div><div><br><div class="gmail_quote">On Sat, May 16, 2009 at 10:58 PM, Nick Gnedin <span dir="ltr"><<a href="mailto:gnedin@fnal.gov">gnedin@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It seems that the problem is with vtkOpenGLDisplayListPainter.cxx. In<br>
your test, in the following piece of the code:<br>
<br>
// First check for the cases where all display lists (irrespective of<br>
// typeflags are obsolete.<br>
if (<br>
// Since input changed<br>
input->GetMTime() > this->Internals->BuildTime ||<br>
// actor's properties were modified<br>
actor->GetProperty()->GetMTime() > this->Internals->BuildTime ||<br>
// mapper information was modified<br>
this->Information->GetMTime() > this->Internals->BuildTime)<br>
{<br>
this->Internals->ReleaseAllLists();<br>
}<br>
<br>
the if(...) statement is always true, and the display list is always<br>
re-created, even when the input data does not change. Perhaps, input<br>
gets Modified() somewhere where it should not.<br>
<br>
That seems to me to be a plain bug in that class.<br>
<font color="#888888"><br>
Nick Gnedin<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>
</div>