[vtkusers] slow interaction when i render 1000 spheres
    Prabhu Ramachandran 
    prabhu at aero.iitm.ernet.in
       
    Tue Oct 29 09:06:37 EST 2002
    
    
  
>>>>> "D" == dharmendra  <dharmendra at strandgenomics.com> writes:
    D> Hello All, I have posted this time and again.Though i got
    D> replies i could not impove the speed.
[snip]
    D> i create a assembly and add the actors(1000 actors one for each
    D> sphere)to it.  I add the assemble to renderer.
Using an assembly to render many actors is possibly the slowest way of
doing this.  I know because I just wrote a simple test script.
Instead of using an assembly either add the actors directly or better
still use the vtkAppendPolyData class to do the job.
I've attached a simple test program to demonstrate how you can test.
prabhu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sp.py
Type: application/octet-stream
Size: 1585 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021029/6877116d/attachment.obj>
    
    
More information about the vtkusers
mailing list