[vtkusers] RE: Producing Animation

Nigel Nunn nNunn at ausport.gov.au
Sat Apr 13 08:02:36 EDT 2002


> I developed visualization software in which I visualized 
> Astronomical Object. I implemented a trackball by myself 
> because I would like to track and save camera movement 
> (Dolly, Elevetion, Rolling...) to reproduce after like a 
> video sequence.  Is there another possibility to produce a 
> video sequence in VTK 3.2?  Is there something similar to a 
> vtkMPEGWriter... Or to reproduce the movement of a vtkInteractor?
 
On Win32, we used the code from the CView OnEditCopy handler 
to grab a memory-rendered bitmap of the current RenderWindow. 
With a little care setting up and shutting down, each "frame" 
can be poured directly into an AVI stream: vtkWin32AVIWriter. 
Nigel 




More information about the vtkusers mailing list