<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Victor,
<p>I manage&nbsp; to generate <b>simple animated gifs</b> by generating
ppm's from a&nbsp; <b>tcl/tk</b> wraparound&nbsp; by calling:
<br>&nbsp;
<p>proc&nbsp;&nbsp; Gen_PPM {name} {
<br>puts "NAME=$name.ppm"
<br>[Renderer(.backdrop.drawing) GetRenderWindow] Render
<br>[Renderer(.backdrop.drawing) GetRenderWindow] SetFileName $name.ppm
<br>[Renderer(.backdrop.drawing) GetRenderWindow] SaveImageAsPPM
<br>}
<p>where .backdrop.drawing is the vtkTkRenderWidget.
<p>I then , from the set of ppm's , use a <b>ppm2gifanim</b>&nbsp; executable
which I got free from the net.
<br>[Note: I'm in windows]
<p>Further:
<p>I use <b>gifsicle</b> (free from the net)&nbsp; behind a tcl/tk editor
( which I wrote) to merge/delete/add frames and adjust speens and transparent
backrounds.
<p>This works quite well for small animations. Further tk widgets and other
vtkTkRenderWidgets can be embedded in .backdrop.drawing.
<p>Let me know if you want more information.
<p><b>Dave Davies</b>
<br>&nbsp;
<p>victor marquez garcia wrote:
<blockquote TYPE=CITE>Hello everybody
<p>I have a vtkPolyDataMapper render and I want to write that image on
a BMP
<br>format with the vtkBMPWriter, how can I do this? .........</blockquote>
</html>