<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am currently working on a C++/VTK program that 
amongst other things will create AVIs (the main purpose of the program is to 
take&nbsp;3d&nbsp;hyperslices through 4d data sets).&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The method is fairly simple;&nbsp;I will use the 
BMPWriter class to create a sequence of BMPs, and then I have existing C++ code 
that can convert this BMP sequence into an uncompressed AVI.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Unfortunately there doesn't seem to be a VTK class 
that will write AVIs directly, but I can send some example C++ code of how to 
convert a sequence of BMPs into an AVI if it would help (the code is for Windows 
platforms).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hope this helps,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Alex Peckham</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>University of Bristol</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=lost_bits1110@hotmail.com 
  href="mailto:lost_bits1110@hotmail.com">Kenneth Armand</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@vtk.org 
  href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 05, 2004 10:05 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] vtk movies</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV class=RTE>Hi</DIV>
  <DIV class=RTE>&nbsp;</DIV>
  <DIV class=RTE>I have a program I created using vtk where I render images in a 
  loop (so it looks like an animation)</DIV>
  <DIV class=RTE>&nbsp;</DIV>
  <DIV class=RTE>Is there a class where I make an&nbsp;AVI or MPEG out of this 
  from vtk?&nbsp;&nbsp; (Or any other type of common video/movie 
  extension)</DIV></DIV><BR clear=all>
  <HR>
  <A href="http://g.msn.com/8HMBENUS/2731??PS=">Tired of slow downloads? Compare 
  online deals from your local high-speed providers now. 
  </A>_______________________________________________ This is the private VTK 
  discussion list. Please keep messages on-topic. Check the FAQ at: <HTTP: 
  vtkfaq cgi-bin public.kitware.com>Follow this link to subscribe/unsubscribe: 
  http://www.vtk.org/mailman/listinfo/vtkusers </BLOCKQUOTE></BODY></HTML>