[vtkusers] ways to improve performance
Mathieu Malaterre
mathieu.malaterre at kitware.com
Fri Nov 24 09:03:27 EST 2006
Mark Gooding wrote:
> Hi all,
>
> I'm trying to improve the speed of my software when it is creating the
> models to render. The actually rendering/interaction speed is fine,
> but the creation of the actors when I update the data takes quite a
> while. My pipeline is:
>
> vtkUnsignedCharArray
> vtkStructuredPoints
> vtkImageThreshold
> vtkImageMarchingCubes
> vtkTriangleFilter
> vtkDecimatePro
> vtkSmoothPolyDataFilter
> vtkPolyDataNormals
> vtkStripper
> vtkPolyDataMapper
> vtkActor
>
> I believe the slow part of the code is the vtkImageMarchingCubes.
>
> Are there any suggestions how I could make this run faster? I assume
> because the rendering/interaction is ok that a better graphics card
> won't help. Is this right? or does the pipeline run on the graphics
> card and a flashy graphics card will solve all my worries.
Are you using VTK 5.x ? If so could you please give a try to
vtkContourFilter (which internally uses vtkSynchronizedTemplates3D).
This filter runs on your cpu so changing graphic card will not help.
HTH
-M
More information about the vtkusers
mailing list