[vtkusers] Suggestions for implementing this new approach ?

John Biddiscombe john.biddiscombe at mirada-solutions.com
Wed Sep 24 12:19:29 EDT 2003


I just looked at the allocate for vtkAppendPolyData and it's been tidied up and is not as bad as it once was. If it's not working for you. Stick with many actors and make sure you set GlobalImmediateModeRenderingOn(). It may be that you're hammering the opengl display list memory by having many actors. If that doesn't work, then you'll have to spend some time examining your code/design - I'm not sure anyone reading can really help without seeing exactly what your program is doing.

JB

> -----Original Message-----
> From: John Biddiscombe 
> Sent: 24 September 2003 10:23
> To: tutu lamotte; vtkusers at vtk.org
> Subject: RE: [vtkusers] Suggestions for implementing this new 
> approach ?
> 
> 
> >To do that we tried vtkAppendPolyData but its way too
> > slow.
> 
> vtk appendPolyData should work ok, you should check out the 
> memory allocation that occurs near the start of the filters 
> execution. It may be failing to allocate enough for all the 
> datasets which would cause it to keep reallocating as the 
> size grows. Alternatively, it may be allocating the wrong 
> amount (usually it allocates too much, and with many many 
> datasets,it may try to consume your entire system hence 
> causing slowness)
> 
> JB
> _______________________________________________
> 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