[vtkusers] VTK performance with 1000's of actors

Aashish Chaudhary aashish.chaudhary at kitware.com
Mon Sep 27 12:35:20 EDT 2010


Andrew,

OpenSceneGraph uses entirely different framework and has optimizations
advantages because of its data structure and scene graph pipeline. That
pipeline works well for infovis but does not work as well for sci vis (I
have used OSG for 4 years).

If you want to use OSG for rendering and VTK for algorithm what you can do
is construct a VTK pipeline,update it, get the data, convert it into OSG
structure. Update and get data is required only if your input parameters
changes.

I have followed this approach primarily as I was doing mix of sci vis and
inforvis.




On Mon, Sep 27, 2010 at 12:18 PM, Andrew Cunningham <andrew at a-cunningham.com
> wrote:

> HI Martin,
> I noted this problem in VTK 5.4, and did some diagnosis. The very poor
> performance with many actors , can be due, I would argue , to a n! ( n
> factorial) issue in the handling of sub-objects of a vtkAssembly when
> checking the modification time.
>
> See my post at
> http://public.kitware.com/pipermail/vtkusers/2009-May/100928.html
>
> Basically VTK 5.x is terrible at handling complex scene graphs. Try and
> flatten your scene.
>
> I switched to using OpenSceneGraph , which  handles extremely complex scene
> graphs very efficiently as well as proper handling of state inheritance, and
> can be interfaced to VTK algorithms
>
> Andrew
>
> _______________________________________________
> 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
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100927/ba2a005e/attachment.htm>


More information about the vtkusers mailing list