<html><div style='background-color:'><DIV class=RTE>Hello again,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Well I am going to make my AVI by collecting a bunch of frames which i will get by using the vtkTIFFWriter class</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>So right now I have data being rendered in an infinite loop (so it looks like a movie). I want to take snapshots of these rendered images so in my loop, I have the following:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>looping forever:</DIV>
<DIV class=RTE> Win2Img->SetInput(renWin); //Win2Img is a vtkWindowToImageFilter<BR> Win2Img->Update();<BR> TIFFWriter->SetInput(Win2Img->GetOutput()); //TIFFWriter is a vtkTIFFWriter<BR> TIFFWriter->SetFilePrefix("image");<BR> renWin->Render();<BR> TIFFWriter->Write();</DIV>
<DIV class=RTE> </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..? 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! </DIV>
<DIV class=RTE> </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>