[vtkusers] Rendering speed when using text labels

David E DeMarle dave.demarle at kitware.com
Sat Aug 25 09:17:42 EDT 2007


Hi David,

Have you tried turning off labels while camera manipulation is happening and
turning them on only after a still render?

hth,
Dave DeMarle


On 8/25/07, David Goldsmith <David.L.Goldsmith at noaa.gov> wrote:
>
> Thanks for your reply, Berk.  We've thought of that -- you're quite
> right that 1000 labels is pretty useless. However, we need an efficient
> way to turn the labels on and off for our use.  For example, we may have
> 10,000 points, each with one or more value(s) associated with it.  Our
> users want to see these values without having to select the points or
> triangles (in our application, that's gonna get awfully tedious).  When
> all 10,000 points are visible, they're so close together that there is
> no point, but when the user zooms in to get a closer view, and can see
> perhaps 100 points, we'd like the numbers to show up next to the points
> automatically.  How might one accomplish that?  Thanks again!
>
> DG
>
> Berk Geveci wrote:
> > In paraview, we decided to only show labels of selected cells/points
> > to overcome this issue. I don't think showing more than a few dozen
> > labels makes much sense anyway.
> >
> > -berk
> >
> > On 8/24/07, David Goldsmith <David.L.Goldsmith at noaa.gov> wrote:
> >
> >> Hello!  We're using vtk for 3-D traingular mesh visualization.  To
> >> number label the points in the visualization, we're using
> >> vtkLabeledDataMapper.  We're finding, however, that labeling even on
> the
> >> order of only 1000 points significantly slows down all rendering.  Any
> >> suggestions for how to speed things up would be greatly appreciated.
> >> Thanks!
> >>
> >> DG
> >>
> >> --
> >> ERD/ORR/NOS/NOAA <
> http://response.restoration.noaa.gov/emergencyresponse/>
> >> _______________________________________________
> >> 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
> >>
> >>
>
> --
> ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070825/3e2889fc/attachment.htm>


More information about the vtkusers mailing list