[vtkusers] How to use VTK for many small datasets ... ?

Seb sxa at fluent.com
Thu Sep 18 14:56:14 EDT 2003


Sorry for the confusion,...
I should have said that the spheres are for example purposes only.

In reality, we have thousands of small dataset that need to be displayed
with different colors. (I would use a vtkLookuptable for that)
No transformations can occur on any object. (In fact we don't even have a
WindowInteractor nor interactorStyle.)

We have to find a way to lower the amount of memory VTK is taking cause
right now it makes the application grow to more then  1.5 Go of memory for
what is for us a medium complexity case.

Any suggestions ?

Thanks !

----- Original Message -----
From: "Lisa Avila" <lisa.avila at kitware.com>
To: "tutu lamotte" <tutulamotte at yahoo.com>; <vtkusers at vtk.org>
Sent: Thursday, September 18, 2003 2:39 PM
Subject: Re: [vtkusers] How to use VTK for many small datasets ... ?


>
> If they all were truly spheres then you would only need 1 polydata and
1000
> actors (where the actors are used to position and scale the data). In
terms
> of memory consumption this would be best. In terms of rendering
performance
> you might be better glyphing the sphere (create one polydata with the
> centers of the spheres as points and use a glyph filter to place the
> sphere). If your underlying geometry is different for each location, then
> you would either have to use 1000 actors / mappers / input data or create
> your own composite actor that had your desired behavior.
>
> Lisa
>
>
> At 02:27 PM 9/18/2003, tutu lamotte wrote:
> >OK... so VTK should be memory efficient for huge
> >datasets ?
> >
> >Let says i must display 10000 spheres based on one of
> >the 2 following mechanism. Which one is recommended?
> >
> >1) 10000 sphere polydatas connected to 10000 actors
> >2) 10000 sphere polydatas connected to 1
> >vtkAppendPolydata and one actor.
> >
> >Surprisingly, solution 2 takes up to 3 times more
> >memory space!
> >
> >Any suggestions?
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >http://sitebuilder.yahoo.com
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at:
> ><http://public.kitware.com/cgi-bin/vtkfaq>
> >Follow this link to subscribe/unsubscribe:
> >http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list