<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">I recently tried to make movies out of my VTK application.</font>
<br><font size=2 face="sans-serif">I set up things to grab the content of the renderWindow and save it into a file upon some user interaction (keypressed).</font>
<br><font size=2 face="sans-serif">This is not really convenient and I was wondering how I could do that on the fly.</font>
<br><font size=2 face="sans-serif">I tried the vtkMultiThreader class and tried to run a thread that grabs the renderer pixel data every say 10th of second.</font>
<br><font size=2 face="sans-serif">The threads seems to be functionnal but when it tries to call either renWin-&gt;render() or renWin-&gt;GetPixelData(...) then it crashes.</font>
<br><font size=2 face="sans-serif">If my thread just cout a silly message instead of grabbing the image then it does not crash, but neither does what I wanted of course :-)</font>
<br>
<br><font size=2 face="sans-serif">Has anybody ever manage to launch a thread that grabs images every now and then while the interactor is still active.</font>
<br><font size=2 face="sans-serif">Has anybody some hints about how do make that work ?</font>
<br>
<br><font size=2 face="sans-serif">Thx</font>
<br>
<br><font size=2 face="sans-serif">JM</font>
<br>
<br><font size=2 face="sans-serif">PS: I'm running under windows with vtkWin32OpenGLRenderWindow, and I'm in fact using AVIFile functions to make an AVI directly out of the grabbed images. This actually works when called offline (without user interaction during the grab, for instance like when i display a vtk object and the make it rotate for a given number of iteration and grab the images in between each render().)</font>
<br>
<br>