[vtkusers] I want to ask several questions that bothered me a lot.Thanks for your advices

michal you higherone at msn.com
Sat Oct 1 00:00:10 EDT 2005


Hi,my friends
    Question 1:
          Does vtk has special methods for very large set of data?
         This is the situation:
              Now I have about 20,000 cylinders in my renderer.It takes me a 
lot of memory (like 800Mb) to create actors and add them to vtkRenderer,and 
then I need to render the scene .This takes even more memory(like another 
800Mb).so my system gets really slow.But rendering them is just the first 
step.I need to do some modifications and some other things.Acoording to my 
knowledge ,I don't think I can do this.Why just rendering takes so much 
memory?I suppose they're used temporarily,but they're not released right 
after the rendering....
    Question 2:
         I always don't know when to release the memory.Like I've created a 
actor and add it to renderer,should I use actor->delete() right away?Because 
they're not released actually,I wonder if I do this right.
   Question 3:
        In order to use vtkclipper to clip my polydata,I have to use 
vtktrianglefilter and then use another filter to make triangles smaller and 
more(I forgot this filter's name,sorry).But after I clip the polydata,it 
contains too much triangles.I tried the vtkDecimoPro to decrease the 
number,but the surface started to have bumps.Any solutions?or if vtk has a 
filter to subdivide small part of my polydata ,not the whole polydata.
  Question 4:
       How many ways are there in which I can visualize the vtkFunction.can 
I use ray tracing method in vtk to visualize a vtkFunction/
   Thanks again!

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




More information about the vtkusers mailing list