<br><font size=2 face="sans-serif">Hi zhigao,</font>
<br>
<br><font size=2 face="sans-serif">You can try to use the point sprite
representation.</font>
<br><font size=2 face="sans-serif">All the code is distributed with ParaView-3.6.1,
but I recommend using the cvs version as some bugs have been fixed.</font>
<br><font size=2 face="sans-serif">The code should compile outside ParaView,
simply run cmake with source path pointing to the Plugins\PointSprite subdirectory.</font>
<br>
<br><font size=2 face="sans-serif">For an example on how to use it directly
from VTK, you can look at the </font>
<br><font size=2 face="sans-serif">Plugins\PointSprite\Examples\Rendering\Cxx\PointSpriteDemo.cxx
file.</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">Stephane</font>
<br><font size=2 face="sans-serif"><br>
-----------------------------------------------------------------------------<br>
Stéphane Ploix<br>
EDF R&D <br>
1 avenue du Général de Gaulle<br>
F-92141 Clamart Cedex<br>
Phone : +33 (0)1 47 65 51 10<br>
Email : stephane.ploix 'at' edf.fr</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>ZGCHENG@ntu.edu.sg</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : vtkusers-bounces@vtk.org</font>
<p><font size=1 face="sans-serif">01/09/2009 14:46</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">vtkusers@vtk.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[vtkusers] render tens of thousands
of spheres in VTK</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
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.<br>
<br>
Is there anyway or any filter thing that can help me to reduce the rendering
time?<br>
<br>
Regards,<br>
zhigao<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
</font></tt>
<br>