[vtkusers] How to visualize thousands of actors with good performance

Affolter Martin martin.affolter at ntb.ch
Tue Sep 28 09:04:54 EDT 2010


Bill,

Thanks for your suggestion. I had tried static mappers before, unfortunately without the Update()-call. Now I understand why the faces didn't show the first time (only edges and vertices). Anyway I tried it again just now. There is a slight performance increase noticable, but still no match to the performance in VTK 4.4., where the scene (8000 actors) can be rotated smoothly.

Not sure how to proceed... I've got other answers from the mailing list and will look into them also.

Regards,

Martin Affolter 


-----Ursprüngliche Nachricht-----
Von: Bill Lorensen [mailto:bill.lorensen at gmail.com] 
Gesendet: Montag, 27. September 2010 17:13
An: Affolter Martin
Cc: vtkusers at vtk.org
Betreff: Re: [vtkusers] How to visualize thousands of actors with good performance

Try this:

For your mappers,
mapper->Update();
mapper->StaticOn();

Is there any improvement?

Bill

On Mon, Sep 27, 2010 at 3:03 AM, Affolter Martin <martin.affolter at ntb.ch> wrote:
> Hi vtkusers,
>
> Does anybody use vtk 5.4 or above to visualize scenes with a large number of actors ( > 1000 or even > 10000 )? We used to do that in vtk 4.4 with a decent interacting performance (rotating, zooming, paning... ) and a reasonable amount of memory. However, with 5.4/5.6 we hardly achieve a usable result.
>
> The scenes are quite simple. We visualize CAD-Models (Tools) showing faces, edges and vertices. All data is vtkPolyData, the pipeline looks like this:
>
> vtkPolyData -> vtkPolyDataMapper -> vtkActor
>
> We've already tried the FAQ hints for increasing performance with little success. If you have experienced the same or have a solution, maybe just a guess, please contact me. Thanks.
>
> Regards,
>
> Martin Affolter
>
> Interstaatliche Hochschule für Technik Buchs NTB
> Institut für Ingenieurinformatik
> NTB Campus Waldau St.Gallen
> Schönauweg 4 / Postfach
> 9013 St. Gallen
> Tel. ++41 81 755 32 49
> Fax  ++41 81 755 32 01
>
> http://institute.ntb.ch/inf.html
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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