[vtkusers] vtkRenderWindow::SaveImageAsPPM question
Wolfram H Volpi
whv88240 at Bayou.UH.EDU
Sat Nov 18 09:20:39 EST 2000
How can I force a vtkRenderWindow to write an image to a file repeatadly.
SaveImageAsPP sets up the pipeline, but later calls to Render are not
Saving the new Images.
vtkRenderWindow renWin1
renWin1 AddRenderer ren1
renWin1 SetFileName temp1.ppm
renWin1 SaveImageAsPPM
for {set i 0} {$i < 4} {incr i 1} {
renWin1 Render
renWin1 Modified
$cam1 Azimuth 30
}
Thank you for your help,
Wolfv
More information about the vtkusers
mailing list