[vtkusers] RE render tens of thousands of spheres in VTK
Stephane PLOIX
stephane.ploix at edf.fr
Tue Sep 1 08:55:21 EDT 2009
Hi zhigao,
You can try to use the point sprite representation.
All the code is distributed with ParaView-3.6.1, but I recommend using the
cvs version as some bugs have been fixed.
The code should compile outside ParaView, simply run cmake with source
path pointing to the Plugins\PointSprite subdirectory.
For an example on how to use it directly from VTK, you can look at the
Plugins\PointSprite\Examples\Rendering\Cxx\PointSpriteDemo.cxx file.
Performance tip : disable depth peeling, which usually takes much longer
that traditionnal alpha blending with point sprites because you have too
many layers to draw.
Stephane
-----------------------------------------------------------------------------
Stéphane Ploix
EDF R&D
1 avenue du Général de Gaulle
F-92141 Clamart Cedex
Phone : +33 (0)1 47 65 51 10
Email : stephane.ploix 'at' edf.fr
ZGCHENG at ntu.edu.sg
Envoyé par : vtkusers-bounces at vtk.org
01/09/2009 14:46
A
vtkusers at vtk.org
cc
Objet
[vtkusers] render tens of thousands of spheres in VTK
Hi,
I have a time series data. I display the data using tens of thousands of
boxes. For each time step, i changed the top 4 points' height for each box
to make an animation. But this results in slow interactive responses
because It takes a long time to render the points set, around 1 seconds.
plus the new points computation time. For example, hen you rotate the 3D
prop, it takes 1 to 2 seconds to responses.
Is there anyway or any filter thing that can help me to reduce the
rendering time?
Regards,
zhigao
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK 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/20090901/43e00fde/attachment.htm>
More information about the vtkusers
mailing list