<html><div style='background-color:'><DIV class=RTE>Hello again,</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Well I am going to make my&nbsp;AVI&nbsp;by collecting a bunch of frames which i will get by using the vtkTIFFWriter class</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>So right now I have data being rendered in an infinite loop (so it looks like a movie).&nbsp; I want to take snapshots of these rendered images so in my loop, I have the following:</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>looping forever:</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp;&nbsp; Win2Img-&gt;SetInput(renWin);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Win2Img is a vtkWindowToImageFilter<BR>&nbsp;&nbsp;&nbsp;&nbsp; Win2Img-&gt;Update();<BR>&nbsp;&nbsp;&nbsp; &nbsp;TIFFWriter-&gt;SetInput(Win2Img-&gt;GetOutput());&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //TIFFWriter is a vtkTIFFWriter<BR>&nbsp;&nbsp;&nbsp; &nbsp;TIFFWriter-&gt;SetFilePrefix("image");<BR>&nbsp;&nbsp;&nbsp;&nbsp; renWin-&gt;Render();<BR>&nbsp;&nbsp;&nbsp; &nbsp;TIFFWriter-&gt;Write();</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>But I have 2 problems, first of all I only get one tiff file, I dont get multiple tiff files.. I thought that by using 'SetFilePrefix' we can write to multiple tiff files..?&nbsp; And the tiff file that is written out seems to happen only at the very first Render()..</DIV>
<DIV class=RTE>My second problem is that the tiff file also shows the prompt box (what is it called again?), where the user is prompted to input a filename lets say etc.. I dont want this 'prompt box' to appear in the image - I just want the actual rendered image!&nbsp; </DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Thanks for all your help!</DIV>
<DIV class=RTE><BR>K</DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2743??PS=">Expand your wine savvy — and get some great new recipes — at MSN Wine.</a> </html>