Thanks Jay. The issue with using timer is that reading of each of my frames takes 200 milliseconds which freezes the screen. While I do not mind to give the reader 200 milliseconds to read the frame, I want to still be able to interact with the scene during the reading time. That is why I am looking for an example that shows how to read data in one thread and render it in another thread. <div>Thanks<br><br>On Monday, May 21, 2018, Jay <<a href="mailto:jayavardhanravi@outlook.com">jayavardhanravi@outlook.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think this example can help you, using vtkcommand this can be achieved<br>
<br>
<a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Animation" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Utilities/<wbr>Animation</a><br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<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/<wbr>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_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
</blockquote></div>