[vtkusers] Animation speed

David Gobbi dgobbi at atamai.com
Mon Oct 2 09:32:01 EDT 2006


Hi Bharati,

If there are less than around one hundred time steps, the fastest way to 
animate is to create a separate actor for each time frame.  Then set 
VisibilityOff() for all the actors except the one you want to show.  The 
reason this is fast is that it pre-loads all the geometry or texture 
data that is needed for the render onto the graphics card.

There are lots of other tricks, but they will depend on the type of your 
data.  If you have a mesh, you can use vtkGeometryFilter to extract just 
the surface of the mesh, and vtkDecimatePro to reduce the number of 
polygons.  With images, vtkImageActor2 is the most efficient display method.

 - David


Bharati wrote:
>
> Hello,
>
>  
>
> I have large VTK files with time series data. Can anybody tell the 
> tips or tricks to animate these with good speed?
>
>  
>
> With regards,
>
> Bharati Page.
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>   




More information about the vtkusers mailing list