[vtkusers] urgent

Jeremy Winston winston at cat.rpi.edu
Mon Oct 7 09:19:28 EDT 2002


Dharmendra wrote:
> 
> Hi All,
>      I have to render a molecule which has many atoms.Basically this boils
> down to drawing spheres.  I have to draw some 5000 spheres.
> My problem is when i render so many spheres rendering is very slow and
> interaction even slower.
> 
> Is there a better way of rendering  so many spheres and still maintaining
> the speed and interaction.

Dharmendra,
    Take a look at the vtkLODActor class:

http://public.kitware.com/VTK/doc/nightly/html/classvtkLODActor.html

It allows different levels of detail for interactive updates versus
static display.  The lower the level of detail, the faster the rendering.

HTH,
-Jeremy



More information about the vtkusers mailing list